swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector WaitStatistics API schemes: - https tags: - name: WaitStatistics paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/waitStatistics/{waitStatisticsId} : get: tags: - WaitStatistics operationId: microsoftAzureWaitstatisticsGet x-ms-examples: WaitStatisticsGet: $ref: ./examples/WaitStatisticsGet.json description: Retrieve wait statistics for specified identifier. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/ServerNameParameter' - $ref: '#/parameters/WaitStatisticsIdParameter' responses: '200': description: OK schema: $ref: '#/definitions/WaitStatistic' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbformariadb Servers Servername Waitstatistics Waitstatisticsid ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/waitStatistics : get: tags: - WaitStatistics operationId: microsoftAzureWaitstatisticsListbyserver x-ms-examples: WaitStatisticsListByServer: $ref: ./examples/WaitStatisticsListByServer.json description: Retrieve wait statistics for specified aggregation window. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/ServerNameParameter' - name: parameters in: body required: true schema: $ref: '#/definitions/WaitStatisticsInput' description: The required parameters for retrieving wait statistics. responses: '200': description: OK schema: $ref: '#/definitions/WaitStatisticsResultList' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbformariadb Servers Servername Waitstatistics definitions: WaitStatisticsInputProperties: properties: observationStartTime: type: string format: date-time description: Observation start time. observationEndTime: type: string format: date-time description: Observation end time. aggregationWindow: type: string description: Aggregation interval type in ISO 8601 format. required: - observationStartTime - observationEndTime - aggregationWindow description: The properties for input to get wait statistics WaitStatisticsInput: properties: properties: $ref: '#/definitions/WaitStatisticsInputProperties' x-ms-client-flatten: true description: The properties of a wait statistics input. required: - properties description: Input to get wait statistics WaitStatisticProperties: properties: startTime: type: string format: date-time description: Observation start time. endTime: type: string format: date-time description: Observation end time. eventName: type: string description: Wait event name. eventTypeName: type: string description: Wait event type name. queryId: type: integer format: int64 description: Database query identifier. databaseName: type: string description: Database Name. userId: type: integer format: int64 description: Database user identifier. count: type: integer format: int64 description: Wait event count observed in this time interval. totalTimeInMs: type: number format: double description: Total time of wait in milliseconds in this time interval. description: The properties of a wait statistic. WaitStatistic: properties: properties: $ref: '#/definitions/WaitStatisticProperties' x-ms-client-flatten: true description: The properties of a wait statistic. allOf: - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource description: Represents a Wait Statistic. WaitStatisticsResultList: description: A list of wait statistics. type: object properties: value: description: The list of wait statistics. type: array items: $ref: '#/definitions/WaitStatistic' readOnly: true nextLink: description: Link to retrieve next page of results. type: string readOnly: true parameters: WaitStatisticsIdParameter: name: waitStatisticsId in: path required: true type: string description: The Wait Statistic identifier. x-ms-parameter-location: method 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 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'