Azure SQL: Metrics
Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations,…
Data & analytics#openapi#cloud
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, operations, and usage metrics.
Endpoints 4
Databases
- GETDatabases_ListMetrics
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/servers/:serverName/databases/:databaseName/metrics?$filter=stringReturns database metrics. - GETDatabases_ListMetricDefinitions
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/servers/:serverName/databases/:databaseName/metricDefinitionsReturns database metric definitions.
ElasticPools
- GETElasticPools_ListMetrics
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/servers/:serverName/elasticPools/:elasticPoolName/metrics?$filter=stringReturns elastic pool metrics. - GETElasticPools_ListMetricDefinitions
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/servers/:serverName/elasticPools/:elasticPoolName/metricDefinitionsReturns elastic pool metric definitions.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 4 operations on 4 pathsGET 4
- Main resources
- Databases 2ElasticPools 2
- Response formats
application/json- Description format
- Swagger 2.0, API version
2014-04-01 - Links
- OpenAPI document
How to test the Azure SQL: Metrics in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure SQL: Metrics collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Databases_ListMetrics” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/servers/:serverName/databases/:databaseName/metrics?$filter=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure SQL: Metrics?
Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations,… It is listed under Data & analytics and has 4 endpoints.
Who publishes the Azure SQL: Metrics?
It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Azure SQL: Metrics?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the Azure SQL: Metrics?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the Azure SQL: Metrics have?
4 operations on 4 paths (4 GET). The largest groups are Databases, ElasticPools.
Is forking the Azure SQL: Metrics free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.