Publishes and deploys a specified task flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:PublishAndDeployTaskFlow |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can move the pointer over the profile picture in the upper-right corner of the console and view the tenant ID. For more information, see View tenant information. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. You can obtain this parameter by calling the ListTaskFlow or ListLhTaskFlowAndScenario operation. |
36*** |
| VersionComments |
string |
No |
The description of the task flow version. |
vc_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
A7160423-2A83-592B-97E2-D8AE7B11C520 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
Unknown server error |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| DeployId |
integer |
The deployment record ID. |
61*** |
Examples
Success response
JSON format
{
"RequestId": "64E26249-B61F-51C6-B6DF-47EFF50128CC",
"ErrorCode": "UnknownError",
"ErrorMessage": "Unknown server error",
"Success": true,
"DeployId": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.