ApplicationPackageOperationsExtensions.Create Method

Definition

Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the ApplicationPackage needs to be activated using ApplicationPackageActive before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.

public static Microsoft.Azure.Management.Batch.Models.ApplicationPackage Create (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName);
static member Create : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * string -> Microsoft.Azure.Management.Batch.Models.ApplicationPackage
<Extension()>
Public Function Create (operations As IApplicationPackageOperations, resourceGroupName As String, accountName As String, applicationName As String, versionName As String) As ApplicationPackage

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.

Returns

Applies to