ILoadBalancerOperations.DeleteAsync Method

Definition

Delete an internal load balancer from the deployment.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string serviceName, string deploymentName, string loadBalancerName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (serviceName As String, deploymentName As String, loadBalancerName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

serviceName
String

The name of the service.

deploymentName
String

The name of the deployment.

loadBalancerName
String

The name of the load balancer.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to