Lists information about redundancy type conversion tasks for OSS buckets.
Note
By default, an Alibaba Cloud account has the permissions to list information about redundancy type conversion tasks for OSS buckets. Listing information as a RAM user or by using Security Token Service (STS) requires the oss:ListBucketDataRedundancyTransition permission. For more information, see Grant custom policy to RAM users.
Syntax
ossutil api list-bucket-data-redundancy-transition --bucket value [flags]Parameter | Type | Description |
--bucket | string | Name of the bucket. |
The list-bucket-data-redundancy-transition command corresponds to the ListBucketDataRedundancyTransition operation. For more information about the parameters within, see ListBucketDataRedundancyTransition.
For more information about supported global command-line options, see Command-line options.
Examples
List information about redundancy type conversion tasks for
examplebucket.ossutil api list-bucket-data-redundancy-transition --bucket examplebucketList information about redundancy type conversion tasks for
examplebucketand display the results in the JSON format.ossutil api list-bucket-data-redundancy-transition --bucket examplebucket --output-format jsonList information about redundancy type conversion tasks for
examplebucketand display the results in the YAML format.ossutil api list-bucket-data-redundancy-transition --bucket examplebucket --output-format yaml