DiagnosticSettingsOperations.List(String, CancellationToken) Method

Definition

Gets the active diagnostic settings list for the specified resource.

public virtual Azure.Response<Azure.ResourceManager.Insights.Models.DiagnosticSettingsResourceCollection> List (string resourceUri, System.Threading.CancellationToken cancellationToken = default);
abstract member List : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.DiagnosticSettingsResourceCollection>
override this.List : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.DiagnosticSettingsResourceCollection>
Public Overridable Function List (resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DiagnosticSettingsResourceCollection)

Parameters

resourceUri
System.String

The identifier of the resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<DiagnosticSettingsResourceCollection>

Applies to