/// <summary>
 /// Creates a new Batch account with the specified parameters. Existing
 /// accounts cannot be updated with this API and should instead be updated with
 /// the Update Batch Account API.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the Batch account.
 /// </param>
 /// <param name='accountName'>
 /// A name for the Batch account which must be unique within the region. Batch
 /// account names must be between 3 and 24 characters in length and must use
 /// only numbers and lowercase letters. This name is used as part of the DNS
 /// name that is used to access the Batch service in the region in which the
 /// account is created. For example:
 /// http://accountname.region.batch.azure.com/.
 /// </param>
 /// <param name='parameters'>
 /// Additional parameters for account creation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BatchAccount> CreateAsync(this IBatchAccountOperations operations, string resourceGroupName, string accountName, BatchAccountCreateParameters parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }