Microsoft.InstanceMetadataService (stable:2018-02-01)

2025/10/23 • 3 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:
{
location: string ,
name: string ,
offer: string ,
osType: string ,
placementGroupId: string ,
platformFaultDomain: string ,
platformUpdateDomain: string ,
publisher: string ,
resourceGroupName: string ,
sku: 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 (400)

{
error: string ,
}

⚐ Response (403)

{
error: string ,
}

⚐ Response (404)

{
error: string ,
}

⚐ Response (405)

{
error: string ,
}

⚐ Response (429)

{
error: string ,
}

⚐ Response (503)

{
error: string ,
}

⚐ Response (500)

{
error: 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 (400)

{
error: enum ,
error_description: string ,
}

⚐ Response (404)

{
error: enum ,
error_description: string ,
}

⚐ Response (405)

{
error: enum ,
error_description: string ,
}

⚐ Response (429)

{
error: enum ,
error_description: string ,
}

⚐ Response (500)

{
error: enum ,
error_description: 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 (400)

{
error: enum ,
error_description: string ,
}

⚐ Response (404)

{
error: enum ,
error_description: string ,
}

⚐ Response (405)

{
error: enum ,
error_description: string ,
}

⚐ Response (429)

{
error: enum ,
error_description: string ,
}

⚐ Response (500)

{
error: enum ,
error_description: string ,
}

⚐ Response (default)

{
error: enum ,
error_description: string ,
}