Last Updated: Dec 25, 2017


Queries the access control configuration information for the specified listener.

Request Parameters

Name Type Required Description
Action String Yes Operator interface name, required parameter. Value: DescribeListenerAccessControlAttribute.
RegionId String Yes The ID of the region.
LoadBalancerId String Yes The unique ID of an Server Load Balancer instance.
ListenerPort Integer Yes Server Load Balancer instance’s frontend port. Values: 1-65535.

Return Parameters

Name Type Description
Common Parameter See Common parameters for details.
AccessControlStatus String Whether or not access control is enabled. open_whitelist indicates the whitelist access control function is enabled. close indicates the access control function is disabled.
SourceItems String Access control list. IPs or IP segments.


Request Example

  2. &Action=DescribeListenerAccessControlAttribute
  3. &LoadBalancerId=139a00604ad-cn-east-hangzhou-01
  4. &ListenerPort=80
  5. &<Public Request Parameters>

Return Example

  • XML format
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <DescribeListenerAccessControlAttributeResponse>
    3. <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
    4. <AccessControlStatus>open_whitelist</AccessControlStatus>
    5. <SourceItems>,</SourceItems>
    6. </DescribeListenerAccessControlAttributeResponse>
  • JSON format
    1. {
    2. "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    3. "AccessControlStatus":"open_whitelist",
    4. "SourceItems":","
    5. }
Thank you! We've received your feedback.