Exemplo n.º 1
0
 /// <summary>
 /// Checks that the storage account name is valid and is not already in use.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='name'>
 /// The storage account name.
 /// </param>
 public static CheckNameAvailabilityResult CheckNameAvailability(this IStorageAccountsOperations operations, string name)
 {
     return(operations.CheckNameAvailabilityAsync(name).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Checks that account name is valid and is not in use.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='accountName'>
 /// 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>
 public static CheckNameAvailabilityResult CheckNameAvailability(this IStorageAccountsOperations operations, StorageAccountCheckNameAvailabilityParameters accountName)
 {
     return(operations.CheckNameAvailabilityAsync(accountName).GetAwaiter().GetResult());
 }