UpdateQuota

更新时间:
复制 MD 格式

Updates the configuration of a resource quota.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

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

Path Parameters

Parameter

Type

Required

Description

Example

QuotaId

string

No

The ID of the resource quota.

quota-20210126170216-mtl37ge7gkvdz

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

Description

string

No

The description of the resource quota.

this is a test quota

Labels

array

No

A list of user-defined labels. This operation performs a full update.

Label

No

A user-defined label.

QueueStrategy

string

No

The queuing policy for tasks in the resource quota.

PaiStrategyIntelligent

QuotaConfig QuotaConfig

No

The configuration of the resource quota.

QuotaName

string

No

The name of the resource quota.

test

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The request ID.

96496E6E-00B4-5F55-80F6-1844FA9E92DC

QuotaId

string

The ID of the resource quota.

quota-20210126170216-mtl37ge7gkvdz

Examples

Success response

JSON format

{
  "RequestId": "96496E6E-00B4-5F55-80F6-1844FA9E92DC",
  "QuotaId": "quota-20210126170216-mtl37ge7gkvdz"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.