Udostępnij za pośrednictwem


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
String

The resource group the resource is part of.

zoneName
String

The name of the zone.

eTagValue
String

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

cancellationToken
CancellationToken

Returns

Applies to