調用ModifySecurityGroupAttribute修改一個安全性群組的安全性群組資訊。
介面說明
API 呼叫頻率:100 次/秒。
單使用者調用頻率:5 次/秒。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:ModifySecurityGroupAttribute |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SecurityGroupId |
string |
是 |
安全性群組 ID。 |
sg-bp67acfmxazb4p**** |
| SecurityGroupName |
string |
否 |
安全性群組名稱。命名規則如下:
|
example |
| Description |
string |
否 |
安全性群組資訊描述。 |
testDescription |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
樣本
正常返回樣本
JSON格式
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter | |
| 400 | InvalidSecurityGroupId.NotFound | The specified SecurityGroupId does not exist | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。