Memodifikasi asosiasi antara cluster dan template daftar putih alamat IP global.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyGlobalSecurityIPGroupRelation |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
ID cluster. |
pc-***************** |
| GlobalSecurityGroupId |
string |
Yes |
ID template daftar putih alamat IP. |
g-zsldxfiwjmti0kcm**** |
| ResourceGroupId |
string |
No |
ID grup sumber daya. |
rg-********** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
ID cluster. |
pc-***************** |
| RequestId |
string |
ID permintaan. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroupRel |
array<object> |
Detail template daftar putih alamat IP global. |
|
|
object |
1 |
||
| GlobalSecurityGroupId |
string |
ID template daftar putih alamat IP. |
g-zsldxfiwjmti0kcm**** |
| GIpList |
string |
Alamat IP dalam template 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 |
| RegionId |
string |
ID region. |
cn-hangzhou |
| GlobalIgName |
string |
Nama template daftar putih alamat IP. Nama harus memenuhi persyaratan berikut:
|
test_123 |
Contoh
Respons sukses
JSONformat
{
"DBClusterId": "pc-*****************",
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"GlobalSecurityIPGroupRel": [
{
"GlobalSecurityGroupId": "g-zsldxfiwjmti0kcm****",
"GIpList": "192.168.0.1",
"RegionId": "cn-hangzhou",
"GlobalIgName": "test_123"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | InvalidParameters.Format | The specified parameters are invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.