The delete-bucket-data-redundancy-transition command is used to delete redundancy type conversion tasks performed on OSS buckets.
Notes
-
By default, an Alibaba Cloud account has the permissions to delete redundancy type conversion tasks performed on OSS buckets. Deleting conversion tasks as a RAM user or by using Security Token Service (STS) requires the
oss:DeleteBucketDataRedundancyTransitionpermission. For more information, see Grant a custom policy. -
Redundancy type conversion tasks in the Processing state cannot be deleted.
Syntax
ossutil api delete-bucket-data-redundancy-transition --bucket value --redundancy-transition-taskid value [flags]
|
Parameter |
Type |
Description |
|
--bucket |
string |
Name of the bucket. |
|
--redundancy-transition-taskid |
string |
ID of the redundancy type conversion task. |
-
The delete-bucket-data-redundancy-transition command corresponds to the DeleteBucketDataRedundancyTransition operation. For more information about the parameters within, see DeleteBucketDataRedundancyTransition.
-
For more information about supported global command-line options, see Command-line options.
Example
The following sample code provides an example on how to delete a redundancy type conversion task performed on examplebucket.
ossutil api delete-bucket-data-redundancy-transition --bucket examplebucket --redundancy-transition-taskid 123