@azure/arm-monitor
Version:
A generated SDK for MonitorClient.
39 lines (36 loc) • 1.27 kB
text/typescript
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import {
DiagnosticSettingsCategoryGetOptionalParams,
DiagnosticSettingsCategoryGetResponse,
DiagnosticSettingsCategoryListOptionalParams,
DiagnosticSettingsCategoryListResponse
} from "../models";
/** Interface representing a DiagnosticSettingsCategory. */
export interface DiagnosticSettingsCategory {
/**
* Gets the diagnostic settings category for the specified resource.
* @param resourceUri The identifier of the resource.
* @param name The name of the diagnostic setting.
* @param options The options parameters.
*/
get(
resourceUri: string,
name: string,
options?: DiagnosticSettingsCategoryGetOptionalParams
): Promise<DiagnosticSettingsCategoryGetResponse>;
/**
* Lists the diagnostic settings categories for the specified resource.
* @param resourceUri The identifier of the resource.
* @param options The options parameters.
*/
list(
resourceUri: string,
options?: DiagnosticSettingsCategoryListOptionalParams
): Promise<DiagnosticSettingsCategoryListResponse>;
}