DescribeListenerAccessControlAttribute
Description
invoke the whitelist configuration of the DescribeListenerAccessControlAttribute query listener.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeListenerAccessControlAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ListenerPort | BODY | integer | Yes | 80 | the port used by the front end of the load balancing instance. value:1~65535. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
LoadBalancerId | BODY | string | Yes | lb-8vb86hxixo8*******6jaz | load balancing instance ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Tags | BODY | string | No | listeneraccesscontrolslb**** | tag. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
AccessControlStatus | string | open_white_list | whether access control is turned on: open_white_list: Enable the whitelist access control function. close: Turn off the access control function. |
RequestId | string | 365F4154-92F6-4AE4-92F8-7FF34B540710 | request ID. |
SourceItems | string | 192.168.0.1 | access 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
}
}