Lists all redundancy type conversion tasks for the requester's account.
Permissions
| Identity | Required permission |
|---|---|
| Alibaba Cloud account | Permitted by default — no additional configuration needed |
| RAM user or Security Token Service (STS) | Must be granted oss:ListUserDataRedundancyTransition |
To grant this permission to a RAM user, see Grant custom policy to a RAM user.
Syntax
ossutil api list-user-data-redundancy-transition [--continuation-token <value>] [--max-keys <value>]Options
--continuation-token (string)
The token that marks where the list operation starts. Use the NextContinuationToken value from a previous response to retrieve the next page of results.
--max-keys (int)
The maximum number of redundancy transition tasks to return per request.
For global command-line options, see Global command-line options.
Examples
List all redundancy type conversion tasks:
ossutil api list-user-data-redundancy-transitionList tasks and display the output in JSON format:
ossutil api list-user-data-redundancy-transition --output-format jsonExample output:
{
"IsTruncated": false,
"NextContinuationToken": "",
"BucketDataRedundancyTransition": [
{
"Bucket": "examplebucket",
"TaskId": "4be5beb0-e7cb-463f-9381-16b4832a****",
"Status": "Processing",
"CreateTime": "2023-11-10T02:00:00.000Z",
"StartTime": "2023-11-10T02:01:00.000Z",
"ProcessPercentage": 20,
"EstimatedRemainingTime": 100
}
]
}List tasks and display the output in YAML format:
ossutil api list-user-data-redundancy-transition --output-format yamlRetrieve only the first 10 tasks:
ossutil api list-user-data-redundancy-transition --max-keys 10Resume listing from a continuation token:
ossutil api list-user-data-redundancy-transition --continuation-token CgJiYw123Output
IsTruncated (boolean)
Indicates whether the returned results are truncated. If true, more tasks are available and NextContinuationToken contains the token to retrieve the next page.
NextContinuationToken (string)
The token to retrieve the next page of results. Pass this value to --continuation-token in a subsequent request. This field is empty when IsTruncated is false.
BucketDataRedundancyTransition (array)
The list of redundancy type conversion tasks. Each task includes:
| Field | Type | Description |
|---|---|---|
Bucket | string | The name of the bucket |
TaskId | string | The unique identifier of the task |
Status | string | The current status: Queueing, Processing, or Finished |
CreateTime | string | The time the task was created (ISO 8601) |
StartTime | string | The time the task started. Available when the task is in the Processing or Finished state |
EndTime | string | The time the task completed. Available when the task is in the Finished state |
EstimatedRemainingTime | integer | Estimated remaining time. Available when the task is in the Processing or Finished state |
ProcessPercentage | integer | Completion percentage (0–100). Available when the task is in the Processing or Finished state |
What's next
ListUserDataRedundancyTransition — the underlying API operation and its full response schema
Global command-line options — flags supported by all ossutil commands