DiagnosticSettingsCategoryOperations.ListAsync Method

Definition

Lists the diagnostic settings categories for the specified resource.

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

Parameters

resourceUri
System.String

The identifier of the resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<DiagnosticSettingsCategoryResourceCollection>>

Applies to