全部產品
Search
文件中心

Cloud Architect Design Tools:ExecuteOperationSync - 同步執行操作

更新時間:Apr 21, 2026

維護應用下資源API(同步操作)

介面說明

同步執行產品操作功能。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

bpstudio:ExecuteOperationSync

update

*BPStudioVirtual

acs:bpstudio::{#accountId}:bpstudiovirtual/{#BPStudioVirtualId}

請求參數

名稱

類型

必填

描述

樣本值

ApplicationId

string

雲速搭應用 ID

BE68D71ZY5YYIU9R

ServiceType

string

資源類型,例如需要執行 dds 這一資源的操作請填寫:dds。

枚舉值:

  • dds :

    dds

  • ecs :

    ecs

dds

Operation

string

本次操作類型

枚舉值:

  • modifyConnectionString :

    modifyConnectionString

  • rename :

    rename

rename

Attributes

object

操作相關參數,根據不同的 Operation 值,輸入對應的參數

any

調試時請先選擇“參數類型”,再輸入參數值。

Select string type: "CADT"; Select number type: 123

ResourceGroupId

string

資源群組 ID,用於資源群組許可權校正

rg-acfmyjt3c5om3hi

ClientToken

string

等冪標記

1600765710019

返回參數

名稱

類型

描述

樣本值

object

Message

string

錯誤資訊

Access key ID cannot be null.

RequestId

string

請求 ID

FDC73B05-5331-57AA-BA93-4C9882792FF5

Data

object

返回同步操作結果詳細資料。

OperationId

string

操作 ID

op_xxxxxxxx

Status

string

執行個體狀態

SUCCESS/FAILURE

Message

string

操作相關資訊

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

操作相關輸出結果

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

Code

string

結果碼,200 代表成功;其它代表失敗。

200

樣本

正常返回樣本

JSON格式

{
  "Message": "Access key ID cannot be null.",
  "RequestId": "FDC73B05-5331-57AA-BA93-4C9882792FF5",
  "Data": {
    "OperationId": "op_xxxxxxxx",
    "Status": "SUCCESS/FAILURE",
    "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"
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情