Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.
elb_describe_instance_health(LoadBalancerName, Instances)
[required] The name of the load balancer.
The IDs of the instances.
svc$describe_instance_health( LoadBalancerName = "string", Instances = list( list( InstanceId = "string" ) ) )
# NOT RUN {
# This example describes the health of the instances for the specified
# load balancer.
# }
# NOT RUN {
svc$describe_instance_health(
LoadBalancerName = "my-load-balancer"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab