Mengkueri hubungan antara kluster dan templat daftar putih IP global.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeGlobalSecurityIPGroupRelation |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah templat daftar putih IP. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-***************** |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-********** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The ID of cluster. |
pc-***************** |
| RequestId |
string |
The ID of the request. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroupRel |
array<object> |
The details of the global IP whitelist template. |
|
|
object |
|||
| GlobalSecurityGroupId |
string |
The ID of the global IP whitelist template. |
g-zsldxfiwjmti0kcm**** |
| GIpList |
string |
The IP address in the global IP whitelist template. Catatan
Separate multiple IP addresses with commas (,). You can add up to 1,000 IP addresses or CIDR blocks to all IP whitelists. |
192.168.0.1 |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| GlobalIgName |
string |
The name of the global IP whitelist template. The name must meet the following requirements:
|
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. | The specified parameter does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.