Melihat informasi batch.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:DescribePipeline |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET /pop/v1/sam/changeorder/DescribePipeline HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineId |
string |
Yes |
ID batch. Anda dapat memanggil operasi DescribeChangeOrder untuk mendapatkan ID tersebut. |
917660ba-5092-44ca-b8e0-80012c96**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response body of the batch information. |
||
| RequestId |
string |
The ID of the request. |
559B4247-C41C-4D9E-B866-B55D360B**** |
| Message |
string |
The message returned for the operation. |
success |
| TraceId |
string |
The trace ID that is used to query the details of the request. |
0be3e0c316390414649128666e**** |
| Data |
object |
The batch information. |
|
| ShowBatch |
boolean |
Indicates whether to start processing the next batch. Valid values:
|
false |
| PipelineStatus |
integer |
The batch status. Valid values:
|
2 |
| CurrentStageId |
string |
The ID of the batch processing stage. |
c3a55592-4c30-4d84-ac2d-e98c18ec**** |
| PipelineName |
string |
The name of the batch. |
First batch |
| StageList |
array<object> |
The list of batch processing stages. |
|
|
array<object> |
The information about the stage. |
||
| 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. |
Environment initialization |
| 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. |
Application Deployment |
| NextPipelineId |
string |
The ID of the next batch. |
b77b1c98-5772-4f05-95fc-c7bee5fa**** |
| PipelineId |
string |
The ID of the batch. |
917660ba-5092-44ca-b8e0-80012c96**** |
| CoStatus |
string |
The status of the change order for the batch. |
Executed successfully |
| ErrorCode |
string |
The error code returned if the request failed. Take note of the following rules:
|
|
| Code |
string |
The HTTP status code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the batch information was obtained. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "559B4247-C41C-4D9E-B866-B55D360B****",
"Message": "success",
"TraceId": "0be3e0c316390414649128666e****",
"Data": {
"ShowBatch": false,
"PipelineStatus": 2,
"CurrentStageId": "c3a55592-4c30-4d84-ac2d-e98c18ec****",
"PipelineName": "First batch",
"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": "Environment initialization",
"ErrorIgnore": 0,
"Message": "init Namespace success",
"ShowManualIgnore": false,
"TaskId": "bef0122f-de9a-4ab0-8223-b88bf8ad****"
}
],
"StageName": "Application Deployment"
}
],
"NextPipelineId": "b77b1c98-5772-4f05-95fc-c7bee5fa****",
"PipelineId": "917660ba-5092-44ca-b8e0-80012c96****",
"CoStatus": "Executed successfully"
},
"ErrorCode": "Null\n",
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | InvalidParameter.NoPermission | Resource no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.