DiagnosticSettingsOperations.DeleteAsync Method

Definition

Deletes existing diagnostic settings for the specified resource.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (string resourceUri, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (resourceUri As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

resourceUri
System.String

The identifier of the resource.

name
System.String

The name of the diagnostic setting.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response>

Applies to