Consulta a configuração de uma lista de controle de acesso (ACL).
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
slb:DescribeAccessControlListAttribute |
get |
*acl
|
|
Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região da ACL. Você pode chamar a operação DescribeRegions para consultar a lista de regiões mais recente. |
cn-hangzhou |
| AclId |
string |
Sim |
O ID da ACL que você deseja consultar. |
acl-bp1ut10zzvh1y8dfs**** |
| AclEntryComment |
string |
Não |
Os comentários da entrada da ACL. |
test |
| Page |
integer |
Não |
O número da página a ser retornada. |
1 |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. Valor máximo: 50. Valor padrão: 10. |
10 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| AclId |
string |
O ID da ACL. |
acl-bp1ut10zzvh1y8dfs**** |
| Tags |
object |
||
| Tag |
array<object> |
As tags adicionadas à ACL. |
|
|
object |
As tags. |
||
| TagKey |
string |
The tag key. |
TestKey |
| TagValue |
string |
The tag value. |
TestValue |
| AddressIPVersion |
string |
A versão do IP. Valores válidos: ipv4 e ipv6. |
ipv4 |
| RequestId |
string |
O ID da solicitação. |
C9906A1D-86F7-4C9C-A369-54DA42EF206A |
| ResourceGroupId |
string |
O ID do grupo de recursos. |
rg-acfmz3jksig**** |
| AclName |
string |
O nome da ACL. |
doctest |
| AclEntrys |
object |
||
| AclEntry |
array<object> |
As informações sobre a política de controle de acesso. |
|
|
object |
As informações sobre a política de controle de acesso. |
||
| AclEntryComment |
string |
The remarks of the ACL entry. |
The remarks of the ACL entry. |
| AclEntryIP |
string |
The IP entry in the ACL. |
192.168.0.1 |
| RelatedListeners |
object |
||
| RelatedListener |
array<object> |
Os listeners aos quais a ACL está associada. |
|
|
object |
Os listeners que estão associados à ACL de rede. |
||
| ListenerPort |
integer |
The frontend port of the listener with which the ACL is associated. |
443 |
| AclType |
string |
The type of ACL. Valid values:
|
white |
| Protocol |
string |
The type of protocol that the associated listener uses. |
https |
| LoadBalancerId |
string |
The CLB instance ID. |
lb-bp1qpzldlm38bnexl**** |
| CreateTime |
string |
A hora em que a ACL foi criada. A hora segue o formato |
2022-08-31T02:49:05Z |
| TotalAclEntry |
integer |
O número total de entradas da ACL. |
200 |
Exemplos
Resposta de sucesso
JSON formato
{
"AclId": "acl-bp1ut10zzvh1y8dfs****",
"Tags": {
"Tag": [
{
"TagKey": "TestKey",
"TagValue": "TestValue"
}
]
},
"AddressIPVersion": "ipv4",
"RequestId": "C9906A1D-86F7-4C9C-A369-54DA42EF206A",
"ResourceGroupId": "rg-acfmz3jksig****",
"AclName": "doctest",
"AclEntrys": {
"AclEntry": [
{
"AclEntryComment": "The remarks of the ACL entry.",
"AclEntryIP": "192.168.0.1"
}
]
},
"RelatedListeners": {
"RelatedListener": [
{
"ListenerPort": 443,
"AclType": "white",
"Protocol": "https",
"LoadBalancerId": "lb-bp1qpzldlm38bnexl****"
}
]
},
"CreateTime": "2022-08-31T02:49:05Z",
"TotalAclEntry": 200
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.