ApplicationPackageOperationsExtensions.Activate Method

Definition

Activates the specified application package. This should be done after the ApplicationPackage was created and uploaded. This needs to be done before an ApplicationPackage can be used on Pools or Tasks.

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

format
String

The format of the application package binary file.

Returns

Applies to