IDnsZones.DeleteByResourceGroupNameAsync Method

Definition

Asynchronously deletes the zone from Azure, identifying it by its name and its resource group.

public System.Threading.Tasks.Task DeleteByResourceGroupNameAsync (string resourceGroupName, string zoneName, string eTagValue, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByResourceGroupNameAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByResourceGroupNameAsync (resourceGroupName As String, zoneName As String, eTagValue As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

resourceGroupName
System.String

The resource group the resource is part of.

zoneName
System.String

The name of the zone.

eTagValue
System.String

The ETag value to set on IfMatch header for concurrency protection.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to