swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector QueryTexts API schemes: - https tags: - name: QueryTexts paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/queryTexts/{queryId} : get: tags: - QueryTexts operationId: microsoftAzureQuerytextsGet x-ms-examples: QueryTextsGet: $ref: ./examples/QueryTextsGet.json description: Retrieve the Query-Store query texts for the queryId. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/ServerNameParameter' - $ref: '#/parameters/QueryIdParameter' responses: '200': description: OK schema: $ref: '#/definitions/QueryText' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbformariadb Servers Servername Querytexts Queryid ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/queryTexts : get: tags: - QueryTexts operationId: microsoftAzureQuerytextsListbyserver x-ms-examples: QueryTextsListByServer: $ref: ./examples/QueryTextsListByServer.json description: Retrieve the Query-Store query texts for specified queryIds. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/ServerNameParameter' - name: queryIds in: query required: true type: array collectionFormat: multi items: type: string description: The query identifiers responses: '200': description: OK schema: $ref: '#/definitions/QueryTextsResultList' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbformariadb Servers Servername Querytexts definitions: QueryTextProperties: properties: queryId: type: string description: Query identifier unique to the server. queryText: type: string description: Query text. description: The properties of a query text. QueryText: properties: properties: $ref: '#/definitions/QueryTextProperties' x-ms-client-flatten: true description: The properties of a query text. allOf: - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource description: Represents a Query Text. QueryTextsResultList: description: A list of query texts. type: object properties: value: description: The list of query texts. type: array items: $ref: '#/definitions/QueryText' readOnly: true nextLink: description: Link to retrieve next page of results. type: string readOnly: true parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: The API version to use for the request. ServerNameParameter: name: serverName in: path required: true type: string description: The name of the server. x-ms-parameter-location: method ResourceGroupParameter: name: resourceGroupName in: path required: true type: string description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. x-ms-parameter-location: method QueryIdParameter: name: queryId in: path required: true type: string description: The Query-Store query identifier. x-ms-parameter-location: method SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: The subscription ID that identifies an Azure subscription. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'