Microsoft.InstanceMetadataService (stable:2019-06-01)

2025/10/23 • 4 deleted methods

Instances_GetMetadata (removed)
Description Get Instance Metadata for the Virtual Machine.
Reference Link ¶

⚼ Request

GET:  /instance
{
api-version: string ,
Metadata: string ,
}

⚐ Response (200)

{
compute:
{
azEnvironment: string ,
location: string ,
name: string ,
offer: string ,
osType: string ,
placementGroupId: string ,
plan:
{
name: string ,
publisher: string ,
product: string ,
}
,
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
platformFaultDomain: string ,
platformUpdateDomain: string ,
provider: string ,
publisher: string ,
resourceGroupName: string ,
resourceId: string ,
sku: string ,
storageProfile:
{
imageReference:
{
id: string ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
}
,
osDisk:
{
caching: string ,
createOption: string ,
diskSizeGB: string ,
encryptionSettings:
{
enabled: string ,
}
,
image:
{
uri: string ,
}
,
managedDisk:
{
id: string ,
storageAccountType: string ,
}
,
name: string ,
osType: string ,
vhd:
{
uri: string ,
}
,
writeAcceleratorEnabled: string ,
}
,
dataDisks:
[
{
caching: string ,
createOption: string ,
diskSizeGB: string ,
image:
{
uri: string ,
}
,
lun: string ,
managedDisk:
{
id: string ,
storageAccountType: string ,
}
,
name: string ,
vhd:
{
uri: string ,
}
,
writeAcceleratorEnabled: string ,
}
,
]
,
}
,
subscriptionId: string ,
tags: string ,
version: string ,
vmId: string ,
vmScaleSetName: string ,
vmSize: string ,
zone: string ,
}
,
network:
{
interface:
[
{
ipv4:
{
ipAddress:
[
{
privateIpAddress: string ,
publicIpAddress: string ,
}
,
]
,
subnet:
[
{
address: string ,
prefix: string ,
}
,
]
,
}
,
ipv6:
{
ipAddress:
[
{
privateIpAddress: string ,
}
,
]
,
}
,
macAddress: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error: string ,
}
Attested_GetDocument (removed)
Description Get Attested Data for the Virtual Machine.
Reference Link ¶

⚼ Request

GET:  /attested/document
{
api-version: string ,
nonce: string ,
Metadata: string ,
}

⚐ Response (200)

{
signature: string ,
encoding: string ,
}

⚐ Response (default)

{
error: string ,
}
Identity_GetToken (removed)
Description Get a Token from Azure AD
Reference Link ¶

⚼ Request

GET:  /identity/oauth2/token
{
Metadata: string ,
resource: string ,
api-version: string ,
client_id: string ,
object_id: string ,
msi_res_id: string ,
authority: string ,
bypass_cache: string ,
}

⚐ Response (200)

{
access_token: string ,
expires_in: string ,
expires_on: string ,
ext_expires_in: string ,
not_before: string ,
resource: string ,
token_type: string ,
client_id: string ,
object_id: string ,
msi_res_id: string ,
}

⚐ Response (default)

{
error: enum ,
error_description: string ,
}
Identity_GetInfo (removed)
Description Get information about AAD Metadata
Reference Link ¶

⚼ Request

GET:  /identity/info
{
Metadata: string ,
api-version: string ,
}

⚐ Response (200)

{
tenantId: string ,
}

⚐ Response (default)

{
error: enum ,
error_description: string ,
}