Share via


ZonesOperationsExtensions.BeginDelete Method

Definition

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

public static void BeginDelete (this Microsoft.Azure.Management.Dns.IZonesOperations operations, string resourceGroupName, string zoneName, string ifMatch = default);
static member BeginDelete : Microsoft.Azure.Management.Dns.IZonesOperations * string * string * string -> unit
<Extension()>
Public Sub BeginDelete (operations As IZonesOperations, resourceGroupName As String, zoneName As String, Optional ifMatch As String = Nothing)

Parameters

operations
IZonesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

zoneName
String

The name of the DNS zone (without a terminating dot).

ifMatch
String

The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.

Applies to