Share via


WaitStatisticsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

MySQLManagementClient's

<xref:wait_statistics> attribute.

Constructor

WaitStatisticsOperations(*args, **kwargs)

Methods

get

Retrieve wait statistics for specified identifier.

list_by_server

Retrieve wait statistics for specified aggregation window.

get

Retrieve wait statistics for specified identifier.

get(resource_group_name: str, server_name: str, wait_statistics_id: str, **kwargs: Any) -> WaitStatistic

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

server_name
Required
str

The name of the server. Required.

wait_statistics_id
Required
str

The Wait Statistic identifier. Required.

Returns

Type Description

WaitStatistic or the result of cls(response)

Exceptions

Type Description

list_by_server

Retrieve wait statistics for specified aggregation window.

list_by_server(resource_group_name: str, server_name: str, parameters: _models.WaitStatisticsInput, *, content_type: str = 'application/json', **kwargs: Any) -> ItemPaged['_models.WaitStatistic']

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

server_name
Required
str

The name of the server. Required.

parameters
Required

The required parameters for retrieving wait statistics. Is either a WaitStatisticsInput type or a IO[bytes] type. Required.

Returns

Type Description

An iterator like instance of either WaitStatistic or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.rdbms.mysql.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv198\\Lib\\site-packages\\azure\\mgmt\\rdbms\\mysql\\models\\__init__.py'>