Apps. Delete ByResource Group Async(String, String, Nullable<Boolean>, Nullable<Boolean>, CancellationToken) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a resource from Azure, identifying it by its name and its resource group.
public System.Threading.Tasks.Task DeleteByResourceGroupAsync (string resourceGroupName, string name, bool? deleteMetrics = default, bool? deleteEmptyServerFarm = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByResourceGroupAsync : string * string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByResourceGroupAsync (resourceGroupName As String, name As String, Optional deleteMetrics As Nullable(Of Boolean) = Nothing, Optional deleteEmptyServerFarm As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
the group the resource is part of
the name of the resource
cancellationToken the cancellation token