DescribeLoadBalancerAttribute
Description
call the DescribeLoadBalancerAttribute to query the details of the specified load balancing instance.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeLoadBalancerAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
LoadBalancerId | BODY | string | Yes | lb-bp1b6c719dfa08ex**** | load balancing instance ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
Address | string | 42.XX.XX.6 | the service address of the load balancing instance. |
EndTime | string | 2999-09-08T16:00:00Z | end time of load balancing instance. |
ListenerPortsAndProtocal | array of listenerportandprotocal | No sample value for this parameter. | listening ports and protocols. |
BackendServer | No sample value for this parameter. | No description for this parameter. | |
ListenerPortAndProtocol | No sample value for this parameter. | No description for this parameter. | |
LoadBalancerId | string | lb-dhhd**** | load balancing instance ID. |
ListenerPortsAndProtocol | array of listenerportandprotocol | No sample value for this parameter. | List of ports and protocols used by the front end of the load balancing instance. |
ListenerProtocol | string | https | protocol used by the front end of the load balancing instance. |
BackendServers | array of backendserver | No sample value for this parameter. | the list of backend servers of the load balancing instance. |
LoadBalancerSpec | string | slb.s2.small | the performance specification of the load balancing instance. |
ServerId | string | i-djghr2**** | backend server instance ID. |
NetworkType | string | vpc | the network type of the load balancing instance. |
Bandwidth | integer | 5 | The peak bandwidth of a public network instance that is billed by bandwidth. |
ListenerProtocal | string | http | protocol used by the front end of the load balancing instance. |
ListenerPorts | list | 80 | List of ports used by the front end of the load balancing instance. |
MasterZoneId | string | cn-hangzhou-b | the primary zone ID of the load balancing instance. |
ListenerPort | integer | 443 | the port used by the front end of the load balancing instance. |
RequestId | string | 365F4154-92F6-4AE4-92F8-7FF34B540710 | request ID. |
CreateTime | string | 2017-08-31T02:49:05Z | the creation time of the load balancing instance. |
ServerIp | string | 192.168.0.1 | backend server IP. |
VSwitchId | string | vsw-255ecrwq5**** | the switch ID of the private network load balancing instance. |
PayType | string | PrePay | load balancing instance payment type, value PayOnDemand or PrePay. |
SlaveZoneId | string | cn-hangzhou-d | the standby zone ID of the load balancing instance. |
Weight | integer | 90 | the weight of the back-end server. |
InternetChargeType | string | paybybandwidth | public network instance payment method. Value:paybybandwidth or paybytraffic. paybybandwidth: Billing by bandwidth. paybytraffic: Billing by traffic (default). |
RegionIdAlias | string | cn-qingdao-env17-d01 | the region alias to which the load balancing instance belongs. |
LoadBalancerName | string | abc | the name of the load balancing instance. |
Type | string | ecs | backend server type. |
VpcId | string | vpc-25dvzy9f8**** | the vpc ID of the private network load balancing instance. |
EndTimeStamp | long | 32493801600000 | the end timestamp of the load balancing instance. |
RegionId | string | cn-qingdao-env17-d01 | the region ID of the load balancing instance. |
ListenerPortAndProtocal | No sample value for this parameter. | No description for this parameter. | |
AddressType | string | internet | the address type of the load balancing instance. |
LoadBalancerStatus | string | active | load balancing instance status: inactive: the instance has stopped, and the instance listener in this state will no longer forward traffic. active: the instance is running, after the instance is created, the default status is active. locked: the instance is locked, and the instance is overdue or locked by alibaba cloud. |
CreateTimeStamp | long | 1504147745000 | load balancing instance creation timestamp. |
AutoReleaseTime | long | 1513947075 | timestamp of release time. |
Example
Successful Response example
{
"Address":"42.XX.XX.6",
"EndTime":"2999-09-08T16:00:00Z",
"ListenerPortsAndProtocal":"",
"BackendServer":"",
"ListenerPortAndProtocol":"",
"LoadBalancerId":"lb-dhhd****",
"ListenerPortsAndProtocol":"",
"ListenerProtocol":"https",
"BackendServers":"",
"LoadBalancerSpec":"slb.s2.small",
"ServerId":"i-djghr2****",
"NetworkType":"vpc",
"Bandwidth":"5",
"ListenerProtocal":"http",
"ListenerPorts":"80",
"MasterZoneId":"cn-hangzhou-b",
"ListenerPort":"443",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"CreateTime":"2017-08-31T02:49:05Z",
"ServerIp":"192.168.0.1",
"VSwitchId":"vsw-255ecrwq5****",
"PayType":"PrePay",
"SlaveZoneId":"cn-hangzhou-d",
"Weight":"90",
"InternetChargeType":"paybybandwidth",
"RegionIdAlias":"cn-qingdao-env17-d01",
"LoadBalancerName":"abc",
"Type":"ecs",
"VpcId":"vpc-25dvzy9f8****",
"EndTimeStamp":"32493801600000",
"RegionId":"cn-qingdao-env17-d01",
"ListenerPortAndProtocal":"",
"AddressType":"internet",
"LoadBalancerStatus":"active",
"CreateTimeStamp":"1504147745000",
"AutoReleaseTime":"1513947075"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}