ApsaraDB for SelectDB インスタンスのホワイトリスト内の IP アドレスを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
selectdb:ModifySecurityIPList |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
インスタンスが属するリージョン ID。 |
cn-hangzhou |
| DBInstanceId |
string |
必須 |
インスタンス ID。 |
selectdb-cn-7213cjv**** |
| GroupName |
string |
必須 |
ホワイトリストの名前。デフォルト値:Default。 |
default |
| SecurityIPList |
string |
必須 |
インスタンスのホワイトリスト内の IP アドレス。複数の IP アドレスをコンマ (,) で区切ります。 |
127.0.XX.XX,127.2.XX.XX |
| ModifyMode |
string |
必須 |
ホワイトリストの変更モード。有効な値:
|
0 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
195F64C2-8F11-532B-A436-FC08A221D756 |
| GroupName |
string |
ホワイトリストの名前。 |
group1 |
| SecurityIPType |
string |
IP アドレスのタイプ。 |
ipv4 |
| GroupTag |
string |
ホワイトリストのタグ。 |
grouptag |
| TaskId |
integer |
タスク ID。 |
479095561 |
| SecurityIPList |
string |
インスタンスのホワイトリスト内の IP アドレス。複数の IP アドレスはコンマ (,) で区切られます。 |
127.0.XX.XX,127.2.XX.XX |
| WhitelistNetType |
string |
ホワイトリストのネットワークタイプ。 |
mix |
| DBInstanceName |
string |
インスタンス名。 |
实例测试 |
例
成功レスポンス
JSONJSON
{
"RequestId": "195F64C2-8F11-532B-A436-FC08A221D756",
"GroupName": "group1",
"SecurityIPType": "ipv4",
"GroupTag": "grouptag",
"TaskId": 479095561,
"SecurityIPList": "127.0.XX.XX,127.2.XX.XX",
"WhitelistNetType": "mix",
"DBInstanceName": "实例测试"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidSecurityIPList.Duplicate | Specified security IP list is not valid: Duplicate IP address in the list. | |
| 400 | InvalidSecurityIPList.Format | Specified security IP list format is not valid. | |
| 400 | InvalidSecurityIPs.Malformed | The specified parameter "SecurityIps" is not valid. | |
| 400 | DocumentConvertFailed.ExceedFileSizeLimit | The conversion has been failed, exceed file size limit. | 日文说明1 |
| 400 | Forbidden | User not authorized to operate on the specified resource, or this API does not support RAM. | 日文说明1 |
| 400 | InvalidDBName | The specified database name is not allowed. | 日文说明1 |
| 400 | CreateOrderFailed | Failed to create order. | 注文の作成に失敗しました。 |
| 403 | SecurityIPList.Duplicate | Specified same security IP already exists. | |
| 403 | DBClusterNotSupported | The requested operation can not be performed while the cluster is not sale. | 日文说明1 |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | 日文说明1 |
| 403 | InstanceEngineType.NotSupport | The instance engine and type does not support operations. | 日文说明1 |
| 403 | InvalidDBInstanceState.NotSupport | The specified instance state does't support this operation. | 日文说明1 |
| 403 | MoneyLessThan100 | The Account Monet less Than 100. | 日文说明1 |
| 403 | OperationDenied.DBNameAndAccountPrivilegeCount | The operation is not permitted due to count of database or account privilege. | 日文说明1 |
| 403 | InsufficientResourceCapacity | The resource is out of usage. | リソースが不足しています。しばらくしてからやり直してください。 |
| 404 | DBInstanceLocked | The current instance lock mode does not support this operation. | 日文说明1 |
| 404 | IncorrectVswitchId | The specified parameter VSwitchId is not valid. | 日文说明1 |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidDBInstance.NotFound | The specified instance is not found. | 日文说明1 |
| 404 | InvalidDBInstanceClass.NotFound | The specified instance classic does not exist. | 日文说明1 |
| 404 | InvalidRegionId.NotFound | The provided RegionId does not exist in our records. | 日文说明1 |
| 404 | QueryPrice.Failed | The inquiry failed. Contact Alibaba Cloud customer service representatives. | 日文说明1 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。