Updates the time-based schedule for a computing quota.
Operation description
Before you call this operation, ensure that you understand the billing methods and pricing of reserved compute units (CUs) in MaxCompute.
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}/computeQuotaSchedule HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
nickname | string | Yes | The nickname of the level-1 quota. | os_ComputeQuota_p |
| body | array<object> | No | The request body parameters. | |
array<object> | No | The request body parameters. | ||
| condition | object | No | The condition for the plan to take effect. | |
at | string | Yes | The time when the plan takes effect. | 10:00 |
type | string | Yes | The type. Important Only daily is supported. | daily |
plan | string | Yes | The name of the quota plan. | planA |
scheduleTimezone | string | No | The time zone. Note The default value is UTC+8. | UTC+8 |
You must configure the plan to start at 00:00.
Response elements
Element | Type | Description | Example |
object | The parameters that are returned for the request. | ||
requestId | string | The request ID. | 0be3e0aa16667684362147582e038f |
httpCode | integer | The HTTP status code.
| 200 |
errorCode | string | The error code. | QUOTA_PLAN_NOT_FOUND |
errorMsg | string | The error message. | plan \"***\" does not exist |
data | string | The returned result. | success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"httpCode": 200,
"errorCode": "QUOTA_PLAN_NOT_FOUND",
"errorMsg": "plan \\\"***\\\" does not exist",
"data": "success"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.