Skip to content

Commit 5e02fcc

Browse files
committed
-Removed customData parameter per PR feedback
-Updated Azure China references per PR feedback -Other minor Acrolinx cleanup
1 parent 0adac3a commit 5e02fcc

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Regions | Availability?
3737
-----------------------------------------------|-----------------------------------------------|-----------------
3838
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
3939
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
40-
[Azure China](https://www.azure.cn/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
40+
[Azure China 21Vianet](https://www.azure.cn/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
4141
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
4242

4343
This table is updated when there are service updates and/or new supported versions are available.
@@ -463,13 +463,12 @@ The following Compute categories are available through the Instance API:
463463
Data | Description | Version Introduced
464464
-----|-------------|-----------------------
465465
azEnvironment | Azure Environment where the VM is running in | 2018-10-01
466-
customData | This field holds up to 64 K of custom data. This feature is currently disabled, but will be enabled soon | 2019-02-01
467466
location | Azure Region the VM is running in | 2017-04-02
468467
name | Name of the VM | 2017-04-02
469468
offer | Offer information for the VM image and is only present for images deployed from Azure image gallery | 2017-04-02
470469
osType | Linux or Windows | 2017-04-02
471470
placementGroupId | [Placement Group](../../virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups.md) of your virtual machine scale set | 2017-08-01
472-
plan | [Plan](https://docs.microsoft.com/rest/api/compute/virtualmachines/createorupdate#plan) containing name, product, and publisher for a VM if its an Azure Marketplace Image | 2018-04-02
471+
plan | [Plan](https://docs.microsoft.com/rest/api/compute/virtualmachines/createorupdate#plan) containing name, product, and publisher for a VM if it is an Azure Marketplace Image | 2018-04-02
473472
platformUpdateDomain | [Update domain](manage-availability.md) the VM is running in | 2017-04-02
474473
platformFaultDomain | [Fault domain](manage-availability.md) the VM is running in | 2017-04-02
475474
provider | Provider of the VM | 2018-10-01
@@ -484,7 +483,7 @@ tags | [Tags](../../azure-resource-manager/resource-group-using-tags.md) for you
484483
tagsList | Tags formatted as a JSON array for easier programmatic parsing | 2019-06-04
485484
version | Version of the VM image | 2017-04-02
486485
vmId | [Unique identifier](https://azure.microsoft.com/blog/accessing-and-using-azure-vm-unique-id/) for the VM | 2017-04-02
487-
vmScaleSetName | [Virtual Machine ScaleSet Name](../../virtual-machine-scale-sets/virtual-machine-scale-sets-overview.md) of your virtual machine scale set | 2017-12-01
486+
vmScaleSetName | [Virtual Machine Scale Set Name](../../virtual-machine-scale-sets/virtual-machine-scale-sets-overview.md) of your virtual machine scale set | 2017-12-01
488487
vmSize | [VM size](sizes.md) | 2017-04-02
489488
zone | [Availability Zone](../../availability-zones/az-overview.md) of your virtual machine | 2017-12-01
490489
@@ -532,7 +531,7 @@ Nonce is an optional 10-digit string. If not provided, IMDS returns the current
532531
}
533532
```
534533
535-
> The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
534+
The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
536535
537536
#### Retrieving attested metadata in Windows Virtual Machine
538537
@@ -564,7 +563,7 @@ Nonce is an optional 10-digit string. If not provided, IMDS returns the current
564563
}
565564
```
566565
567-
> The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
566+
The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
568567
569568
570569
## Example scenarios for usage
@@ -723,7 +722,7 @@ The cloud and the values of the Azure Environment are listed below.
723722
---------|-----------------
724723
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | AzurePublicCloud
725724
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | AzureUSGovernmentCloud
726-
[Azure China](https://azure.microsoft.com/global-infrastructure/china/) | AzureChinaCloud
725+
[Azure China 21Vianet](https://azure.microsoft.com/global-infrastructure/china/) | AzureChinaCloud
727726
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | AzureGermanCloud
728727
729728
### Getting the tags for the VM
@@ -837,7 +836,7 @@ Once you get the signature above, you can verify that the signature is from Micr
837836
---------|-----------------
838837
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | metadata.azure.com
839838
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | metadata.azure.us
840-
[Azure China](https://azure.microsoft.com/global-infrastructure/china/) | metadata.azure.cn
839+
[Azure China 21Vianet](https://azure.microsoft.com/global-infrastructure/china/) | metadata.azure.cn
841840
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | metadata.microsoftazure.de
842841
843842
```bash
@@ -901,7 +900,7 @@ Network Destination Netmask Gateway Interface Metric
901900
route add 169.254.169.254/32 10.0.1.10 metric 1 -p
902901
```
903902
904-
### Storage Profile
903+
### Storage profile
905904
906905
Instance Metadata Service can provide details about the storage disks associated with the VM. This data can be found at the instance/compute/storageProfile endpoint.
907906

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Regions | Availability?
3737
-----------------------------------------------|-----------------------------------------------|-----------------
3838
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
3939
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
40-
[Azure China](https://www.azure.cn/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
40+
[Azure China 21Vianet](https://www.azure.cn/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
4141
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | Generally Available | 2017-04-02, 2017-08-01, 2017-12-01, 2018-02-01, 2018-04-02, 2018-10-01, 2019-02-01, 2019-03-11, 2019-04-30, 2019-06-01, 2019-06-04, 2019-08-01, 2019-08-15, 2019-11-01
4242

4343
This table is updated when there are service updates and/or new supported versions are available.
@@ -463,13 +463,12 @@ The following Compute categories are available through the Instance API:
463463
Data | Description | Version Introduced
464464
-----|-------------|-----------------------
465465
azEnvironment | Azure Environment where the VM is running in | 2018-10-01
466-
customData | This field holds up to 64 K of custom data. This feature is currently disabled, but will be enabled soon | 2019-02-01
467466
location | Azure Region the VM is running in | 2017-04-02
468467
name | Name of the VM | 2017-04-02
469468
offer | Offer information for the VM image and is only present for images deployed from Azure image gallery | 2017-04-02
470469
osType | Linux or Windows | 2017-04-02
471470
placementGroupId | [Placement Group](../../virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups.md) of your virtual machine scale set | 2017-08-01
472-
plan | [Plan](https://docs.microsoft.com/rest/api/compute/virtualmachines/createorupdate#plan) containing name, product, and publisher for a VM if its an Azure Marketplace Image | 2018-04-02
471+
plan | [Plan](https://docs.microsoft.com/rest/api/compute/virtualmachines/createorupdate#plan) containing name, product, and publisher for a VM if it is an Azure Marketplace Image | 2018-04-02
473472
platformUpdateDomain | [Update domain](manage-availability.md) the VM is running in | 2017-04-02
474473
platformFaultDomain | [Fault domain](manage-availability.md) the VM is running in | 2017-04-02
475474
provider | Provider of the VM | 2018-10-01
@@ -484,7 +483,7 @@ tags | [Tags](../../azure-resource-manager/resource-group-using-tags.md) for you
484483
tagsList | Tags formatted as a JSON array for easier programmatic parsing | 2019-06-04
485484
version | Version of the VM image | 2017-04-02
486485
vmId | [Unique identifier](https://azure.microsoft.com/blog/accessing-and-using-azure-vm-unique-id/) for the VM | 2017-04-02
487-
vmScaleSetName | [Virtual Machine ScaleSet Name](../../virtual-machine-scale-sets/virtual-machine-scale-sets-overview.md) of your virtual machine scale set | 2017-12-01
486+
vmScaleSetName | [Virtual Machine scale set Name](../../virtual-machine-scale-sets/virtual-machine-scale-sets-overview.md) of your virtual machine scale set | 2017-12-01
488487
vmSize | [VM size](sizes.md) | 2017-04-02
489488
zone | [Availability Zone](../../availability-zones/az-overview.md) of your virtual machine | 2017-12-01
490489

@@ -532,7 +531,7 @@ Nonce is an optional 10-digit string. If not provided, IMDS returns the current
532531
}
533532
```
534533

535-
> The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
534+
The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
536535

537536
#### Retrieving attested metadata in Windows Virtual Machine
538537

@@ -564,7 +563,7 @@ Nonce is an optional 10-digit string. If not provided, IMDS returns the current
564563
}
565564
```
566565
567-
> The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
566+
The signature blob is a [pkcs7](https://aka.ms/pkcs7) signed version of document. It contains the certificate used for signing along with the VM details like vmId, sku, nonce, subscriptionId, timeStamp for creation and expiry of the document and the plan information about the image. The plan information is only populated for Azure Market place images. The certificate can be extracted from the response and used to validate that the response is valid and is coming from Azure.
568567
569568
570569
## Example scenarios for usage
@@ -724,7 +723,7 @@ The regions and the values of the Azure Environment are listed below.
724723
---------|-----------------
725724
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | AzurePublicCloud
726725
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | AzureUSGovernmentCloud
727-
[Azure China](https://azure.microsoft.com/global-infrastructure/china) | AzureChinaCloud
726+
[Azure China 21Vianet](https://azure.microsoft.com/global-infrastructure/china) | AzureChinaCloud
728727
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | AzureGermanCloud
729728
730729
### Getting the tags for the VM
@@ -838,7 +837,7 @@ Once you get the signature above, you can verify that the signature is from Micr
838837
---------|-----------------
839838
[All Generally Available Global Azure Regions](https://azure.microsoft.com/regions/) | metadata.azure.com
840839
[Azure Government](https://azure.microsoft.com/overview/clouds/government/) | metadata.azure.us
841-
[Azure China](https://azure.microsoft.com/global-infrastructure/china/) | metadata.azure.cn
840+
[Azure China 21Vianet](https://azure.microsoft.com/global-infrastructure/china/) | metadata.azure.cn
842841
[Azure Germany](https://azure.microsoft.com/overview/clouds/germany/) | metadata.microsoftazure.de
843842
844843
```bash
@@ -902,7 +901,7 @@ Network Destination Netmask Gateway Interface Metric
902901
route add 169.254.169.254/32 10.0.1.10 metric 1 -p
903902
```
904903
905-
### Storage Profile
904+
### Storage profile
906905
907906
Instance Metadata Service can provide details about the storage disks associated with the VM. This data can be found at the instance/compute/storageProfile endpoint.
908907

0 commit comments

Comments
 (0)