Lists redundancy type conversion tasks for a bucket.
Note
By default, an Alibaba Cloud account has the permissions to list redundancy type conversion tasks for buckets. To perform this operation as a RAM user or by using Security Token Service (STS), you must have 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 |
The name of the bucket. |
-
The list-bucket-data-redundancy-transition command corresponds to the ListBucketDataRedundancyTransition operation. For more information about the parameters, see ListBucketDataRedundancyTransition.
-
For more information about supported global command-line options, see Command-line options.
Examples
-
List redundancy type conversion tasks for
examplebucket.ossutil api list-bucket-data-redundancy-transition --bucket examplebucket -
List redundancy type conversion tasks for
examplebucketand display the results in JSON format.ossutil api list-bucket-data-redundancy-transition --bucket examplebucket --output-format json -
List redundancy type conversion tasks for
examplebucketand display the results in YAML format.ossutil api list-bucket-data-redundancy-transition --bucket examplebucket --output-format yaml