建立配額提升申請。
介面說明
建立配額提升申請後,您可以呼叫 ListQuotaApplications 介面檢視審批結果,當 Status 顯示為 Agree 時,表示審批通過。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
quotas:CreateQuotaApplication |
create |
*QuotaApplication
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ProductCode |
string |
是 |
雲端產品的縮寫名稱。 說明
關於如何取得雲端產品的縮寫名稱,請參見 ListProductQuotas 中的 |
ecs |
| QuotaActionCode |
string |
是 |
配額 ID。 說明
關於如何取得雲端產品的配額 ID,請參見 ListProductQuotas 中的 |
q_security-groups |
| DesireValue |
number |
是 |
配額申請的值。 說明
|
804 |
| Reason |
string |
是 |
配額申請的原因。 說明
配額申請由各雲端產品的技術支援進行審批。如果您想增加通過機率,請在配額申請時填寫合理的申請數值和詳盡的申請理由。 |
Scale Out |
| NoticeType |
integer |
否 |
配額申請結果是否傳送通知。取值:
枚舉值:
|
0 |
| Dimensions |
array<object> |
否 |
配額維度。 配額項目的屬性,維度(Dimensions)+ 配額 ID(QuotaActionCode)確定唯一的配額項目。 說明
部分雲端產品維度為必填。您可以從 ListProductQuotaDimensions 查詢雲端產品支援的配額維度,返回參數 |
|
|
object |
否 |
配額維度。 |
||
| Key |
string |
否 |
配額維度的 Key。 說明
|
regionId |
| Value |
string |
否 |
配額維度的 Value。 說明
|
cn-hangzhou |
| QuotaCategory |
string |
否 |
配額類型。 預設值:CommonQuota。 枚舉值:
|
CommonQuota |
| AuditMode |
string |
否 |
重要 該參數已廢棄,不建議使用。 配額審核模式。 枚舉值:
|
Sync |
| EnvLanguage |
string |
否 |
配額警示通知的語言。 枚舉值:
|
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 |
配額提升申請時間。格式:ISO 8601,UTC 時間,以 Z 結尾。 |
2021-01-19T09:25:56Z |
| ApproveValue |
number |
配額提升申請審批通過的配額值。 |
804 |
| AuditReason |
string |
配額提升申請審批意見。 |
Agree |
| DesireValue |
integer |
配額提升申請值。 |
804 |
| Dimension |
object |
配額維度。 |
{"regionId":"cn-hangzhou"} |
| EffectiveTime |
string |
配額生效時間。格式:ISO 8601,UTC 時間,以 Z 結尾。 |
2021-01-19T09:25:56Z |
| ExpireTime |
string |
配額失效時間。格式:ISO 8601,UTC 時間,以 Z 結尾。 |
2021-01-20T09:25:56Z |
| NoticeType |
integer |
配額提升申請結果是否通知。取值:
枚舉值:
|
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 |
配額提升申請的審批狀態。 枚舉值:
|
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 | |
| 400 | InvalidDesireValue | Invalid 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。