Queries the access control settings of a listener.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DescribeListenerAccessControlAttribute

The name of this action.

Value: DescribeListenerAccessControlAttribute

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

To query the region ID, refer tothe list of regions and zones or call DescribeRegions.

ListenerPort Integer Yes 80

The frontend port used by the SLB instance.

Value range: 1 to 65535

LoadBalancerId String Yes lb-8vb86hxixo8lvsja86jaz

The ID of the SLB instance.

Response parameters

Parameter Type Example value Description
AccessControlStatus String open_white_list

Indicates whether access control is enabled.

  • open_white_list: A whitelist for access control is enabled.
  • close: Access control is disabled.
SourceItems String,

The access control list.

RequestId String 365F4154-92F6-4AE4-92F8-7FF34B540710

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=DescribeListenerAccessControlAttribute

Response examples

XML format


JSON format


Error codes

See common error codes.