All Products
Search
Document Center

MaxCompute:UpdateQuota

Last Updated:Mar 03, 2024

Updates a quota.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /api/v1/quotas/{nickname}

Request parameters

ParameterTypeRequiredDescriptionExample
tenantIdstringNo

The tenant ID.

196871833188896
regionstringNo

The region ID.

cn-shanghai
AkProvenstringNo

The trusted AccessKey pairs.

null
nicknamestringYes

The name of the quota.

quota_a
bodystringNo

The request body parameter.

{ "id": "0", "name": "a", "nickName": "VIRTUAL", "type": "", "status": "ON", "tenantId": "10001", "regionId": "cn-hangzhou", "parentId": "0", "cluster": "AT-ODPS-TEST3", "version": "", "billingPolicy": { "odpsSpecCode": "", "billingMethod": "subscription" }, "parameter": { "minCU": 40, "maxCU": 40, "adhocCU": 0, "elasticMinCU": 40, "elasticMaxCU": 40, "enablePreemptiveScheduling": false, "forceReservedMin": true, "enablePriority": false, "singleJobCULimit": 100, "adhocQuotaBeginTimeInSec": 1345, "adhocQuotaEndTimeInSec": 1234, "ignoreAdhocQuota": false }, "subQuotaInfoList": [ { "id": "1000048", "nickName": "WlmFuxiSecondaryOnlineQuotaTest", "name": "WlmFuxiSecondaryOnlineQuotaTest", "type": "FUXI_ONLINE", "status": "ON", "tenantId": "10001", "regionId": "cn-hangzhou", "parentId": "0", "cluster": "AT-ODPS-TEST3", "version": "", "billingPolicy": { "odpsSpecCode": "", "billingMethod": "subscription" }, "parameter": { "minCU": 40, "maxCU": 40, "adhocCU": 0, "elasticMinCU": 40, "elasticMaxCU": 40, "enablePreemptiveScheduling": false, "forceReservedMin": true, "enablePriority": false, "singleJobCULimit": 100, "adhocQuotaBeginTimeInSec": 1345, "adhocQuotaEndTimeInSec": 1234, "ignoreAdhocQuota": false } } ] }

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

requestIdstring

The request ID.

0bc12e6a16679892465424670db3eb
datastring

The returned data.

success

Examples

Sample success responses

JSONformat

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

Error codes

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

Change history

Change timeSummary of changesOperation
2022-04-14Add Operationsee changesets