Consulte les listes blanches d'adresses IP d'une instance Tair (compatible avec Redis OSS).
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
kvstore:DescribeSecurityIps |
get |
*DBInstance
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| InstanceId |
string |
Oui |
L'identifiant de l'instance. |
r-bp1zxszhcgatnx**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
Les listes blanches de l'instance. |
|
|
object |
|||
| SecurityIpGroupAttribute |
string |
The attribute of the whitelist. This parameter is empty by default. Remarque
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 |
Exemples
JSON format
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
JSON format
{
"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"
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.