Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.DeleteLoadBalancer C# (CSharp) Метод

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

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.
Результат DeleteLoadBalancerResponse
        public DeleteLoadBalancerResponse DeleteLoadBalancer(DeleteLoadBalancerRequest request)
        {
            var marshaller = new DeleteLoadBalancerRequestMarshaller();
            var unmarshaller = DeleteLoadBalancerResponseUnmarshaller.Instance;

            return Invoke<DeleteLoadBalancerRequest,DeleteLoadBalancerResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingV2Client