RetryVMDeployMachine - Retry Machine Deployment
|
Applicable editions |
Central edition, Region edition |
Service Endpoints and Authorization Information
-
Obtain service endpoints: Replace {domain} in the API request syntax.
-
Obtain the organization ID: Required only for Central edition. Go to the Basic Information page in the Organization Management console to obtain the organization ID.
|
Product |
Resource |
Required Permissions |
|
Pipeline |
Host Deployment |
Read/Write |
Request Syntax
Central edition
PUT https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry
Region edition
PUT https://{domain}/oapi/v1/flow/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry
Request Headers
|
Parameter |
Type |
Required |
Description |
Example Value |
|
x-yunxiao-token |
string |
Yes |
Personal Access Token. |
pt-0fh3****0fbG_35af****0484 |
Request Parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example Value |
|
organizationId |
string |
path |
|
Enterprise ID. |
5ebbc0228123212b59xxxxx |
|
pipelineId |
string |
path |
Yes |
Pipeline ID. |
123 |
|
deployOrderId |
string |
path |
Yes |
Deployment Order ID. |
1111 |
|
machineSn |
string |
path |
Yes |
Machine SN. |
asssssssxsx |
Request Examples
Central edition
curl -X 'PUT' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelines/123/deploy/1111/machine/asssssssxsx/retry' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'PUT' \
'https://{domain}/oapi/v1/flow/pipelines/123/deploy/1111/machine/asssssssxsx/retry' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response Parameters
|
Parameter |
Type |
Description |
Example Value |
|
- |
boolean |
Indicates whether the operation succeeded. |
true |
Response Example
true
Error Codes
For API error codes, see the Error Code Center.