C# Class Amazon.ElasticLoadBalancing.AmazonElasticLoadBalancingClient

Implementation for accessing AmazonElasticLoadBalancing. Elastic Load Balancing

Elastic Load Balancing is a cost-effective and easy to use web service to help you improve the availability and scalability of your application running on Amazon Elastic Cloud Compute (Amazon EC2). It makes it easy for you to distribute application loads between two or more EC2 instances. Elastic Load Balancing supports the growth in traffic of your application by enabling availability through redundancy.

This guide provides detailed information about Elastic Load Balancing actions, data types, and parameters that can be used for sending a query request. Query requests are HTTP or HTTPS requests that use the HTTP verb GET or POST and a query parameter named Action or Operation. Action is used throughout this documentation, although Operation is supported for backward compatibility with other AWS Query APIs.

For detailed information on constructing a query request using the actions, data types, and parameters mentioned in this guide, go to Using the Query API in the Elastic Load Balancing Developer Guide .

For detailed information about Elastic Load Balancing features and their associated actions, go to Using Elastic Load Balancing in the Elastic Load Balancing Developer Guide .

This reference guide is based on the current WSDL, which is available at:

Inheritance: AmazonWebServiceClient, IAmazonElasticLoadBalancing
Exibir arquivo Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AddTags ( AddTagsRequest request ) : Amazon.ElasticLoadBalancing.Model.AddTagsResponse

Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value.

For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.

