Microsoft Azure Connection Policies API

The ConnectionPolicies API from Microsoft Azure, for connectionpolicies.

GitHub OpenAPI

Operations 2

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

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName} Set a SQL server's connection policy · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I change the connection policy on my Azure SQL server?”
“Can I switch a SQL server's connection type in place?”
Tell an agent
Set connection policy {policy} on SQL server {server} to {properties}.
Update the secure connection policy {policy} of server {server} in location {location}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName} Get a SQL server's connection policy · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What connection policy is my Azure SQL server using?”
“Can I read one named connection policy on a SQL server?”
Tell an agent
Get connection policy {policy} on SQL server {server}.
Show the secure connection policy {policy} of server {server}.

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-azure:microsoft-azure-connectionpolicies-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-azure-connectionpolicies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure SQL Server API spec Connection…
  description: The Azure SQL Server management API provides a RESTful set of web services that interact with Azure SQL Server services to manage your databases. The API enables users update server connection policy.
  version: '2014-04-01'
servers:
- url: https://management.azure.com
tags:
- name: ConnectionPolicies
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}
  : put:
      tags:
      - ConnectionPolicies
      operationId: microsoftAzureServerconnectionpoliciesCreateorupdate
      description: Creates or updates the server's connection policy.
      x-ms-examples:
        Create or update a server's secure connection policy:
          $ref: ./examples/ServerConnectionPolicyCreateOrUpdate.json
      parameters:
      - $ref: ../../../common/v1/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../common/v1/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../common/v1/types.json#/parameters/ResourceGroupParameter
      - $ref: '#/components/parameters/ServerNameParameter'
      - $ref: '#/components/parameters/ConnectionPolicyNameParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerConnectionPolicy'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerConnectionPolicy'
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServerConnectionPolicy'
        description: The required parameters for updating a secure connection policy.
        required: true
    get:
      tags:
      - ConnectionPolicies
      operationId: microsoftAzureServerconnectionpoliciesGet
      description: Gets the server's secure connection policy.
      x-ms-examples:
        Get a server's secure connection policy:
          $ref: ./examples/ServerConnectionPolicyGet.json
      parameters:
      - $ref: ../../../common/v1/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../common/v1/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../common/v1/types.json#/parameters/ResourceGroupParameter
      - $ref: '#/components/parameters/ServerNameParameter'
      - $ref: '#/components/parameters/ConnectionPolicyNameParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerConnectionPolicy'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    ServerConnectionPolicyProperties:
      properties:
        connectionType:
          type: string
          description: The server connection type.
          enum:
          - Default
          - Proxy
          - Redirect
          x-ms-enum:
            name: ServerConnectionType
      required:
      - connectionType
      description: The properties of a server secure connection policy.
    ServerConnectionPolicy:
      properties:
        kind:
          readOnly: true
          type: string
          description: Metadata used for the Azure portal experience.
        location:
          type: string
          description: Resource location.
          readOnly: true
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/ServerConnectionPolicyProperties'
          description: The properties of the server secure connection policy.
      allOf:
      - $ref: ../../../common/v1/types.json#/definitions/ProxyResource
      description: A server secure connection policy.
  parameters:
    ConnectionPolicyNameParameter:
      name: connectionPolicyName
      in: path
      required: true
      description: The name of the connection policy.
      x-ms-enum:
        modelAsString: true
        name: ConnectionPolicyName
      x-ms-parameter-location: method
      schema:
        type: string
        enum:
        - default
    ServerNameParameter:
      name: serverName
      in: path
      required: true
      description: The name of the server.
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/connectionPolicies.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)