DiagnosticSettingsCategoryOperations.Get Method

Definition

Gets the diagnostic settings category for the specified resource.

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

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

Response<DiagnosticSettingsCategoryResource>

Applies to