Consulta as listas de permissões de endereços IP de uma instância Tair (compatível com Redis OSS).
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
kvstore:DescribeSecurityIps |
get |
*DBInstance
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| InstanceId |
string |
Sim |
O ID da instância. |
r-bp1zxszhcgatnx**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
As listas de permissões da instância. |
|
|
object |
|||
| SecurityIpGroupAttribute |
string |
The attribute of the whitelist. This parameter is empty by default. Nota
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 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
Resposta de erro
JSON formato
{
"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"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.