Azure SQL Database Database Extensions API

The DatabaseExtensions API from Azure SQL Database — 2 operation(s) for databaseextensions.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions Database extensions list by database #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName} Database extensions get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName} Database extensions create or update #

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-sql-database:microsoft-azure-sql-database-databaseextensions-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-sql-database-databaseextensions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SqlManagementClient Database Extensions 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:
- name: DatabaseExtensions
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions
  : get:
      operationId: DatabaseExtensions_ListByDatabase
      tags:
      - DatabaseExtensions
      description: List database extension. This will return an empty list as it is not supported.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: serverName
        in: path
        description: The name of the server.
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: The name of the database.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportExportExtensionsOperationListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Database extensions list by database
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}
  : get:
      operationId: DatabaseExtensions_Get
      tags:
      - DatabaseExtensions
      description: Gets a database extension. This will return resource not found as it is not supported.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: serverName
        in: path
        description: The name of the server.
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: The name of the database.
        required: true
        schema:
          type: string
      - name: extensionName
        in: path
        description: ''
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Database extensions get
      x-summary-source: derived
    put:
      operationId: DatabaseExtensions_CreateOrUpdate
      tags:
      - DatabaseExtensions
      description: Perform a database extension operation, like database import, database export, or polybase import
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: serverName
        in: path
        description: The name of the server.
        required: true
        schema:
          type: string
      - name: databaseName
        in: path
        description: The name of the database.
        required: true
        schema:
          type: string
      - name: extensionName
        in: path
        description: ''
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'ImportExportExtensionsOperationResult' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportExportExtensionsOperationResult'
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/ImportExportExtensionsOperationResult'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseExtensions'
        description: The database import request parameters.
        required: true
      summary: Database extensions create or update
      x-summary-source: derived
components:
  schemas:
    ImportExportExtensionsOperationResult:
      type: object
      description: An Extension operation result resource.
      properties:
        properties:
          $ref: '#/components/schemas/ImportExportExtensionsOperationResultProperties'
          description: Resource properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ImportExportExtensionsOperationResultProperties:
      type: object
      description: Contains the operation result properties for import/export operation.
      properties:
        requestId:
          $ref: '#/components/schemas/Azure.Core.uuid'
          description: Request Id.
          readOnly: true
        requestType:
          type: string
          description: Request type.
          readOnly: true
        lastModifiedTime:
          type: string
          description: Last modified time.
          readOnly: true
        serverName:
          type: string
          description: Server name.
          readOnly: true
        databaseName:
          type: string
          description: Database name.
          readOnly: true
        status:
          type: string
          description: Operation status.
          readOnly: true
        errorMessage:
          type: string
          description: Error message.
          readOnly: true
        queuedTime:
          type: string
          description: Queued time.
          readOnly: true
        blobUri:
          type: string
          description: Blob URI.
          readOnly: true
        privateEndpointConnections:
          type: array
          description: Gets the status of private endpoints associated with this request.
          items:
            $ref: '#/components/schemas/PrivateEndpointConnectionRequestStatus'
          readOnly: true
          x-ms-identifiers: []
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    NetworkIsolationSettings:
      type: object
      description: Contains the ARM resources for which to create private endpoint connection.
      properties:
        storageAccountResourceId:
          type: string
          format: arm-id
          description: The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.
          x-ms-mutability:
          - create
        sqlServerResourceId:
          type: string
          format: arm-id
          description: The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.
          x-ms-mutability:
          - create
    Azure.Core.uuid:
      type: string
      format: uuid
      description: Universally Unique Identifier
    PrivateEndpointConnectionRequestStatus:
      type: object
      description: Contains the private endpoint connection requests status.
      properties:
        privateLinkServiceId:
          type: string
          description: Resource id for which the private endpoint is created.
          readOnly: true
        privateEndpointConnectionName:
          type: string
          description: The connection name for the private endpoint.
          readOnly: true
        status:
          type: string
          description: Status of this private endpoint connection.
          readOnly: true
    DatabaseExtensionsProperties:
      type: object
      description: Contains the database information after a successful Import, Export, or PolybaseImport
      properties:
        operationMode:
          $ref: '#/components/schemas/OperationMode'
          description: 'Operation mode of the operation: Import, Export, or PolybaseImport.'
          x-ms-mutability:
          - create
        storageKeyType:
          $ref: '#/components/schemas/StorageKeyType'
          description: 'Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity.'
          x-ms-mutability:
          - create
        storageKey:
          type: string
          description: Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID.
          x-ms-mutability:
          - create
        storageUri:
          type: string
          description: Storage Uri for the storage account.
          x-ms-mutability:
          - create
        administratorLogin:
          type: string
          description: Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID.
          x-ms-mutability:
          - create
        administratorLoginPassword:
          type: string
          format: password
          description: Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified.
          x-ms-mutability:
          - create
          x-ms-secret: true
        authenticationType:
          type: string
          description: 'Authentication type used to access the SQL: Sql, ADPassword or ManagedIdentity.'
          x-ms-mutability:
          - create
        databaseEdition:
          type: string
          description: Database edition for the newly created database in the case of an import operation.
          x-ms-mutability:
          - create
        serviceObjectiveName:
          type: string
          description: Database service level objective for the newly created database in the case of an import operation.
          x-ms-mutability:
          - create
        maxSizeBytes:
          type: string
          description: Database max size in bytes for the newly created database in the case of an import operation.
          x-ms-mutability:
          - create
        networkIsolation:
          $ref: '#/components/schemas/NetworkIsolationSettings'
          description: Optional resource information to enable network isolation for request.
          x-ms-mutability:
          - create
      required:
      - operationMode
      - storageKeyType
      - storageKey
      - storageUri
    StorageKeyType:
      type: string
      description: 'Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity.'
      enum:
      - SharedAccessKey
      - StorageAccessKey
      - ManagedIdentity
      x-ms-enum:
        name: StorageKeyType
        modelAsString: true
        values:
        - name: SharedAccessKey
          value: SharedAccessKey
          description: SharedAccessKey
        - name: StorageAccessKey
          value: StorageAccessKey
          description: StorageAccessKey
        - name: ManagedIdentity
          value: ManagedIdentity
          description: ManagedIdentity
    DatabaseExtensions:
      type: object
      description: An Import, Export, or PolybaseImport resource.
      properties:
        properties:
          $ref: '#/components/schemas/DatabaseExtensionsProperties'
          description: Resource properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ImportExportExtensionsOperationListResult:
      type: object
      description: Import export operation extensions list.
      properties:
        value:
          type: array
          description: Array of results.
          items:
            $ref: '#/components/schemas/ImportExportExtensionsOperationResult'
          readOnly: true
        nextLink:
          type: string
          description: Link to retrieve next page of results.
          readOnly: true
    OperationMode:
      type: string
      description: 'Operation mode of the operation: Import, Export, or PolybaseImport.'
      enum:
      - PolybaseImport
      - Import
      - Export
      x-ms-enum:
        name: OperationMode
        modelAsString: true
        values:
        - name: PolybaseImport
          value: PolybaseImport
          description: PolybaseImport
        - name: Import
          value: Import
          description: Import
        - name: Export
          value: Export
          description: Export
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  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.