Membuat templat daftar putih alamat IP global.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateGlobalSecurityIPGroup |
create |
*全部资源
|
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 |
| GIpList |
string |
Yes |
Alamat IP dalam templat daftar putih. Catatan
Pisahkan beberapa alamat IP dengan koma (,). Maksimal 1.000 alamat IP atau Blok CIDR dapat ditambahkan ke seluruh daftar putih alamat IP. |
192.168.0.1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroup |
array<object> |
Detail templat daftar putih alamat IP global. |
|
|
object |
|||
| GlobalSecurityGroupId |
string |
ID templat daftar putih alamat IP. |
g-zsldxfiwjmti0kcm**** |
| GlobalIgName |
string |
Nama templat daftar putih alamat IP. Nama harus memenuhi persyaratan berikut:
|
test_123 |
| GIpList |
string |
Alamat IP dalam templat daftar putih. Catatan
Pisahkan beberapa alamat IP dengan koma (,). Maksimal 1.000 alamat IP atau Blok CIDR dapat ditambahkan ke seluruh daftar putih alamat IP. |
192.168.0.1 |
| RegionId |
string |
ID wilayah. |
cn-hangzhou |
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"
}
]
}
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 | |
| 404 | InvalidUser.NotFound | Specified user does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.