ApplicationPackageOperationsExtensions.CreateAsync(IApplicationPackageOperations, String, String, String, String, CancellationToken) Method

Definition

Creates an application package record.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.ApplicationPackage> CreateAsync (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationId, string version, System.Threading.CancellationToken cancellationToken = null);
static member CreateAsync : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.ApplicationPackage>

Parameters

operations
IApplicationPackageOperations

The operations group for this extension method.

resourceGroupName
System.String

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

accountName
System.String

The name of the Batch account.

applicationId
System.String

The ID of the application.

version
System.String

The version of the application.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ApplicationPackage>

Applies to