ApplicationGatewaysOperations.StartDeleteAsync(String, String, CancellationToken) Method

Definition

Deletes the specified application gateway.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Network.ApplicationGatewaysDeleteOperation> StartDeleteAsync (string resourceGroupName, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ApplicationGatewaysDeleteOperation>
override this.StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ApplicationGatewaysDeleteOperation>
Public Overridable Function StartDeleteAsync (resourceGroupName As String, applicationGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationGatewaysDeleteOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

applicationGatewayName
System.String

The name of the application gateway.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<ApplicationGatewaysDeleteOperation>

Exceptions

System.ArgumentNullException

resourceGroupName or applicationGatewayName is null.

Applies to