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

The resource ID of the resource to delete.

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