管理账号修改配额模板后,修改结果仅对资源目录中管理账号新增的成员生效,已有成员无变化。只有资源目录的管理员账号可修改配额模版。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
quotas:ModifyTemplateQuotaItem |
update |
*TemplateQuota
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
Id |
string |
是 |
配额模板 ID。 关于如何获取配额模板 ID,请参见 ListQuotaApplicationTemplates 。 |
1**** |
ProductCode |
string |
否 |
云产品的缩写名称。 说明
关于如何获取云产品的缩写名称,请参见 ListProducts 中的 |
ecs |
QuotaActionCode |
string |
否 |
配额 ID。 说明
关于如何获取云产品的配额 ID,请参见 ListProductQuotas 中的 |
q_security-groups |
Dimensions |
array<object> |
否 |
配额维度。 |
|
object |
否 |
配额维度。 |
||
Key |
string |
否 |
配额维度的 Key。 说明
|
regionId |
Value |
string |
否 |
配额维度的 Value。 说明
|
cn-hangzhou |
DesireValue |
number |
否 |
配额申请的值。 说明
|
804 |
NoticeType |
integer |
否 |
配额申请结果是否发送通知。取值:
|
0 |
EnvLanguage |
string |
否 |
配额告警通知的语言。取值:
|
zh |
EffectiveTime |
string |
否 |
配额生效的 UTC 时间。 该参数仅适用于权益配额(WhiteListLabel)。 说明
数据为空表示立即生效。 |
2021-01-19T09:25:56Z |
ExpireTime |
string |
否 |
配额失效的 UTC 时间。 该参数仅适用于权益配额(WhiteListLabel)。 说明
数据为空表示未设定 UTC 失效时间。 |
2021-01-20T09:25:56Z |
QuotaCategory |
string |
否 |
配额种类。取值:
|
CommonQuota |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
无。 |
||
Id |
string |
配额模板 ID。 |
1**** |
RequestId |
string |
请求 ID。 |
D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053 |
示例
正常返回示例
JSON
格式
{
"Id": "1****",
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | TEMPLATE.NOT.FOUND | Quota template does not exist. | |
400 | UNSUPPORT.UPDATE.PRODUCTCODE.QUOTACODE | Modification of product name, quota code and dimension data is not supported | |
400 | RAM.PERMISSION.DENIED | You are not authorized to do this action or the API input parameter is invalid. | |
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. | |
400 | QUOTA.DESIREVALUE.ILLEGAL | DesirValue less than or equal to the current quota value, or that is not within the adjustable range. | |
400 | UNSUPPORT.UPDATE.DIMENSIONS | The Quota dimension don't support be modified when you update quota template. | |
400 | TEMPLATE.ITEM.NOT.FOUND | Quota template item does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。