CreateCrossProjectPipelineRun
Creates a cross-workspace deployment pipeline run.
Operation description
Creates and finalizes a cross-workspace deployment pipeline run. ObjectIds must contain exactly one top-level object ID from the source workspace. Child objects of composite objects such as workflows are included automatically. Specifying more than one object causes parameter validation to fail. Call ListCrossProjectDeploymentCandidates to list candidate objects. After you create the run, call ExecCrossProjectPipelineRun to execute it and GetCrossProjectPipelineRun to check its status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:CreateCrossProjectPipelineRun |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. |
10000 |
| DeploymentEnvironmentId |
integer |
Yes |
The ID of the cross-workspace deployment environment. |
101 |
| Type |
string |
Yes |
The deployment type. Valid values:
|
Online |
| ObjectIds |
array |
Yes |
The list of top-level object IDs from the source workspace to be deployed. The list must contain exactly one object. Child objects of composite objects such as workflows are automatically included by the system. |
["1"] |
|
string |
No |
The top-level object ID from the source workspace to be deployed. The list must contain exactly one element. Providing more than one element causes parameter validation to fail. |
1 |
|
| Description |
string |
No |
The deployment description. |
This is a business process created by calling the API operation |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
{"RequestId":"735894D1-D5E5-50B8-8A6D-041C90A98B23","Success":true,"Data":{"RequestId":"735894D1-D5E5-50B8-8A6D-041C90A98B23","PipelineRunId":"fcfd4160-e2ff-4603-9719-09128fe733df"}} |
|
| RequestId |
string |
The request ID used to trace and troubleshoot the API call. |
735894D1-D5E5-50B8-8A6D-041C90A98B23 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Data |
object |
The business response. |
{"RequestId":"735894D1-D5E5-50B8-8A6D-041C90A98B23","PipelineRunId":"fcfd4160-e2ff-4603-9719-09128fe733df"} |
| RequestId |
string |
The request ID. |
735894D1-D5E5-50B8-8A6D-041C90A98B23 |
| PipelineRunId |
string |
The ID of the cross-workspace deployment pipeline run. |
fcfd4160-e2ff-4603-9719-09128fe733df |
Examples
Success response
JSON format
{
"RequestId": "735894D1-D5E5-50B8-8A6D-041C90A98B23",
"Success": true,
"Data": {
"RequestId": "735894D1-D5E5-50B8-8A6D-041C90A98B23",
"PipelineRunId": "fcfd4160-e2ff-4603-9719-09128fe733df"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.