LogAnalyticsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:log_analytics> attribute.
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.
async begin_export_request_rate_by_interval(location: str, parameters: _models.RequestRateByIntervalInput, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.LogAnalyticsOperationResult]
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The location name. Required. |
|
parameters
Required
|
Parameters supplied to the LogAnalytics getRequestRateByInterval Api. Is one of the following types: RequestRateByIntervalInput, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns LogAnalyticsOperationResult. The LogAnalyticsOperationResult is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_export_throttled_requests
Export logs that show total throttled Api requests for this subscription in the given time window.
async begin_export_throttled_requests(location: str, parameters: _models.ThrottledRequestsInput, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.LogAnalyticsOperationResult]
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The location name. Required. |
|
parameters
Required
|
The request body. Is one of the following types: ThrottledRequestsInput, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns LogAnalyticsOperationResult. The LogAnalyticsOperationResult is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|