Delen via


ApplicationPackageOperationsExtensions.ActivateAsync Methode

Definitie

Activeert het opgegeven toepassingspakket. Dit moet worden gedaan nadat de ApplicationPackage is gemaakt en geüpload. Dit moet worden gedaan voordat een ApplicationPackage kan worden gebruikt voor pools of taken.

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

Parameters

operations
IApplicationPackageOperations

De bewerkingsgroep voor deze extensiemethode.

resourceGroupName
String

De naam van de resourcegroep die het Batch-account bevat.

accountName
String

De naam van het Batch-account.

applicationName
String

De naam van de toepassing. Dit moet uniek zijn binnen het account.

versionName
String

De versie van de toepassing.

format
String

De indeling van het binaire bestand van het toepassingspakket.

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Van toepassing op