Panggil API ini untuk mengkueri daftar aturan SLA kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListSLARules |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
ID alur tugas. Anda dapat memanggil operasi ListTaskFlow atau ListLhTaskFlowAndScenario untuk mendapatkan nilai parameter ini. |
11**** |
| Tid |
integer |
No |
ID tenant. Catatan
Arahkan penunjuk ke gambar profil di sudut kanan atas sistem untuk mendapatkan ID tenant. Untuk informasi selengkapnya, lihat Melihat informasi tentang tenant. |
3*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. Digunakan untuk menemukan log dan memecahkan masalah. |
3D1A59F4-EB2B-5D24-80A5-90C446A00DE2 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan yang dikembalikan jika panggilan gagal. |
UnknownError |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| SLARuleList |
object |
||
| SLARule |
array<object> |
Daftar aturan SLA. |
|
|
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 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3D1A59F4-EB2B-5D24-80A5-90C446A00DE2",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"SLARuleList": {
"SLARule": [
{
"Id": 2,
"DagId": 0,
"NodeId": 1,
"RuleType": 0,
"IntervalMinutes": 1080
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.