IApplicationOperations.AddApplicationPackageWithHttpMessagesAsync Method (String, String, String, String, Dictionary<String, List<String>>, CancellationToken)
Creates an application package record.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
Task<AzureOperationResponse<AddApplicationPackageResult>> AddApplicationPackageWithHttpMessagesAsync(
string resourceGroupName,
string accountName,
string applicationId,
string version,
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = null
)
Task<AzureOperationResponse<AddApplicationPackageResult^>^>^ AddApplicationPackageWithHttpMessagesAsync(
String^ resourceGroupName,
String^ accountName,
String^ applicationId,
String^ version,
Dictionary<String^, List<String^>^>^ customHeaders = null,
CancellationToken cancellationToken = null
)
abstract AddApplicationPackageWithHttpMessagesAsync :
resourceGroupName:string *
accountName:string *
applicationId:string *
version:string *
customHeaders:Dictionary<string, List<string>> = null *
cancellationToken:CancellationToken = null -> Task<AzureOperationResponse<AddApplicationPackageResult>>
Function AddApplicationPackageWithHttpMessagesAsync (
resourceGroupName As String,
accountName As String,
applicationId As String,
version As String,
customHeaders As Dictionary(Of String, List(Of String)),
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse(Of AddApplicationPackageResult))
Parameters
resourceGroupName
Type: System.StringThe name of the resource group that contains the Batch account.
accountName
Type: System.StringThe name of the Batch account.
applicationId
Type: System.StringThe id of the application.
version
Type: System.StringThe version of the application.
customHeaders
Type: System.Collections.Generic.Dictionary<String, List<String>>The headers that will be added to the request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse<AddApplicationPackageResult>>
See Also
IApplicationOperations Interface
Microsoft.Azure.Management.Batch Namespace
Return to top