AddTagsAsync ( AddTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AddTags operation.

AmazonElasticLoadBalancingClient ( ) : System

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonElasticLoadBalancingClient ( AWSCredentials credentials ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Credentials

AmazonElasticLoadBalancingClient ( AWSCredentials credentials, AmazonElasticLoadBalancingConfig clientConfig ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Credentials and an AmazonElasticLoadBalancingClient Configuration object.

AmazonElasticLoadBalancingClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Credentials

AmazonElasticLoadBalancingClient ( AmazonElasticLoadBalancingConfig config ) : System

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonElasticLoadBalancingClient ( RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonElasticLoadBalancingConfig clientConfig ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID, AWS Secret Key and an AmazonElasticLoadBalancingClient Configuration object.

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonElasticLoadBalancingConfig clientConfig ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID, AWS Secret Key and an AmazonElasticLoadBalancingClient Configuration object.

AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key

ApplySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request ) : ApplySecurityGroupsToLoadBalancerResponse

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.

ApplySecurityGroupsToLoadBalancerAsync ( ApplySecurityGroupsToLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.

AttachLoadBalancerToSubnets ( AttachLoadBalancerToSubnetsRequest request ) : AttachLoadBalancerToSubnetsResponse

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.

AttachLoadBalancerToSubnetsAsync ( AttachLoadBalancerToSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AttachLoadBalancerToSubnets operation.

BeginAddTags ( AddTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AddTags operation.

BeginApplySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.

BeginAttachLoadBalancerToSubnets ( AttachLoadBalancerToSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AttachLoadBalancerToSubnets operation.

BeginConfigureHealthCheck ( ConfigureHealthCheckRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ConfigureHealthCheck operation.

BeginCreateAppCookieStickinessPolicy ( CreateAppCookieStickinessPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateAppCookieStickinessPolicy operation.

BeginCreateLBCookieStickinessPolicy ( CreateLBCookieStickinessPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateLBCookieStickinessPolicy operation.

BeginCreateLoadBalancer ( CreateLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateLoadBalancer operation.

BeginCreateLoadBalancerListeners ( CreateLoadBalancerListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateLoadBalancerListeners operation.

BeginCreateLoadBalancerPolicy ( CreateLoadBalancerPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateLoadBalancerPolicy operation.

BeginDeleteLoadBalancer ( DeleteLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteLoadBalancer operation.

BeginDeleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteLoadBalancerListeners operation.

BeginDeleteLoadBalancerPolicy ( DeleteLoadBalancerPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteLoadBalancerPolicy operation.

BeginDeregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.

BeginDescribeInstanceHealth ( DescribeInstanceHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeInstanceHealth operation.

BeginDescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.

BeginDescribeLoadBalancerPolicies ( DescribeLoadBalancerPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancerPolicies operation.

BeginDescribeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.

BeginDescribeLoadBalancers ( DescribeLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

BeginDescribeTags ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTags operation.

BeginDetachLoadBalancerFromSubnets ( DetachLoadBalancerFromSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DetachLoadBalancerFromSubnets operation.

BeginDisableAvailabilityZonesForLoadBalancer ( DisableAvailabilityZonesForLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.

BeginEnableAvailabilityZonesForLoadBalancer ( EnableAvailabilityZonesForLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.

BeginModifyLoadBalancerAttributes ( ModifyLoadBalancerAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.

BeginRegisterInstancesWithLoadBalancer ( RegisterInstancesWithLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.

BeginRemoveTags ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RemoveTags operation.

BeginSetLoadBalancerListenerSSLCertificate ( SetLoadBalancerListenerSSLCertificateRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.

BeginSetLoadBalancerPoliciesForBackendServer ( SetLoadBalancerPoliciesForBackendServerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.

BeginSetLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.

ConfigureHealthCheck ( ConfigureHealthCheckRequest request ) : ConfigureHealthCheckResponse

Specifies the health check settings to use when evaluating the health state of your EC2 instances.

For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.

ConfigureHealthCheckAsync ( ConfigureHealthCheckRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ConfigureHealthCheck operation.

CreateAppCookieStickinessPolicy ( CreateAppCookieStickinessPolicyRequest request ) : CreateAppCookieStickinessPolicyResponse

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.

This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie.

If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.

For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

CreateAppCookieStickinessPolicyAsync ( CreateAppCookieStickinessPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateAppCookieStickinessPolicy operation.

CreateLBCookieStickinessPolicy ( CreateLBCookieStickinessPolicyRequest request ) : CreateLBCookieStickinessPolicyResponse

Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.

When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.

A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.

For more information, see Duration-Based Session Stickiness in the Classic Load Balancers Guide.

CreateLBCookieStickinessPolicyAsync ( CreateLBCookieStickinessPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateLBCookieStickinessPolicy operation.

CreateLoadBalancer ( CreateLoadBalancerRequest request ) : CreateLoadBalancerResponse

Creates a Classic load balancer.

You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags.

To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.

You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.

CreateLoadBalancerAsync ( CreateLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateLoadBalancer operation.

CreateLoadBalancerListeners ( CreateLoadBalancerListenersRequest request ) : CreateLoadBalancerListenersResponse

Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.

For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.

CreateLoadBalancerListenersAsync ( CreateLoadBalancerListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateLoadBalancerListeners operation.

CreateLoadBalancerPolicy ( CreateLoadBalancerPolicyRequest request ) : CreateLoadBalancerPolicyResponse

Creates a policy with the specified attributes for the specified load balancer.

Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.

CreateLoadBalancerPolicyAsync ( CreateLoadBalancerPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateLoadBalancerPolicy operation.

DeleteLoadBalancer ( DeleteLoadBalancerRequest request ) : DeleteLoadBalancerResponse

Deletes the specified load balancer.

If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.

If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds.

DeleteLoadBalancerAsync ( DeleteLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteLoadBalancer operation.

DeleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request ) : DeleteLoadBalancerListenersResponse

Deletes the specified listeners from the specified load balancer.

DeleteLoadBalancerListenersAsync ( DeleteLoadBalancerListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteLoadBalancerListeners operation.

DeleteLoadBalancerPolicy ( DeleteLoadBalancerPolicyRequest request ) : DeleteLoadBalancerPolicyResponse

Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.

DeleteLoadBalancerPolicyAsync ( DeleteLoadBalancerPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteLoadBalancerPolicy operation.

DeregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request ) : DeregisterInstancesFromLoadBalancerResponse

Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.

You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

DeregisterInstancesFromLoadBalancerAsync ( DeregisterInstancesFromLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.

DescribeInstanceHealth ( DescribeInstanceHealthRequest request ) : DescribeInstanceHealthResponse

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.

DescribeInstanceHealthAsync ( DescribeInstanceHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeInstanceHealth operation.

DescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) : DescribeLoadBalancerAttributesResponse

Describes the attributes for the specified load balancer.

DescribeLoadBalancerAttributesAsync ( DescribeLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.

DescribeLoadBalancerPolicies ( ) : DescribeLoadBalancerPoliciesResponse

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

DescribeLoadBalancerPolicies ( DescribeLoadBalancerPoliciesRequest request ) : DescribeLoadBalancerPoliciesResponse

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

DescribeLoadBalancerPoliciesAsync ( DescribeLoadBalancerPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancerPolicies operation.

DescribeLoadBalancerPoliciesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

DescribeLoadBalancerPolicyTypes ( ) : DescribeLoadBalancerPolicyTypesResponse

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

DescribeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request ) : DescribeLoadBalancerPolicyTypesResponse

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

DescribeLoadBalancerPolicyTypesAsync ( DescribeLoadBalancerPolicyTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.

DescribeLoadBalancerPolicyTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

DescribeLoadBalancers ( ) : DescribeLoadBalancersResponse

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.

DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.

DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

DescribeLoadBalancersAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.

DescribeTags ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request ) : DescribeTagsResponse

Describes the tags associated with the specified load balancers.

DescribeTagsAsync ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTags operation.

DetachLoadBalancerFromSubnets ( DetachLoadBalancerFromSubnetsRequest request ) : DetachLoadBalancerFromSubnetsResponse

Removes the specified subnets from the set of configured subnets for the load balancer.

After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.

DetachLoadBalancerFromSubnetsAsync ( DetachLoadBalancerFromSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DetachLoadBalancerFromSubnets operation.

DisableAvailabilityZonesForLoadBalancer ( DisableAvailabilityZonesForLoadBalancerRequest request ) : DisableAvailabilityZonesForLoadBalancerResponse

Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer.

There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones.

For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

DisableAvailabilityZonesForLoadBalancerAsync ( DisableAvailabilityZonesForLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.

EnableAvailabilityZonesForLoadBalancer ( EnableAvailabilityZonesForLoadBalancerRequest request ) : EnableAvailabilityZonesForLoadBalancerResponse

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer.

The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.

For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

EnableAvailabilityZonesForLoadBalancerAsync ( EnableAvailabilityZonesForLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.

EndAddTags ( IAsyncResult asyncResult ) : Amazon.ElasticLoadBalancing.Model.AddTagsResponse

Finishes the asynchronous execution of the AddTags operation.

EndApplySecurityGroupsToLoadBalancer ( IAsyncResult asyncResult ) : ApplySecurityGroupsToLoadBalancerResponse

Finishes the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.

EndAttachLoadBalancerToSubnets ( IAsyncResult asyncResult ) : AttachLoadBalancerToSubnetsResponse

Finishes the asynchronous execution of the AttachLoadBalancerToSubnets operation.

EndConfigureHealthCheck ( IAsyncResult asyncResult ) : ConfigureHealthCheckResponse

Finishes the asynchronous execution of the ConfigureHealthCheck operation.

EndCreateAppCookieStickinessPolicy ( IAsyncResult asyncResult ) : CreateAppCookieStickinessPolicyResponse

Finishes the asynchronous execution of the CreateAppCookieStickinessPolicy operation.

EndCreateLBCookieStickinessPolicy ( IAsyncResult asyncResult ) : CreateLBCookieStickinessPolicyResponse

Finishes the asynchronous execution of the CreateLBCookieStickinessPolicy operation.

EndCreateLoadBalancer ( IAsyncResult asyncResult ) : CreateLoadBalancerResponse

Finishes the asynchronous execution of the CreateLoadBalancer operation.

EndCreateLoadBalancerListeners ( IAsyncResult asyncResult ) : CreateLoadBalancerListenersResponse

Finishes the asynchronous execution of the CreateLoadBalancerListeners operation.

EndCreateLoadBalancerPolicy ( IAsyncResult asyncResult ) : CreateLoadBalancerPolicyResponse

Finishes the asynchronous execution of the CreateLoadBalancerPolicy operation.

EndDeleteLoadBalancer ( IAsyncResult asyncResult ) : DeleteLoadBalancerResponse

Finishes the asynchronous execution of the DeleteLoadBalancer operation.

EndDeleteLoadBalancerListeners ( IAsyncResult asyncResult ) : DeleteLoadBalancerListenersResponse

Finishes the asynchronous execution of the DeleteLoadBalancerListeners operation.

EndDeleteLoadBalancerPolicy ( IAsyncResult asyncResult ) : DeleteLoadBalancerPolicyResponse

Finishes the asynchronous execution of the DeleteLoadBalancerPolicy operation.

EndDeregisterInstancesFromLoadBalancer ( IAsyncResult asyncResult ) : DeregisterInstancesFromLoadBalancerResponse

Finishes the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.

EndDescribeInstanceHealth ( IAsyncResult asyncResult ) : DescribeInstanceHealthResponse

Finishes the asynchronous execution of the DescribeInstanceHealth operation.

EndDescribeLoadBalancerAttributes ( IAsyncResult asyncResult ) : DescribeLoadBalancerAttributesResponse

Finishes the asynchronous execution of the DescribeLoadBalancerAttributes operation.

EndDescribeLoadBalancerPolicies ( IAsyncResult asyncResult ) : DescribeLoadBalancerPoliciesResponse

Finishes the asynchronous execution of the DescribeLoadBalancerPolicies operation.

EndDescribeLoadBalancerPolicyTypes ( IAsyncResult asyncResult ) : DescribeLoadBalancerPolicyTypesResponse

Finishes the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.

EndDescribeLoadBalancers ( IAsyncResult asyncResult ) : DescribeLoadBalancersResponse

Finishes the asynchronous execution of the DescribeLoadBalancers operation.

EndDescribeTags ( IAsyncResult asyncResult ) : DescribeTagsResponse

Finishes the asynchronous execution of the DescribeTags operation.

EndDetachLoadBalancerFromSubnets ( IAsyncResult asyncResult ) : DetachLoadBalancerFromSubnetsResponse

Finishes the asynchronous execution of the DetachLoadBalancerFromSubnets operation.

EndDisableAvailabilityZonesForLoadBalancer ( IAsyncResult asyncResult ) : DisableAvailabilityZonesForLoadBalancerResponse

Finishes the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.

EndEnableAvailabilityZonesForLoadBalancer ( IAsyncResult asyncResult ) : EnableAvailabilityZonesForLoadBalancerResponse

Finishes the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.

EndModifyLoadBalancerAttributes ( IAsyncResult asyncResult ) : ModifyLoadBalancerAttributesResponse

Finishes the asynchronous execution of the ModifyLoadBalancerAttributes operation.

EndRegisterInstancesWithLoadBalancer ( IAsyncResult asyncResult ) : RegisterInstancesWithLoadBalancerResponse

Finishes the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.

EndRemoveTags ( IAsyncResult asyncResult ) : Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse

Finishes the asynchronous execution of the RemoveTags operation.

EndSetLoadBalancerListenerSSLCertificate ( IAsyncResult asyncResult ) : SetLoadBalancerListenerSSLCertificateResponse

Finishes the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.

EndSetLoadBalancerPoliciesForBackendServer ( IAsyncResult asyncResult ) : SetLoadBalancerPoliciesForBackendServerResponse

Finishes the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.

EndSetLoadBalancerPoliciesOfListener ( IAsyncResult asyncResult ) : SetLoadBalancerPoliciesOfListenerResponse

Finishes the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.

ModifyLoadBalancerAttributes ( ModifyLoadBalancerAttributesRequest request ) : ModifyLoadBalancerAttributesResponse

Modifies the attributes of the specified load balancer.

You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer.

For more information, see the following in the Classic Load Balancers Guide:

ModifyLoadBalancerAttributesAsync ( ModifyLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.

RegisterInstancesWithLoadBalancer ( RegisterInstancesWithLoadBalancerRequest request ) : RegisterInstancesWithLoadBalancerResponse

Adds the specified instances to the specified load balancer.

The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.

Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth.

After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state.

To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

RegisterInstancesWithLoadBalancerAsync ( RegisterInstancesWithLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.

RemoveTags ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request ) : Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse

Removes one or more tags from the specified load balancer.

RemoveTagsAsync ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RemoveTags operation.

SetLoadBalancerListenerSSLCertificate ( SetLoadBalancerListenerSSLCertificateRequest request ) : SetLoadBalancerListenerSSLCertificateResponse

Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.

For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancers Guide.

SetLoadBalancerListenerSSLCertificateAsync ( SetLoadBalancerListenerSSLCertificateRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.

SetLoadBalancerPoliciesForBackendServer ( SetLoadBalancerPoliciesForBackendServerRequest request ) : SetLoadBalancerPoliciesForBackendServerResponse

Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.

Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable.

You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance.

For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.

SetLoadBalancerPoliciesForBackendServerAsync ( SetLoadBalancerPoliciesForBackendServerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.

SetLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request ) : SetLoadBalancerPoliciesOfListenerResponse

Replaces the current set of policies for the specified load balancer port with the specified set of policies.

To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.

For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

SetLoadBalancerPoliciesOfListenerAsync ( SetLoadBalancerPoliciesOfListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

CustomizeRuntimePipeline ( RuntimePipeline pipeline ) : void

Customize the pipeline

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AddTags() public method

Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value.

For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// A tag key was specified more than once. /// /// The quota for the number of tags that can be assigned to a load balancer has been /// reached. ///
public AddTags ( AddTagsRequest request ) : Amazon.ElasticLoadBalancing.Model.AddTagsResponse
request Amazon.ElasticLoadBalancing.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags service method.
return Amazon.ElasticLoadBalancing.Model.AddTagsResponse

AddTagsAsync() public method

Initiates the asynchronous execution of the AddTags operation.
public AddTagsAsync ( AddTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonElasticLoadBalancingClient ( ) : System
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Credentials
public AmazonElasticLoadBalancingClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Credentials and an AmazonElasticLoadBalancingClient Configuration object.
public AmazonElasticLoadBalancingClient ( AWSCredentials credentials, AmazonElasticLoadBalancingConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonElasticLoadBalancingConfig The AmazonElasticLoadBalancingClient Configuration Object
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Credentials
public AmazonElasticLoadBalancingClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonElasticLoadBalancingClient ( AmazonElasticLoadBalancingConfig config ) : System
config AmazonElasticLoadBalancingConfig The AmazonElasticLoadBalancingClient Configuration Object
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonElasticLoadBalancingClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID, AWS Secret Key and an AmazonElasticLoadBalancingClient Configuration object.
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonElasticLoadBalancingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonElasticLoadBalancingConfig The AmazonElasticLoadBalancingClient Configuration Object
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID, AWS Secret Key and an AmazonElasticLoadBalancingClient Configuration object.
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonElasticLoadBalancingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonElasticLoadBalancingConfig The AmazonElasticLoadBalancingClient Configuration Object
return System

AmazonElasticLoadBalancingClient() public method

Constructs AmazonElasticLoadBalancingClient with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
return System

ApplySecurityGroupsToLoadBalancer() public method

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// One or more of the specified security groups do not exist. ///
public ApplySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request ) : ApplySecurityGroupsToLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.ApplySecurityGroupsToLoadBalancerRequest Container for the necessary parameters to execute the ApplySecurityGroupsToLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.ApplySecurityGroupsToLoadBalancerResponse

ApplySecurityGroupsToLoadBalancerAsync() public method

Initiates the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.
public ApplySecurityGroupsToLoadBalancerAsync ( ApplySecurityGroupsToLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.ApplySecurityGroupsToLoadBalancerRequest Container for the necessary parameters to execute the ApplySecurityGroupsToLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

AttachLoadBalancerToSubnets() public method

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// The specified VPC has no associated Internet gateway. /// /// One or more of the specified subnets do not exist. ///
public AttachLoadBalancerToSubnets ( AttachLoadBalancerToSubnetsRequest request ) : AttachLoadBalancerToSubnetsResponse
request Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsRequest Container for the necessary parameters to execute the AttachLoadBalancerToSubnets service method.
return Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsResponse

AttachLoadBalancerToSubnetsAsync() public method

Initiates the asynchronous execution of the AttachLoadBalancerToSubnets operation.
public AttachLoadBalancerToSubnetsAsync ( AttachLoadBalancerToSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsRequest Container for the necessary parameters to execute the AttachLoadBalancerToSubnets operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BeginAddTags() public method

Initiates the asynchronous execution of the AddTags operation.
public BeginAddTags ( AddTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginApplySecurityGroupsToLoadBalancer() public method

Initiates the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.
public BeginApplySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.ApplySecurityGroupsToLoadBalancerRequest Container for the necessary parameters to execute the ApplySecurityGroupsToLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginAttachLoadBalancerToSubnets() public method

Initiates the asynchronous execution of the AttachLoadBalancerToSubnets operation.
public BeginAttachLoadBalancerToSubnets ( AttachLoadBalancerToSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsRequest Container for the necessary parameters to execute the AttachLoadBalancerToSubnets operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginConfigureHealthCheck() public method

Initiates the asynchronous execution of the ConfigureHealthCheck operation.
public BeginConfigureHealthCheck ( ConfigureHealthCheckRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.ConfigureHealthCheckRequest Container for the necessary parameters to execute the ConfigureHealthCheck operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateAppCookieStickinessPolicy() public method

Initiates the asynchronous execution of the CreateAppCookieStickinessPolicy operation.
public BeginCreateAppCookieStickinessPolicy ( CreateAppCookieStickinessPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateAppCookieStickinessPolicy operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateLBCookieStickinessPolicy() public method

Initiates the asynchronous execution of the CreateLBCookieStickinessPolicy operation.
public BeginCreateLBCookieStickinessPolicy ( CreateLBCookieStickinessPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.CreateLBCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateLBCookieStickinessPolicy operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateLoadBalancer() public method

Initiates the asynchronous execution of the CreateLoadBalancer operation.
public BeginCreateLoadBalancer ( CreateLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerRequest Container for the necessary parameters to execute the CreateLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateLoadBalancerListeners() public method

Initiates the asynchronous execution of the CreateLoadBalancerListeners operation.
public BeginCreateLoadBalancerListeners ( CreateLoadBalancerListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerListenersRequest Container for the necessary parameters to execute the CreateLoadBalancerListeners operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateLoadBalancerPolicy() public method

Initiates the asynchronous execution of the CreateLoadBalancerPolicy operation.
public BeginCreateLoadBalancerPolicy ( CreateLoadBalancerPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyRequest Container for the necessary parameters to execute the CreateLoadBalancerPolicy operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteLoadBalancer() public method

Initiates the asynchronous execution of the DeleteLoadBalancer operation.
public BeginDeleteLoadBalancer ( DeleteLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerRequest Container for the necessary parameters to execute the DeleteLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteLoadBalancerListeners() public method

Initiates the asynchronous execution of the DeleteLoadBalancerListeners operation.
public BeginDeleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerListenersRequest Container for the necessary parameters to execute the DeleteLoadBalancerListeners operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteLoadBalancerPolicy() public method

Initiates the asynchronous execution of the DeleteLoadBalancerPolicy operation.
public BeginDeleteLoadBalancerPolicy ( DeleteLoadBalancerPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerPolicyRequest Container for the necessary parameters to execute the DeleteLoadBalancerPolicy operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeregisterInstancesFromLoadBalancer() public method

Initiates the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.
public BeginDeregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DeregisterInstancesFromLoadBalancerRequest Container for the necessary parameters to execute the DeregisterInstancesFromLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeInstanceHealth() public method

Initiates the asynchronous execution of the DescribeInstanceHealth operation.
public BeginDescribeInstanceHealth ( DescribeInstanceHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeInstanceHealthRequest Container for the necessary parameters to execute the DescribeInstanceHealth operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancerAttributes() public method

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.
public BeginDescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerAttributesRequest Container for the necessary parameters to execute the DescribeLoadBalancerAttributes operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancerPolicies() public method

Initiates the asynchronous execution of the DescribeLoadBalancerPolicies operation.
public BeginDescribeLoadBalancerPolicies ( DescribeLoadBalancerPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicies operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancerPolicyTypes() public method

Initiates the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.
public BeginDescribeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicyTypes operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancers() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public BeginDescribeLoadBalancers ( DescribeLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeTags() public method

Initiates the asynchronous execution of the DescribeTags operation.
public BeginDescribeTags ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDetachLoadBalancerFromSubnets() public method

Initiates the asynchronous execution of the DetachLoadBalancerFromSubnets operation.
public BeginDetachLoadBalancerFromSubnets ( DetachLoadBalancerFromSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsRequest Container for the necessary parameters to execute the DetachLoadBalancerFromSubnets operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDisableAvailabilityZonesForLoadBalancer() public method

Initiates the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.
public BeginDisableAvailabilityZonesForLoadBalancer ( DisableAvailabilityZonesForLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the DisableAvailabilityZonesForLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginEnableAvailabilityZonesForLoadBalancer() public method

Initiates the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.
public BeginEnableAvailabilityZonesForLoadBalancer ( EnableAvailabilityZonesForLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.EnableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the EnableAvailabilityZonesForLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginModifyLoadBalancerAttributes() public method

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.
public BeginModifyLoadBalancerAttributes ( ModifyLoadBalancerAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.ModifyLoadBalancerAttributesRequest Container for the necessary parameters to execute the ModifyLoadBalancerAttributes operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginRegisterInstancesWithLoadBalancer() public method

Initiates the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.
public BeginRegisterInstancesWithLoadBalancer ( RegisterInstancesWithLoadBalancerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerRequest Container for the necessary parameters to execute the RegisterInstancesWithLoadBalancer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginRemoveTags() public method

Initiates the asynchronous execution of the RemoveTags operation.
public BeginRemoveTags ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest Container for the necessary parameters to execute the RemoveTags operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetLoadBalancerListenerSSLCertificate() public method

Initiates the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.
public BeginSetLoadBalancerListenerSSLCertificate ( SetLoadBalancerListenerSSLCertificateRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateRequest Container for the necessary parameters to execute the SetLoadBalancerListenerSSLCertificate operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetLoadBalancerPoliciesForBackendServer() public method

Initiates the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.
public BeginSetLoadBalancerPoliciesForBackendServer ( SetLoadBalancerPoliciesForBackendServerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesForBackendServerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesForBackendServer operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetLoadBalancerPoliciesOfListener() public method

Initiates the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.
public BeginSetLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesOfListenerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesOfListener operation on AmazonElasticLoadBalancingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

ConfigureHealthCheck() public method

Specifies the health check settings to use when evaluating the health state of your EC2 instances.

For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. ///
public ConfigureHealthCheck ( ConfigureHealthCheckRequest request ) : ConfigureHealthCheckResponse
request Amazon.ElasticLoadBalancing.Model.ConfigureHealthCheckRequest Container for the necessary parameters to execute the ConfigureHealthCheck service method.
return Amazon.ElasticLoadBalancing.Model.ConfigureHealthCheckResponse

ConfigureHealthCheckAsync() public method

Initiates the asynchronous execution of the ConfigureHealthCheck operation.
public ConfigureHealthCheckAsync ( ConfigureHealthCheckRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.ConfigureHealthCheckRequest Container for the necessary parameters to execute the ConfigureHealthCheck operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateAppCookieStickinessPolicy() public method

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.

This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie.

If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.

For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// A policy with the specified name already exists for this load balancer. /// /// The requested configuration change is not valid. /// /// The quota for the number of policies for this load balancer has been reached. ///
public CreateAppCookieStickinessPolicy ( CreateAppCookieStickinessPolicyRequest request ) : CreateAppCookieStickinessPolicyResponse
request Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateAppCookieStickinessPolicy service method.
return Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyResponse

CreateAppCookieStickinessPolicyAsync() public method

Initiates the asynchronous execution of the CreateAppCookieStickinessPolicy operation.
public CreateAppCookieStickinessPolicyAsync ( CreateAppCookieStickinessPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateAppCookieStickinessPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateLBCookieStickinessPolicy() public method

Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.

When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.

A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.

For more information, see Duration-Based Session Stickiness in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// A policy with the specified name already exists for this load balancer. /// /// The requested configuration change is not valid. /// /// The quota for the number of policies for this load balancer has been reached. ///
public CreateLBCookieStickinessPolicy ( CreateLBCookieStickinessPolicyRequest request ) : CreateLBCookieStickinessPolicyResponse
request Amazon.ElasticLoadBalancing.Model.CreateLBCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateLBCookieStickinessPolicy service method.
return Amazon.ElasticLoadBalancing.Model.CreateLBCookieStickinessPolicyResponse

CreateLBCookieStickinessPolicyAsync() public method

Initiates the asynchronous execution of the CreateLBCookieStickinessPolicy operation.
public CreateLBCookieStickinessPolicyAsync ( CreateLBCookieStickinessPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.CreateLBCookieStickinessPolicyRequest Container for the necessary parameters to execute the CreateLBCookieStickinessPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateLoadBalancer() public method

Creates a Classic load balancer.

You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags.

To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.

You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.

/// The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access /// Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded /// the certificate to IAM, this error might indicate that the certificate is not fully /// available yet. /// /// The specified load balancer name already exists for this account. /// /// A tag key was specified more than once. /// /// The requested configuration change is not valid. /// /// The specified value for the schema is not valid. You can only specify a scheme for /// load balancers in a VPC. /// /// One or more of the specified security groups do not exist. /// /// The specified VPC has no associated Internet gateway. /// /// One or more of the specified subnets do not exist. /// /// The quota for the number of load balancers has been reached. /// /// The quota for the number of tags that can be assigned to a load balancer has been /// reached. /// /// ///
public CreateLoadBalancer ( CreateLoadBalancerRequest request ) : CreateLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerRequest Container for the necessary parameters to execute the CreateLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerResponse

CreateLoadBalancerAsync() public method

Initiates the asynchronous execution of the CreateLoadBalancer operation.
public CreateLoadBalancerAsync ( CreateLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerRequest Container for the necessary parameters to execute the CreateLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateLoadBalancerListeners() public method

Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.

For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access /// Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded /// the certificate to IAM, this error might indicate that the certificate is not fully /// available yet. /// /// A listener already exists for the specified load balancer name and port, but with /// a different instance port, protocol, or SSL certificate. /// /// The requested configuration change is not valid. /// /// ///
public CreateLoadBalancerListeners ( CreateLoadBalancerListenersRequest request ) : CreateLoadBalancerListenersResponse
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerListenersRequest Container for the necessary parameters to execute the CreateLoadBalancerListeners service method.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerListenersResponse

CreateLoadBalancerListenersAsync() public method

Initiates the asynchronous execution of the CreateLoadBalancerListeners operation.
public CreateLoadBalancerListenersAsync ( CreateLoadBalancerListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerListenersRequest Container for the necessary parameters to execute the CreateLoadBalancerListeners operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateLoadBalancerPolicy() public method

Creates a policy with the specified attributes for the specified load balancer.

Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.

/// The specified load balancer does not exist. /// /// A policy with the specified name already exists for this load balancer. /// /// The requested configuration change is not valid. /// /// One or more of the specified policy types do not exist. /// /// The quota for the number of policies for this load balancer has been reached. ///
public CreateLoadBalancerPolicy ( CreateLoadBalancerPolicyRequest request ) : CreateLoadBalancerPolicyResponse
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyRequest Container for the necessary parameters to execute the CreateLoadBalancerPolicy service method.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyResponse

CreateLoadBalancerPolicyAsync() public method

Initiates the asynchronous execution of the CreateLoadBalancerPolicy operation.
public CreateLoadBalancerPolicyAsync ( CreateLoadBalancerPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyRequest Container for the necessary parameters to execute the CreateLoadBalancerPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateSigner() protected method

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
return Amazon.Runtime.Internal.Auth.AbstractAWSSigner

CustomizeRuntimePipeline() protected method

Customize the pipeline
protected CustomizeRuntimePipeline ( RuntimePipeline pipeline ) : void
pipeline RuntimePipeline
return void

DeleteLoadBalancer() public method

Deletes the specified load balancer.

If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.

If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds.

public DeleteLoadBalancer ( DeleteLoadBalancerRequest request ) : DeleteLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerRequest Container for the necessary parameters to execute the DeleteLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerResponse

DeleteLoadBalancerAsync() public method

Initiates the asynchronous execution of the DeleteLoadBalancer operation.
public DeleteLoadBalancerAsync ( DeleteLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerRequest Container for the necessary parameters to execute the DeleteLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteLoadBalancerListeners() public method

Deletes the specified listeners from the specified load balancer.
/// The specified load balancer does not exist. ///
public DeleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request ) : DeleteLoadBalancerListenersResponse
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerListenersRequest Container for the necessary parameters to execute the DeleteLoadBalancerListeners service method.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerListenersResponse

DeleteLoadBalancerListenersAsync() public method

Initiates the asynchronous execution of the DeleteLoadBalancerListeners operation.
public DeleteLoadBalancerListenersAsync ( DeleteLoadBalancerListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerListenersRequest Container for the necessary parameters to execute the DeleteLoadBalancerListeners operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteLoadBalancerPolicy() public method

Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. ///
public DeleteLoadBalancerPolicy ( DeleteLoadBalancerPolicyRequest request ) : DeleteLoadBalancerPolicyResponse
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerPolicyRequest Container for the necessary parameters to execute the DeleteLoadBalancerPolicy service method.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerPolicyResponse

DeleteLoadBalancerPolicyAsync() public method

Initiates the asynchronous execution of the DeleteLoadBalancerPolicy operation.
public DeleteLoadBalancerPolicyAsync ( DeleteLoadBalancerPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerPolicyRequest Container for the necessary parameters to execute the DeleteLoadBalancerPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeregisterInstancesFromLoadBalancer() public method

Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.

You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The specified endpoint is not valid. ///
public DeregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request ) : DeregisterInstancesFromLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.DeregisterInstancesFromLoadBalancerRequest Container for the necessary parameters to execute the DeregisterInstancesFromLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.DeregisterInstancesFromLoadBalancerResponse

DeregisterInstancesFromLoadBalancerAsync() public method

Initiates the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.
public DeregisterInstancesFromLoadBalancerAsync ( DeregisterInstancesFromLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DeregisterInstancesFromLoadBalancerRequest Container for the necessary parameters to execute the DeregisterInstancesFromLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeInstanceHealth() public method

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.
/// The specified load balancer does not exist. /// /// The specified endpoint is not valid. ///
public DescribeInstanceHealth ( DescribeInstanceHealthRequest request ) : DescribeInstanceHealthResponse
request Amazon.ElasticLoadBalancing.Model.DescribeInstanceHealthRequest Container for the necessary parameters to execute the DescribeInstanceHealth service method.
return Amazon.ElasticLoadBalancing.Model.DescribeInstanceHealthResponse

DescribeInstanceHealthAsync() public method

Initiates the asynchronous execution of the DescribeInstanceHealth operation.
public DescribeInstanceHealthAsync ( DescribeInstanceHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeInstanceHealthRequest Container for the necessary parameters to execute the DescribeInstanceHealth operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerAttributes() public method

Describes the attributes for the specified load balancer.
/// The specified load balancer does not exist. /// /// The specified load balancer attribute does not exist. ///
public DescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) : DescribeLoadBalancerAttributesResponse
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerAttributesRequest Container for the necessary parameters to execute the DescribeLoadBalancerAttributes service method.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerAttributesResponse

DescribeLoadBalancerAttributesAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.
public DescribeLoadBalancerAttributesAsync ( DescribeLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerAttributesRequest Container for the necessary parameters to execute the DescribeLoadBalancerAttributes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerPolicies() public method

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

/// The specified load balancer does not exist. /// /// One or more of the specified policies do not exist. ///
public DescribeLoadBalancerPolicies ( ) : DescribeLoadBalancerPoliciesResponse
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesResponse

DescribeLoadBalancerPolicies() public method

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

/// The specified load balancer does not exist. /// /// One or more of the specified policies do not exist. ///
public DescribeLoadBalancerPolicies ( DescribeLoadBalancerPoliciesRequest request ) : DescribeLoadBalancerPoliciesResponse
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicies service method.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesResponse

DescribeLoadBalancerPoliciesAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancerPolicies operation.
public DescribeLoadBalancerPoliciesAsync ( DescribeLoadBalancerPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicies operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerPoliciesAsync() public method

Describes the specified policies.

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.

/// The specified load balancer does not exist. /// /// One or more of the specified policies do not exist. ///
public DescribeLoadBalancerPoliciesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerPolicyTypes() public method

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

/// One or more of the specified policy types do not exist. ///
public DescribeLoadBalancerPolicyTypes ( ) : DescribeLoadBalancerPolicyTypesResponse
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesResponse

DescribeLoadBalancerPolicyTypes() public method

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

/// One or more of the specified policy types do not exist. ///
public DescribeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request ) : DescribeLoadBalancerPolicyTypesResponse
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicyTypes service method.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesResponse

DescribeLoadBalancerPolicyTypesAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.
public DescribeLoadBalancerPolicyTypesAsync ( DescribeLoadBalancerPolicyTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesRequest Container for the necessary parameters to execute the DescribeLoadBalancerPolicyTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerPolicyTypesAsync() public method

Describes the specified load balancer policy types or all load balancer policy types.

The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

/// One or more of the specified policy types do not exist. ///
public DescribeLoadBalancerPolicyTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancers() public method

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
/// The specified load balancer does not exist. /// /// ///
public DescribeLoadBalancers ( ) : DescribeLoadBalancersResponse
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersResponse

DescribeLoadBalancers() public method

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
/// The specified load balancer does not exist. /// /// ///
public DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers service method.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersResponse

DescribeLoadBalancersAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancersAsync() public method

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
/// The specified load balancer does not exist. /// /// ///
public DescribeLoadBalancersAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeTags() public method

Describes the tags associated with the specified load balancers.
/// The specified load balancer does not exist. ///
public DescribeTags ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request ) : DescribeTagsResponse
request Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags service method.
return Amazon.ElasticLoadBalancing.Model.DescribeTagsResponse

DescribeTagsAsync() public method

Initiates the asynchronous execution of the DescribeTags operation.
public DescribeTagsAsync ( Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DetachLoadBalancerFromSubnets() public method

Removes the specified subnets from the set of configured subnets for the load balancer.

After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. ///
public DetachLoadBalancerFromSubnets ( DetachLoadBalancerFromSubnetsRequest request ) : DetachLoadBalancerFromSubnetsResponse
request Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsRequest Container for the necessary parameters to execute the DetachLoadBalancerFromSubnets service method.
return Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsResponse

DetachLoadBalancerFromSubnetsAsync() public method

Initiates the asynchronous execution of the DetachLoadBalancerFromSubnets operation.
public DetachLoadBalancerFromSubnetsAsync ( DetachLoadBalancerFromSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsRequest Container for the necessary parameters to execute the DetachLoadBalancerFromSubnets operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DisableAvailabilityZonesForLoadBalancer() public method

Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer.

There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones.

For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. ///
public DisableAvailabilityZonesForLoadBalancer ( DisableAvailabilityZonesForLoadBalancerRequest request ) : DisableAvailabilityZonesForLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the DisableAvailabilityZonesForLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerResponse

DisableAvailabilityZonesForLoadBalancerAsync() public method

Initiates the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.
public DisableAvailabilityZonesForLoadBalancerAsync ( DisableAvailabilityZonesForLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the DisableAvailabilityZonesForLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EnableAvailabilityZonesForLoadBalancer() public method

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer.

The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.

For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. ///
public EnableAvailabilityZonesForLoadBalancer ( EnableAvailabilityZonesForLoadBalancerRequest request ) : EnableAvailabilityZonesForLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.EnableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the EnableAvailabilityZonesForLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.EnableAvailabilityZonesForLoadBalancerResponse

EnableAvailabilityZonesForLoadBalancerAsync() public method

Initiates the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.
public EnableAvailabilityZonesForLoadBalancerAsync ( EnableAvailabilityZonesForLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.EnableAvailabilityZonesForLoadBalancerRequest Container for the necessary parameters to execute the EnableAvailabilityZonesForLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

EndAddTags() public method

Finishes the asynchronous execution of the AddTags operation.
public EndAddTags ( IAsyncResult asyncResult ) : Amazon.ElasticLoadBalancing.Model.AddTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAddTags.
return Amazon.ElasticLoadBalancing.Model.AddTagsResponse

EndApplySecurityGroupsToLoadBalancer() public method

Finishes the asynchronous execution of the ApplySecurityGroupsToLoadBalancer operation.
public EndApplySecurityGroupsToLoadBalancer ( IAsyncResult asyncResult ) : ApplySecurityGroupsToLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginApplySecurityGroupsToLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.ApplySecurityGroupsToLoadBalancerResponse

EndAttachLoadBalancerToSubnets() public method

Finishes the asynchronous execution of the AttachLoadBalancerToSubnets operation.
public EndAttachLoadBalancerToSubnets ( IAsyncResult asyncResult ) : AttachLoadBalancerToSubnetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAttachLoadBalancerToSubnets.
return Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsResponse

EndConfigureHealthCheck() public method

Finishes the asynchronous execution of the ConfigureHealthCheck operation.
public EndConfigureHealthCheck ( IAsyncResult asyncResult ) : ConfigureHealthCheckResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginConfigureHealthCheck.
return Amazon.ElasticLoadBalancing.Model.ConfigureHealthCheckResponse

EndCreateAppCookieStickinessPolicy() public method

Finishes the asynchronous execution of the CreateAppCookieStickinessPolicy operation.
public EndCreateAppCookieStickinessPolicy ( IAsyncResult asyncResult ) : CreateAppCookieStickinessPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateAppCookieStickinessPolicy.
return Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyResponse

EndCreateLBCookieStickinessPolicy() public method

Finishes the asynchronous execution of the CreateLBCookieStickinessPolicy operation.
public EndCreateLBCookieStickinessPolicy ( IAsyncResult asyncResult ) : CreateLBCookieStickinessPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateLBCookieStickinessPolicy.
return Amazon.ElasticLoadBalancing.Model.CreateLBCookieStickinessPolicyResponse

EndCreateLoadBalancer() public method

Finishes the asynchronous execution of the CreateLoadBalancer operation.
public EndCreateLoadBalancer ( IAsyncResult asyncResult ) : CreateLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerResponse

EndCreateLoadBalancerListeners() public method

Finishes the asynchronous execution of the CreateLoadBalancerListeners operation.
public EndCreateLoadBalancerListeners ( IAsyncResult asyncResult ) : CreateLoadBalancerListenersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateLoadBalancerListeners.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerListenersResponse

EndCreateLoadBalancerPolicy() public method

Finishes the asynchronous execution of the CreateLoadBalancerPolicy operation.
public EndCreateLoadBalancerPolicy ( IAsyncResult asyncResult ) : CreateLoadBalancerPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateLoadBalancerPolicy.
return Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyResponse

EndDeleteLoadBalancer() public method

Finishes the asynchronous execution of the DeleteLoadBalancer operation.
public EndDeleteLoadBalancer ( IAsyncResult asyncResult ) : DeleteLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerResponse

EndDeleteLoadBalancerListeners() public method

Finishes the asynchronous execution of the DeleteLoadBalancerListeners operation.
public EndDeleteLoadBalancerListeners ( IAsyncResult asyncResult ) : DeleteLoadBalancerListenersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteLoadBalancerListeners.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerListenersResponse

EndDeleteLoadBalancerPolicy() public method

Finishes the asynchronous execution of the DeleteLoadBalancerPolicy operation.
public EndDeleteLoadBalancerPolicy ( IAsyncResult asyncResult ) : DeleteLoadBalancerPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteLoadBalancerPolicy.
return Amazon.ElasticLoadBalancing.Model.DeleteLoadBalancerPolicyResponse

EndDeregisterInstancesFromLoadBalancer() public method

Finishes the asynchronous execution of the DeregisterInstancesFromLoadBalancer operation.
public EndDeregisterInstancesFromLoadBalancer ( IAsyncResult asyncResult ) : DeregisterInstancesFromLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeregisterInstancesFromLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.DeregisterInstancesFromLoadBalancerResponse

EndDescribeInstanceHealth() public method

Finishes the asynchronous execution of the DescribeInstanceHealth operation.
public EndDescribeInstanceHealth ( IAsyncResult asyncResult ) : DescribeInstanceHealthResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeInstanceHealth.
return Amazon.ElasticLoadBalancing.Model.DescribeInstanceHealthResponse

EndDescribeLoadBalancerAttributes() public method

Finishes the asynchronous execution of the DescribeLoadBalancerAttributes operation.
public EndDescribeLoadBalancerAttributes ( IAsyncResult asyncResult ) : DescribeLoadBalancerAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancerAttributes.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerAttributesResponse

EndDescribeLoadBalancerPolicies() public method

Finishes the asynchronous execution of the DescribeLoadBalancerPolicies operation.
public EndDescribeLoadBalancerPolicies ( IAsyncResult asyncResult ) : DescribeLoadBalancerPoliciesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancerPolicies.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPoliciesResponse

EndDescribeLoadBalancerPolicyTypes() public method

Finishes the asynchronous execution of the DescribeLoadBalancerPolicyTypes operation.
public EndDescribeLoadBalancerPolicyTypes ( IAsyncResult asyncResult ) : DescribeLoadBalancerPolicyTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancerPolicyTypes.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancerPolicyTypesResponse

EndDescribeLoadBalancers() public method

Finishes the asynchronous execution of the DescribeLoadBalancers operation.
public EndDescribeLoadBalancers ( IAsyncResult asyncResult ) : DescribeLoadBalancersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancers.
return Amazon.ElasticLoadBalancing.Model.DescribeLoadBalancersResponse

EndDescribeTags() public method

Finishes the asynchronous execution of the DescribeTags operation.
public EndDescribeTags ( IAsyncResult asyncResult ) : DescribeTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTags.
return Amazon.ElasticLoadBalancing.Model.DescribeTagsResponse

EndDetachLoadBalancerFromSubnets() public method

Finishes the asynchronous execution of the DetachLoadBalancerFromSubnets operation.
public EndDetachLoadBalancerFromSubnets ( IAsyncResult asyncResult ) : DetachLoadBalancerFromSubnetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDetachLoadBalancerFromSubnets.
return Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsResponse

EndDisableAvailabilityZonesForLoadBalancer() public method

Finishes the asynchronous execution of the DisableAvailabilityZonesForLoadBalancer operation.
public EndDisableAvailabilityZonesForLoadBalancer ( IAsyncResult asyncResult ) : DisableAvailabilityZonesForLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDisableAvailabilityZonesForLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.DisableAvailabilityZonesForLoadBalancerResponse

EndEnableAvailabilityZonesForLoadBalancer() public method

Finishes the asynchronous execution of the EnableAvailabilityZonesForLoadBalancer operation.
public EndEnableAvailabilityZonesForLoadBalancer ( IAsyncResult asyncResult ) : EnableAvailabilityZonesForLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginEnableAvailabilityZonesForLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.EnableAvailabilityZonesForLoadBalancerResponse

EndModifyLoadBalancerAttributes() public method

Finishes the asynchronous execution of the ModifyLoadBalancerAttributes operation.
public EndModifyLoadBalancerAttributes ( IAsyncResult asyncResult ) : ModifyLoadBalancerAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginModifyLoadBalancerAttributes.
return Amazon.ElasticLoadBalancing.Model.ModifyLoadBalancerAttributesResponse

EndRegisterInstancesWithLoadBalancer() public method

Finishes the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.
public EndRegisterInstancesWithLoadBalancer ( IAsyncResult asyncResult ) : RegisterInstancesWithLoadBalancerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRegisterInstancesWithLoadBalancer.
return Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerResponse

EndRemoveTags() public method

Finishes the asynchronous execution of the RemoveTags operation.
public EndRemoveTags ( IAsyncResult asyncResult ) : Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRemoveTags.
return Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse

EndSetLoadBalancerListenerSSLCertificate() public method

Finishes the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.
public EndSetLoadBalancerListenerSSLCertificate ( IAsyncResult asyncResult ) : SetLoadBalancerListenerSSLCertificateResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetLoadBalancerListenerSSLCertificate.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateResponse

EndSetLoadBalancerPoliciesForBackendServer() public method

Finishes the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.
public EndSetLoadBalancerPoliciesForBackendServer ( IAsyncResult asyncResult ) : SetLoadBalancerPoliciesForBackendServerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetLoadBalancerPoliciesForBackendServer.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesForBackendServerResponse

EndSetLoadBalancerPoliciesOfListener() public method

Finishes the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.
public EndSetLoadBalancerPoliciesOfListener ( IAsyncResult asyncResult ) : SetLoadBalancerPoliciesOfListenerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetLoadBalancerPoliciesOfListener.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesOfListenerResponse

ModifyLoadBalancerAttributes() public method

Modifies the attributes of the specified load balancer.

You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer.

For more information, see the following in the Classic Load Balancers Guide:

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// The specified load balancer attribute does not exist. ///
public ModifyLoadBalancerAttributes ( ModifyLoadBalancerAttributesRequest request ) : ModifyLoadBalancerAttributesResponse
request Amazon.ElasticLoadBalancing.Model.ModifyLoadBalancerAttributesRequest Container for the necessary parameters to execute the ModifyLoadBalancerAttributes service method.
return Amazon.ElasticLoadBalancing.Model.ModifyLoadBalancerAttributesResponse

ModifyLoadBalancerAttributesAsync() public method

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.
public ModifyLoadBalancerAttributesAsync ( ModifyLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.ModifyLoadBalancerAttributesRequest Container for the necessary parameters to execute the ModifyLoadBalancerAttributes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

RegisterInstancesWithLoadBalancer() public method

Adds the specified instances to the specified load balancer.

The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.

Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth.

After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state.

To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The specified endpoint is not valid. ///
public RegisterInstancesWithLoadBalancer ( RegisterInstancesWithLoadBalancerRequest request ) : RegisterInstancesWithLoadBalancerResponse
request Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerRequest Container for the necessary parameters to execute the RegisterInstancesWithLoadBalancer service method.
return Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerResponse

RegisterInstancesWithLoadBalancerAsync() public method

Initiates the asynchronous execution of the RegisterInstancesWithLoadBalancer operation.
public RegisterInstancesWithLoadBalancerAsync ( RegisterInstancesWithLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.RegisterInstancesWithLoadBalancerRequest Container for the necessary parameters to execute the RegisterInstancesWithLoadBalancer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

RemoveTags() public method

Removes one or more tags from the specified load balancer.
/// The specified load balancer does not exist. ///
public RemoveTags ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request ) : Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse
request Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest Container for the necessary parameters to execute the RemoveTags service method.
return Amazon.ElasticLoadBalancing.Model.RemoveTagsResponse

RemoveTagsAsync() public method

Initiates the asynchronous execution of the RemoveTags operation.
public RemoveTagsAsync ( Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.RemoveTagsRequest Container for the necessary parameters to execute the RemoveTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetLoadBalancerListenerSSLCertificate() public method

Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.

For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access /// Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded /// the certificate to IAM, this error might indicate that the certificate is not fully /// available yet. /// /// The requested configuration change is not valid. /// /// The load balancer does not have a listener configured at the specified port. /// /// ///
public SetLoadBalancerListenerSSLCertificate ( SetLoadBalancerListenerSSLCertificateRequest request ) : SetLoadBalancerListenerSSLCertificateResponse
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateRequest Container for the necessary parameters to execute the SetLoadBalancerListenerSSLCertificate service method.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateResponse

SetLoadBalancerListenerSSLCertificateAsync() public method

Initiates the asynchronous execution of the SetLoadBalancerListenerSSLCertificate operation.
public SetLoadBalancerListenerSSLCertificateAsync ( SetLoadBalancerListenerSSLCertificateRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateRequest Container for the necessary parameters to execute the SetLoadBalancerListenerSSLCertificate operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetLoadBalancerPoliciesForBackendServer() public method

Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.

Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable.

You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance.

For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// One or more of the specified policies do not exist. ///
public SetLoadBalancerPoliciesForBackendServer ( SetLoadBalancerPoliciesForBackendServerRequest request ) : SetLoadBalancerPoliciesForBackendServerResponse
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesForBackendServerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesForBackendServer service method.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesForBackendServerResponse

SetLoadBalancerPoliciesForBackendServerAsync() public method

Initiates the asynchronous execution of the SetLoadBalancerPoliciesForBackendServer operation.
public SetLoadBalancerPoliciesForBackendServerAsync ( SetLoadBalancerPoliciesForBackendServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesForBackendServerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesForBackendServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetLoadBalancerPoliciesOfListener() public method

Replaces the current set of policies for the specified load balancer port with the specified set of policies.

To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.

For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// The load balancer does not have a listener configured at the specified port. /// /// One or more of the specified policies do not exist. ///
public SetLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request ) : SetLoadBalancerPoliciesOfListenerResponse
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesOfListenerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesOfListener service method.
return Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesOfListenerResponse

SetLoadBalancerPoliciesOfListenerAsync() public method

Initiates the asynchronous execution of the SetLoadBalancerPoliciesOfListener operation.
public SetLoadBalancerPoliciesOfListenerAsync ( SetLoadBalancerPoliciesOfListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.SetLoadBalancerPoliciesOfListenerRequest Container for the necessary parameters to execute the SetLoadBalancerPoliciesOfListener operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task