C# Class Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client

Implementation for accessing ElasticLoadBalancingV2 Elastic Load Balancing

A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.

Elastic Load Balancing supports two types of load balancers: Classic Load Balancers and Application Load Balancers. A Classic Load Balancer makes routing and load balancing decisions either at the transport layer (TCP/SSL) or the application layer (HTTP/HTTPS), and supports either EC2-Classic or a VPC. An Application Load Balancer makes routing and load balancing decisions at the application layer (HTTP/HTTPS), supports path-based routing, and can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the Elastic Load Balancing User Guide.

This reference covers the 2015-12-01 API, which supports Application Load Balancers. The 2012-06-01 API supports Classic Load Balancers.

To get started, complete the following tasks:

  1. Create an Application Load Balancer using CreateLoadBalancer.

  2. Create a target group using CreateTargetGroup.

  3. Register targets for the target group using RegisterTargets.

  4. Create one or more listeners for your load balancer using CreateListener.

  5. (Optional) Create one or more rules for content routing based on URL using CreateRule.

To delete an Application Load Balancer and its related resources, complete the following tasks:

  1. Delete the load balancer using DeleteLoadBalancer.

  2. Delete the target group using DeleteTargetGroup.

All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.

Inheritance: AmazonServiceClient, IAmazonElasticLoadBalancingV2
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
AddTags ( AddTagsRequest request ) : AddTagsResponse

Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags.

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

Initiates the asynchronous execution of the AddTags operation.

AmazonElasticLoadBalancingV2Client ( ) : System

Constructs AmazonElasticLoadBalancingV2Client 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>

AmazonElasticLoadBalancingV2Client ( AWSCredentials credentials ) : System

Constructs AmazonElasticLoadBalancingV2Client with AWS Credentials

AmazonElasticLoadBalancingV2Client ( AWSCredentials credentials, AmazonElasticLoadBalancingV2Config clientConfig ) : System

Constructs AmazonElasticLoadBalancingV2Client with AWS Credentials and an AmazonElasticLoadBalancingV2Client Configuration object.

AmazonElasticLoadBalancingV2Client ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingV2Client with AWS Credentials

AmazonElasticLoadBalancingV2Client ( AmazonElasticLoadBalancingV2Config config ) : System

Constructs AmazonElasticLoadBalancingV2Client 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>

AmazonElasticLoadBalancingV2Client ( RegionEndpoint region ) : System

Constructs AmazonElasticLoadBalancingV2Client 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>

AmazonElasticLoadBalancingV2Client ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key

AmazonElasticLoadBalancingV2Client ( string awsAccessKeyId, string awsSecretAccessKey, AmazonElasticLoadBalancingV2Config clientConfig ) : System

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

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

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key

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

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key

AmazonElasticLoadBalancingV2Client ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonElasticLoadBalancingV2Config clientConfig ) : System

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

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

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key

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

Initiates the asynchronous execution of the AddTags operation.

