GetBucketQoSInfo

Updated at:

Queries the throttling configurations of a bucket.

Notes

  • 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 can query the throttling configurations of a specific bucket in a resource pool. To make query requests as a RAM user or by using Security Token Service (STS), you must have the oss:GetBucketQoSInfo permission. For more information, see RAM policy common examples.

Syntax

GET /?qosInfo HTTP/1.1
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

Request headers

A GetBucketQoSInfo request uses only common request headers. For more information, see Common HTTP headers.

Response headers

The response to a GetBucketQoSInfo request uses only common response headers. For more information, see Common response headers.

Response elements

Name

Type

Example

Description

QoSConfiguration

Container

N/A

The container for the query result.

Parent nodes: none

TotalUploadBandwidth

Integer

10

Total upload bandwidth of the bucket. Unit: Gbit/s.

Parent nodes: QoSConfiguration

IntranetUploadBandwidth

Integer

-1

Upload bandwidth over an internal network of the bucket. Internal networks include the classic network and VPC. Unit: Gbit/s.

Parent nodes: QoSConfiguration

ExtranetUploadBandwidth

Integer

-1

Upload bandwidth over a public network of the bucket. Public networks include the Internet and acceleration endpoints. Unit: Gbit/s.

Parent nodes: QoSConfiguration

TotalDownloadBandwidth

Integer

10

Total download bandwidth of the bucket. Unit: Gbit/s.

Parent nodes: QoSConfiguration

IntranetDownloadBandwidth

Integer

-1

Download bandwidth over an internal network of the bucket. Internal networks include the classic network and VPC. Unit: Gbit/s.

Parent nodes: QoSConfiguration

ExtranetDownloadBandwidth

Integer

-1

Download bandwidth over a public network of the bucket. Public networks include the Internet and acceleration endpoints. Unit: Gbit/s.

Parent nodes: QoSConfiguration

TotalQps

Integer

10000

The total QPS configuration.

Parent node: QoSConfiguration

IntranetQps

Integer

-1

The QPS configuration for requests from internal networks, including the classic network and VPCs.

Parent node: QoSConfiguration

ExtranetQps

Integer

-1

The QPS configuration for requests from external networks, including the Internet and CDNs.

Parent node: QoSConfiguration

Examples

  • Sample request

    Get /?qosInfo HTTP/1.1
    Host: oss-example.oss-cn-hangzhou.aliyuncs.com   
    Date: Fri, 27 Dec 2024 03:21:12 GMT
    Authorization: OSS4-HMAC-SHA256 Credential=LTAI********************/20250417/cn-hangzhou/oss/aliyun_v4_request,Signature=a7c3554c729d71929e0b84489addee6b2e8d5cb48595adfc51868c299c0c218e
  • Sample response

    HTTP/1.1 200 OK
    Date: Fri, 27 Dec 2024 03:21:12 GMT
    Content-Type: application/xml
    Content-Length: 556
    Connection: keep-alive
    Server: AliyunOSS
    x-oss-request-id: 534****
    
    <?xml version="1.0" encoding="UTF-8"?>
    <QoSConfiguration>
      <TotalUploadBandwidth>10</TotalUploadBandwidth>
      <IntranetUploadBandwidth>-1</IntranetUploadBandwidth>
      <ExtranetUploadBandwidth>-1</ExtranetUploadBandwidth>
      <TotalDownloadBandwidth>10</TotalDownloadBandwidth>
      <IntranetDownloadBandwidth>-1</IntranetDownloadBandwidth>
      <ExtranetDownloadBandwidth>-1</ExtranetDownloadBandwidth>
      <TotalQps>10000</TotalQps>
      <IntranetQps>-1</IntranetQps>
      <ExtranetQps>-1</ExtranetQps>
    </QoSConfiguration>

OSS SDKs

You can call GetBucketQoSInfo by using OSS SDKs for the following programming languages:

ossutil

For the ossutil command that corresponds to the GetBucketQoSInfo operation, see get-bucket-qos-info.