Microsoft.Resources (stable:2022-12-01)

2025/12/05 • 7 new, 7 deleted methods

Operations_List (new)
Description Lists all of the available Microsoft.Resources REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_ListLocations (new)
Description This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
name: string ,
type: enum ,
displayName: string ,
regionalDisplayName: string ,
metadata:
{
regionType: enum ,
regionCategory: enum ,
geography: string ,
geographyGroup: string ,
longitude: string ,
latitude: string ,
physicalLocation: string ,
pairedRegion:
[
{
name: string ,
id: string ,
subscriptionId: string ,
}
,
]
,
homeLocation: string ,
}
,
availabilityZoneMappings:
[
{
logicalZone: string ,
physicalZone: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_Get (new)
Description Gets details about a specified subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
subscriptionId: string ,
displayName: string ,
tenantId: string ,
state: enum ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
spendingLimit: enum ,
}
,
authorizationSource: string ,
managedByTenants:
[
{
tenantId: string ,
}
,
]
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_List (new)
Description Gets all subscriptions for a tenant.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
displayName: string ,
tenantId: string ,
state: enum ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
spendingLimit: enum ,
}
,
authorizationSource: string ,
managedByTenants:
[
{
tenantId: string ,
}
,
]
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tenants_List (new)
Description Gets the tenants for your account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
tenantId: string ,
tenantCategory: enum ,
country: string ,
countryCode: string ,
displayName: string ,
domains:
[
string ,
]
,
defaultDomain: string ,
tenantType: string ,
tenantBrandingLogoUrl: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists all of the available Microsoft.Resources REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_ListLocations (removed)
Description This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
name: string ,
type: enum ,
displayName: string ,
regionalDisplayName: string ,
metadata:
{
regionType: enum ,
regionCategory: enum ,
geography: string ,
geographyGroup: string ,
longitude: string ,
latitude: string ,
physicalLocation: string ,
pairedRegion:
[
{
name: string ,
id: string ,
subscriptionId: string ,
}
,
]
,
homeLocation: string ,
}
,
availabilityZoneMappings:
[
{
logicalZone: string ,
physicalZone: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_Get (removed)
Description Gets details about a specified subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
subscriptionId: string ,
displayName: string ,
tenantId: string ,
state: enum ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
spendingLimit: enum ,
}
,
authorizationSource: string ,
managedByTenants:
[
{
tenantId: string ,
}
,
]
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_List (removed)
Description Gets all subscriptions for a tenant.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
displayName: string ,
tenantId: string ,
state: enum ,
subscriptionPolicies:
{
locationPlacementId: string ,
quotaId: string ,
spendingLimit: enum ,
}
,
authorizationSource: string ,
managedByTenants:
[
{
tenantId: string ,
}
,
]
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tenants_List (removed)
Description Gets the tenants for your account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
tenantId: string ,
tenantCategory: enum ,
country: string ,
countryCode: string ,
displayName: string ,
domains:
[
string ,
]
,
defaultDomain: string ,
tenantType: string ,
tenantBrandingLogoUrl: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_CheckZonePeers (removed)
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 (removed)
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:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}