Obtains the result of an asynchronous operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetExecuteOperationResult |
get |
*BPStudioVirtual
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OperationId |
string |
Yes |
The operation ID. This ID is valid for one hour. After the ID expires, you cannot query the result, and the Data property is not returned in the response. |
op_xxxxxxxxxxxxxxxxxxxxxx |
| ResourceGroupId |
string |
No |
The ID of the resource group. This parameter is used for permission verification. |
testResourceId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
" " |
| RequestId |
string |
The request ID. |
A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562 |
| Data |
object |
The result of the asynchronous operation. |
|
| OperationId |
string |
The operation ID. |
op_xxxxxxxx |
| Status |
string |
The status of the operation. |
INIT/RUNNING/SUCCESS/FAILURE |
| Message |
string |
Information about the operation. |
"[{"vServerGroupId":"rsp-xxxx","healthCheckHttpVersion":"http1.0","status":"running","gzip":"on","requestId":"89xxxx","description":"abcxxx","bandwidth":-1,"healthCheckTimeout":10,"healthCheckType":"http","aclStatus":"off","unhealthyThreshold":3,"xForwardedFor_SLBID":"off","healthCheckHttpCode":"http_3xx,http_2xx","listenerForward":"off","xForwardedFor":"on","idleTimeout":15,"requestTimeout":60,"listenerPort":80,"healthCheckInterval":2,"healthCheckURI":"/","scheduler":"rr","healthyThreshold":3,"xForwardedFor_proto":"off","xForwardedFor_SLBIP":"off","stickySession":"off","healthCheckMethod":"head","healthCheck":"on","rules":[],"aclIds":[]}]" |
| Arguments |
string |
The output of the operation. |
{ "tagMap":{ "cadt": [ "12xxxxxxx", "34xxxxxxx" ] } } |
| Code |
string |
The status code. A value of 200 indicates that the request was successful. |
200 |
Examples
Success response
JSON format
{
"Message": "\" \"",
"RequestId": "A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562",
"Data": {
"OperationId": "op_xxxxxxxx",
"Status": "INIT/RUNNING/SUCCESS/FAILURE\n",
"Message": "\"[{\"vServerGroupId\":\"rsp-xxxx\",\"healthCheckHttpVersion\":\"http1.0\",\"status\":\"running\",\"gzip\":\"on\",\"requestId\":\"89xxxx\",\"description\":\"abcxxx\",\"bandwidth\":-1,\"healthCheckTimeout\":10,\"healthCheckType\":\"http\",\"aclStatus\":\"off\",\"unhealthyThreshold\":3,\"xForwardedFor_SLBID\":\"off\",\"healthCheckHttpCode\":\"http_3xx,http_2xx\",\"listenerForward\":\"off\",\"xForwardedFor\":\"on\",\"idleTimeout\":15,\"requestTimeout\":60,\"listenerPort\":80,\"healthCheckInterval\":2,\"healthCheckURI\":\"/\",\"scheduler\":\"rr\",\"healthyThreshold\":3,\"xForwardedFor_proto\":\"off\",\"xForwardedFor_SLBIP\":\"off\",\"stickySession\":\"off\",\"healthCheckMethod\":\"head\",\"healthCheck\":\"on\",\"rules\":[],\"aclIds\":[]}]\"",
"Arguments": "{\n \"tagMap\":{\n \"cadt\": [\n \"12xxxxxxx\",\n \"34xxxxxxx\"\n ]\n }\n}"
},
"Code": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.