Menjalankan kebijakan untuk satu atau semua sumber data yang terikat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:ExecutePolicyV2 |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
string |
Yes |
ID kebijakan. |
po-000************hky |
| DataSourceId |
string |
No |
ID sumber data. |
i-bp1************dtv |
| SourceType |
string |
No |
Jenis sumber data. Nilai valid:
|
UDM_ECS |
| RuleId |
string |
Yes |
ID aturan. Hanya aturan dengan RuleType yang diatur ke BACKUP yang dapat dijalankan. |
rule-0002*****ux8 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ExecutePolicyResponse |
||
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| Code |
string |
Return code, 200 indicates success. |
200 |
| Message |
string |
Description of the return message, usually returns 'successful' on success, and corresponding error messages on failure. |
successful |
| RequestId |
string |
Request ID. |
F4EEB401-DD21-588D-AE3B-1E835C7655E1 |
| JobId |
string |
Backup job ID. |
job-********************* |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "F4EEB401-DD21-588D-AE3B-1E835C7655E1",
"JobId": "job-*********************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.