Consulta as informações do lote.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
sae:DescribePipeline |
get |
*All Resource
|
Nenhuma | Nenhuma |
Sintaxe da solicitação
GET /pop/v1/sam/changeorder/DescribePipeline HTTP/1.1
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| PipelineId |
string |
Sim |
O ID do lote. Você pode chamar a operação DescribeChangeOrder para obter o ID. |
917660ba-5092-44ca-b8e0-80012c96**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O corpo da resposta das informações do lote. |
||
| RequestId |
string |
O ID da solicitação. |
559B4247-C41C-4D9E-B866-B55D360B**** |
| Message |
string |
A mensagem retornada para a operação. |
success |
| TraceId |
string |
O ID de rastreamento usado para consultar os detalhes da solicitação. |
0be3e0c316390414649128666e**** |
| Data |
object |
As informações do lote. |
|
| ShowBatch |
boolean |
Indica se deve iniciar o processamento do próximo lote. Valores válidos:
|
false |
| PipelineStatus |
integer |
O status do lote. Valores válidos:
|
2 |
| CurrentStageId |
string |
O ID da etapa de processamento do lote. |
c3a55592-4c30-4d84-ac2d-e98c18ec**** |
| PipelineName |
string |
O nome do lote. |
Batch 1 change |
| StageList |
array<object> |
A lista de etapas de processamento do lote. |
|
|
array<object> |
As informações sobre a etapa. |
||
| Status |
integer |
The status of the batch processing stage. Valid values:
|
2 |
| StageId |
string |
The ID of the stage. |
c3a55592-4c30-4d84-ac2d-e98c18ec**** |
| ExecutorType |
integer |
The execution type of the stage. Valid values:
|
0 |
| TaskList |
array<object> |
The list of task statuses. |
|
|
object |
The information about the task status. |
||
| Status |
integer |
The task status. Valid values:
|
2 |
| StageId |
string |
The ID of the stage. |
c3a55592-4c30-4d84-ac2d-e98c18ec**** |
| ErrorMessage |
string |
The error message returned when the task could not be executed. If the task is successfully executed, this parameter is not returned. |
EDAS-10022 |
| ErrorCode |
string |
The error code returned when the task could not be executed. If the task is successfully executed, this parameter is not returned. |
EDAS-10022 |
| TaskName |
string |
The name of the task. |
Initialize environment |
| ErrorIgnore |
integer |
Indicates whether to execute the subsequent tasks when the task failed. Valid values:
|
0 |
| Message |
string |
The returned message indicating the task execution result. |
init Namespace success |
| ShowManualIgnore |
boolean |
Indicates whether a running task can be manually skipped. Valid values:
|
false |
| TaskId |
string |
The ID of the task. |
bef0122f-de9a-4ab0-8223-b88bf8ad**** |
| StageName |
string |
The name of the stage. |
Deployment application |
| NextPipelineId |
string |
O ID do próximo lote. |
b77b1c98-5772-4f05-95fc-c7bee5fa**** |
| PipelineId |
string |
O ID do lote. |
917660ba-5092-44ca-b8e0-80012c96**** |
| CoStatus |
string |
O status da ordem de alteração do lote. |
Execution succeeded |
| ErrorCode |
string |
O código de erro retornado se a solicitação falhar. Observe as seguintes regras:
|
|
| Code |
string |
O código de status HTTP. Valores válidos:
|
200 |
| Success |
boolean |
Indica se as informações do lote foram obtidas. Valores válidos:
|
true |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "559B4247-C41C-4D9E-B866-B55D360B****",
"Message": "success",
"TraceId": "0be3e0c316390414649128666e****",
"Data": {
"ShowBatch": false,
"PipelineStatus": 2,
"CurrentStageId": "c3a55592-4c30-4d84-ac2d-e98c18ec****",
"PipelineName": "Batch 1 change",
"StageList": [
{
"Status": 2,
"StageId": "c3a55592-4c30-4d84-ac2d-e98c18ec****",
"ExecutorType": 0,
"TaskList": [
{
"Status": 2,
"StageId": "c3a55592-4c30-4d84-ac2d-e98c18ec****",
"ErrorMessage": "EDAS-10022 ",
"ErrorCode": "EDAS-10022",
"TaskName": "Initialize environment",
"ErrorIgnore": 0,
"Message": "init Namespace success",
"ShowManualIgnore": false,
"TaskId": "bef0122f-de9a-4ab0-8223-b88bf8ad****"
}
],
"StageName": "Deployment application"
}
],
"NextPipelineId": "b77b1c98-5772-4f05-95fc-c7bee5fa****",
"PipelineId": "917660ba-5092-44ca-b8e0-80012c96****",
"CoStatus": "Execution succeeded"
},
"ErrorCode": "",
"Code": "200",
"Success": true
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | InvalidParameter.NoPermission | Resource no permission |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.