UpdateQuota

Updated at:

Updates a resource quota using UpdateQuota.

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

Quota ID。

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

The list of user-defined labels. This is a full update.

Label

No

The user-defined label.

PropagateDefaultGPUDriver

boolean

No

Specifies whether to propagate the default GPU driver configuration to child quotas.

QueueStrategy

string

No

The queuing policy for nodes on the quota.

PaiStrategyIntelligent

QuotaConfig QuotaConfig

No

The resource quota configuration.

QuotaName

string

No

The name of the resource quota.

test

Response elements

Element

Type

Description

Example

object

Schema of Response

QuotaId

string

Quota ID。

quota-20210126170216-mtl37ge7gkvdz

RequestId

string

The request ID.

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

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.