DescribeListenerAccessControlAttribute

Last Updated: May 22, 2017

Description

  • 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
LoadBalancerId String Yes 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
Public Return Parameters For details, see Public Parameters
AccessControlStatus String Whether or not access control is enabled. open_white_list indicates the white list access control function is enabled. close indicates the access control function is disabled.
SourceItems String Access control list. IPs or IP segments.

Example

Request Example

  1. https://slb.aliyuncs.com/
  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_white_list</AccessControlStatus>
    5. <SourceItems>1.1.1.1,1.1.1.0/21</SourceItems>
    6. </DescribeListenerAccessControlAttributeResponse>
  • JSON format
    1. {
    2. "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    3. "AccessControlStatus":"open_white_list",
    4. "SourceItems":"1.1.1.1,1.1.1.0/21"
    5. }
Thank you! We've received your feedback.