Returns detailed configuration information for the specified LoadBalancers. If no LoadBalancers are specified, the operation returns configuration information for all LoadBalancers created by the caller.
The client must have created the specified input LoadBalancers in order to retrieve this information; the client must provide the same account credentials as those that were used to create the LoadBalancer.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Describe load balancers.
$elb = new AmazonELB(); $response = $elb->describe_load_balancers(); // Success? var_dump($response->isOK());Result:
bool(true)
Describe a specific load balancer.
$elb = new AmazonELB(); $response = $elb->describe_load_balancers(array( 'LoadBalancerNames' => 'my-load-balancer' )); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/elb.class.php | Toggle source view (15 lines) | View on GitHub