Skip to content

Commit d846f5c

Browse files
Merge pull request #273954 from rebeccarozansky/main
added documentation for api-version 2023-11-15 which adds physicalZone to IMDS API response
2 parents 2e396e3 + 65ed683 commit d846f5c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/virtual-machines/instance-metadata-service.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ When you don't specify a version, you get an error with a list of the newest sup
242242
#### Supported API versions
243243

244244
> [!NOTE]
245-
> Version 2023-07-01 is still being rolled out, it may not be available in some regions.
245+
> Version 2023-11-15 is still being rolled out, it may not be available in some regions.
246246
247+
- 2023-11-15
247248
- 2023-07-01
248249
- 2021-12-13
249250
- 2021-11-15
@@ -373,6 +374,7 @@ Schema breakdown:
373374
| `osProfile.computerName` | Specifies the name of the computer | 2020-07-15
374375
| `osProfile.disablePasswordAuthentication` | Specifies if password authentication is disabled. This is only present for Linux VMs | 2020-10-01
375376
| `osType` | Linux or Windows | 2017-04-02
377+
| `physicalZone` | [Physical zone](https://learn.microsoft.com/azure/reliability/availability-zones-overview?tabs=azure-cli#physical-and-logical-availability-zones) of the VM | 2023-11-15
376378
| `placementGroupId` | [Placement Group](../virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups.md) of your scale set | 2017-08-01
377379
| `plan` | [Plan](/rest/api/compute/virtualmachines/createorupdate#plan) containing name, product, and publisher for a VM if it's an Azure Marketplace Image | 2018-04-02
378380
| `platformUpdateDomain` | [Update domain](availability.md) the VM is running in | 2017-04-02
@@ -730,6 +732,7 @@ curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/co
730732
}
731733
],
732734
"publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
735+
"physicalZone": "useast-AZ01",
733736
"resourceGroupName": "macikgo-test-may-23",
734737
"resourceId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
735738
"securityProfile": {
@@ -822,7 +825,7 @@ curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/co
822825
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
823826
"vmScaleSetName": "crpteste9vflji9",
824827
"vmSize": "Standard_A3",
825-
"zone": ""
828+
"zone": "3"
826829
}
827830
```
828831

@@ -853,6 +856,7 @@ curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/co
853856
"disablePasswordAuthentication": "true"
854857
},
855858
"osType": "Linux",
859+
"physicalZone": "useast-AZ01",
856860
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
857861
"plan": {
858862
"name": "planName",
@@ -964,7 +968,7 @@ curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance/co
964968
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
965969
"vmScaleSetName": "crpteste9vflji9",
966970
"vmSize": "Standard_A3",
967-
"zone": ""
971+
"zone": "3"
968972
}
969973
```
970974

0 commit comments

Comments
 (0)