CreatePipelineRun
Creates a deployment process for an entity in Data Studio.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace Configuration page to obtain the workspace ID. This parameter specifies the DataWorks workspace on which the API operation is performed. |
10000 |
| Type |
string |
Yes |
Specifies the type of the deployment process. Valid values:
|
Online |
| ObjectIds |
array |
Yes |
The list of entity IDs to be deployed in this deployment process. Important Currently, only a single entity and its child entities can be deployed. Therefore, only the first entity and its child entities in the array are deployed. Make sure that the array contains only one element. Additional elements are ignored. |
|
|
string |
No |
The ID of the entity to be deployed, such as the ID of a node or a workflow definition. Important A workflow definition can only be deployed as a whole. Deploying a single node within a workflow separately is not supported. |
476506242076571XXXX |
|
| Description |
string |
No |
The description of the deployment process. |
This is a OdpsSQL-node publishing process. The function is XXXX. |
| RunMode |
string |
No |
The running mode of the deployment process. Default value: Normal. If you set this parameter to Auto, the deployment process automatically runs to the specified stage. This parameter must be used together with the AutoRunUntilStage parameter. Valid values:
Valid values:
|
Normal |
| AutoRunUntilStage |
string |
No |
The code of the stage to which the deployment process runs. This parameter takes effect only when the RunMode parameter is set to Auto. After the deployment process is created, it automatically runs to the specified stage. Important The specified stage is automatically completed. For example, if you set this parameter to DEV, the automatic running stops after the DEV stage reaches the desired state. |
DEV |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
7C352CB7-CD88-50CF-9D0D-E81BDF02XXXX |
| Id |
string |
The unique identifier of the deployment process. |
a7ef0634-20ec-4a7c-a214-54020f91XXXX |
Examples
Success response
JSON format
{
"RequestId": "7C352CB7-CD88-50CF-9D0D-E81BDF02XXXX",
"Id": "a7ef0634-20ec-4a7c-a214-54020f91XXXX\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.