ResourceGroupsOperationsExtensions.CheckExistenceAsync(IResourceGroupsOperations, String, CancellationToken) ResourceGroupsOperationsExtensions.CheckExistenceAsync(IResourceGroupsOperations, String, CancellationToken) Method

Definition

Checks whether a resource group exists.

public static System.Threading.Tasks.Task<bool> CheckExistenceAsync (this Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = null);
static member CheckExistenceAsync : Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>

Parameters

operations
IResourceGroupsOperations IResourceGroupsOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group to check. The name is case insensitive.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to