IResourceGroups.CheckExistenceAsync(String, CancellationToken) Method
Definition
Caution
User ContainAsync() instead.
Checks whether resource group exists.
[System.Obsolete("User ContainAsync() instead.")]
public System.Threading.Tasks.Task<bool> CheckExistenceAsync (string name, System.Threading.CancellationToken cancellationToken = null);
abstract member CheckExistenceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Parameters
- name
- String
name The name of the resource group to check. The name is case insensitive
- cancellationToken
- CancellationToken
Returns
true if the resource group exists; false otherwise
- Attributes