/// <summary>
 /// Creates the specified Data Lake Store account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group that contains the Data Lake Store
 /// account.
 /// </param>
 /// <param name='name'>
 /// The name of the Data Lake Store account to create.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to create the Data Lake Store account.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DataLakeStoreAccount> CreateAsync(this IAccountOperations operations, string resourceGroupName, string name, DataLakeStoreAccount parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, name, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <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 new 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 <AccountResource> CreateAsync(this IAccountOperations 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);
     }
 }