文档

UpdateQuota - 更新配额信息

更新时间:

此接口已下线,无法使用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

PUT /api/v1/quotas/{nickname} HTTP/1.1

请求参数

名称类型必填描述示例值
tenantIdstring

租户 id

196871833188896
regionstring

地域 id。

cn-shanghai
AkProvenstring

ak 换取凭证

null
nicknamestring

配额名称

quota_a
bodystring

请求体参数

{ "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, //弹性预留CU "elasticMinCU": 40, //非预留CU "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, //弹性预留CU "elasticMinCU": 40, //非预留CU "elasticMaxCU": 40, "enablePreemptiveScheduling": false, "forceReservedMin": true, "enablePriority": false, "singleJobCULimit": 100, "adhocQuotaBeginTimeInSec": 1345, "adhocQuotaEndTimeInSec": 1234, "ignoreAdhocQuota": false } } ] }

返回参数

名称类型描述示例值
object

PopResult

requestIdstring

请求 id。

0bc12e6a16679892465424670db3eb
datastring

返回结果。

success

示例

正常返回示例

JSON格式

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

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2022-04-14新增 OpenAPI查看变更详情