共用方式為


Quotas - List

列出所有計算配額。
取得現有計算配額的清單。

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

URI 參數

名稱 位於 必要 類型 Description
location
path True

string

資源的位置。

subscriptionId
path True

string

可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。

api-version
query True

string

用於此作業的 API 版本。

回應

名稱 類型 Description
200 OK

QuotaList

確定

安全性

azure_auth

授權會使用 Azure Active Directory OAuth2 流程。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Get a list of existing Compute quotas.

範例要求

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

範例回覆

{
  "value": [
    {
      "id": "/subscriptions/8158498d-27b1-4ccf-9aa1-de0f925731e6/providers/Microsoft.Compute.Admin/locations/local/quotas/Default Quota",
      "name": "Default Quota",
      "type": "Microsoft.Compute.Admin/quotas",
      "location": "local",
      "properties": {
        "virtualMachineCount": 20,
        "coresLimit": 50,
        "availabilitySetCount": 10,
        "vmScaleSetCount": 20,
        "maxAllocationStandardManagedDisksAndSnapshots": 1024,
        "maxAllocationPremiumManagedDisksAndSnapshots": 1024
      }
    }
  ]
}

定義

名稱 Description
Quota

保留用來控制資源配置的計算配額資訊。

QuotaList

計算配額清單

Quota

保留用來控制資源配置的計算配額資訊。

名稱 類型 Description
id

string

資源的識別碼。

location

string

資源的位置。

name

string

資源名稱。

properties.availabilitySetCount

integer

允許的可用性設定組數目上限。

properties.coresLimit

integer

允許的核心數目上限。

properties.maxAllocationPremiumManagedDisksAndSnapshots

integer

允許進階類型的受控磁碟和快照集數目上限。

properties.maxAllocationStandardManagedDisksAndSnapshots

integer

允許的標準型別受控磁碟和快照集數目上限。

properties.virtualMachineCount

integer

允許的虛擬機數目上限。

properties.vmScaleSetCount

integer

允許的擴展集數目上限。

type

string

資源類型。

QuotaList

計算配額清單

名稱 類型 Description
nextLink

string

下一頁的 URI。

value

Quota[]

計算配額清單