ISupportsDeletingByResourceGroup.DeleteByResourceGroupAsync(String, String, CancellationToken) Method

Definition

Deletes a resource from Azure, identifying it by its name and its resource group.

public System.Threading.Tasks.Task DeleteByResourceGroupAsync (string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteByResourceGroupAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

resourceGroupName
String

the group the resource is part of

name
String

the name of the resource

cancellationToken
CancellationToken

cancellationToken the cancellation token

Returns

Task

Applies to