Quotas - Get

Returns the requested Compute quota.
Get an existing Compute Quota.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/quotas/{quotaName}?api-version=2018-02-09

URI Parameters

Name In Required Type Description
location
path True

string

Location of the resource.

quotaName
path True

string

Name of the quota.

subscriptionId
path True

string

Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

Quota

OK

Security

azure_auth

Authorization uses an Azure Active Directory OAuth2 flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get an existing Compute Quota.

Sample request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Compute.Admin/locations/local/quotas/testQuotaCreateUpdateDelete?api-version=2018-02-09

Sample response

{
  "id": "/subscriptions/8158498d-27b1-4ccf-9aa1-de0f925731e6/providers/Microsoft.Compute.Admin/locations/local/quotas/testQuotaCreateUpdateDelete",
  "name": "testQuotaCreateUpdateDelete",
  "type": "Microsoft.Compute.Admin/quotas",
  "location": "local",
  "properties": {
    "virtualMachineCount": 1,
    "coresLimit": 1,
    "availabilitySetCount": 1,
    "vmScaleSetCount": 1,
    "maxAllocationStandardManagedDisksAndSnapshots": 1024,
    "maxAllocationPremiumManagedDisksAndSnapshots": 1024
  }
}

Definitions

Quota

Holds Compute quota information used to control resource allocation.

Name Type Description
id

string

ID of the resource.

location

string

Location of the resource.

name

string

Name of the resource.

properties.availabilitySetCount

integer

Maximum number of availability sets allowed.

properties.coresLimit

integer

Maximum number of cores allowed.

properties.maxAllocationPremiumManagedDisksAndSnapshots

integer

Maximum number of managed disks and snapshots of type premium allowed.

properties.maxAllocationStandardManagedDisksAndSnapshots

integer

Maximum number of managed disks and snapshots of type standard allowed.

properties.virtualMachineCount

integer

Maximum number of virtual machines allowed.

properties.vmScaleSetCount

integer

Maximum number of scale sets allowed.

type

string

Type of Resource.