ListQuotaApplicationsForTemplate - 查询配额模板批量配额申请历史

查询配额模板批量申请成员配额的申请历史。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

quotas:ListQuotaApplicationsForTemplate

list

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

ProductCode

string

云产品的缩写名称。

说明

关于如何获取云产品的缩写名称,请参见 ListProducts 中的ProductCode

ecs-spec

QuotaActionCode

string

配额 ID。

ecs.g5.2xlarge

BatchQuotaApplicationId

string

配额申请批次 ID。

d314d6ae-867d-484c-9009-3d421a80****

QuotaCategory

string

配额种类。取值:

  • CommonQuota:通用配额。

  • FlowControl:API 速率配额。

  • WhiteListLabel:权益配额。

CommonQuota

NextToken

string

用来标记开始读取数据的位置。

说明

不设置该参数,表示从头开始。

4

MaxResults

integer

单次请求返回结果的最大条数。

取值范围:1~100。默认值:30。

30

ApplyStartTime

string

配额申请开始的 UTC 时间。

说明

ApplyStartTimeApplyEndTime之间的时间间隔必须小于等于 7 天。如果未设置这两个参数,则配额申请时间为最近 7 天。

2023-05-22T16:00:00Z

ApplyEndTime

string

配额申请结束的 UTC 时间。

说明

ApplyStartTimeApplyEndTime之间的时间间隔必须小于等于 7 天。如果未设置这两个参数,则配额申请时间为最近 7 天。

2023-05-22T16:00:00Z

返回参数

名称

类型

描述

示例值

object

无。

MaxResults

integer

本次查询的最大记录条数。

30

NextToken

string

用来标记开始读取数据的位置。

1

QuotaBatchApplications

array<object>

配额申请历史列表。

object

配额申请历史列表。

AliyunUids

array

配额申请的资源目录成员的阿里云账号(主账号)列表。

string

配额申请的资源目录成员的阿里云账号(主账号)。

14468026070****

ApplyTime

string

配额提升申请的 UTC 时间。

2022-09-23T02:38:18Z

AuditStatusVos

array<object>

不同审批状态的申请单数量。

object

不同审批状态的申请单数量。

Count

integer

审批单数量。

4

Status

string

配额提升申请的审批状态。取值:

  • Disagree:拒绝。

  • Agree:审核通过。

  • Process:审核中。

  • Cancel:已关闭。

Agree

BatchQuotaApplicationId

string

配额申请批次 ID。

d314d6ae-867d-484c-9009-3d421a80****

DesireValue

number

配额申请的值。

105

Dimensions

object

配额维度。

格式:{"regionId":"cn-hangzhou"}。

{"regionId":"cn-hangzhou"}

EffectiveTime

string

配额生效的 UTC 时间。

2023-05-22T16:00:00Z

ExpireTime

string

配额失效的 UTC 时间。

2024-05-14T02:08:56Z

ProductCode

string

云服务名称缩写。

vpc

QuotaActionCode

string

配额 ID。

q_fhoz4k

QuotaCategory

string

配额种类。取值:

  • CommonQuota:通用配额。

  • FlowControl:API 速率配额。

  • WhiteListLabel:权益配额。

CommonQuota

Reason

string

配额提升申请的原因。

Business expansion

RequestId

string

请求 ID。

D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053

TotalCount

integer

本次请求返回的全部记录条数。

67

示例

正常返回示例

JSON格式

{
  "MaxResults": 30,
  "NextToken": "1",
  "QuotaBatchApplications": [
    {
      "AliyunUids": [
        "14468026070****"
      ],
      "ApplyTime": "2022-09-23T02:38:18Z",
      "AuditStatusVos": [
        {
          "Count": 4,
          "Status": "Agree"
        }
      ],
      "BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
      "DesireValue": 105,
      "Dimensions": {
        "regionId": "cn-hangzhou"
      },
      "EffectiveTime": "2023-05-22T16:00:00Z",
      "ExpireTime": "2024-05-14T02:08:56Z",
      "ProductCode": "vpc",
      "QuotaActionCode": "q_fhoz4k",
      "QuotaCategory": "CommonQuota",
      "Reason": "Business expansion"
    }
  ],
  "RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
  "TotalCount": 67
}

错误码

HTTP status code

错误码

错误信息

描述

400 TEMPLATE.NOT.RD.MA The requested account is not the MA master account of RD and does not have permission to operate quota templates. 当前账号非RDMA主账号,没有操作配额模板权限

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情