ApsaraDB for MongoDB インスタンスにバインドされている ECS セキュリティグループを変更します。
操作説明
説明
シャードクラスターインスタンスの場合、バインドされた ECS セキュリティグループは Mongos ノードにのみ有効です。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dds:ModifySecurityGroupConfiguration |
update |
*dbinstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DBInstanceId |
string |
必須 |
インスタンスの ID。 |
dds-bpxxxxxxxx |
| SecurityGroupId |
string |
必須 |
ECS セキュリティグループの ID。 説明
|
sg-bpxxxxxxxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
E062C482-1A4B-469E-938C-96D28CFAE42E |
例
成功レスポンス
JSONJSON
{
"RequestId": "E062C482-1A4B-469E-938C-96D28CFAE42E"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingInstanceId | InstanceId is mandatory for this action. | |
| 400 | InstanceStatusInvalid | Instance status is not valid. | |
| 400 | InvalidParam | Specified ecs security group id is not valid. | |
| 400 | InvalidIzNo.NotSupported | the Specified Zone not supported. | |
| 400 | InvalidRegion_Zone_NotFound | Specified Region does not exist in RDS. | |
| 400 | InvalidVpc.NotSupported | the Different vpc not supported. | |
| 403 | AssociatedEcsSecurityGroupId.QuotaExceed | SecurityGroupIdQuotaExceeded exceeding the allowed amount of SecurityGroupId. | |
| 404 | InvalidInstanceId.NotFound | Specified instance does not exist. | |
| 404 | InvalidRegionZoneNotFound | Specified Region does not exist in RDS. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。