Exemple #1
0
 /// <summary>
 /// Asynchronously creates a new storage account with the specified
 /// parameters. Existing accounts cannot be updated with this API and
 /// should instead use the Update Storage Account API. If an account
 /// is already created and subsequent PUT request is issued with exact
 /// same set of properties, then HTTP 200 would be returned.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Storage.IStorageAccountOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group within the user’s
 /// subscription.
 /// </param>
 /// <param name='accountName'>
 /// Required. The name of the storage account within the specified
 /// resource group. Storage account names must be between 3 and 24
 /// characters in length and use numbers and lower-case letters only.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters to provide for the created account.
 /// </param>
 /// <returns>
 /// The Create storage account operation response.
 /// </returns>
 public static Task <StorageAccountCreateResponse> BeginCreateAsync(this IStorageAccountOperations operations, string resourceGroupName, string accountName, StorageAccountCreateParameters parameters)
 {
     return(operations.BeginCreateAsync(resourceGroupName, accountName, parameters, CancellationToken.None));
 }