PutBucketResourcePoolBucketGroup

更新时间:
复制 MD 格式

Adds a bucket in a resource pool to a bucket group.

Notes

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

  • An Alibaba Cloud account has full permissions by default. RAM users and RAM roles require the oss:PutBucketResourcePoolBucketGroup permission, granted through a RAM Policy or Bucket Policy.

  • Only buckets already in a resource pool can be added to a bucket group.

Request syntax

PUT /?reourcePool=<resourcePoolName>&resourcePoolBucketGroup=<resourcePoolBucketGroupName>
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

Request headers

This request uses only Common Request Headers.

Request elements

Name

Type

Required

Example

Description

resourcePool

string

Yes

resource-pool-for-ai

Resource pool name.

resourcePoolBucketGroup

string

No

test-group

Bucket group to add the bucket to. If empty, the bucket is removed from the bucket group.

BucketName

string

Yes

examplebucket

Bucket to add to the resource pool.

Response headers

This response uses only Common Response Headers.

Examples

  • Sample request

    PUT /?resourcePool=resource-pool-for-ai&resourcePoolBucketGroup=test-group
    Host: BucketName.oss-cn-hangzhou.aliyuncs.com
    Date: Sun, 11 Aug 2024 17:45:00 GMT
    Authorization: SignatureValue
  • Sample response

    HTTP/1.1 200 OK
    Date: Sun, 11 Aug 2024 17:45:00 GMT
    Content-Length: 0

OSS SDKs

The following OSS SDKs support this operation: