All Products
Search
Document Center

MaxCompute:CreateQuotaSchedule

Last Updated:Oct 24, 2024

Creates a scheduling plan for a quota plan.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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

ParameterTypeRequiredDescriptionExample
nicknamestringYes

QuotaNickName

quota_A
tenantIdstringNo

The ID of the tenant.

407137536592384
regionstringNo

The ID of the region.

cn-chengdu
bodystringNo

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

ParameterTypeDescriptionExample
object

PopResult

requestIdstring

The ID of the request.

0be3e0b716671885050924814e3623
datastring

The returned result.

success

Examples

Sample success responses

JSONformat

{
  "requestId": "0be3e0b716671885050924814e3623",
  "data": "success"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-10-09The internal configuration of the API is changed, but the call is not affectedView Change Details