Mengubah templat daftar putih alamat IP.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyGlobalSecurityIPGroup |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-********** |
| RegionId |
string |
Yes |
ID Wilayah. |
cn-hangzhou |
| GlobalIgName |
string |
Yes |
Nama templat daftar putih alamat IP. Nama harus memenuhi persyaratan berikut:
|
test_123 |
| GlobalSecurityGroupId |
string |
Yes |
ID templat daftar putih alamat IP. |
g-zsldxfiwjmti0kcm**** |
| GIpList |
string |
Yes |
Alamat IP dalam templat daftar putih. Catatan
Pisahkan beberapa alamat IP dengan koma. Maksimum 1.000 alamat IP atau blok CIDR dapat ditambahkan ke semua daftar putih alamat IP. |
192.168.0.1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroup |
array<object> |
The details of the global IP address whitelist template. |
|
|
object |
1 |
||
| GlobalSecurityGroupId |
string |
The ID of the IP address whitelist template. |
g-zsldxfiwjmti0kcm**** |
| GlobalIgName |
string |
The name of the IP address whitelist template. The name must meet the following requirements:
|
test_123 |
| GIpList |
string |
The IP addresses in the whitelist template. Catatan
Separate multiple IP addresses with commas. A maximum of 1,000 IP addresses or CIDR blocks can be added to all IP address whitelists. |
192.168.0.1 |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| DBInstances |
array |
A list of clusters that are associated with the IP address whitelist template. |
|
|
string |
A collection of associated cluster IDs. |
["pc-2zetn0f1b8zwb****","pc-****"] |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"GlobalSecurityIPGroup": [
{
"GlobalSecurityGroupId": "g-zsldxfiwjmti0kcm****",
"GlobalIgName": "test_123",
"GIpList": "192.168.0.1",
"RegionId": "cn-hangzhou",
"DBInstances": [
"[\"pc-2zetn0f1b8zwb****\",\"pc-****\"]"
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | InvalidSecurityIPList.QuotaExceeded | Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list. | |
| 400 | InvalidSecurityIPList.Format | Specified security IP list format is not valid. | |
| 400 | InvalidSecurityIPList.Duplicate | Specified security IP list is not valid: Duplicate IP address in the list |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.