C# Class Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerRequest

Container for the parameters to the RegisterInstancesWithLoadBalancer operation.

Adds new instances to the LoadBalancer.

Once the instance is registered, it starts receiving traffic and requests from the LoadBalancer. Any instance that is not in any of the Availability Zones registered for the LoadBalancer will be moved to the OutOfService state. It will move to the InService state when the Availability Zone is added to the LoadBalancer.

NOTE: In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account credentials as those that were used to create the LoadBalancer.

NOTE: Completion of this API does not guarantee that operation has completed. Rather, it means that the request has been registered and the changes will happen shortly.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
RegisterInstancesWithLoadBalancerRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

RegisterInstancesWithLoadBalancerRequest ( string loadBalancerName, List instances ) : System

Instantiates RegisterInstancesWithLoadBalancerRequest with the parameterized properties

Private Methods

Method Description
IsSetInstances ( ) : bool
IsSetLoadBalancerName ( ) : bool

Method Details

RegisterInstancesWithLoadBalancerRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public RegisterInstancesWithLoadBalancerRequest ( ) : System
return System

RegisterInstancesWithLoadBalancerRequest() public method

Instantiates RegisterInstancesWithLoadBalancerRequest with the parameterized properties
public RegisterInstancesWithLoadBalancerRequest ( string loadBalancerName, List instances ) : System
loadBalancerName string The name of the load balancer.
instances List The IDs of the instances.
return System