public static class GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfigAclRelations> |
aclRelations
The IDs of the ACLs that are associated with the listener.
|
String |
aclType
The type of the ACL.
|
| 构造器和说明 |
|---|
GetListenerAttributeResponseBodyAclConfig() |
@NameInMap(value="AclRelations") public List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfigAclRelations> aclRelations
The IDs of the ACLs that are associated with the listener.
@NameInMap(value="AclType") public String aclType
The type of the ACL. Valid values:
* **White**: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists are applicable to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the whitelist is not properly configured. If a whitelist is configured for a listener, only requests from IP addresses that are on the whitelist are forwarded by the listener.
If you enable a whitelist but do not add an IP address to the whitelist, the listener forwards all requests.
* **Black**: a blacklist. Requests from the IP addresses or CIDR blocks in the network ACL are denied. Blacklists are suitable for scenarios in which you want to deny access from specific IP addresses or CIDR blocks to an application.
If a blacklist is configured for a listener but no IP addresses are added to the blacklist, the listener forwards all requests.
public GetListenerAttributeResponseBodyAclConfig()
public static GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfig build(Map<String,?> map) throws Exception
Exceptionpublic GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfig setAclRelations(List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfigAclRelations> aclRelations)
public List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfigAclRelations> getAclRelations()
public GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyAclConfig setAclType(String aclType)
public String getAclType()
Copyright © 2024. All rights reserved.