Пример #1
0
 /// <summary>
 /// Checks whether a resource group exists.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group to check. The name is case insensitive.
 /// </param>
 public static bool CheckExistence(this IResourceGroupsOperations operations, string resourceGroupName)
 {
     return(operations.CheckExistenceAsync(resourceGroupName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Checks whether a resource group exists.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group to check. The name is case insensitive.
 /// </param>
 public static void CheckExistence(this IResourceGroupsOperations operations, string resourceGroupName)
 {
     operations.CheckExistenceAsync(resourceGroupName).GetAwaiter().GetResult();
 }