/// <summary>
 /// Creates an application package record.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Batch.IApplicationOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group that contains the Batch
 /// account.
 /// </param>
 /// <param name='accountName'>
 /// Required. The name of the Batch account.
 /// </param>
 /// <param name='applicationId'>
 /// Required. The id of the application.
 /// </param>
 /// <param name='version'>
 /// Required. The version of the application.
 /// </param>
 /// <returns>
 /// Response to an ApplicationOperations.AddApplicationPackage request.
 /// </returns>
 public static Task <AddApplicationPackageResponse> AddApplicationPackageAsync(this IApplicationOperations operations, string resourceGroupName, string accountName, string applicationId, string version)
 {
     return(operations.AddApplicationPackageAsync(resourceGroupName, accountName, applicationId, version, CancellationToken.None));
 }