LogAnalyticsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:log_analytics> attribute.

Inheritance
builtins.object
LogAnalyticsOperations

Constructor

LogAnalyticsOperations(*args, **kwargs)

Methods

begin_export_request_rate_by_interval

Export logs that show Api requests made by this subscription in the given time window to show throttling activities.

begin_export_throttled_requests

Export logs that show total throttled Api requests for this subscription in the given time window.

begin_export_request_rate_by_interval

Export logs that show Api requests made by this subscription in the given time window to show throttling activities.

begin_export_request_rate_by_interval(location: str, parameters: _models.RequestRateByIntervalInput, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.LogAnalyticsOperationResult]

Parameters

Name Description
location
Required
str

The location upon which virtual-machine-sizes is queried. Required.

parameters
Required

Parameters supplied to the LogAnalytics getRequestRateByInterval Api. Is either a RequestRateByIntervalInput type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either LogAnalyticsOperationResult or the result of cls(response)

Exceptions

Type Description

begin_export_throttled_requests

Export logs that show total throttled Api requests for this subscription in the given time window.

begin_export_throttled_requests(location: str, parameters: _models.ThrottledRequestsInput, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.LogAnalyticsOperationResult]

Parameters

Name Description
location
Required
str

The location upon which virtual-machine-sizes is queried. Required.

parameters
Required

Parameters supplied to the LogAnalytics getThrottledRequests Api. Is either a ThrottledRequestsInput type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either LogAnalyticsOperationResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2023_07_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2023_07_01\\models\\__init__.py'>