Creates a scheduling plan for a quota plan.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/v1/quotas/{nickname}/schedule HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
nickname | string | Yes | QuotaNickName | quota_A |
tenantId | string | No | The ID of the tenant. | 407137536592384 |
region | string | No | The ID of the region. | cn-chengdu |
body | string | No | The request body parameters. | \# The quota plan immediately takes effect. \[ { "type": "once", "plan": "planA", "operator":"xxx" } ] # The quota plan is scheduled on a regular basis. \[ { "id": "bi", "type": "daily", "condition": { "at": "0800", "after": "2022-04-25T04:23:04Z" // optional }, "plan": "planA" }, { "id": "bi", "type": "daily", "condition": { "at": "0900", "after": "2022-04-25T04:23:04Z" // optional }, "plan": "planB" }, ] |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "0be3e0b716671885050924814e3623",
"data": "success"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-09 | The internal configuration of the API is changed, but the call is not affected | View Change Details |