Skip to main content

DescribeListenerAccessControlAttribute

Description

invoke the whitelist configuration of the DescribeListenerAccessControlAttribute query listener.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeListenerAccessControlAttribute

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ListenerPortBODYintegerYes80the port used by the front end of the load balancing instance. value:1~65535.
regionIdBODYstringYesNo sample value for this parameter.region id
LoadBalancerIdBODYstringYeslb-8vb86hxixo8*******6jazload balancing instance ID.
versionBODYstringNo2016-01-01version of api
TagsBODYstringNolisteneraccesscontrolslb****tag.

Return data

NameTypeSample valueDescription
AccessControlStatusstringopen_white_listwhether access control is turned on: open_white_list: Enable the whitelist access control function. close: Turn off the access control function.
RequestIdstring365F4154-92F6-4AE4-92F8-7FF34B540710request ID.
SourceItemsstring192.168.0.1access control list.

Example

Successful Response example

{
"AccessControlStatus":"open_white_list",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"SourceItems":"192.168.0.1"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}