Lista todas as tarefas de conversão de tipo de redundância de armazenamento para o solicitante.
Notas de uso
Para chamar esta operação, você precisa da permissão
oss:ListUserDataRedundancyTransition. Saiba mais em Grant a custom policy.Cada região possui endpoints exclusivos do Object Storage Service (OSS). Consulte Regions and endpoints para ver o mapeamento entre regiões e endpoints.
Sintaxe da solicitação
GET /?redundancyTransition&continuation-token=xxx&max-keys=10 HTTP.1
Host: oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue
Cabeçalhos da solicitação
Esta operação usa apenas cabeçalhos de solicitação comuns. Veja Common request headers para obter detalhes.
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Exemplo |
Descrição |
|
continuation-token |
String |
Não |
abc |
Token que indica o início da listagem. |
|
max-keys |
Integer |
Não |
10 |
Número máximo de tarefas a retornar. Valores válidos: 1 a 100. |
Cabeçalhos da resposta
Esta operação retorna apenas cabeçalhos de resposta comuns. Consulte Common response headers para obter mais detalhes.
Elementos da resposta
|
Elemento |
Tipo |
Exemplo |
Descrição |
|
ListBucketDataRedundancyTransition |
Contêiner |
N/A |
Contêiner que agrupa as tarefas listadas de alteração do tipo de redundância. Nós pai: nenhum Nós filho: BucketDataRedundancyTransition, IsTruncated e NextContinuationToken |
|
BucketDataRedundancyTransition |
Contêiner |
N/A |
Contêiner que armazena uma tarefa de alteração do tipo de redundância. Nó pai: ListBucketDataRedundancyTransition Nós filho: TaskId, CreateTime, StartTime, EndTime, Status, EstimatedRemainingTime e ProcessPercentage |
|
TaskId |
String |
4be5beb0f74f490186311b268bf6j**** |
ID da tarefa. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
CreateTime |
String |
2023-11-17T08:40:17.000Z |
Horário de criação da tarefa. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
StartTime |
String |
2023-11-17T10:40:17.000Z |
Horário de início da tarefa. Disponível somente quando a tarefa está nos estados Processing ou Finished. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
EndTime |
String |
N/A |
Horário de conclusão da tarefa. Disponível somente quando a tarefa está no estado Finished. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
Status |
String |
Processing |
status da tarefa. Valores válidos:
Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
EstimatedRemainingTime |
Integer |
16 |
Tempo restante estimado da tarefa, em horas. Disponível somente quando a tarefa está nos estados Processing ou Finished. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
ProcessPercentage |
Integer |
50 |
Progresso da tarefa, em porcentagem. Disponível somente quando a tarefa está nos estados Processing ou Finished. Nó pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
IsTruncated |
Boolean |
false |
Indica se a resposta está truncada. Valores válidos:
Nó pai: ListBucketDataRedundancyTransition Nós filho: nenhum |
|
NextContinuationToken |
String |
N/A |
Use este token para recuperar a próxima página de resultados. Defina o parâmetro continuation-token com esse valor para obter os resultados restantes. Nó pai: ListBucketDataRedundancyTransition Nós filho: nenhum |
Exemplos
-
Solicitação de exemplo
GET /?dataRedundancyTransition&continuation-token=abc&max-keys=10 HTTP/1.1 Host: examplebucket1.oss-cn-hangzhou.aliyuncs.com Date: Thu, 17 Apr 2025 08:40:17 GMT Authorization: OSS4-HMAC-SHA256 Credential=LTAI********************/20250417/cn-hangzhou/oss/aliyun_v4_request,Signature=a7c3554c729d71929e0b84489addee6b2e8d5cb48595adfc51868c299c0c218e -
Resposta de exemplo
HTTP/1.1 200 OK Date: Fri, 17 Nov 2023 08:40:17 GMT Content-Type: application/xml Content-Length: 437 Server: AliyunOSS x-oss-request-id: 655726F18EAD9B710C00**** <?xml version="1.0" encoding="UTF-8"?> <ListBucketDataRedundancyTransition> <IsTruncated>false</IsTruncated> <NextContinuationToken></NextContinuationToken> <BucketDataRedundancyTransition> <Bucket>examplebucket1</Bucket> <TaskId>4be5beb0f74f490186311b268bf6****</TaskId> <Status>Queueing</Status> <CreateTime>2023-11-17T08:40:17.000Z</CreateTime> </BucketDataRedundancyTransition> <BucketDataRedundancyTransition> <Bucket>examplebucket2</Bucket> <TaskId>4be5beb0f74f490186311b268bf6j****</TaskId> <Status>Processing</Status> <CreateTime>2023-11-17T08:40:17.000Z</CreateTime> <StartTime>2023-11-17T10:40:17.000Z</StartTime> <ProcessPercentage>50</ProcessPercentage> <EstimatedRemainingTime>16</EstimatedRemainingTime> </BucketDataRedundancyTransition> <BucketDataRedundancyTransition> <Bucket>examplebucket3</Bucket> <TaskId>4be5beb0er4f490186311b268bf6j****</TaskId> <Status>Finished</Status> <CreateTime>2023-11-17T08:40:17.000Z</CreateTime> <StartTime>2023-11-17T11:40:17.000Z</StartTime> <ProcessPercentage>100</ProcessPercentage> <EstimatedRemainingTime>0</EstimatedRemainingTime> <EndTime>2023-11-18T09:40:17.000Z</EndTime> </BucketDataRedundancyTransition> ... </ListBucketDataRedundancyTransition>