You can call this operation to modify a resource queue.

Request parameters

Name Type Required Example Description
ClusterId String Yes C-EBD62A703A430E23 The ID of the cluster.
Id String Yes 116 The ID of the resource queue.
RegionId String Yes cn-hangzhou The ID of the region.
ResourcePoolId Long Yes 115 The ID of the resource pool.
AccessKeyId String No xxx AccessKey ID.
Config.N.Category String No QUEUE_RESOURCE_LIMIT The type of the parameter.
Config.N.ConfigKey String No capacity The key of the parameter.
Config.N.ConfigValue String No 100 The value of the parameter.
Config.N.Id Long No 200 The ID of the parameter.
Config.N.Note String No capacity_weight The description of the parameter.
Leaf Boolean No false Indicates whether the node is a leaf node.
Name String No queue2 The name of the resource queue.
ParentQueueId Long No 115 The ID of the parent resource queue.
QualifiedName String No test Not required.

Response parameters

Name Type Example Description
RequestId String A544317F-4A60-4532-AC96-191B9D80420A The ID of the request.

Examples

  • Sample requests
    /? Action=ModifyResourceQueue
    &ClusterId=C-0E995C0EE7E5ECB3
    &Id=116
    &RegionId=cn-hangzhou 
    &ResourcePoolId=115
    &AccessKeyId=xxx
    &Leaf=false
    &Name=queue2
    &ParentQueueId=115
    &QualifiedName=test
    &Config. 1 Category=QUEUE_RESOURCE_LIMIT
    &Config. 1 ConfigKey=capacity
    &Config. 1 ConfigValue=100
    &Config. 1. Id=200
    &Config. 1.1ote=capacity_weight
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"code":"200",
    	"requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
    	"successResponse": true
    }
  • Error response examples
    JSON format
    {
    	"code":"AuthRealNameNotPass",
    	"message":"User real name authenticate failed!",
    	"requestId":"A544317F-4A60-4532-AC96-191B9D80420AF",
    	"successResponse":false
    }

Error codes

View error codes.