Microsoft SQL Server Managed Instances API

The ManagedInstances API from Microsoft SQL Server — 12 operation(s) for managedinstances.

GitHub OpenAPI

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances List managed instances in a subscription · Managed instances list #
Ask an LLM
“Which managed instances exist across my whole subscription?”
“Can I expand child resources when listing managed instances?”
Tell an agent
List all managed instances in my subscription.
List managed instances in the subscription expanding {expand}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances List managed instances in an instance pool · Managed instances list by instance pool #
Ask an LLM
“What managed instances are in a particular instance pool?”
“Can I see the managed instances of one instance pool only?”
Tell an agent
List managed instances in instance pool {instancePoolName}.
Show managed instances of instance pool {instancePoolName} with {expand} expanded.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances List managed instances in a resource group · Managed instances list by resource group #
Ask an LLM
“Which managed instances live in a given resource group?”
“Can I narrow the managed instance list to one resource group?”
Tell an agent
List managed instances in resource group {resourceGroupName}.
Show managed instances in resource group {resourceGroupName} expanding {expand}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName} Get a managed instance · Managed instances get #
Ask an LLM
“What are the details of one managed instance?”
“Can I fetch a managed instance by name?”
Tell an agent
Get managed instance {managedInstanceName}.
Show managed instance {managedInstanceName} with {expand} expanded.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName} Create or replace a managed instance · Managed instances create or update #
Ask an LLM
“How do I create a new managed instance?”
“Can I change the SKU or identity of a managed instance when creating it?”
Tell an agent
Create managed instance {managedInstanceName} with SKU {sku}.
Create or replace managed instance {managedInstanceName} with identity {identity}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName} Update a managed instance · Managed instances update #
Ask an LLM
“Can I change the SKU of an existing managed instance?”
“Is it possible to patch tags on a managed instance?”
Tell an agent
Update managed instance {managedInstanceName} with SKU {sku}.
Patch tags {tags} on managed instance {managedInstanceName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName} Delete a managed instance · Managed instances delete #
Ask an LLM
“How do I delete a managed instance?”
“Can I remove a managed instance by name?”
Tell an agent destructive · confirm first
Delete managed instance {managedInstanceName}.
Remove the managed instance {managedInstanceName} from resource group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/failover Fail over a managed instance · Managed instances failover #
Ask an LLM
“How do I fail over a managed instance to its replica?”
“Can I fail over to a specific replica type?”
Tell an agent
Fail over managed instance {managedInstanceName}.
Fail over managed instance {managedInstanceName} to replica type {replicaType}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/outboundNetworkDependenciesEndpoints List outbound network dependencies of a managed instance · Managed instances list outbound network dependencies by managed instance #
Ask an LLM
“Which outbound network endpoints does a managed instance need?”
“What dependencies must I allow on my firewall for a managed instance?”
Tell an agent
List outbound network dependencies of managed instance {managedInstanceName}.
Show the endpoints managed instance {managedInstanceName} depends on.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/reevaluateInaccessibleDatabaseState Reevaluate inaccessible database state · Managed instances reevaluate inaccessible database state #
Ask an LLM
“How do I reevaluate whether databases on a managed instance are inaccessible?”
“Can I force a managed instance to recheck its database access state?”
Tell an agent
Reevaluate the inaccessible database state of managed instance {managedInstanceName}.
Force managed instance {managedInstanceName} to recheck its database access.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/refreshExternalGovernanceStatus Refresh external governance status · Managed instances refresh status #
Ask an LLM
“How do I refresh the external governance enablement status of a managed instance?”
“Can I refresh governance status on demand?”
Tell an agent
Refresh the external governance status of managed instance {managedInstanceName}.
Refresh governance enablement status for managed instance {managedInstanceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/start Start a managed instance · Managed instances start #
Ask an LLM
“How do I start a stopped managed instance?”
“Can I power on a managed instance by name?”
Tell an agent
Start managed instance {managedInstanceName}.
Power on managed instance {managedInstanceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/stop Stop a managed instance · Managed instances stop #
Ask an LLM
“How do I stop a managed instance?”
“Can I power off a managed instance by name?”
Tell an agent
Stop managed instance {managedInstanceName}.
Power off managed instance {managedInstanceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/topqueries List top resource-consuming queries on a managed instance · Managed instances list by managed instance #
Ask an LLM
“Which queries use the most CPU on my managed instance?”
“Can I see top queries for a specific time range?”
Tell an agent
List the top {numberOfQueries} queries by {observationMetric} on managed instance {managedInstanceName}.
Show top {numberOfQueries} queries on databases {databases} between {startTime} and {endTime}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/validateAzureKeyVaultEncryptionKey Validate a customer-managed key for TDE · Managed instances validate azure key vault encryption key #
Ask an LLM
“How do I check that an Azure Key Vault key works for Transparent Data Encryption?”
“Can I validate a customer-managed key URI before using it?”
Tell an agent
Validate customer-managed key {tdeKeyUri} for managed instance {managedInstanceName}.
Check that Key Vault key {tdeKeyUri} is usable for Transparent Data Encryption.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-sql-server:microsoft-sql-server-managedinstances-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-sql-server-managedinstances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SqlManagementClient Managed Instances API
  version: '2025-01-01'
  description: The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (54 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-sql-server/openapi/microsoft-sql-server-managedinstances-api-openapi.yml