Mengkueri daftar putih alamat IP dari instance ApsaraDB for Tair (kompatibel dengan Redis).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeSecurityIps |
get |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instance. |
r-bp1zxszhcgatnx**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
Informasi tentang daftar putih alamat IP dari instance. |
|
|
object |
Informasi tentang daftar putih alamat IP dari instance. |
||
| SecurityIpGroupAttribute |
string |
The attribute of the whitelist. This parameter is empty by default. Catatan
If the instance is authorized to use a service such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), this service automatically generates a hidden whitelist for the instance. This type of whitelists cannot be modified or deleted. |
hidden |
| SecurityIpList |
string |
The IP addresses in the whitelist. A maximum of 1,000 IP addresses can be specified in a whitelist. |
100.100.202.***/24,10.10.10.*** |
| SecurityIpGroupName |
string |
The name of the whitelist. |
default |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
Respons error
JSONformat
{
"SecurityIpGroups":{
"SecurityIpGroup":[{
"SecurityIpList":"127.0.0.1",
"SecurityIpGroupAttribute":"",
"SecurityIpGroupName":"default"
},{
"SecurityIpList":"11.xxx.xxx.xxx,10.xxx.xxx.xxx",
"SecurityIpGroupAttribute":"hidden",
"SecurityIpGroupName":"rds_replica_group"
}]
},
"RequestId":"EFC9161F-15E3-4A6E-8A99-C09916D1F464"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.