Share via


MySqlQueryTextCollection Class

Definition

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

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

Constructors

MySqlQueryTextCollection()

Initializes a new instance of the MySqlQueryTextCollection 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}/queryTexts/{queryId}
  • Operation Id: QueryTexts_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryTextResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Retrieve the Query-Store query texts for the queryId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts/{queryId}
  • Operation Id: QueryTexts_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryTextResource
GetAll(IEnumerable<String>, CancellationToken)

Retrieve the Query-Store query texts for specified queryIds.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts
  • Operation Id: QueryTexts_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlQueryTextResource
GetAllAsync(IEnumerable<String>, CancellationToken)

Retrieve the Query-Store query texts for specified queryIds.

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

Retrieve the Query-Store query texts for the queryId.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

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

(Inherited from ArmCollection)

Applies to