@azure/arm-monitor
Version:
A generated SDK for MonitorClient.
43 lines (40 loc) • 1.37 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 {
MetricAlertsStatusListOptionalParams,
MetricAlertsStatusListResponse,
MetricAlertsStatusListByNameOptionalParams,
MetricAlertsStatusListByNameResponse
} from "../models";
/** Interface representing a MetricAlertsStatus. */
export interface MetricAlertsStatus {
/**
* Retrieve an alert rule status.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ruleName The name of the rule.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
ruleName: string,
options?: MetricAlertsStatusListOptionalParams
): Promise<MetricAlertsStatusListResponse>;
/**
* Retrieve an alert rule status.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ruleName The name of the rule.
* @param statusName The name of the status.
* @param options The options parameters.
*/
listByName(
resourceGroupName: string,
ruleName: string,
statusName: string,
options?: MetricAlertsStatusListByNameOptionalParams
): Promise<MetricAlertsStatusListByNameResponse>;
}