GetExecuteOperationResult - 异步获取操作结果

异步获取操作结果。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
bpstudio:GetExecuteOperationResultget
  • BPStudioVirtual
    acs:bpstudio::{#accountId}:bpstudiovirtual/{#BPStudioVirtualId}

请求参数

名称类型必填描述示例值
OperationIdstring

操作 ID(有效时间为 1 小时,超时后无法查询到结果并且返回参数没有 Data 这一属性)

op_xxxxxxxxxxxxxxxxxxxxxx
ResourceGroupIdstring

资源组 ID,用于资源组相关权限校验

testResourceId

返回参数

名称类型描述示例值
object
Messagestring

错误信息

" "
RequestIdstring

请求 ID

A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562
Dataobject

返回异步操作结果详细信息。

OperationIdstring

操作 ID

op_xxxxxxxx
Statusstring

当前操作状态

初始化:INIT;运行中:RUNNING; 成功:SUCCESS;失败:FAILURE;
Messagestring

操作相关信息

"[{"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":[]}]"
Argumentsstring

操作相关输出结果

{ "tagMap":{ "cadt": [ "12xxxxxxx", "34xxxxxxx" ] } }
Codeinteger

结果码,200 代表成功

200

示例

正常返回示例

JSON格式

{
  "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
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2022-08-16新增 OpenAPI查看变更详情