共用方式為


DiagnosticSettingsCategory interface

Interface representing a DiagnosticSettingsCategory.

Methods

get(string, string, DiagnosticSettingsCategoryGetOptionalParams)

Gets the diagnostic settings category for the specified resource.

list(string, DiagnosticSettingsCategoryListOptionalParams)

Lists the diagnostic settings categories for the specified resource.

Method Details

get(string, string, DiagnosticSettingsCategoryGetOptionalParams)

Gets the diagnostic settings category for the specified resource.

function get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryResource>

Parameters

resourceUri

string

The identifier of the resource.

name

string

The name of the diagnostic setting.

options
DiagnosticSettingsCategoryGetOptionalParams

The options parameters.

Returns

list(string, DiagnosticSettingsCategoryListOptionalParams)

Lists the diagnostic settings categories for the specified resource.

function list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): Promise<DiagnosticSettingsCategoryResourceCollection>

Parameters

resourceUri

string

The identifier of the resource.

options
DiagnosticSettingsCategoryListOptionalParams

The options parameters.

Returns