Microsoft Azure Vault API

Vault Controller.

GitHub OpenAPI

Operations 7

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}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName} Get a data replication vault · Microsoft Azure Gets The Vault #
Ask an LLM
“How do I view the details of an Azure Site Recovery data replication vault?”
“What properties and provisioning state does my replication vault have?”
Tell an agent
Get replication vault {vault}.
Show the details and provisioning state of vault {vault}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName} Create a data replication vault · Microsoft Azure Puts The Vault #
Ask an LLM
“How do I create a new vault for Azure Site Recovery data replication?”
“Which Azure region must I choose when creating a replication vault?”
Tell an agent
Create replication vault {vault} in {location}.
Set up a new data replication vault named {vault} in {location} tagged {tags}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName} Update a data replication vault · Microsoft Azure Updates The Vault #
Ask an LLM
“How do I change the tags or properties of an existing replication vault?”
“Can I patch a replication vault without recreating it?”
Tell an agent
Update the tags on replication vault {vault} to {tags}.
Patch vault {vault} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName} Delete a data replication vault · Microsoft Azure Deletes The Vault #
Ask an LLM
“How do I remove a replication vault I no longer use?”
“Can I delete a Site Recovery data replication vault by name?”
Tell an agent destructive · confirm first
Delete replication vault {vault}.
Permanently remove data replication vault {vault}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults List replication vaults in a subscription · Microsoft Azure Lists The Vaults #
Ask an LLM
“Which data replication vaults exist across my entire subscription?”
“How do I page through every replication vault I own?”
Tell an agent
List all data replication vaults in my subscription.
Get the next page of subscription-wide replication vaults using token {continuation_token}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults List replication vaults in a resource group · Microsoft Azure Lists The Vaults #
Ask an LLM
“What replication vaults are in one particular resource group?”
“How do I list just the resource group's Site Recovery data replication vaults?”
Tell an agent
List the data replication vaults in this resource group.
Continue listing the resource group's vaults from token {continuation_token}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/operations/{operationId} Check the status of a vault operation · Microsoft Azure Gets The Vault Operation Status #
Ask an LLM
“How do I track whether an asynchronous operation on my replication vault has completed?”
“Where can I poll the result of a long-running vault create or delete?”
Tell an agent
Get the status of operation {operationId} for replication vault {vault}.
Poll the async operation result on vault {vault}.

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-vault-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-vault-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Site Recovery Management Service…
  description: A first party Azure service enabling the data replication.
  version: 2021-02-16-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Vault
  description: Vault Controller.
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  : get:
      tags:
      - Vault
      summary: Microsoft Azure Gets The Vault
      description: Gets the details of the vault.
      operationId: microsoftAzureVaultGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/VaultNameParameter'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Returns Vault Model on success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModel'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Vault_Get:
          $ref: ./examples/Vault_Get.json
    put:
      tags:
      - Vault
      summary: Microsoft Azure Puts The Vault
      description: Creates the vault.
      operationId: microsoftAzureVaultCreate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/VaultNameParameter'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModel'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModel'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Vault_Create:
          $ref: ./examples/Vault_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VaultModel'
        description: Vault properties.
    patch:
      tags:
      - Vault
      summary: Microsoft Azure Updates The Vault
      description: Performs update on the vault.
      operationId: microsoftAzureVaultUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/VaultNameParameter'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModel'
        '202':
          description: Returns success on update.
          headers:
            Azure-AsyncOperation:
              description: Tracking URL for long running operation.
              schema:
                type: string
            Location:
              schema:
                type: string
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Vault_Update:
          $ref: ./examples/Vault_Update.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VaultModelUpdate'
        description: Vault properties.
    delete:
      tags:
      - Vault
      summary: Microsoft Azure Deletes The Vault
      description: Removes the vault.
      operationId: microsoftAzureVaultDelete
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/VaultNameParameter'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '202':
          description: Returns success on deletion.
          headers:
            Azure-AsyncOperation:
              description: Tracking URL for long running operation.
              schema:
                type: string
            Location:
              schema:
                type: string
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Vault_Delete:
          $ref: ./examples/Vault_Delete.json
  /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults:
    get:
      tags:
      - Vault
      summary: Microsoft Azure Lists The Vaults
      description: Gets the list of vaults in the given subscription.
      operationId: microsoftAzureVaultListbysubscription
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - in: query
        name: continuationToken
        description: Continuation token from the previous call.
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Returns Vault Model Collection on success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModelCollection'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Vault_ListBySubscription:
          $ref: ./examples/Vault_ListBySubscription.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults:
    get:
      tags:
      - Vault
      summary: Microsoft Azure Lists The Vaults
      description: Gets the list of vaults in the given subscription and resource group.
      operationId: microsoftAzureVaultList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - in: query
        name: continuationToken
        description: Continuation token from the previous call.
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Returns Vault Model Collection on success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultModelCollection'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Vault_List:
          $ref: ./examples/Vault_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/operations/{operationId}
  : get:
      tags:
      - Vault
      summary: Microsoft Azure Gets The Vault Operation Status
      description: Tracks the results of an asynchronous operation on the vault.
      operationId: microsoftAzureVaultoperationstatusGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/VaultNameParameter'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationStatus'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        VaultOperationStatus_Get:
          $ref: ./examples/VaultOperationStatus_Get.json
