Azure SQL Database Distributed Availability Groups API

The DistributedAvailabilityGroups API from Azure SQL Database — 4 operation(s) for distributedavailabilitygroups.

GitHub OpenAPI

Operations 7

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups Distributed availability groups list by instance #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName} Distributed availability groups get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName} Distributed availability groups create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName} Distributed availability groups update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName} Distributed availability groups delete #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}/failover Distributed availability groups failover #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}/setRole Distributed availability groups set role #

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-distributedavailabilitygroups-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-distributedavailabilitygroups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SqlManagementClient Distributed Availability Groups 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: DistributedAvailabilityGroups
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups
  : get:
      operationId: DistributedAvailabilityGroups_ListByInstance
      tags:
      - DistributedAvailabilityGroups
      description: Gets a list of a distributed availability groups in instance.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroupsListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Distributed availability groups list by instance
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}
  : get:
      operationId: DistributedAvailabilityGroups_Get
      tags:
      - DistributedAvailabilityGroups
      description: Gets a distributed availability group info.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Distributed availability groups get
      x-summary-source: derived
    put:
      operationId: DistributedAvailabilityGroups_CreateOrUpdate
      tags:
      - DistributedAvailabilityGroups
      description: Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'DistributedAvailabilityGroup' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        '201':
          description: Resource 'DistributedAvailabilityGroup' create operation succeeded
          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
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        '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/DistributedAvailabilityGroup'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DistributedAvailabilityGroup'
        description: The distributed availability group info.
        required: true
      summary: Distributed availability groups create or update
      x-summary-source: derived
    patch:
      operationId: DistributedAvailabilityGroups_Update
      tags:
      - DistributedAvailabilityGroups
      description: Updates a distributed availability group replication mode.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        '202':
          description: Resource update request 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/DistributedAvailabilityGroup'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DistributedAvailabilityGroup'
        description: The distributed availability group info.
        required: true
      summary: Distributed availability groups update
      x-summary-source: derived
    delete:
      operationId: DistributedAvailabilityGroups_Delete
      tags:
      - DistributedAvailabilityGroups
      description: Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion 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
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Distributed availability groups delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}/failover
  : post:
      operationId: DistributedAvailabilityGroups_Failover
      tags:
      - DistributedAvailabilityGroups
      description: Performs requested failover type in this distributed availability group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        '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/DistributedAvailabilityGroup'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DistributedAvailabilityGroupsFailoverRequest'
        description: The distributed availability group failover request parameters.
        required: true
      summary: Distributed availability groups failover
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}/setRole
  : post:
      operationId: DistributedAvailabilityGroups_SetRole
      tags:
      - DistributedAvailabilityGroups
      description: Sets the role for managed instance in a distributed availability group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: managedInstanceName
        in: path
        description: The name of the managed instance.
        required: true
        schema:
          type: string
      - name: distributedAvailabilityGroupName
        in: path
        description: The distributed availability group name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributedAvailabilityGroup'
        '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/DistributedAvailabilityGroup'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DistributedAvailabilityGroupSetRole'
        description: The distributed availability group set role request parameters.
        required: true
      summary: Distributed availability groups set role
      x-summary-source: derived
