You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/virtual-machines-imds.md
+62-4Lines changed: 62 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -340,10 +340,13 @@ Schema breakdown:
340
340
| Data | Description | Version introduced |
341
341
|------|-------------|--------------------|
342
342
| `azEnvironment` | Azure Environment where the VM is running in | 2018-10-01
343
+
| `additionalCapabilities.hibernationEnabled` | Identifies if hibernation is enabled on the VM | 2021-11-01†
343
344
| `customData` | This feature is deprecated and disabled [in IMDS](#frequently-asked-questions). It has been superseded by `userData` | 2019-02-01
344
345
| `evictionPolicy` | Sets how a [Spot VM](../articles/virtual-machines/spot-vms.md) will be evicted. | 2020-12-01
345
346
| `extendedLocation.type` | Type of the extended location of the VM. | 2021-03-01
346
347
| `extendedLocation.name` | Name of the extended location of the VM | 2021-03-01
348
+
| `host.id` | Name of the host of the VM. Note that a VM will either have a host or a hostGroup but not both. | 2021-11-15†
349
+
| `hostGroup.id` | Name of the hostGroup of the VM. Note that a VM will either have a host or a hostGroup but not both. | 2021-11-15†
347
350
| `isHostCompatibilityLayerVm` | Identifies if the VM runs on the Host Compatibility Layer | 2020-06-01
348
351
| `licenseType` | Type of license for [Azure Hybrid Benefit](https://azure.microsoft.com/pricing/hybrid-benefit). This is only present for AHB-enabled VMs | 2020-09-01
349
352
| `location` | Azure Region the VM is running in | 2017-04-02
@@ -367,6 +370,8 @@ Schema breakdown:
367
370
| `sku` | Specific SKU for the VM image | 2017-04-02
368
371
| `securityProfile.secureBootEnabled` | Identifies if UEFI secure boot is enabled on the VM | 2020-06-01
369
372
| `securityProfile.virtualTpmEnabled` | Identifies if the virtual Trusted Platform Module (TPM) is enabled on the VM | 2020-06-01
373
+
| `securityProfile.encryptionAtHost` | Identifies if [Encryption at Host](../articles/virtual-machines/disks-enable-host-based-encryption-portal.md) is enabled on the VM | 2021-11-01†
374
+
| `securityProfile.securityType` | Identifies if the VM is a [Trusted VM](../articles/virtual-machines/trusted-launch.md) or a [Confidential VM](../articles/confidential-computing/confidential-vm-overview.md) | 2021-12-13†
370
375
| `storageProfile` | See Storage Profile below | 2019-06-01
371
376
| `subscriptionId` | Azure subscription for the Virtual Machine | 2017-08-01
372
377
| `tags` | [Tags](../articles/azure-resource-manager/management/tag-resources.md) for your Virtual Machine | 2017-08-01
| `zone` | [Availability Zone](../articles/availability-zones/az-overview.md) of your virtual machine | 2017-12-01
381
386
387
+
† This version is not fully available yet and may not be supported in all regions.
388
+
382
389
**Storage profile**
383
390
384
391
The storage profile of a VM is divided into three categories: image reference, OS disk, and data disks, plus an additional object for the local temporary disk.
@@ -431,6 +438,17 @@ Data | Description | Version introduced |
431
438
432
439
\* These fields are only populated for Ultra Disks; they will be empty strings from non-Ultra Disks.
433
440
441
+
The encryption settings blob contains data about how the disk is encrypted (if it is encrypted):
442
+
443
+
Data | Description | Version introduced |
444
+
|------|-----------|--------------------|
445
+
| `diskEncryptionKey.sourceVault.id` | The location of the disk encryption key | 2021-11-01†
446
+
| `diskEncryptionKey.secretUrl` | The location of the secret | 2021-11-01†
447
+
| `keyEncryptionKey.sourceVault.id` | The location of the key encryption key | 2021-11-01†
448
+
| `keyEncryptionKey.keyUrl` | The location of the key | 2021-11-01†
449
+
450
+
\† This version is not fully available yet and may not be supported in all regions.
451
+
434
452
The resource disk object contains the size of the [Local Temp Disk](../articles/virtual-machines/managed-disks-overview.md#temporary-disk) attached to the VM, if it has one, in kilobytes.
435
453
If there is [no local temp disk for the VM](../articles/virtual-machines/azure-vms-no-temp-disk.yml), this value is 0.
0 commit comments