All Products
Search
Document Center

Quota Center:ListProductQuotas

Last Updated:Jun 10, 2026

Mengkueri daftar kuota untuk produk cloud tertentu.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

quotas:ListProductQuotas

list

*Quota

acs:quotas:{#regionId}:{#accountId}:quota/{#ProductCode}/*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

NextToken

string

No

Token yang digunakan untuk memulai kueri berikutnya.

  • Kosongkan parameter ini untuk kueri pertama atau jika tidak diperlukan kueri berikutnya.

  • Jika diperlukan kueri berikutnya, atur nilai ke nilai NextToken yang dikembalikan dari pemanggilan API terakhir.

AAAAAd****

MaxResults

integer

No

Jumlah maksimum rekaman yang dikembalikan untuk kueri.

Nilai valid: 1 hingga 100. Nilai default: 30.

30

ProductCode

string

Yes

Singkatan produk cloud.

Catatan

Untuk informasi selengkapnya tentang cara mendapatkan singkatan produk cloud, lihat parameter ProductCode di ListProducts.

ecs

QuotaActionCode

string

No

ID kuota.

q_security-groups

KeyWord

string

No

Kata kunci yang digunakan untuk mencari kuota.

Catatan

Parameter ini hanya berlaku untuk kuota tipe instans Elastic Compute Service (ECS). Pencarian dilakukan pada QuotaName dan QuotaActionCode.

security

SortField

string

No

Bidang yang digunakan untuk pengurutan kuota.

Catatan

Parameter ini hanya berlaku untuk kuota tipe instans ECS. Jika Anda tidak mengatur parameter ini, hasil kueri tidak diurutkan.

Valid values:

  • TOTAL :

    Mengurutkan berdasarkan penggunaan kuota total.

  • TIME :

    Mengurutkan berdasarkan waktu pembaruan terakhir.

  • RESERVED :

    Mengurutkan berdasarkan penggunaan kuota yang dicadangkan.

TIME

SortOrder

string

No

Urutan pengurutan hasil.

Catatan

Parameter ini hanya berlaku untuk kuota tipe instans ECS. Jika Anda tidak mengatur parameter ini, hasil kueri tidak diurutkan.

Valid values:

  • Descending :

    Mengurutkan secara menurun.

  • Ascending :

    Mengurutkan secara menaik.

Ascending

Dimensions

array<object>

No

Dimensi kuota.

object

No

The quota dimensions.

Key

string

No

The key of the quota dimension.

Catatan

The value of N depends on the number of dimensions that are supported by the cloud product.

regionId

Value

string

No

The value of the quota dimension.

Catatan

The value of N depends on the number of dimensions that are supported by the cloud product.

cn-hangzhou

QuotaCategory

string

No

Kategori kuota.

Nilai default: CommonQuota.

Valid values:

  • FlowControl :

    Kuota batas laju API.

  • WhiteListLabel :

    Kuota hak istimewa.

  • CommonQuota :

    Kuota umum.

FlowControl

GroupCode

string

No

Kode kelompok dimensi.

entconsole_w1j3ms****

Elemen respons

Element

Type

Description

Example

object

The returned result.

MaxResults

integer

The maximum number of records returned for the query.

1

NextToken

string

The token that is used to initiate the next query.

  • If this parameter is empty, no subsequent query is to be initiated.

  • If a value is returned, the value is the token that is used for the next query.

AAAAAd****

Quotas

array<object>

The details of the quotas.

array<object>

The details of the quota.

Adjustable

boolean

Indicates whether the quota is adjustable.

Valid values:

  • true :

    The quota is adjustable.

  • false :

    The quota is not adjustable.

true

ApplicableRange

array

The range of the quota value that you can request for the quota. This can be used as a reference for quota increase requests.

number

The range of the quota value that you can request.

This range does not include the existing quota of the user. You can use this as a reference when you request a quota increase. For example, [1010,10000].

[1010,10000]

ApplicableType

string

The type of the quota adjustment.

Valid values:

  • continuous :

    The quota value is continuous.

  • discontinuous :

    The quota value is discontinuous.

discontinuous

ApplyReasonTips

string

An example of the reason for a quota increase request.

The business xxx is expected to grow by 50%.

Consumable

boolean

Indicates whether the used quota is displayed.

Valid values:

  • true :

    The used quota is displayed.

  • false :

    The used quota is not displayed.

true

Dimensions

object

The quota dimensions. Format: {"regionId":"Region"}.

{"regionId":"cn-hangzhou"}

EffectiveTime

string

The UTC time when the quota takes effect.

2022-09-28T06:07:00Z

ExpireTime

string

The UTC time when the quota expires.

2022-09-29T06:07:00Z

GlobalQuota

boolean

Indicates whether the quota is a global quota.

Valid values:

  • true :

    The quota is shared by all regions.

  • false :

    The quota is independent for each region.

true

Period

object

The calculation cycle of the quota.

PeriodUnit

string

The unit of the calculation cycle.

Valid values:

  • week :

    Week

  • hour :

    Hour

  • day :

    Day

  • second :

    Seconds

  • minute :

    minutes

day

PeriodValue

integer

The value of the calculation cycle.

{}

ProductCode

string

The abbreviation of the cloud product.

ecs

QuotaActionCode

string

The quota ID.

q_security-groups

QuotaArn

string

The Alibaba Cloud Resource Name (ARN) of the quota.

acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups

QuotaCategory

string

The quota category.

Valid values:

  • FlowControl :

    API rate limit quotas

  • WhiteListLabel :

    Privilege quotas

  • CommonQuota :

    General quotas

CommonQuota

QuotaDescription

string

The description of the quota.

The maximum number of security groups that can be owned by the current account.

QuotaItems

array<object>

The details of the quota.

object

The details of the quota.

Quota

string

The quota value.

1009

QuotaUnit

string

The unit of the quota.

Count

Type

string

The quota type.

Valid values:

  • BaseQuota :

    Guaranteed quota

  • ReservedQuota :

    Reserved quota

BaseQuota

Usage

string

The quota usage.

1009

QuotaName

string

The name of the quota.

ecs.g5.2xlarge

QuotaType

string

The quota type.

Valid values:

  • normal :

    Standard

  • privilege :

    Privileges

privilege

QuotaUnit

string

The unit of the quota.

AMOUNT

SupportedRange

array

The range of the quota value that is supported by the quota. This can be used as a reference when you configure a quota template.

number

The range of the quota value that is supported by the quota. This can be used as a reference when you configure a quota template.

  • If ApplicableType is continuous, and the value is [1009,10000], it indicates that all values from 1009 to 10000 are supported.

  • If ApplicableType is discontinuous, and the value is [10,20,50,100], it indicates that only the values 10, 20, 50, and 100 are supported.

[1009,10000]

TotalQuota

number

The quota value.

200

TotalUsage

number

The quota usage.

1009

UnadjustableDetail

string

The reason why the quota is not adjustable.

Valid values:

  • limitReached :

    The quota limit is reached.

  • nonactivated :

    The service is not activated.

  • applicationProcess :

    A quota increase request is being processed.

applicationProcess

UsageMetric

object

The monitoring information of the quota usage in CloudMonitor.

Catatan

An empty value indicates that no monitoring data is available for the quota in CloudMonitor.

MetricDimensions

object

The dimensions for CloudMonitor.

Format: a collection of key-value pairs. For example: {"productCode":"***","metricKey":"***","regionId":"***","label":"***"}.

string

The value of the dimension for CloudMonitor.

ecs

MetricName

string

The name of the CloudMonitor metric.

Usage

MetricNamespace

string

The namespace of the metric for CloudMonitor.

acs_quotas_flowcontrol

RequestId

string

The request ID.

D0131FD5-5397-44FE-BF5A-4B7165B813CC

TotalCount

integer

The total number of records returned for the request.

1

Contoh

Respons sukses

JSONformat

{
  "MaxResults": 1,
  "NextToken": "AAAAAd****",
  "Quotas": [
    {
      "Adjustable": true,
      "ApplicableRange": [
        0
      ],
      "ApplicableType": "discontinuous",
      "ApplyReasonTips": "The business xxx is expected to grow by 50%.",
      "Consumable": true,
      "Dimensions": {
        "regionId": "cn-hangzhou"
      },
      "EffectiveTime": "2022-09-28T06:07:00Z",
      "ExpireTime": "2022-09-29T06:07:00Z",
      "GlobalQuota": true,
      "Period": {
        "PeriodUnit": "day",
        "PeriodValue": 0
      },
      "ProductCode": "ecs",
      "QuotaActionCode": "q_security-groups",
      "QuotaArn": "acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups",
      "QuotaCategory": "CommonQuota",
      "QuotaDescription": "The maximum number of security groups that can be owned by the current account.",
      "QuotaItems": [
        {
          "Quota": "1009",
          "QuotaUnit": "Count",
          "Type": "BaseQuota",
          "Usage": "1009"
        }
      ],
      "QuotaName": "ecs.g5.2xlarge",
      "QuotaType": "privilege",
      "QuotaUnit": "AMOUNT",
      "SupportedRange": [
        0
      ],
      "TotalQuota": 200,
      "TotalUsage": 1009,
      "UnadjustableDetail": "applicationProcess",
      "UsageMetric": {
        "MetricDimensions": {
          "key": "ecs"
        },
        "MetricName": "Usage",
        "MetricNamespace": "acs_quotas_flowcontrol"
      }
    }
  ],
  "RequestId": "D0131FD5-5397-44FE-BF5A-4B7165B813CC",
  "TotalCount": 1
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidSortOrder Invalid SortOrder The specified SortOrder parameter is invalid.
400 INVALID.MAX.RESULTS The maxResults parameter is invalid. Use an integer ranging from 1 to 100. The maxResults value is invalid. It must be an integer within the range of 1 to 100.
400 DIMENSIONGROUP.NOT.FOUND Dimension group does not exist. Dimension group parameter is incorrect

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.