Updates a quota.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /api/v1/quotas/{nickname}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
tenantId | string | No | The tenant ID. | 196871833188896 |
region | string | No | The region ID. | cn-shanghai |
AkProven | string | No | The trusted AccessKey pairs. | null |
nickname | string | Yes | The name of the quota. | quota_a |
body | string | No | 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
Examples
Sample success responses
JSON
format
{
"requestId": "0bc12e6a16679892465424670db3eb",
"data": "success"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-04-14 | Add Operation | see changesets |