ISupportsDeletingByParent.DeleteByParentAsync Method

Definition

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

public System.Threading.Tasks.Task DeleteByParentAsync (string groupName, string parentName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByParentAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByParentAsync (groupName As String, parentName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

groupName
String

The group the resource is part of.

parentName
String

The name of parent resource.

name
String

The name of the resource.

cancellationToken
CancellationToken

Returns

Applies to