Queries the custom service level agreement (SLA) rules of a task flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListSLARules |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain this ID. |
11**** |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
3D1A59F4-EB2B-5D24-80A5-90C446A00DE2 |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| SLARuleList |
object |
||
| SLARule |
array<object> |
The list of SLA rules. |
|
|
object |
|||
| Id |
integer |
The ID of the SLA rule. |
2 |
| DagId |
integer |
The ID of the task flow. |
11**** |
| NodeId |
integer |
The ID of the task node. |
1 |
| RuleType |
integer |
The type of the rule. Valid values:
|
0 |
| IntervalMinutes |
integer |
The timeout period. Unit: minutes. |
1080 |
Examples
Success response
JSON format
{
"RequestId": "3D1A59F4-EB2B-5D24-80A5-90C446A00DE2",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"SLARuleList": {
"SLARule": [
{
"Id": 2,
"DagId": 0,
"NodeId": 1,
"RuleType": 0,
"IntervalMinutes": 1080
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.