ApplicationOperationsExtensions.ActivateApplicationPackageAsync Method (IApplicationOperations, String, String, String, String, ActivateApplicationPackageParameters, CancellationToken)
Activates the specified application package.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
public static Task ActivateApplicationPackageAsync(
this IApplicationOperations operations,
string resourceGroupName,
string accountName,
string id,
string version,
ActivateApplicationPackageParameters parameters,
CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task^ ActivateApplicationPackageAsync(
IApplicationOperations^ operations,
String^ resourceGroupName,
String^ accountName,
String^ id,
String^ version,
ActivateApplicationPackageParameters^ parameters,
CancellationToken cancellationToken = null
)
static member ActivateApplicationPackageAsync :
operations:IApplicationOperations *
resourceGroupName:string *
accountName:string *
id:string *
version:string *
parameters:ActivateApplicationPackageParameters *
cancellationToken:CancellationToken = null -> Task
<ExtensionAttribute>
Public Shared Function ActivateApplicationPackageAsync (
operations As IApplicationOperations,
resourceGroupName As String,
accountName As String,
id As String,
version As String,
parameters As ActivateApplicationPackageParameters,
cancellationToken As CancellationToken
) As Task
Parameters
operations
Type: Microsoft.Azure.Management.Batch.IApplicationOperationsThe operations group for this extension method.
resourceGroupName
Type: System.StringThe name of the resource group that contains the Batch account.
accountName
Type: System.StringThe name of the Batch account.
id
Type: System.StringThe id of the application.
version
Type: System.StringThe version of the application to activate.
parameters
Type: Microsoft.Azure.Management.Batch.Models.ActivateApplicationPackageParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task
See Also
ApplicationOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace
Return to top