BeginCreateListener ( CreateListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateListener operation.

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

Initiates the asynchronous execution of the CreateLoadBalancer operation.

BeginCreateRule ( CreateRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateRule operation.

BeginCreateTargetGroup ( CreateTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateTargetGroup operation.

BeginDeleteListener ( DeleteListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteListener operation.

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

Initiates the asynchronous execution of the DeleteLoadBalancer operation.

BeginDeleteRule ( DeleteRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRule operation.

BeginDeleteTargetGroup ( DeleteTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteTargetGroup operation.

BeginDeregisterTargets ( DeregisterTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeregisterTargets operation.

BeginDescribeListeners ( DescribeListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeListeners operation.

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

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.

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

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

BeginDescribeRules ( DescribeRulesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeRules operation.

BeginDescribeSSLPolicies ( DescribeSSLPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeSSLPolicies operation.

BeginDescribeTags ( DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTags operation.

BeginDescribeTargetGroupAttributes ( DescribeTargetGroupAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTargetGroupAttributes operation.

BeginDescribeTargetGroups ( DescribeTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTargetGroups operation.

BeginDescribeTargetHealth ( DescribeTargetHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTargetHealth operation.

BeginModifyListener ( ModifyListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ModifyListener operation.

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

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.

BeginModifyRule ( ModifyRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ModifyRule operation.

BeginModifyTargetGroup ( ModifyTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ModifyTargetGroup operation.

BeginModifyTargetGroupAttributes ( ModifyTargetGroupAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ModifyTargetGroupAttributes operation.

BeginRegisterTargets ( RegisterTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RegisterTargets operation.

BeginRemoveTags ( RemoveTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RemoveTags operation.

BeginSetRulePriorities ( SetRulePrioritiesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetRulePriorities operation.

BeginSetSecurityGroups ( SetSecurityGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetSecurityGroups operation.

BeginSetSubnets ( SetSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetSubnets operation.

CreateListener ( CreateListenerRequest request ) : CreateListenerResponse

Creates a listener for the specified Application Load Balancer.

You can create up to 10 listeners per load balancer.

To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.

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

CreateListenerAsync ( CreateListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateListener operation.

CreateLoadBalancer ( CreateLoadBalancerRequest request ) : CreateLoadBalancerResponse

Creates an Application Load Balancer.

To create listeners for your load balancer, use CreateListener. You can add security groups, subnets, and tags when you create your load balancer, or you can add them later using SetSecurityGroups, SetSubnets, 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 Application Load Balancer in the Application Load Balancers Guide.

For more information, see Application Load Balancers in the Application Load Balancers Guide.

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

Initiates the asynchronous execution of the CreateLoadBalancer operation.

CreateRule ( CreateRuleRequest request ) : CreateRuleResponse

Creates a rule for the specified listener.

Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide.

To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.

CreateRuleAsync ( CreateRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateRule operation.

CreateTargetGroup ( CreateTargetGroupRequest request ) : CreateTargetGroupResponse

Creates a target group.

To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth.

To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule.

To delete a target group, use DeleteTargetGroup.

For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide.

CreateTargetGroupAsync ( CreateTargetGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateTargetGroup operation.

DeleteListener ( DeleteListenerRequest request ) : DeleteListenerResponse

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer.

DeleteListenerAsync ( DeleteListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteListener operation.

DeleteLoadBalancer ( DeleteLoadBalancerRequest request ) : DeleteLoadBalancerResponse

Deletes the specified Application Load Balancer and its attached listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

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

Initiates the asynchronous execution of the DeleteLoadBalancer operation.

DeleteRule ( DeleteRuleRequest request ) : DeleteRuleResponse

Deletes the specified rule.

DeleteRuleAsync ( DeleteRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRule operation.

DeleteTargetGroup ( DeleteTargetGroupRequest request ) : DeleteTargetGroupResponse

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.

DeleteTargetGroupAsync ( DeleteTargetGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteTargetGroup operation.

DeregisterTargets ( DeregisterTargetsRequest request ) : DeregisterTargetsResponse

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

DeregisterTargetsAsync ( DeregisterTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeregisterTargets operation.

DescribeListeners ( DescribeListenersRequest request ) : DescribeListenersResponse

Describes the specified listeners or the listeners for the specified Application Load Balancer. You must specify either a load balancer or one or more listeners.

DescribeListenersAsync ( DescribeListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeListeners operation.

DescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) : DescribeLoadBalancerAttributesResponse

Describes the attributes for the specified Application Load Balancer.

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

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.

DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse

Describes the specified Application Load Balancers or all of your Application Load Balancers.

To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.

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

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

DescribeRules ( DescribeRulesRequest request ) : DescribeRulesResponse

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

DescribeRulesAsync ( DescribeRulesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeRules operation.

DescribeSSLPolicies ( DescribeSSLPoliciesRequest request ) : DescribeSSLPoliciesResponse

Describes the specified policies or all policies used for SSL negotiation.

Note that the only supported policy at this time is ELBSecurityPolicy-2015-05.

DescribeSSLPoliciesAsync ( DescribeSSLPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeSSLPolicies operation.

DescribeTags ( DescribeTagsRequest request ) : DescribeTagsResponse

Describes the tags for the specified resources.

DescribeTagsAsync ( DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTags operation.

DescribeTargetGroupAttributes ( DescribeTargetGroupAttributesRequest request ) : DescribeTargetGroupAttributesResponse

Describes the attributes for the specified target group.

DescribeTargetGroupAttributesAsync ( DescribeTargetGroupAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTargetGroupAttributes operation.

DescribeTargetGroups ( DescribeTargetGroupsRequest request ) : DescribeTargetGroupsResponse

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.

DescribeTargetGroupsAsync ( DescribeTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTargetGroups operation.

DescribeTargetHealth ( DescribeTargetHealthRequest request ) : DescribeTargetHealthResponse

Describes the health of the specified targets or all of your targets.

DescribeTargetHealthAsync ( DescribeTargetHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTargetHealth operation.

EndAddTags ( IAsyncResult asyncResult ) : AddTagsResponse

Finishes the asynchronous execution of the AddTags operation.

EndCreateListener ( IAsyncResult asyncResult ) : CreateListenerResponse

Finishes the asynchronous execution of the CreateListener operation.

EndCreateLoadBalancer ( IAsyncResult asyncResult ) : CreateLoadBalancerResponse

Finishes the asynchronous execution of the CreateLoadBalancer operation.

EndCreateRule ( IAsyncResult asyncResult ) : CreateRuleResponse

Finishes the asynchronous execution of the CreateRule operation.

EndCreateTargetGroup ( IAsyncResult asyncResult ) : CreateTargetGroupResponse

Finishes the asynchronous execution of the CreateTargetGroup operation.

EndDeleteListener ( IAsyncResult asyncResult ) : DeleteListenerResponse

Finishes the asynchronous execution of the DeleteListener operation.

EndDeleteLoadBalancer ( IAsyncResult asyncResult ) : DeleteLoadBalancerResponse

Finishes the asynchronous execution of the DeleteLoadBalancer operation.

EndDeleteRule ( IAsyncResult asyncResult ) : DeleteRuleResponse

Finishes the asynchronous execution of the DeleteRule operation.

EndDeleteTargetGroup ( IAsyncResult asyncResult ) : DeleteTargetGroupResponse

Finishes the asynchronous execution of the DeleteTargetGroup operation.

EndDeregisterTargets ( IAsyncResult asyncResult ) : DeregisterTargetsResponse

Finishes the asynchronous execution of the DeregisterTargets operation.

EndDescribeListeners ( IAsyncResult asyncResult ) : DescribeListenersResponse

Finishes the asynchronous execution of the DescribeListeners operation.

EndDescribeLoadBalancerAttributes ( IAsyncResult asyncResult ) : DescribeLoadBalancerAttributesResponse

Finishes the asynchronous execution of the DescribeLoadBalancerAttributes operation.

EndDescribeLoadBalancers ( IAsyncResult asyncResult ) : DescribeLoadBalancersResponse

Finishes the asynchronous execution of the DescribeLoadBalancers operation.

EndDescribeRules ( IAsyncResult asyncResult ) : DescribeRulesResponse

Finishes the asynchronous execution of the DescribeRules operation.

EndDescribeSSLPolicies ( IAsyncResult asyncResult ) : DescribeSSLPoliciesResponse

Finishes the asynchronous execution of the DescribeSSLPolicies operation.

EndDescribeTags ( IAsyncResult asyncResult ) : DescribeTagsResponse

Finishes the asynchronous execution of the DescribeTags operation.

EndDescribeTargetGroupAttributes ( IAsyncResult asyncResult ) : DescribeTargetGroupAttributesResponse

Finishes the asynchronous execution of the DescribeTargetGroupAttributes operation.

EndDescribeTargetGroups ( IAsyncResult asyncResult ) : DescribeTargetGroupsResponse

Finishes the asynchronous execution of the DescribeTargetGroups operation.

EndDescribeTargetHealth ( IAsyncResult asyncResult ) : DescribeTargetHealthResponse

Finishes the asynchronous execution of the DescribeTargetHealth operation.

EndModifyListener ( IAsyncResult asyncResult ) : ModifyListenerResponse

Finishes the asynchronous execution of the ModifyListener operation.

EndModifyLoadBalancerAttributes ( IAsyncResult asyncResult ) : ModifyLoadBalancerAttributesResponse

Finishes the asynchronous execution of the ModifyLoadBalancerAttributes operation.

EndModifyRule ( IAsyncResult asyncResult ) : ModifyRuleResponse

Finishes the asynchronous execution of the ModifyRule operation.

EndModifyTargetGroup ( IAsyncResult asyncResult ) : ModifyTargetGroupResponse

Finishes the asynchronous execution of the ModifyTargetGroup operation.

EndModifyTargetGroupAttributes ( IAsyncResult asyncResult ) : ModifyTargetGroupAttributesResponse

Finishes the asynchronous execution of the ModifyTargetGroupAttributes operation.

EndRegisterTargets ( IAsyncResult asyncResult ) : RegisterTargetsResponse

Finishes the asynchronous execution of the RegisterTargets operation.

EndRemoveTags ( IAsyncResult asyncResult ) : RemoveTagsResponse

Finishes the asynchronous execution of the RemoveTags operation.

EndSetRulePriorities ( IAsyncResult asyncResult ) : SetRulePrioritiesResponse

Finishes the asynchronous execution of the SetRulePriorities operation.

EndSetSecurityGroups ( IAsyncResult asyncResult ) : SetSecurityGroupsResponse

Finishes the asynchronous execution of the SetSecurityGroups operation.

EndSetSubnets ( IAsyncResult asyncResult ) : SetSubnetsResponse

Finishes the asynchronous execution of the SetSubnets operation.

ModifyListener ( ModifyListenerRequest request ) : ModifyListenerResponse

Modifies the specified properties of the specified listener.

Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy.

ModifyListenerAsync ( ModifyListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ModifyListener operation.

ModifyLoadBalancerAttributes ( ModifyLoadBalancerAttributesRequest request ) : ModifyLoadBalancerAttributesResponse

Modifies the specified attributes of the specified Application Load Balancer.

If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.

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

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.

ModifyRule ( ModifyRuleRequest request ) : ModifyRuleResponse

Modifies the specified rule.

Any existing properties that you do not modify retain their current values.

To modify the default action, use ModifyListener.

ModifyRuleAsync ( ModifyRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ModifyRule operation.

ModifyTargetGroup ( ModifyTargetGroupRequest request ) : ModifyTargetGroupResponse

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

To monitor the health of the targets, use DescribeTargetHealth.

ModifyTargetGroupAsync ( ModifyTargetGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ModifyTargetGroup operation.

ModifyTargetGroupAttributes ( ModifyTargetGroupAttributesRequest request ) : ModifyTargetGroupAttributesResponse

Modifies the specified attributes of the specified target group.

ModifyTargetGroupAttributesAsync ( ModifyTargetGroupAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ModifyTargetGroupAttributes operation.

RegisterTargets ( RegisterTargetsRequest request ) : RegisterTargetsResponse

Registers the specified targets with the specified target group.

By default, the load balancer routes requests to registered targets using the protocol and port number for the target group. Alternatively, you can override the port for a target when you register it.

The target must be in the virtual private cloud (VPC) that you specified for the target group. If the target is an EC2 instance, it can't be in the stopped or running state when you register it.

To remove a target from a target group, use DeregisterTargets.

RegisterTargetsAsync ( RegisterTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RegisterTargets operation.

RemoveTags ( RemoveTagsRequest request ) : RemoveTagsResponse

Removes the specified tags from the specified resource.

To list the current tags for your resources, use DescribeTags.

RemoveTagsAsync ( RemoveTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RemoveTags operation.

SetRulePriorities ( SetRulePrioritiesRequest request ) : SetRulePrioritiesResponse

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

SetRulePrioritiesAsync ( SetRulePrioritiesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetRulePriorities operation.

SetSecurityGroups ( SetSecurityGroupsRequest request ) : SetSecurityGroupsResponse

Associates the specified security groups with the specified load balancer. The specified security groups override the previously associated security groups.

SetSecurityGroupsAsync ( SetSecurityGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetSecurityGroups operation.

SetSubnets ( SetSubnetsRequest request ) : SetSubnetsResponse

Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.

SetSubnetsAsync ( SetSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetSubnets operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AddTags() public method

Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags.

/// A tag key was specified more than once. /// /// The specified load balancer does not exist. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of tags per load balancer. ///
public AddTags ( AddTagsRequest request ) : AddTagsResponse
request Amazon.ElasticLoadBalancingV2.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags service method.
return AddTagsResponse

AddTagsAsync() public method

Initiates the asynchronous execution of the AddTags operation.
public AddTagsAsync ( AddTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client 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 AmazonElasticLoadBalancingV2Client ( ) : System
return System

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client 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 AmazonElasticLoadBalancingV2Client ( AmazonElasticLoadBalancingV2Config config ) : System
config AmazonElasticLoadBalancingV2Config The AmazonElasticLoadBalancingV2Client Configuration Object
return System

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client 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 AmazonElasticLoadBalancingV2Client ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingV2Client ( 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

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingV2Client ( 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

AmazonElasticLoadBalancingV2Client() public method

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

AmazonElasticLoadBalancingV2Client() public method

Constructs AmazonElasticLoadBalancingV2Client with AWS Access Key ID and AWS Secret Key
public AmazonElasticLoadBalancingV2Client ( 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

BeginAddTags() public method

Initiates the asynchronous execution of the AddTags operation.
public BeginAddTags ( AddTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags operation on AmazonElasticLoadBalancingV2Client.
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

BeginCreateListener() public method

Initiates the asynchronous execution of the CreateListener operation.
public BeginCreateListener ( CreateListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.CreateListenerRequest Container for the necessary parameters to execute the CreateListener operation on AmazonElasticLoadBalancingV2Client.
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.ElasticLoadBalancingV2.Model.CreateLoadBalancerRequest Container for the necessary parameters to execute the CreateLoadBalancer operation on AmazonElasticLoadBalancingV2Client.
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

BeginCreateRule() public method

Initiates the asynchronous execution of the CreateRule operation.
public BeginCreateRule ( CreateRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.CreateRuleRequest Container for the necessary parameters to execute the CreateRule operation on AmazonElasticLoadBalancingV2Client.
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

BeginCreateTargetGroup() public method

Initiates the asynchronous execution of the CreateTargetGroup operation.
public BeginCreateTargetGroup ( CreateTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.CreateTargetGroupRequest Container for the necessary parameters to execute the CreateTargetGroup operation on AmazonElasticLoadBalancingV2Client.
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

BeginDeleteListener() public method

Initiates the asynchronous execution of the DeleteListener operation.
public BeginDeleteListener ( DeleteListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DeleteListenerRequest Container for the necessary parameters to execute the DeleteListener operation on AmazonElasticLoadBalancingV2Client.
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.ElasticLoadBalancingV2.Model.DeleteLoadBalancerRequest Container for the necessary parameters to execute the DeleteLoadBalancer operation on AmazonElasticLoadBalancingV2Client.
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

BeginDeleteRule() public method

Initiates the asynchronous execution of the DeleteRule operation.
public BeginDeleteRule ( DeleteRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DeleteRuleRequest Container for the necessary parameters to execute the DeleteRule operation on AmazonElasticLoadBalancingV2Client.
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

BeginDeleteTargetGroup() public method

Initiates the asynchronous execution of the DeleteTargetGroup operation.
public BeginDeleteTargetGroup ( DeleteTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DeleteTargetGroupRequest Container for the necessary parameters to execute the DeleteTargetGroup operation on AmazonElasticLoadBalancingV2Client.
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

BeginDeregisterTargets() public method

Initiates the asynchronous execution of the DeregisterTargets operation.
public BeginDeregisterTargets ( DeregisterTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DeregisterTargetsRequest Container for the necessary parameters to execute the DeregisterTargets operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeListeners() public method

Initiates the asynchronous execution of the DescribeListeners operation.
public BeginDescribeListeners ( DescribeListenersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeListenersRequest Container for the necessary parameters to execute the DescribeListeners operation on AmazonElasticLoadBalancingV2Client.
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 DescribeLoadBalancerAttributesRequest Container for the necessary parameters to execute the DescribeLoadBalancerAttributes operation on AmazonElasticLoadBalancingV2Client.
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.ElasticLoadBalancingV2.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeRules() public method

Initiates the asynchronous execution of the DescribeRules operation.
public BeginDescribeRules ( DescribeRulesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeRulesRequest Container for the necessary parameters to execute the DescribeRules operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeSSLPolicies() public method

Initiates the asynchronous execution of the DescribeSSLPolicies operation.
public BeginDescribeSSLPolicies ( DescribeSSLPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeSSLPoliciesRequest Container for the necessary parameters to execute the DescribeSSLPolicies operation on AmazonElasticLoadBalancingV2Client.
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 ( DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeTargetGroupAttributes() public method

Initiates the asynchronous execution of the DescribeTargetGroupAttributes operation.
public BeginDescribeTargetGroupAttributes ( DescribeTargetGroupAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupAttributesRequest Container for the necessary parameters to execute the DescribeTargetGroupAttributes operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeTargetGroups() public method

Initiates the asynchronous execution of the DescribeTargetGroups operation.
public BeginDescribeTargetGroups ( DescribeTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsRequest Container for the necessary parameters to execute the DescribeTargetGroups operation on AmazonElasticLoadBalancingV2Client.
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

BeginDescribeTargetHealth() public method

Initiates the asynchronous execution of the DescribeTargetHealth operation.
public BeginDescribeTargetHealth ( DescribeTargetHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetHealthRequest Container for the necessary parameters to execute the DescribeTargetHealth operation on AmazonElasticLoadBalancingV2Client.
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

BeginModifyListener() public method

Initiates the asynchronous execution of the ModifyListener operation.
public BeginModifyListener ( ModifyListenerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.ModifyListenerRequest Container for the necessary parameters to execute the ModifyListener operation on AmazonElasticLoadBalancingV2Client.
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.ElasticLoadBalancingV2.Model.ModifyLoadBalancerAttributesRequest Container for the necessary parameters to execute the ModifyLoadBalancerAttributes operation on AmazonElasticLoadBalancingV2Client.
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

BeginModifyRule() public method

Initiates the asynchronous execution of the ModifyRule operation.
public BeginModifyRule ( ModifyRuleRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.ModifyRuleRequest Container for the necessary parameters to execute the ModifyRule operation on AmazonElasticLoadBalancingV2Client.
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

BeginModifyTargetGroup() public method

Initiates the asynchronous execution of the ModifyTargetGroup operation.
public BeginModifyTargetGroup ( ModifyTargetGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupRequest Container for the necessary parameters to execute the ModifyTargetGroup operation on AmazonElasticLoadBalancingV2Client.
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

BeginModifyTargetGroupAttributes() public method

Initiates the asynchronous execution of the ModifyTargetGroupAttributes operation.
public BeginModifyTargetGroupAttributes ( ModifyTargetGroupAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupAttributesRequest Container for the necessary parameters to execute the ModifyTargetGroupAttributes operation on AmazonElasticLoadBalancingV2Client.
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

BeginRegisterTargets() public method

Initiates the asynchronous execution of the RegisterTargets operation.
public BeginRegisterTargets ( RegisterTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.RegisterTargetsRequest Container for the necessary parameters to execute the RegisterTargets operation on AmazonElasticLoadBalancingV2Client.
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 ( RemoveTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.RemoveTagsRequest Container for the necessary parameters to execute the RemoveTags operation on AmazonElasticLoadBalancingV2Client.
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

BeginSetRulePriorities() public method

Initiates the asynchronous execution of the SetRulePriorities operation.
public BeginSetRulePriorities ( SetRulePrioritiesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.SetRulePrioritiesRequest Container for the necessary parameters to execute the SetRulePriorities operation on AmazonElasticLoadBalancingV2Client.
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

BeginSetSecurityGroups() public method

Initiates the asynchronous execution of the SetSecurityGroups operation.
public BeginSetSecurityGroups ( SetSecurityGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.SetSecurityGroupsRequest Container for the necessary parameters to execute the SetSecurityGroups operation on AmazonElasticLoadBalancingV2Client.
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

BeginSetSubnets() public method

Initiates the asynchronous execution of the SetSubnets operation.
public BeginSetSubnets ( SetSubnetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ElasticLoadBalancingV2.Model.SetSubnetsRequest Container for the necessary parameters to execute the SetSubnets operation on AmazonElasticLoadBalancingV2Client.
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

CreateListener() public method

Creates a listener for the specified Application Load Balancer.

You can create up to 10 listeners per load balancer.

To update a listener, use ModifyListener. When you are finished with a listener, you can delete it using DeleteListener. If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.

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

/// The specified certificate does not exist. /// /// A listener with the specified port already exists. /// /// The specified configuration is not valid with this protocol. /// /// The requested configuration is not valid. /// /// The specified load balancer does not exist. /// /// The specified SSL policy does not exist. /// /// You've reached the limit on the number of load balancers per target group. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of certificates per listener. /// /// You've reached the limit on the number of listeners per load balancer. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. /// /// The specified protocol is not supported. ///
public CreateListener ( CreateListenerRequest request ) : CreateListenerResponse
request Amazon.ElasticLoadBalancingV2.Model.CreateListenerRequest Container for the necessary parameters to execute the CreateListener service method.
return Amazon.ElasticLoadBalancingV2.Model.CreateListenerResponse

CreateListenerAsync() public method

Initiates the asynchronous execution of the CreateListener operation.
public CreateListenerAsync ( CreateListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.CreateListenerRequest Container for the necessary parameters to execute the CreateListener 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 an Application Load Balancer.

To create listeners for your load balancer, use CreateListener. You can add security groups, subnets, and tags when you create your load balancer, or you can add them later using SetSecurityGroups, SetSubnets, 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 Application Load Balancer in the Application Load Balancers Guide.

For more information, see Application Load Balancers in the Application Load Balancers Guide.

/// A load balancer with the specified name already exists for this account. /// /// A tag key was specified more than once. /// /// The requested configuration is not valid. /// /// The requested scheme is not valid. /// /// The specified security group does not exist. /// /// The specified subnet is out of available addresses. /// /// The specified subnet does not exist. /// /// You've reached the limit on the number of load balancers for your AWS account. /// /// You've reached the limit on the number of tags per load balancer. ///
public CreateLoadBalancer ( CreateLoadBalancerRequest request ) : CreateLoadBalancerResponse
request Amazon.ElasticLoadBalancingV2.Model.CreateLoadBalancerRequest Container for the necessary parameters to execute the CreateLoadBalancer service method.
return Amazon.ElasticLoadBalancingV2.Model.CreateLoadBalancerResponse

CreateLoadBalancerAsync() public method

Initiates the asynchronous execution of the CreateLoadBalancer operation.
public CreateLoadBalancerAsync ( CreateLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

CreateRule() public method

Creates a rule for the specified listener.

Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide.

To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.

/// The requested configuration is not valid. /// /// The specified listener does not exist. /// /// The specified priority is in use. /// /// You've reached the limit on the number of load balancers per target group. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. /// /// You've reached the limit on the number of rules per load balancer. /// /// You've reached the limit on the number of target groups for your AWS account. ///
public CreateRule ( CreateRuleRequest request ) : CreateRuleResponse
request Amazon.ElasticLoadBalancingV2.Model.CreateRuleRequest Container for the necessary parameters to execute the CreateRule service method.
return Amazon.ElasticLoadBalancingV2.Model.CreateRuleResponse

CreateRuleAsync() public method

Initiates the asynchronous execution of the CreateRule operation.
public CreateRuleAsync ( CreateRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.CreateRuleRequest Container for the necessary parameters to execute the CreateRule 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

CreateTargetGroup() public method

Creates a target group.

To register targets with the target group, use RegisterTargets. To update the health check settings for the target group, use ModifyTargetGroup. To monitor the health of targets in the target group, use DescribeTargetHealth.

To route traffic to the targets in a target group, specify the target group in an action using CreateListener or CreateRule.

To delete a target group, use DeleteTargetGroup.

For more information, see Target Groups for Your Application Load Balancers in the Application Load Balancers Guide.

/// A target group with the specified name already exists. /// /// You've reached the limit on the number of target groups for your AWS account. ///
public CreateTargetGroup ( CreateTargetGroupRequest request ) : CreateTargetGroupResponse
request Amazon.ElasticLoadBalancingV2.Model.CreateTargetGroupRequest Container for the necessary parameters to execute the CreateTargetGroup service method.
return Amazon.ElasticLoadBalancingV2.Model.CreateTargetGroupResponse

CreateTargetGroupAsync() public method

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

DeleteListener() public method

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer it is attached to using DeleteLoadBalancer.

/// The specified listener does not exist. ///
public DeleteListener ( DeleteListenerRequest request ) : DeleteListenerResponse
request Amazon.ElasticLoadBalancingV2.Model.DeleteListenerRequest Container for the necessary parameters to execute the DeleteListener service method.
return DeleteListenerResponse

DeleteListenerAsync() public method

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

DeleteLoadBalancer() public method

Deletes the specified Application Load Balancer and its attached listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

/// The specified load balancer does not exist. /// /// This operation is not allowed. ///
public DeleteLoadBalancer ( DeleteLoadBalancerRequest request ) : DeleteLoadBalancerResponse
request Amazon.ElasticLoadBalancingV2.Model.DeleteLoadBalancerRequest Container for the necessary parameters to execute the DeleteLoadBalancer service method.
return DeleteLoadBalancerResponse

DeleteLoadBalancerAsync() public method

Initiates the asynchronous execution of the DeleteLoadBalancer operation.
public DeleteLoadBalancerAsync ( DeleteLoadBalancerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

DeleteRule() public method

Deletes the specified rule.
/// This operation is not allowed. /// /// The specified rule does not exist. ///
public DeleteRule ( DeleteRuleRequest request ) : DeleteRuleResponse
request Amazon.ElasticLoadBalancingV2.Model.DeleteRuleRequest Container for the necessary parameters to execute the DeleteRule service method.
return DeleteRuleResponse

DeleteRuleAsync() public method

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

DeleteTargetGroup() public method

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.

/// A specified resource is in use. ///
public DeleteTargetGroup ( DeleteTargetGroupRequest request ) : DeleteTargetGroupResponse
request Amazon.ElasticLoadBalancingV2.Model.DeleteTargetGroupRequest Container for the necessary parameters to execute the DeleteTargetGroup service method.
return DeleteTargetGroupResponse

DeleteTargetGroupAsync() public method

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

DeregisterTargets() public method

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
/// The specified target does not exist or is not in the same VPC as the target group. /// /// The specified target group does not exist. ///
public DeregisterTargets ( DeregisterTargetsRequest request ) : DeregisterTargetsResponse
request Amazon.ElasticLoadBalancingV2.Model.DeregisterTargetsRequest Container for the necessary parameters to execute the DeregisterTargets service method.
return DeregisterTargetsResponse

DeregisterTargetsAsync() public method

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

DescribeListeners() public method

Describes the specified listeners or the listeners for the specified Application Load Balancer. You must specify either a load balancer or one or more listeners.
/// The specified listener does not exist. /// /// The specified load balancer does not exist. ///
public DescribeListeners ( DescribeListenersRequest request ) : DescribeListenersResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeListenersRequest Container for the necessary parameters to execute the DescribeListeners service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeListenersResponse

DescribeListenersAsync() public method

Initiates the asynchronous execution of the DescribeListeners operation.
public DescribeListenersAsync ( DescribeListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.DescribeListenersRequest Container for the necessary parameters to execute the DescribeListeners 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 Application Load Balancer.
/// The specified load balancer does not exist. ///
public DescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) : DescribeLoadBalancerAttributesResponse
request DescribeLoadBalancerAttributesRequest Container for the necessary parameters to execute the DescribeLoadBalancerAttributes service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeLoadBalancerAttributesResponse

DescribeLoadBalancerAttributesAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancerAttributes operation.
public DescribeLoadBalancerAttributesAsync ( DescribeLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request 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

DescribeLoadBalancers() public method

Describes the specified Application Load Balancers or all of your Application Load Balancers.

To describe the listeners for a load balancer, use DescribeListeners. To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.

/// The specified load balancer does not exist. ///
public DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeLoadBalancersResponse

DescribeLoadBalancersAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

DescribeRules() public method

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
/// The specified listener does not exist. /// /// The specified rule does not exist. ///
public DescribeRules ( DescribeRulesRequest request ) : DescribeRulesResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeRulesRequest Container for the necessary parameters to execute the DescribeRules service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeRulesResponse

DescribeRulesAsync() public method

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

DescribeSSLPolicies() public method

Describes the specified policies or all policies used for SSL negotiation.

Note that the only supported policy at this time is ELBSecurityPolicy-2015-05.

/// The specified SSL policy does not exist. ///
public DescribeSSLPolicies ( DescribeSSLPoliciesRequest request ) : DescribeSSLPoliciesResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeSSLPoliciesRequest Container for the necessary parameters to execute the DescribeSSLPolicies service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeSSLPoliciesResponse

DescribeSSLPoliciesAsync() public method

Initiates the asynchronous execution of the DescribeSSLPolicies operation.
public DescribeSSLPoliciesAsync ( DescribeSSLPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.DescribeSSLPoliciesRequest Container for the necessary parameters to execute the DescribeSSLPolicies operation.
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 for the specified resources.
/// The specified listener does not exist. /// /// The specified load balancer does not exist. /// /// The specified rule does not exist. /// /// The specified target group does not exist. ///
public DescribeTags ( DescribeTagsRequest request ) : DescribeTagsResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTagsResponse

DescribeTagsAsync() public method

Initiates the asynchronous execution of the DescribeTags operation.
public DescribeTagsAsync ( DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

DescribeTargetGroupAttributes() public method

Describes the attributes for the specified target group.
/// The specified target group does not exist. ///
public DescribeTargetGroupAttributes ( DescribeTargetGroupAttributesRequest request ) : DescribeTargetGroupAttributesResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupAttributesRequest Container for the necessary parameters to execute the DescribeTargetGroupAttributes service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupAttributesResponse

DescribeTargetGroupAttributesAsync() public method

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

DescribeTargetGroups() public method

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.

/// The specified load balancer does not exist. /// /// The specified target group does not exist. ///
public DescribeTargetGroups ( DescribeTargetGroupsRequest request ) : DescribeTargetGroupsResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsRequest Container for the necessary parameters to execute the DescribeTargetGroups service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsResponse

DescribeTargetGroupsAsync() public method

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

DescribeTargetHealth() public method

Describes the health of the specified targets or all of your targets.
/// The health of the specified targets could not be retrieved due to an internal error. /// /// The specified target does not exist or is not in the same VPC as the target group. /// /// The specified target group does not exist. ///
public DescribeTargetHealth ( DescribeTargetHealthRequest request ) : DescribeTargetHealthResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetHealthRequest Container for the necessary parameters to execute the DescribeTargetHealth service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetHealthResponse

DescribeTargetHealthAsync() public method

Initiates the asynchronous execution of the DescribeTargetHealth operation.
public DescribeTargetHealthAsync ( DescribeTargetHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetHealthRequest Container for the necessary parameters to execute the DescribeTargetHealth 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

EndAddTags() public method

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

EndCreateListener() public method

Finishes the asynchronous execution of the CreateListener operation.
public EndCreateListener ( IAsyncResult asyncResult ) : CreateListenerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateListener.
return Amazon.ElasticLoadBalancingV2.Model.CreateListenerResponse

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.ElasticLoadBalancingV2.Model.CreateLoadBalancerResponse

EndCreateRule() public method

Finishes the asynchronous execution of the CreateRule operation.
public EndCreateRule ( IAsyncResult asyncResult ) : CreateRuleResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateRule.
return Amazon.ElasticLoadBalancingV2.Model.CreateRuleResponse

EndCreateTargetGroup() public method

Finishes the asynchronous execution of the CreateTargetGroup operation.
public EndCreateTargetGroup ( IAsyncResult asyncResult ) : CreateTargetGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateTargetGroup.
return Amazon.ElasticLoadBalancingV2.Model.CreateTargetGroupResponse

EndDeleteListener() public method

Finishes the asynchronous execution of the DeleteListener operation.
public EndDeleteListener ( IAsyncResult asyncResult ) : DeleteListenerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteListener.
return DeleteListenerResponse

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 DeleteLoadBalancerResponse

EndDeleteRule() public method

Finishes the asynchronous execution of the DeleteRule operation.
public EndDeleteRule ( IAsyncResult asyncResult ) : DeleteRuleResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRule.
return DeleteRuleResponse

EndDeleteTargetGroup() public method

Finishes the asynchronous execution of the DeleteTargetGroup operation.
public EndDeleteTargetGroup ( IAsyncResult asyncResult ) : DeleteTargetGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteTargetGroup.
return DeleteTargetGroupResponse

EndDeregisterTargets() public method

Finishes the asynchronous execution of the DeregisterTargets operation.
public EndDeregisterTargets ( IAsyncResult asyncResult ) : DeregisterTargetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeregisterTargets.
return DeregisterTargetsResponse

EndDescribeListeners() public method

Finishes the asynchronous execution of the DescribeListeners operation.
public EndDescribeListeners ( IAsyncResult asyncResult ) : DescribeListenersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeListeners.
return Amazon.ElasticLoadBalancingV2.Model.DescribeListenersResponse

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.ElasticLoadBalancingV2.Model.DescribeLoadBalancerAttributesResponse

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.ElasticLoadBalancingV2.Model.DescribeLoadBalancersResponse

EndDescribeRules() public method

Finishes the asynchronous execution of the DescribeRules operation.
public EndDescribeRules ( IAsyncResult asyncResult ) : DescribeRulesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeRules.
return Amazon.ElasticLoadBalancingV2.Model.DescribeRulesResponse

EndDescribeSSLPolicies() public method

Finishes the asynchronous execution of the DescribeSSLPolicies operation.
public EndDescribeSSLPolicies ( IAsyncResult asyncResult ) : DescribeSSLPoliciesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeSSLPolicies.
return Amazon.ElasticLoadBalancingV2.Model.DescribeSSLPoliciesResponse

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.ElasticLoadBalancingV2.Model.DescribeTagsResponse

EndDescribeTargetGroupAttributes() public method

Finishes the asynchronous execution of the DescribeTargetGroupAttributes operation.
public EndDescribeTargetGroupAttributes ( IAsyncResult asyncResult ) : DescribeTargetGroupAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTargetGroupAttributes.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupAttributesResponse

EndDescribeTargetGroups() public method

Finishes the asynchronous execution of the DescribeTargetGroups operation.
public EndDescribeTargetGroups ( IAsyncResult asyncResult ) : DescribeTargetGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTargetGroups.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsResponse

EndDescribeTargetHealth() public method

Finishes the asynchronous execution of the DescribeTargetHealth operation.
public EndDescribeTargetHealth ( IAsyncResult asyncResult ) : DescribeTargetHealthResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTargetHealth.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetHealthResponse

EndModifyListener() public method

Finishes the asynchronous execution of the ModifyListener operation.
public EndModifyListener ( IAsyncResult asyncResult ) : ModifyListenerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginModifyListener.
return Amazon.ElasticLoadBalancingV2.Model.ModifyListenerResponse

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.ElasticLoadBalancingV2.Model.ModifyLoadBalancerAttributesResponse

EndModifyRule() public method

Finishes the asynchronous execution of the ModifyRule operation.
public EndModifyRule ( IAsyncResult asyncResult ) : ModifyRuleResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginModifyRule.
return Amazon.ElasticLoadBalancingV2.Model.ModifyRuleResponse

EndModifyTargetGroup() public method

Finishes the asynchronous execution of the ModifyTargetGroup operation.
public EndModifyTargetGroup ( IAsyncResult asyncResult ) : ModifyTargetGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginModifyTargetGroup.
return Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupResponse

EndModifyTargetGroupAttributes() public method

Finishes the asynchronous execution of the ModifyTargetGroupAttributes operation.
public EndModifyTargetGroupAttributes ( IAsyncResult asyncResult ) : ModifyTargetGroupAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginModifyTargetGroupAttributes.
return Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupAttributesResponse

EndRegisterTargets() public method

Finishes the asynchronous execution of the RegisterTargets operation.
public EndRegisterTargets ( IAsyncResult asyncResult ) : RegisterTargetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRegisterTargets.
return RegisterTargetsResponse

EndRemoveTags() public method

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

EndSetRulePriorities() public method

Finishes the asynchronous execution of the SetRulePriorities operation.
public EndSetRulePriorities ( IAsyncResult asyncResult ) : SetRulePrioritiesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetRulePriorities.
return Amazon.ElasticLoadBalancingV2.Model.SetRulePrioritiesResponse

EndSetSecurityGroups() public method

Finishes the asynchronous execution of the SetSecurityGroups operation.
public EndSetSecurityGroups ( IAsyncResult asyncResult ) : SetSecurityGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetSecurityGroups.
return Amazon.ElasticLoadBalancingV2.Model.SetSecurityGroupsResponse

EndSetSubnets() public method

Finishes the asynchronous execution of the SetSubnets operation.
public EndSetSubnets ( IAsyncResult asyncResult ) : SetSubnetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetSubnets.
return Amazon.ElasticLoadBalancingV2.Model.SetSubnetsResponse

ModifyListener() public method

Modifies the specified properties of the specified listener.

Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy.

/// The specified certificate does not exist. /// /// A listener with the specified port already exists. /// /// The specified configuration is not valid with this protocol. /// /// The requested configuration is not valid. /// /// The specified listener does not exist. /// /// The specified SSL policy does not exist. /// /// You've reached the limit on the number of load balancers per target group. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of certificates per listener. /// /// You've reached the limit on the number of listeners per load balancer. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. /// /// The specified protocol is not supported. ///
public ModifyListener ( ModifyListenerRequest request ) : ModifyListenerResponse
request Amazon.ElasticLoadBalancingV2.Model.ModifyListenerRequest Container for the necessary parameters to execute the ModifyListener service method.
return Amazon.ElasticLoadBalancingV2.Model.ModifyListenerResponse

ModifyListenerAsync() public method

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

ModifyLoadBalancerAttributes() public method

Modifies the specified attributes of the specified Application Load Balancer.

If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.

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

ModifyLoadBalancerAttributesAsync() public method

Initiates the asynchronous execution of the ModifyLoadBalancerAttributes operation.
public ModifyLoadBalancerAttributesAsync ( ModifyLoadBalancerAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

ModifyRule() public method

Modifies the specified rule.

Any existing properties that you do not modify retain their current values.

To modify the default action, use ModifyListener.

/// This operation is not allowed. /// /// The specified rule does not exist. /// /// You've reached the limit on the number of load balancers per target group. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. ///
public ModifyRule ( ModifyRuleRequest request ) : ModifyRuleResponse
request Amazon.ElasticLoadBalancingV2.Model.ModifyRuleRequest Container for the necessary parameters to execute the ModifyRule service method.
return Amazon.ElasticLoadBalancingV2.Model.ModifyRuleResponse

ModifyRuleAsync() public method

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

ModifyTargetGroup() public method

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

To monitor the health of the targets, use DescribeTargetHealth.

/// The specified target group does not exist. ///
public ModifyTargetGroup ( ModifyTargetGroupRequest request ) : ModifyTargetGroupResponse
request Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupRequest Container for the necessary parameters to execute the ModifyTargetGroup service method.
return Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupResponse

ModifyTargetGroupAsync() public method

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

ModifyTargetGroupAttributes() public method

Modifies the specified attributes of the specified target group.
/// The specified target group does not exist. ///
public ModifyTargetGroupAttributes ( ModifyTargetGroupAttributesRequest request ) : ModifyTargetGroupAttributesResponse
request Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupAttributesRequest Container for the necessary parameters to execute the ModifyTargetGroupAttributes service method.
return Amazon.ElasticLoadBalancingV2.Model.ModifyTargetGroupAttributesResponse

ModifyTargetGroupAttributesAsync() public method

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

RegisterTargets() public method

Registers the specified targets with the specified target group.

By default, the load balancer routes requests to registered targets using the protocol and port number for the target group. Alternatively, you can override the port for a target when you register it.

The target must be in the virtual private cloud (VPC) that you specified for the target group. If the target is an EC2 instance, it can't be in the stopped or running state when you register it.

To remove a target from a target group, use DeregisterTargets.

/// The specified target does not exist or is not in the same VPC as the target group. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of times a target can be registered with a /// load balancer. /// /// You've reached the limit on the number of targets. ///
public RegisterTargets ( RegisterTargetsRequest request ) : RegisterTargetsResponse
request Amazon.ElasticLoadBalancingV2.Model.RegisterTargetsRequest Container for the necessary parameters to execute the RegisterTargets service method.
return RegisterTargetsResponse

RegisterTargetsAsync() public method

Initiates the asynchronous execution of the RegisterTargets operation.
public RegisterTargetsAsync ( RegisterTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.RegisterTargetsRequest Container for the necessary parameters to execute the RegisterTargets 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 the specified tags from the specified resource.

To list the current tags for your resources, use DescribeTags.

/// The specified listener does not exist. /// /// The specified load balancer does not exist. /// /// The specified rule does not exist. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of tags per load balancer. ///
public RemoveTags ( RemoveTagsRequest request ) : RemoveTagsResponse
request Amazon.ElasticLoadBalancingV2.Model.RemoveTagsRequest Container for the necessary parameters to execute the RemoveTags service method.
return RemoveTagsResponse

RemoveTagsAsync() public method

Initiates the asynchronous execution of the RemoveTags operation.
public RemoveTagsAsync ( RemoveTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.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

SetRulePriorities() public method

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

/// This operation is not allowed. /// /// The specified priority is in use. /// /// The specified rule does not exist. ///
public SetRulePriorities ( SetRulePrioritiesRequest request ) : SetRulePrioritiesResponse
request Amazon.ElasticLoadBalancingV2.Model.SetRulePrioritiesRequest Container for the necessary parameters to execute the SetRulePriorities service method.
return Amazon.ElasticLoadBalancingV2.Model.SetRulePrioritiesResponse

SetRulePrioritiesAsync() public method

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

SetSecurityGroups() public method

Associates the specified security groups with the specified load balancer. The specified security groups override the previously associated security groups.
/// The requested configuration is not valid. /// /// The specified security group does not exist. /// /// The specified load balancer does not exist. ///
public SetSecurityGroups ( SetSecurityGroupsRequest request ) : SetSecurityGroupsResponse
request Amazon.ElasticLoadBalancingV2.Model.SetSecurityGroupsRequest Container for the necessary parameters to execute the SetSecurityGroups service method.
return Amazon.ElasticLoadBalancingV2.Model.SetSecurityGroupsResponse

SetSecurityGroupsAsync() public method

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

SetSubnets() public method

Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.
/// The requested configuration is not valid. /// /// The specified subnet is out of available addresses. /// /// The specified load balancer does not exist. /// /// The specified subnet does not exist. ///
public SetSubnets ( SetSubnetsRequest request ) : SetSubnetsResponse
request Amazon.ElasticLoadBalancingV2.Model.SetSubnetsRequest Container for the necessary parameters to execute the SetSubnets service method.
return Amazon.ElasticLoadBalancingV2.Model.SetSubnetsResponse

SetSubnetsAsync() public method

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