Queries the Quality of Service (QoS) configurations for a bucket.
Usage notes
The resource pool QoS feature is in invitational preview. To apply, your OSS throughput in a specific region must be at least 500 Gbit/s. Contact technical support to request access.
Alibaba Cloud accounts can query QoS configurations by default. RAM users and Security Token Service (STS) credentials require the
oss:GetBucketQoSInfopermission. For details, see Common examples of RAM policies.A value of
-1means no limit is applied to that field. If a field is absent from the response, the default is-1. A value of0means that type of access request is blocked.
Syntax
ossutil api invoke-operation --op-name get-bucket-qos-info --method GET --bucket <bucket-name> --parameters qosInfo| Parameter | Type | Description |
|---|---|---|
--bucket | string | Name of the bucket. |
--parameters | stringArray | Request parameters in key[=value] format, such as versionId=123 or delete. |
For all supported global options, see Command-line options.
Example
The following command queries the QoS configurations for examplebucket:
ossutil api invoke-operation --op-name get-bucket-qos-info --method GET --bucket examplebucket --parameters qosInfo