UpdateQuotaSchedule
Updates the scheduling plan for a quota plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:UpdateQuotaSchedule |
update |
*Quota
|
None | None |
Request syntax
PUT /api/v1/quotas/{nickname}/schedule HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
The name of the quota. |
quotaA |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
The ID of the tenant. |
478403690625249 |
| 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":"userA" } ] # The quota plan is scheduled on a regular basis. \[ { "id": "etl_time", "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 elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The ID of the request. |
0a06dfe516691014920015940e1c9d |
| data |
string |
The returned result. |
success |
Examples
Success response
JSON format
{
"requestId": "0a06dfe516691014920015940e1c9d",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.