ApplicationPackageOperationsExtensions.DeleteAsync Method

Definition

Deletes an application package record and its associated binary file.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IApplicationPackageOperations, resourceGroupName As String, accountName As String, applicationName As String, versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IApplicationPackageOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

applicationName
String

The name of the application. This must be unique within the account.

versionName
String

The version of the application.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to