components:
  schemas:
    VaultModelUpdate:
      description: Vault model for update.
      type: object
      properties:
        tags:
          description: Gets or sets the resource tags.
          maxLength: 15
          type: object
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/VaultModelProperties'
        id:
          description: Gets or sets the Id of the resource.
          type: string
          readOnly: true
        name:
          description: Gets or sets the name of the resource.
          type: string
          readOnly: true
        type:
          description: Gets or sets the type of the resource.
          type: string
          readOnly: true
        systemData:
          allOf:
          - $ref: '#/components/schemas/SystemDataModel'
          readOnly: true
      x-ms-azure-resource: true
    OperationStatus:
      description: Defines the operation status.
      type: object
      properties:
        id:
          description: Gets or sets the Id.
          type: string
        name:
          description: Gets or sets the operation name.
          type: string
        status:
          description: 'Gets or sets the status of the operation. ARM expects the terminal status to be one of

            Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.'
          type: string
        startTime:
          description: Gets or sets the start time.
          type: string
        endTime:
          description: Gets or sets the end time.
          type: string
    VaultModelCollection:
      description: Vault model collection.
      type: object
      properties:
        value:
          description: Gets or sets the list of vaults.
          type: array
          items:
            $ref: '#/components/schemas/VaultModel'
          x-ms-identifiers: []
        nextLink:
          description: Gets or sets the value of next link.
          type: string
    VaultModelProperties:
      description: Vault properties.
      type: object
      properties:
        provisioningState:
          description: Gets or sets the provisioning state of the vault.
          enum:
          - Canceled
          - Creating
          - Deleting
          - Deleted
          - Failed
          - Succeeded
          - Updating
          type: string
          readOnly: true
          x-ms-enum:
            name: ProvisioningState
            modelAsString: true
        serviceResourceId:
          description: Gets or sets the service resource Id.
          type: string
          readOnly: true
        vaultType:
          description: Gets or sets the type of vault.
          enum:
          - DisasterRecovery
          - Migrate
          type: string
          x-ms-enum:
            name: ReplicationVaultType
            modelAsString: true
    SystemDataModel:
      description: System data required to be defined for Azure resources.
      type: object
      properties:
        createdBy:
          description: Gets or sets identity that created the resource.
          type: string
        createdByType:
          description: 'Gets or sets the type of identity that created the resource: user, application,

            managedIdentity.'
          type: string
        createdAt:
          format: date-time
          description: Gets or sets the timestamp of resource creation (UTC).
          type: string
        lastModifiedBy:
          description: Gets or sets the identity that last modified the resource.
          type: string
        lastModifiedByType:
          description: 'Gets or sets the type of identity that last modified the resource: user, application,

            managedIdentity.'
          type: string
        lastModifiedAt:
          format: date-time
          description: Gets or sets the timestamp of resource last modification (UTC).
          type: string
    VaultModel:
      description: Vault model.
      required:
      - location
      type: object
      properties:
        location:
          description: Gets or sets the location of the vault.
          minLength: 1
          type: string
          x-ms-mutability:
          - create
          - read
        tags:
          description: Gets or sets the resource tags.
          maxLength: 15
          type: object
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/VaultModelProperties'
        id:
          description: Gets or sets the Id of the resource.
          type: string
          readOnly: true
        name:
          description: Gets or sets the name of the resource.
          type: string
          readOnly: true
        type:
          description: Gets or sets the type of the resource.
          type: string
          readOnly: true
        systemData:
          allOf:
          - $ref: '#/components/schemas/SystemDataModel'
          readOnly: true
      x-ms-azure-resource: true
  parameters:
    VaultNameParameter:
      in: path
      name: vaultName
      description: The vault name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9]*$
  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