@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
44 lines • 3.08 kB
TypeScript
import { LogAnalytics } from "../operationsInterfaces/index.js";
import { ComputeManagementClient } from "../computeManagementClient.js";
import { SimplePollerLike, OperationState } from "@azure/core-lro";
import { RequestRateByIntervalInput, LogAnalyticsExportRequestRateByIntervalOptionalParams, LogAnalyticsExportRequestRateByIntervalResponse, ThrottledRequestsInput, LogAnalyticsExportThrottledRequestsOptionalParams, LogAnalyticsExportThrottledRequestsResponse } from "../models/index.js";
/** Class containing LogAnalytics operations. */
export declare class LogAnalyticsImpl implements LogAnalytics {
private readonly client;
/**
* Initialize a new instance of the class LogAnalytics class.
* @param client Reference to the service client
*/
constructor(client: ComputeManagementClient);
/**
* 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