Amazon.ElasticLoadBalancing.AmazonElasticLoadBalancingClient.DescribeLoadBalancerPolicyTypesAsync C# (CSharp) Метод

DescribeLoadBalancerPolicyTypesAsync() публичный Метод

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

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

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

/// One or more of the specified policy types do not exist. ///
public DescribeLoadBalancerPolicyTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DescribeLoadBalancerPolicyTypesResponse> DescribeLoadBalancerPolicyTypesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            return DescribeLoadBalancerPolicyTypesAsync(new DescribeLoadBalancerPolicyTypesRequest(), cancellationToken);
        }

Same methods

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