Put-bucket-resource-pool-bucket-group

Updated at:

The put-bucket-resource-pool-bucket-group command adds a bucket in a resource pool to a bucket group.

Usage notes

Important

Resource pool QoS is in invitational preview. If the throughput of your OSS buckets in a region has reached or exceeded 400 Gbit/s, you can contact technical support to apply for this feature.

  • By default, an Alibaba Cloud account has the permissions to add buckets in a resource pool to a bucket group. To configure QoS information for a bucket by using a Resource Access Management (RAM) user or Security Token Service (STS), you must have the oss:PutBucketResourcePoolBucketGroup permission. For more information, see Grant custom permissions to a RAM user.

  • A bucket must belong to a resource pool before it can be added to a throttle group. Verify that the bucket exists in the target resource pool before you proceed. Adding a bucket that is not part of a resource pool is not supported.

Syntax

ossutil api invoke-operation --op-name put-bucket-resource-pool-bucket-group --method PUT --bucket <BucektName> --parameters resourcePool=<ResourcePoolName> --parameters resourcePoolBucketGroup=<ResourcePoolBucketGroup>

Parameter

Type

Description

--parameters

stringArray

The request parameters in the k[=v] format, such as versionId=123 and delete.

Note

For information about the supported global command-line options, see Supported global command options.

Examples

The following example assigns the examplebucket to the exampleGroup in the examplePool:

ossutil api invoke-operation --op-name put-bucket-resource-pool-bucket-group --method PUT --bucket examplebucket --parameters resourcePool=examplePool --parameters resourcePoolBucketGroup=exampleGroup

The following example removes the examplebucket from a bucket group in the examplePool:

ossutil api invoke-operation --op-name put-bucket-resource-pool-bucket-group --method PUT --bucket examplebucket --parameters resourcePool=examplePool --parameters resourcePoolBucketGroup=