Microsoft Azure Replication Protection Intents API

The ReplicationProtectionIntents API from Microsoft Azure, for replicationprotectionintents.

GitHub OpenAPI

Operations 3

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.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents List replication protection intents in a vault · Microsoft Azure Gets The List Of Replication Protection Intent Objects #
Ask an LLM
“Which Site Recovery protection intents exist in my Recovery Services vault?”
“Can I page through replication protection intents with a page size?”
Tell an agent
List replication protection intents in vault {resourceName}, resource group {resourceGroupName}, subscription {subscriptionId}.
Show {takeToken} protection intents per page from vault {resourceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName} Get a replication protection intent · Microsoft Azure Gets The Details Of A Replication Protection Intent Item #
Ask an LLM
“What is the state of a specific replication protection intent?”
“Can I look up one ASR protection intent by name?”
Tell an agent
Get protection intent {intentObjectName} in vault {resourceName}, resource group {resourceGroupName}, subscription {subscriptionId}.
Show details of replication intent {intentObjectName} in {resourceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName} Create a replication protection intent · Microsoft Azure Create Protection Intent Resource #
Ask an LLM
“How do I declare that a machine should be protected with Site Recovery replication?”
“What input do I give to create an ASR protection intent?”
Tell an agent
Create protection intent {intentObjectName} in vault {resourceName}, resource group {resourceGroupName}, subscription {subscriptionId}.
Create replication intent {intentObjectName} in {resourceName} with input {properties}.

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-replicationprotectionintents-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-replicationprotectionintents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-06-01'
  title: Microsoft Azure SiteRecoveryManagementClient Replication…
  x-ms-code-generation-settings:
    header: MICROSOFT_MIT_NO_VERSION
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ReplicationProtectionIntents
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents
  : get:
      tags:
      - ReplicationProtectionIntents
      summary: Microsoft Azure Gets The List Of Replication Protection Intent Objects
      description: Gets the list of ASR replication protection intent objects in the vault.
      operationId: microsoftAzureReplicationprotectionintentsList
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: skipToken
        in: query
        description: The pagination token.
        required: false
        schema:
          type: string
      - name: takeToken
        in: query
        description: The page size.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplicationProtectionIntentCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of replication protection intent objects.:
          $ref: ./examples/ReplicationProtectionIntents_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  : get:
      tags:
      - ReplicationProtectionIntents
      summary: Microsoft Azure Gets The Details Of A Replication Protection Intent Item
      description: Gets the details of an ASR replication protection intent.
      operationId: microsoftAzureReplicationprotectionintentsGet
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: intentObjectName
        in: path
        description: Replication protection intent name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplicationProtectionIntent'
      x-ms-examples:
        Gets the details of a Replication protection intent item.:
          $ref: ./examples/ReplicationProtectionIntents_Get.json
    put:
      tags:
      - ReplicationProtectionIntents
      summary: Microsoft Azure Create Protection Intent Resource
      description: The operation to create an ASR replication protection intent item.
      operationId: microsoftAzureReplicationprotectionintentsCreate
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: intentObjectName
        in: path
        description: A name for the replication protection item.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplicationProtectionIntent'
      x-ms-examples:
        Create protection intent Resource.:
          $ref: ./examples/ReplicationProtectionIntents_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProtectionIntentInput'
        description: Create Protection Intent Input.
        required: true
components:
  parameters:
    ApiVersion:
      name: api-version
      in: query
      description: Client Api Version.
      required: true
      schema:
        type: string
    SubscriptionId:
      name: subscriptionId
      in: path
      description: The subscription Id.
      required: true
      schema:
        type: string
    ResourceGroupName:
      name: resourceGroupName
      in: path
      description: The name of the resource group where the recovery services vault is present.
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
    ResourceName:
      name: resourceName
      in: path
      description: The name of the recovery services vault.
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  schemas:
    CreateProtectionIntentProviderSpecificDetails:
      description: Create protection intent provider specific input.
      required:
      - instanceType
      type: object
      properties:
        instanceType:
          description: The class type.
          type: string
      discriminator:
        propertyName: instanceType
    ReplicationProtectionIntentCollection:
      description: Replication protection intent objects collection.
      type: object
      properties:
        value:
          description: The Replication protection intent details.
          type: array
          items:
            $ref: '#/components/schemas/ReplicationProtectionIntent'
        nextLink:
          description: The value of next link.
          type: string
    CreateProtectionIntentProperties:
      description: Create protection intent input properties.
      type: object
      properties:
        providerSpecificDetails:
          $ref: '#/components/schemas/CreateProtectionIntentProviderSpecificDetails'
          description: The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput object.
    ReplicationProtectionIntentProperties:
      description: Replication protection intent custom data details.
      type: object
      properties:
        friendlyName:
          description: The name.
          type: string
        jobId:
          description: The job Id.
          type: string
          readOnly: true
        jobState:
          description: The job state.
          type: string
          readOnly: true
        isActive:
          description: A value indicating whether the intent object is active.
          type: boolean
          readOnly: true
        creationTimeUTC:
          description: The creation time in UTC.
          type: string
          readOnly: true
        providerSpecificDetails:
          $ref: '#/components/schemas/ReplicationProtectionIntentProviderSpecificSettings'
          description: The Replication provider custom settings.
    CreateProtectionIntentInput:
      description: Create protection intent input.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/CreateProtectionIntentProperties'
          description: Create protection intent input properties.
    ReplicationProtectionIntentProviderSpecificSettings:
      description: Replication provider specific settings.
      required:
      - instanceType
      type: object
      properties:
        instanceType:
          description: Gets the Instance type.
          type: string
      discriminator:
        propertyName: instanceType
    ReplicationProtectionIntent:
      description: Replication protection intent.
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/ReplicationProtectionIntentProperties'
          description: The custom data.
    Resource:
      description: Azure resource.
      type: object
      properties:
        id:
          description: Resource Id
          type: string
          readOnly: true
        name:
          description: Resource Name
          type: string
          readOnly: true
        type:
          description: Resource Type
          type: string
          readOnly: true
        location:
          description: Resource Location
          type: string
      x-ms-azure-resource: true
  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