UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 25.1 kB
{"openapi":"3.0.0","info":{"description":"The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.","title":"MariaDBManagementClient","version":"2018-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/QueryPerformanceInsights.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"mariadb-QueryPerformanceInsights","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/queryTexts":{"get":{"description":"Retrieve the Query-Store query texts for specified queryIds.","operationId":"QueryTexts_ListByServer","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"QueryTextsListByServer":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"QueryTextsListByServer":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"QueryTextsListByServer":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The query identifiers","in":"query","name":"queryIds","required":true,"explode":true,"schema":{"type":"array","items":{"type":"string"}},"examples":{"QueryTextsListByServer":{"value":["1","2"]}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryTextsResultList"},"examples":{"QueryTextsListByServer":{"$ref":"#/components/examples/QueryTextsListByServer"}}}}}},"tags":["QueryTexts"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/queryTexts/{queryId}":{"get":{"description":"Retrieve the Query-Store query texts for the queryId.","operationId":"QueryTexts_Get","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"QueryTextsGet":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"QueryTextsGet":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"QueryTextsGet":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"$ref":"#/components/parameters/QueryIdParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryText"},"examples":{"QueryTextsGet":{"$ref":"#/components/examples/QueryTextsGet"}}}}}},"tags":["QueryTexts"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/topQueryStatistics":{"get":{"description":"Retrieve the Query-Store top queries for specified metric and aggregation.","operationId":"TopQueryStatistics_ListByServer","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"TopQueryStatisticsListByServer":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"TopQueryStatisticsListByServer":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"TopQueryStatisticsListByServer":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopQueryStatisticsInput"}}},"description":"The required parameters for retrieving top query statistics.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopQueryStatisticsResultList"},"examples":{"TopQueryStatisticsListByServer":{"$ref":"#/components/examples/TopQueryStatisticsListByServer"}}}}}},"tags":["TopQueryStatistics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/topQueryStatistics/{queryStatisticId}":{"get":{"description":"Retrieve the query statistic for specified identifier.","operationId":"TopQueryStatistics_Get","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"TopQueryStatisticsGet":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"TopQueryStatisticsGet":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"TopQueryStatisticsGet":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"$ref":"#/components/parameters/QueryStatisticIdParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryStatistic"},"examples":{"TopQueryStatisticsGet":{"$ref":"#/components/examples/TopQueryStatisticsGet"}}}}}},"tags":["TopQueryStatistics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/waitStatistics":{"get":{"description":"Retrieve wait statistics for specified aggregation window.","operationId":"WaitStatistics_ListByServer","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"WaitStatisticsListByServer":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"WaitStatisticsListByServer":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"WaitStatisticsListByServer":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitStatisticsInput"}}},"description":"The required parameters for retrieving wait statistics.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitStatisticsResultList"},"examples":{"WaitStatisticsListByServer":{"$ref":"#/components/examples/WaitStatisticsListByServer"}}}}}},"tags":["WaitStatistics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/waitStatistics/{waitStatisticsId}":{"get":{"description":"Retrieve wait statistics for specified identifier.","operationId":"WaitStatistics_Get","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"WaitStatisticsGet":{"value":"2018-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"WaitStatisticsGet":{"value":"ffffffff-ffff-ffff-ffff-ffffffffffff"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"WaitStatisticsGet":{"value":"testResourceGroupName"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"$ref":"#/components/parameters/WaitStatisticsIdParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitStatistic"},"examples":{"WaitStatisticsGet":{"$ref":"#/components/examples/WaitStatisticsGet"}}}}}},"tags":["WaitStatistics"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"QueryTextsListByServer":{"value":{"value":[{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryTexts/1","name":"1","properties":{"queryId":"1","queryText":"UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?"},"type":"Microsoft.DBforMariaDB/servers/queryTexts"},{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryTexts/2","name":"2","properties":{"queryId":"2","queryText":"UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME LIKE ?"},"type":"Microsoft.DBforMariaDB/servers/queryTexts"}]}},"QueryTextsGet":{"value":{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryTexts/1","name":"1","properties":{"queryId":"1","queryText":"UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?"},"type":"Microsoft.DBforMariaDB/servers/queryTexts"}},"TopQueryStatisticsListByServer":{"value":{"value":[{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration","name":"66-636923268000000000-636923277000000000-avg-duration","properties":{"aggregationFunction":"avg","databaseNames":["/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"],"endTime":"2019-05-01T17:15:00Z","metricDisplayName":"Query duration","metricName":"duration","metricValue":123.301446136,"metricValueUnit":"milliseconds","queryExecutionCount":1,"queryId":"66","startTime":"2019-05-01T17:00:00Z"},"type":"Microsoft.DBforMariaDB/servers/queryStatistics"},{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryStatistic/66-636924483000000000-636924492000000000-avg-duration","name":"66-636924483000000000-636924492000000000-avg-duration","properties":{"aggregationFunction":"avg","databaseNames":["/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"],"endTime":"2019-05-03T03:00:00Z","metricDisplayName":"Query duration","metricName":"duration","metricValue":1712.301446136,"metricValueUnit":"milliseconds","queryExecutionCount":1,"queryId":"66","startTime":"2019-05-03T02:45:00Z"},"type":"Microsoft.DBforMariaDB/servers/queryStatistics"}]}},"TopQueryStatisticsGet":{"value":{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration","name":"66-636923268000000000-636923277000000000-avg-duration","properties":{"aggregationFunction":"avg","databaseNames":["/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"],"endTime":"2019-05-01T17:15:00Z","metricDisplayName":"Query duration","metricName":"duration","metricValue":123.301446136,"metricValueUnit":"milliseconds","queryExecutionCount":1,"queryId":"66","startTime":"2019-05-01T17:00:00Z"},"type":"Microsoft.DBforMariaDB/servers/queryStatistics"}},"WaitStatisticsListByServer":{"value":{"value":[{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0","name":"636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0","properties":{"count":2,"databaseName":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb","endTime":"2019-05-06T17:45:00Z","eventName":"wait/io/socket/sql/client_connection","eventTypeName":"send","queryId":2,"startTime":"2019-05-06T17:30:00Z","totalTimeInMs":12.345,"userId":0},"type":"Microsoft.DBforMariaDB/servers/waitStatistics"},{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMariaDB/servers/hyshim-wait-stats-fix/waitStatistics/636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0","name":"636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0","properties":{"count":4,"databaseName":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMariaDB/servers/hyshim-wait-stats-fix/databases/","endTime":"2019-05-06T17:45:00Z","eventName":"wait/synch/mutex/mysys/THR_LOCK::mutex","eventTypeName":"lock","queryId":2,"startTime":"2019-05-06T17:30:00Z","totalTimeInMs":56.789,"userId":0},"type":"Microsoft.DBforMariaDB/servers/waitStatistics"}]}},"WaitStatisticsGet":{"value":{"id":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0","name":"636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0","properties":{"count":2,"databaseName":"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb","endTime":"2019-05-06T17:45:00Z","eventName":"wait/io/socket/sql/client_connection","eventTypeName":"send","queryId":2,"startTime":"2019-05-06T17:30:00Z","totalTimeInMs":12.346,"userId":0},"type":"Microsoft.DBforMariaDB/servers/waitStatistics"}}},"parameters":{"QueryIdParameter":{"description":"The Query-Store query identifier.","in":"path","name":"queryId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"QueryTextsGet":{"value":1}}},"QueryStatisticIdParameter":{"description":"The Query Statistic identifier.","in":"path","name":"queryStatisticId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"TopQueryStatisticsGet":{"value":"66-636923268000000000-636923277000000000-avg-duration"}}},"ServerNameParameter":{"description":"The name of the server.","in":"path","name":"serverName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"QueryTextsListByServer":{"value":"testServerName"},"QueryTextsGet":{"value":"testServerName"},"TopQueryStatisticsListByServer":{"value":"testServerName"},"TopQueryStatisticsGet":{"value":"testServerName"},"WaitStatisticsListByServer":{"value":"testServerName"},"WaitStatisticsGet":{"value":"testServerName"}}},"WaitStatisticsIdParameter":{"description":"The Wait Statistic identifier.","in":"path","name":"waitStatisticsId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"WaitStatisticsGet":{"value":"636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"QueryStatistic":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Represents a Query Statistic.","properties":{"properties":{"$ref":"#/components/schemas/QueryStatisticProperties"}}},"QueryStatisticProperties":{"description":"The properties of a query statistic.","properties":{"aggregationFunction":{"description":"Aggregation function name.","type":"string"},"databaseNames":{"description":"The list of database names.","items":{"type":"string"},"type":"array"},"endTime":{"description":"Observation end time.","format":"date-time","type":"string"},"metricDisplayName":{"description":"Metric display name.","type":"string"},"metricName":{"description":"Metric name.","type":"string"},"metricValue":{"description":"Metric value.","format":"double","type":"number"},"metricValueUnit":{"description":"Metric value unit.","type":"string"},"queryExecutionCount":{"description":"Number of query executions in this time interval.","format":"int64","type":"integer"},"queryId":{"description":"Database query identifier.","type":"string"},"startTime":{"description":"Observation start time.","format":"date-time","type":"string"}}},"QueryText":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Represents a Query Text.","properties":{"properties":{"$ref":"#/components/schemas/QueryTextProperties"}}},"QueryTextProperties":{"description":"The properties of a query text.","properties":{"queryId":{"description":"Query identifier unique to the server.","type":"string"},"queryText":{"description":"Query text.","type":"string"}}},"QueryTextsResultList":{"description":"A list of query texts.","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"The list of query texts.","items":{"$ref":"#/components/schemas/QueryText"},"readOnly":true,"type":"array"}},"type":"object"},"TopQueryStatisticsInput":{"description":"Input to get top query statistics","properties":{"properties":{"$ref":"#/components/schemas/TopQueryStatisticsInputProperties"}},"required":["properties"]},"TopQueryStatisticsInputProperties":{"description":"The properties for input to get top query statistics","properties":{"aggregationFunction":{"description":"Aggregation function name.","type":"string"},"aggregationWindow":{"description":"Aggregation interval type in ISO 8601 format.","type":"string"},"numberOfTopQueries":{"description":"Max number of top queries to return.","format":"int32","type":"integer"},"observationEndTime":{"description":"Observation end time.","format":"date-time","type":"string"},"observationStartTime":{"description":"Observation start time.","format":"date-time","type":"string"},"observedMetric":{"description":"Observed metric name.","type":"string"}},"required":["numberOfTopQueries","aggregationFunction","observedMetric","observationStartTime","observationEndTime","aggregationWindow"]},"TopQueryStatisticsResultList":{"description":"A list of query statistics.","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"The list of top query statistics.","items":{"$ref":"#/components/schemas/QueryStatistic"},"readOnly":true,"type":"array"}},"type":"object"},"WaitStatistic":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Represents a Wait Statistic.","properties":{"properties":{"$ref":"#/components/schemas/WaitStatisticProperties"}}},"WaitStatisticProperties":{"description":"The properties of a wait statistic.","properties":{"count":{"description":"Wait event count observed in this time interval.","format":"int64","type":"integer"},"databaseName":{"description":"Database Name.","type":"string"},"endTime":{"description":"Observation end time.","format":"date-time","type":"string"},"eventName":{"description":"Wait event name.","type":"string"},"eventTypeName":{"description":"Wait event type name.","type":"string"},"queryId":{"description":"Database query identifier.","format":"int64","type":"integer"},"startTime":{"description":"Observation start time.","format":"date-time","type":"string"},"totalTimeInMs":{"description":"Total time of wait in milliseconds in this time interval.","format":"double","type":"number"},"userId":{"description":"Database user identifier.","format":"int64","type":"integer"}}},"WaitStatisticsInput":{"description":"Input to get wait statistics","properties":{"properties":{"$ref":"#/components/schemas/WaitStatisticsInputProperties"}},"required":["properties"]},"WaitStatisticsInputProperties":{"description":"The properties for input to get wait statistics","properties":{"aggregationWindow":{"description":"Aggregation interval type in ISO 8601 format.","type":"string"},"observationEndTime":{"description":"Observation end time.","format":"date-time","type":"string"},"observationStartTime":{"description":"Observation start time.","format":"date-time","type":"string"}},"required":["observationStartTime","observationEndTime","aggregationWindow"]},"WaitStatisticsResultList":{"description":"A list of wait statistics.","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"The list of wait statistics.","items":{"$ref":"#/components/schemas/WaitStatistic"},"readOnly":true,"type":"array"}},"type":"object"}}}}