components:
  schemas:
    ReplicationModeType:
      type: string
      description: Replication mode of the link
      enum:
      - Async
      - Sync
      x-ms-enum:
        name: ReplicationModeType
        modelAsString: true
        values:
        - name: Async
          value: Async
          description: Async
        - name: Sync
          value: Sync
          description: Sync
    FailoverType:
      type: string
      description: The failover type, can be ForcedAllowDataLoss or Planned.
      enum:
      - ForcedAllowDataLoss
      - Planned
      x-ms-enum:
        name: FailoverType
        modelAsString: true
        values:
        - name: ForcedAllowDataLoss
          value: ForcedAllowDataLoss
          description: ForcedAllowDataLoss
        - name: Planned
          value: Planned
          description: Planned
    CertificateInfo:
      type: object
      description: Certificate information
      properties:
        certificateName:
          type: string
          description: The certificate name
          readOnly: true
        expiryDate:
          type: string
          format: date-time
          description: The certificate expiry date
          readOnly: true
    Azure.Core.uuid:
      type: string
      format: uuid
      description: Universally Unique Identifier
    DistributedAvailabilityGroup:
      type: object
      description: Distributed availability group between box and Sql Managed Instance.
      properties:
        properties:
          $ref: '#/components/schemas/DistributedAvailabilityGroupProperties'
          description: Resource properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    LinkRole:
      type: string
      description: SQL server side link role
      enum:
      - Primary
      - Secondary
      x-ms-enum:
        name: LinkRole
        modelAsString: true
        values:
        - name: Primary
          value: Primary
          description: Primary
        - name: Secondary
          value: Secondary
          description: Secondary
    DistributedAvailabilityGroupsListResult:
      type: object
      description: A list of distributed availability groups in instance.
      properties:
        value:
          type: array
          description: Array of results.
          items:
            $ref: '#/components/schemas/DistributedAvailabilityGroup'
          readOnly: true
        nextLink:
          type: string
          description: Link to retrieve next page of results.
          readOnly: true
    DistributedAvailabilityGroupProperties:
      type: object
      description: The properties of a distributed availability group.
      properties:
        distributedAvailabilityGroupName:
          type: string
          description: Name of the distributed availability group
          readOnly: true
        distributedAvailabilityGroupId:
          $ref: '#/components/schemas/Azure.Core.uuid'
          description: ID of the distributed availability group
          readOnly: true
        replicationMode:
          $ref: '#/components/schemas/ReplicationModeType'
          description: Replication mode of the link
        partnerLinkRole:
          $ref: '#/components/schemas/LinkRole'
          description: SQL server side link role
          readOnly: true
        partnerAvailabilityGroupName:
          type: string
          description: SQL server side availability group name
        partnerEndpoint:
          type: string
          description: SQL server side endpoint - IP or DNS resolvable name
        instanceLinkRole:
          $ref: '#/components/schemas/LinkRole'
          description: Managed instance side link role
        instanceAvailabilityGroupName:
          type: string
          description: Managed instance side availability group name
        failoverMode:
          $ref: '#/components/schemas/FailoverModeType'
          description: The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure.
        seedingMode:
          $ref: '#/components/schemas/SeedingModeType'
          description: Database seeding mode – can be Automatic (default), or Manual for supported scenarios.
        databases:
          type: array
          description: Databases in the distributed availability group
          items:
            $ref: '#/components/schemas/DistributedAvailabilityGroupDatabase'
    DistributedAvailabilityGroupSetRole:
      type: object
      description: Distributed availability group failover request.
      properties:
        instanceRole:
          $ref: '#/components/schemas/InstanceRole'
          description: New role of managed instance in a distributed availability group, can be Primary or Secondary.
          x-ms-mutability:
          - update
          - create
        roleChangeType:
          $ref: '#/components/schemas/RoleChangeType'
          description: The type of the role change, can be Planned or Forced.
          x-ms-mutability:
          - update
          - create
      required:
      - instanceRole
      - roleChangeType
    RoleChangeType:
      type: string
      description: The type of the role change, can be Planned or Forced.
      enum:
      - Forced
      - Planned
      x-ms-enum:
        name: RoleChangeType
        modelAsString: true
        values:
        - name: Forced
          value: Forced
          description: Forced
        - name: Planned
          value: Planned
          description: Planned
    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.
    ReplicaConnectedState:
      type: string
      description: Link connected state
      enum:
      - DISCONNECTED
      - CONNECTED
      x-ms-enum:
        name: ReplicaConnectedState
        modelAsString: true
        values:
        - name: DISCONNECTED
          value: DISCONNECTED
          description: DISCONNECTED
        - name: CONNECTED
          value: CONNECTED
          description: CONNECTED
    ReplicaSynchronizationHealth:
      type: string
      description: Link health state
      enum:
      - NOT_HEALTHY
      - PARTIALLY_HEALTHY
      - HEALTHY
      x-ms-enum:
        name: ReplicaSynchronizationHealth
        modelAsString: true
        values:
        - name: NOT_HEALTHY
          value: NOT_HEALTHY
          description: NOT_HEALTHY
        - name: PARTIALLY_HEALTHY
          value: PARTIALLY_HEALTHY
          description: PARTIALLY_HEALTHY
        - name: HEALTHY
          value: HEALTHY
          description: HEALTHY
    SeedingModeType:
      type: string
      description: Database seeding mode – can be Automatic (default), or Manual for supported scenarios.
      enum:
      - Automatic
      - Manual
      x-ms-enum:
        name: SeedingModeType
        modelAsString: true
        values:
        - name: Automatic
          value: Automatic
          description: Automatic
        - name: Manual
          value: Manual
          description: Manual
    DistributedAvailabilityGroupsFailoverRequest:
      type: object
      description: Distributed availability group failover.
      properties:
        failoverType:
          $ref: '#/components/schemas/FailoverType'
          description: The failover type, can be ForcedAllowDataLoss or Planned.
          x-ms-mutability:
          - update
          - create
      required:
      - failoverType
    FailoverModeType:
      type: string
      description: The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure.
      enum:
      - None
      - Manual
      x-ms-enum:
        name: FailoverModeType
        modelAsString: true
        values:
        - name: None
          value: None
          description: None
        - name: Manual
          value: Manual
          description: Manual
    InstanceRole:
      type: string
      description: New role of managed instance in a distributed availability group, can be Primary or Secondary.
      enum:
      - Primary
      - Secondary
      x-ms-enum:
        name: InstanceRole
        modelAsString: true
        values:
        - name: Primary
          value: Primary
          description: Primary
        - name: Secondary
          value: Secondary
          description: Secondary
    DistributedAvailabilityGroupDatabase:
      type: object
      description: Database specific information
      properties:
        databaseName:
          type: string
          description: The name of the database in link
        instanceReplicaId:
          $ref: '#/components/schemas/Azure.Core.uuid'
          description: Managed instance replica id
          readOnly: true
        partnerReplicaId:
          $ref: '#/components/schemas/Azure.Core.uuid'
          description: SQL server replica id
          readOnly: true
        replicaState:
          type: string
          description: Current link state
          readOnly: true
        seedingProgress:
          type: string
          description: Seeding progress
          readOnly: true
        synchronizationHealth:
          $ref: '#/components/schemas/ReplicaSynchronizationHealth'
          description: Link health state
          readOnly: true
        connectedState:
          $ref: '#/components/schemas/ReplicaConnectedState'
          description: Link connected state
          readOnly: true
        lastReceivedLsn:
          type: string
          description: Last received LSN
          readOnly: true
        lastReceivedTime:
          type: string
          format: date-time
          description: Last received LSN time
          readOnly: true
        lastSentLsn:
          type: string
          description: Last sent LSN
          readOnly: true
        lastSentTime:
          type: string
          format: date-time
          description: Last sent LSN time
          readOnly: true
        lastCommitLsn:
          type: string
          description: Last commit LSN
          readOnly: true
        lastCommitTime:
          type: string
          format: date-time
          description: Last commit LSN time
          readOnly: true
        lastHardenedLsn:
          type: string
          description: Last hardened LSN
          readOnly: true
        lastHardenedTime:
          type: string
          format: date-time
          description: Last hardened LSN time
          readOnly: true
        lastBackupLsn:
          type: string
          description: Last backup LSN
          readOnly: true
        lastBackupTime:
          type: string
          format: date-time
          description: Last backup LSN time
          readOnly: true
        mostRecentLinkError:
          type: string
          description: The most recent link connection error description
          readOnly: true
        partnerAuthCertValidity:
          $ref: '#/components/schemas/CertificateInfo'
          description: SQL server certificate validity
          readOnly: true
        instanceSendReplicationLagSeconds:
          type: integer
          format: int32
          description: Replication lag when Managed Instance link side is primary
          readOnly: true
        instanceRedoReplicationLagSeconds:
          type: integer
          format: int32
          description: Redo lag when Managed Instance link side is primary
          readOnly: true
  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.