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
System.String

The group the resource is part of.

parentName
System.String

The name of parent resource.

name
System.String

The name of the resource.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to