AWS SDK for .NET Documentation
DescribeInstanceHealth Method (describeInstanceHealthRequest)
Amazon ► Amazon.ElasticLoadBalancing ► AmazonElasticLoadBalancingClient ► DescribeInstanceHealth(DescribeInstanceHealthRequest)
Did this page help you? Yes No Tell us about it...

Returns the current state of the specified instances registered with the specified load balancer. If no instances are specified, the state of all the instances registered with the load balancer is returned.

NOTE: You must provide the same account credentials as those that were used to create the load balancer.

Declaration Syntax

C#

    public DescribeInstanceHealthResponse DescribeInstanceHealth(
    	DescribeInstanceHealthRequest describeInstanceHealthRequest
    )

Parameters

describeInstanceHealthRequest (DescribeInstanceHealthRequest)
  Container for the necessary parameters to execute the DescribeInstanceHealth service method on AmazonElasticLoadBalancing.

Return Value
The response from the DescribeInstanceHealth service method, as returned by AmazonElasticLoadBalancing.
Exceptions

Exception | Condition
--- | ---
LoadBalancerNotFoundException |
InvalidInstanceException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)