Bir O&M görevi çalıştırma isteğini onaylar.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:AllowOperationTaskApproval |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Bastionhost örneğinin kimliği. Not
Bu parametreyi almak için DescribeInstances işlemini çağırabilirsiniz. |
bastionhost-cn-lbj3bw4ma02 |
| RegionId |
string |
No |
Bastionhost örneğinin bölge kimliği. Not
Bölge kimlikleri ile bölge adları arasındaki eşleme hakkında daha fazla bilgi için Bölgeler ve alanlar konusuna bakın. |
cn-hangzhou |
| ApproveId |
string |
Yes |
O&M görevinin onay kimliği. Not
Bu parametreyi almak için ListTodoOpsTaskApprovals işlemini çağırabilirsiniz. |
1 |
| ProjectId |
integer |
No |
Proje kimliği. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İsteğin kimliği. |
EC9BF0F4-8983-491A-BC8C-1B4DD94976DE |
| Results |
array<object> |
Sonuçlar. |
|
|
object |
|||
| Code |
string |
Hata kodu. OK değeri başarıyı, diğer değerler ise hataları gösterir. |
OK |
| Message |
string |
Hata mesajı. |
None |
| TaskId |
string |
O&M görevinin kimliği. |
4 |
Examples
Success response
JSON format
{
"RequestId": "EC9BF0F4-8983-491A-BC8C-1B4DD94976DE",
"Results": [
{
"Code": "OK",
"Message": "None",
"TaskId": "4"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 500 | InternalError | An unknown error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.