SubscriptionClient (stable:2015-11-01)

2025/12/05 • 6 new methods

Subscriptions_ListLocations (new)
Description Gets a list of the subscription locations.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/locations
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
name: string ,
displayName: string ,
latitude: string ,
longitude: string ,
}
,
]
,
}
Subscriptions_Get (new)
Description Gets details about particular subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
subscriptionId: string ,
displayName: string ,
state: string ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
}
,
}
Subscriptions_List (new)
Description Gets a list of the subscriptionIds.
Reference Link ¶

⚼ Request

GET:  /subscriptions
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
displayName: string ,
state: string ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
}
,
}
,
]
,
nextLink: string ,
}
Tenants_List (new)
Description Gets a list of the tenantIds.
Reference Link ¶

⚼ Request

GET:  /tenants
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
tenantId: string ,
}
,
]
,
nextLink: string ,
}
Subscriptions_CheckZonePeers (new)
Description Compares a subscriptions logical zone mapping
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/
{
subscriptionId: string ,
api-version: string ,
parameters:
{
location: string ,
subscriptionIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
subscriptionId: string ,
location: string ,
availabilityZonePeers:
[
{
availabilityZone: string ,
peers:
[
{
subscriptionId: string ,
availabilityZone: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
checkResourceName (new)
Description A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/checkResourceName
{
Resource Name Definition:
{
name: string ,
type: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
type: string ,
status: enum ,
}

⚐ Response (default)

{
error:
{
message: string ,
code: string ,
}
,
}