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

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

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

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

/// The specified load balancer does not exist. /// /// A policy with the specified name already exists for this load balancer. /// /// The requested configuration change is not valid. /// /// One or more of the specified policy types do not exist. /// /// The quota for the number of policies for this load balancer has been reached. ///
public CreateLoadBalancerPolicy ( CreateLoadBalancerPolicyRequest request ) : CreateLoadBalancerPolicyResponse
request Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyRequest Container for the necessary parameters to execute the CreateLoadBalancerPolicy service method.
Результат Amazon.ElasticLoadBalancing.Model.CreateLoadBalancerPolicyResponse
        public CreateLoadBalancerPolicyResponse CreateLoadBalancerPolicy(CreateLoadBalancerPolicyRequest request)
        {
            var marshaller = new CreateLoadBalancerPolicyRequestMarshaller();
            var unmarshaller = CreateLoadBalancerPolicyResponseUnmarshaller.Instance;

            return Invoke<CreateLoadBalancerPolicyRequest,CreateLoadBalancerPolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingClient