維護應用下資源API(同步操作)
介面說明
同步執行產品操作功能。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
bpstudio:ExecuteOperationSync |
update |
*BPStudioVirtual
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ApplicationId |
string |
否 |
雲速搭應用 ID |
BE68D71ZY5YYIU9R |
| ServiceType |
string |
是 |
資源類型,例如需要執行 dds 這一資源的操作請填寫:dds。 枚舉值:
|
dds |
| Operation |
string |
是 |
本次操作類型 枚舉值:
|
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"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。