UNPKG

@azure/arm-compute

Version:
36 lines 2.7 kB
import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { RequestRateByIntervalInput, LogAnalyticsExportRequestRateByIntervalOptionalParams, LogAnalyticsExportRequestRateByIntervalResponse, ThrottledRequestsInput, LogAnalyticsExportThrottledRequestsOptionalParams, LogAnalyticsExportThrottledRequestsResponse } from "../models/index.js"; /** Interface representing a LogAnalytics. */ export interface LogAnalytics { /** * Export logs that show Api requests made by this subscription in the given time window to show * throttling activities. * @param location The name of Azure region. * @param parameters Parameters supplied to the LogAnalytics getRequestRateByInterval Api. * @param options The options parameters. */ beginExportRequestRateByInterval(location: string, parameters: RequestRateByIntervalInput, options?: LogAnalyticsExportRequestRateByIntervalOptionalParams): Promise<SimplePollerLike<OperationState<LogAnalyticsExportRequestRateByIntervalResponse>, LogAnalyticsExportRequestRateByIntervalResponse>>; /** * Export logs that show Api requests made by this subscription in the given time window to show * throttling activities. * @param location The name of Azure region. * @param parameters Parameters supplied to the LogAnalytics getRequestRateByInterval Api. * @param options The options parameters. */ beginExportRequestRateByIntervalAndWait(location: string, parameters: RequestRateByIntervalInput, options?: LogAnalyticsExportRequestRateByIntervalOptionalParams): Promise<LogAnalyticsExportRequestRateByIntervalResponse>; /** * Export logs that show total throttled Api requests for this subscription in the given time window. * @param location The name of Azure region. * @param parameters The request body * @param options The options parameters. */ beginExportThrottledRequests(location: string, parameters: ThrottledRequestsInput, options?: LogAnalyticsExportThrottledRequestsOptionalParams): Promise<SimplePollerLike<OperationState<LogAnalyticsExportThrottledRequestsResponse>, LogAnalyticsExportThrottledRequestsResponse>>; /** * Export logs that show total throttled Api requests for this subscription in the given time window. * @param location The name of Azure region. * @param parameters The request body * @param options The options parameters. */ beginExportThrottledRequestsAndWait(location: string, parameters: ThrottledRequestsInput, options?: LogAnalyticsExportThrottledRequestsOptionalParams): Promise<LogAnalyticsExportThrottledRequestsResponse>; } //# sourceMappingURL=logAnalytics.d.ts.map