全部產品
Search
文件中心

:GetKmsInstanceQuotaInfos - 擷取執行個體配額資訊

更新時間:Dec 11, 2025

擷取執行個體配額資訊

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

KmsInstanceId

string

要查詢的 KMS 執行個體的 ID。

kst-bjj62f5ba3dnpb6v8****

ResourceType

string

資源類型。取值:

  • key:密鑰配額

  • secret:憑據配額

  • qps: qps 配額

  • vpc: vpc 配額

枚舉值:

  • qps :

    qps

  • vpc :

    vpc

  • secret :

    secret

  • key :

    key

key

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f

KmsInstanceId

string

KMS 執行個體 ID。

kst-hzz6****

KmsInstanceQuotaInfos

array<object>

執行個體配額資訊數組

object

ResourceQuota

integer

配額。

12

ResourceType

string

資源類型

key

UsedQuantity

integer

已使用的額度

10

樣本

正常返回樣本

JSON格式

{
  "RequestId": "f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f",
  "KmsInstanceId": "kst-hzz6****",
  "KmsInstanceQuotaInfos": [
    {
      "ResourceQuota": 12,
      "ResourceType": "key",
      "UsedQuantity": 10
    }
  ]
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 InvalidParameter The specified parameter is not valid. 參數非法。
403 Forbidden.DKMSInstanceStateInvalid The DKMS instance state is invalid. 您的專屬KMS狀態為無效狀態。
403 Forbidden.DKMSInstanceNotFound The specified DKMS Instance is not found. 您指定的專屬kms執行個體未找到。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情