Tair (Redis OSS-compatible) インスタンスのホワイトリストに追加されているセキュリティグループをリセットします。
操作説明
この操作を呼び出すと、Tair インスタンスのホワイトリストに追加されているセキュリティグループは削除され、SecurityGroupId パラメーターで指定されたセキュリティグループがホワイトリストに追加されます。 Tair コンソールでセキュリティグループをリセットする方法の詳細については、「セキュリティグループの追加」をご参照ください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
kvstore:ModifySecurityGroupConfiguration |
update |
*DBInstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DBInstanceId |
string |
必須 |
インスタンスの ID。 |
r-bp1zxszhcgatnx**** |
| SecurityGroupId |
string |
必須 |
管理するセキュリティグループの ID。 最大 10 個のセキュリティグループを指定できます。 複数のセキュリティグループ ID はコンマ (,) で区切ります。 |
sg-bpcfmyiu4ekp**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
147CAC09-E8C6-43F8-9599-982A43D6**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "147CAC09-E8C6-43F8-9599-982A43D6****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EngineNotSupported | Engine specified cannot be supported the operation. | |
| 400 | AssociatedEcsSecurityGroupIdQuotaExceed | SecurityGroupId参数超过能使用的最大数量. | |
| 400 | MissingInstanceId | InstanceId is mandatory for this action. | |
| 400 | InvalidParam | Specified ecs security group id is not valid. | |
| 400 | InvalidIzNo.NotSupported | the Specified Zone not supported. | |
| 403 | AssociatedEcsSecurityGroupId.QuotaExceed | SecurityGroupIdQuotaExceeded exceeding the allowed amount of SecurityGroupId. | |
| 404 | MissingParameter | The input parameter “DBInstanceId” that is mandatory for processing this request is not supplied. | |
| 404 | InvalidInstanceId.NotFound | Specified instance does not exist. | |
| 404 | InvalidRegionZoneNotFound | Specified Region does not exist in RDS. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。