Share via


MySqlQueryStatisticCollection Class

Definition

A class representing a collection of MySqlQueryStatisticResource and their operations. Each MySqlQueryStatisticResource in the collection will belong to the same instance of MySqlServerResource. To get a MySqlQueryStatisticCollection instance call the GetMySqlQueryStatistics method from an instance of MySqlServerResource.

public class MySqlQueryStatisticCollection : Azure.ResourceManager.ArmCollection
type MySqlQueryStatisticCollection = class
    inherit ArmCollection
Public Class MySqlQueryStatisticCollection
Inherits ArmCollection
Inheritance
MySqlQueryStatisticCollection

Constructors

MySqlQueryStatisticCollection()

Initializes a new instance of the MySqlQueryStatisticCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
Get(String, CancellationToken)

Retrieve the query statistic for specified identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
GetAll(MySqlTopQueryStatisticsInput, CancellationToken)

Retrieve the Query-Store top queries for specified metric and aggregation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics
  • Operation Id: TopQueryStatistics_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
GetAllAsync(MySqlTopQueryStatisticsInput, CancellationToken)

Retrieve the Query-Store top queries for specified metric and aggregation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics
  • Operation Id: TopQueryStatistics_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
GetAsync(String, CancellationToken)

Retrieve the query statistic for specified identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}
  • Operation Id: TopQueryStatistics_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryStatisticResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to