Share via


IDnsZones.DeleteByIdAsync(String, String, CancellationToken) Method

Definition

Asynchronously delete the zone from Azure, identifying it by its resource ID.

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

Parameters

id
String

The resource ID of the resource to delete.

eTagValue
String

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

cancellationToken
CancellationToken

Returns

Applies to