Lista todas as tarefas de conversão de tipo de redundância de armazenamento do solicitante.
Observações de uso
Para chamar esta operação, é necessário ter a permissão
oss:ListUserDataRedundancyTransition. Para mais informações, consulte Conceder uma política personalizada.Cada região possui endpoints específicos do Object Storage Service (OSS). Para obter detalhes sobre o mapeamento entre regiões e endpoints, consulte 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 utiliza apenas cabeçalhos de solicitação comuns. Para mais informações, consulte Cabeçalhos de solicitação comuns.
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Exemplo |
Descrição |
|
continuation-token |
String |
Não |
abc |
Token que define o ponto inicial 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. Para mais informações, consulte Cabeçalhos de resposta comuns.
Elementos da resposta
|
Elemento |
Tipo |
Exemplo |
Descrição |
|
ListBucketDataRedundancyTransition |
Container |
N/A |
Contêiner que armazena as tarefas listadas de alteração de tipo de redundância. Nós pai: nenhum Nós filho: BucketDataRedundancyTransition, IsTruncated e NextContinuationToken |
|
BucketDataRedundancyTransition |
Container |
N/A |
Contêiner que armazena uma tarefa de alteração de tipo de redundância. Nós pai: ListBucketDataRedundancyTransition Nós filho: TaskId, CreateTime, StartTime, EndTime, Status, EstimatedRemainingTime e ProcessPercentage |
|
TaskId |
String |
4be5beb0f74f490186311b268bf6j**** |
ID da tarefa. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
CreateTime |
String |
2023-11-17T08:40:17.000Z |
Data e hora de criação da tarefa. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
StartTime |
String |
2023-11-17T10:40:17.000Z |
Data e hora de início da tarefa. Disponível apenas quando a tarefa está no estado Processing ou Finished. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
EndTime |
String |
N/A |
Data e hora de conclusão da tarefa. Disponível apenas quando a tarefa está no estado Finished. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
Status |
String |
Processing |
Status da tarefa. Valores válidos:
Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
EstimatedRemainingTime |
Integer |
16 |
Tempo restante estimado para a tarefa, em horas. Disponível apenas quando a tarefa está no estado Processing ou Finished. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
ProcessPercentage |
Integer |
50 |
Progresso da tarefa, em porcentagem. Disponível apenas quando a tarefa está no estado Processing ou Finished. Nós pai: BucketDataRedundancyTransition Nós filho: nenhum |
|
IsTruncated |
Boolean |
false |
Indica se os resultados retornados foram truncados. Valores válidos:
Nós pai: ListBucketDataRedundancyTransition Nós filho: nenhum |
|
NextContinuationToken |
String |
N/A |
Token usado para recuperar a próxima página de resultados. Defina este valor como o parâmetro continuation-token para obter os resultados restantes. Nós pai: ListBucketDataRedundancyTransition Nós filho: nenhum |
Exemplos
-
Exemplo de solicitação
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 -
Exemplo de resposta
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>
ossutil
Para consultar o comando do ossutil correspondente a esta operação, consulte list-user-data-redundancy-transition.