CreateQuotaApplication - 创建配额提升申请

创建配额提升申请。

接口说明

说明

创建配额提升申请后,您可以调用 ListQuotaApplications 接口查看审批结果,当Status显示为Agree时,表示审批通过。

调试

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

调试

授权信息

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

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

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

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

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

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

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

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

操作

访问级别

资源类型

条件关键字

关联操作

quotas:CreateQuotaApplication

create

*QuotaApplication

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

请求参数

名称

类型

必填

描述

示例值

ProductCode

string

云产品的缩写名称。

说明

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

ecs

QuotaActionCode

string

配额 ID。

说明

关于如何获取云产品的配额 ID,请参见 ListProductQuotas 中的QuotaActionCode

q_security-groups

DesireValue

number

配额申请的值。

说明
  • 根据 ListProductQuotas 中目标配额的TotalUsage(配额用量)和ApplicableRange(配额项可申请范围)来设置配额申请值。

  • 配额申请由各云产品的技术支持进行审批。如果您想增加通过几率,请在配额申请时填写合理的申请数值和详尽的申请理由。

804

Reason

string

配额申请的原因。

说明

配额申请由各云产品的技术支持进行审批。如果您想增加通过几率,请在配额申请时填写合理的申请数值和详尽的申请理由。

Scale Out

NoticeType

integer

配额申请结果是否发送通知。取值:

  • 0(默认值):否。

  • 3:是。

0

Dimensions

array<object>

配额维度。 配额项的属性,维度(Dimensions)+配额 ID(QuotaActionCode)确定唯一的配额项。

说明

部分云产品维度必填。您可以从 ListProductQuotaDimensions 查询云产品支持的配额维度,返回参数Requisite表示该维度是否必填。

object

配额维度。

Key

string

配额维度的 Key。

说明

Dimensions.N.KeyDimensions.N.Value必须同时设置。N 的取值范围取决于对应云产品支持的维度个数,您可以通过 ListProductQuotaDimensions 查询云产品支持的配额维度,返回数组长度就是 N。

regionId

Value

string

配额维度的 Value。

说明

Dimensions.N.KeyDimensions.N.Value必须同时设置。N 的取值范围取决于对应云产品支持的维度个数,您可以通过 ListProductQuotaDimensions 查询云产品支持的配额维度,返回数组长度就是 N。

cn-hangzhou

QuotaCategory

string

配额类型。

默认值:CommonQuota。

枚举值:
  • FlowControl :

    API 速率配额

  • WhiteListLabel :

    权益配额

  • CommonQuota :

    通用配额

CommonQuota

AuditMode

string

重要 该参数废弃,不建议使用。

配额审核模式。

Sync

EnvLanguage

string

配额告警通知的语言。

枚举值:
  • en :

    英文

  • zh :

    中文

zh

ExpireTime

string

配额失效的 UTC 时间。 该参数仅适用于权益配额(WhiteListLabel)。

说明

当您未选择失效时间时,默认为提交时间。

2021-01-20T09:25:56Z

EffectiveTime

string

配额生效的 UTC 时间。 该参数仅适用于权益配额(WhiteListLabel)。

说明

当您未选择生效时间时,默认为当前配额开始时间起 99 年。

2021-01-19T09:25:56Z

返回参数

名称

类型

描述

示例值

object

返回结果。

ApplicationId

string

配额申请 ID。

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

ApplyTime

string

配额提升申请时间。

2021-01-19T09:25:56Z

ApproveValue

number

配额提升申请审批通过的配额值。

804

AuditReason

string

配额提升申请审批意见。

Agree

DesireValue

integer

配额提升申请值。

804

Dimension

object

配额维度。

{"regionId":"cn-hangzhou"}

EffectiveTime

string

配额生效时间。

2021-01-19T09:25:56Z

ExpireTime

string

配额失效时间。

2021-01-20T09:25:56Z

NoticeType

integer

配额提升申请结果是否通知。取值:

  • 0:不通知。

  • 3:通知。

枚举值:
  • 0 :

    不通知

  • 3 :

    通知

3

ProductCode

string

云产品名称缩写。

ecs

QuotaActionCode

string

配额 ID。

q_security-groups

QuotaArn

string

配额 ARN。

acs:quotas::141339776561****:quota/ecs/q_security-groups

QuotaDescription

string

配额描述。

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

QuotaName

string

配额名称。

Maximum Number of Security Groups

QuotaUnit

string

配额单位。

AMOUNT

Reason

string

配额提升申请原因。

Scale Out

RequestId

string

请求 ID。

D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053

Status

string

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

枚举值:
  • Cancel :

    已关闭

  • Agree :

    审核通过

  • Process :

    审核中

  • Disagree :

    审核拒绝

Process

示例

正常返回示例

JSON格式

{
  "ApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
  "ApplyTime": "2021-01-19T09:25:56Z",
  "ApproveValue": 804,
  "AuditReason": "Agree",
  "DesireValue": 804,
  "Dimension": {
    "regionId": "cn-hangzhou"
  },
  "EffectiveTime": "2021-01-19T09:25:56Z",
  "ExpireTime": "2021-01-20T09:25:56Z",
  "NoticeType": 3,
  "ProductCode": "ecs",
  "QuotaActionCode": "q_security-groups",
  "QuotaArn": "acs:quotas::141339776561****:quota/ecs/q_security-groups",
  "QuotaDescription": "The maximum number of security groups that can be owned by the current account.",
  "QuotaName": "Maximum Number of Security Groups",
  "QuotaUnit": "AMOUNT",
  "Reason": "Scale Out",
  "RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
  "Status": "Process"
}

错误码

HTTP status code

错误码

错误信息

描述

400 ACQUIRE.LOCK.FAIL The request is too frequent. Please try again later. 访问频繁,请稍后重试。
400 InvalidNoticeType Invalid NoticeType 参数NoticeType无效。
400 InvalidDesireValue Invalid DesireValue 参数 DesireValue 无效。
400 QUOTA.NOT.ADJUSTABLE Quota is not adjustable 配额不可调整。
400 QUOTA.NOT.FOUND The quota does not exist. 配额不存在。
400 QUOTA.APPLICATION.PROCESS The quota adjustment application is being processed. Please try again later. 配额申请调整处理中,暂不能提交申请。
400 QUOTA.DESIREVALUE.ILLEGAL The applied quota value is invalid.
400 QUOTA.APPLICATION.TIME.ERROE ExpireTime cannot be earlier than the current time or EffectiveTime. 失效时间不能早于当前时间或生效时间

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

变更历史

更多信息,参考变更详情