LoadBalancerOperationsExtensions.DeleteAsync Method

Definition

Delete an internal load balancer from the deployment.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.Compute.ILoadBalancerOperations operations, string serviceName, string deploymentName, string loadBalancerName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.Compute.ILoadBalancerOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As ILoadBalancerOperations, serviceName As String, deploymentName As String, loadBalancerName As String) As Task(Of AzureOperationResponse)

Parameters

operations
ILoadBalancerOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.ILoadBalancerOperations.

serviceName
String

Required. The name of the service.

deploymentName
String

Required. The name of the deployment.

loadBalancerName
String

Required. The name of the load balancer.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to