Microsoft Azure Replication Protection Containers API

The ReplicationProtectionContainers API from Microsoft Azure, for replicationprotectioncontainers.

GitHub OpenAPI
Business capability
Disaster Recovery Management BC-160.20

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.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers List protection containers in a replication fabric · Microsoft Azure Gets The List Of Protection Container For A Fabric #
Ask an LLM
“Which protection containers exist in a Site Recovery fabric?”
“What containers are under one replication fabric in my vault?”
Tell an agent
List protection containers in fabric {fabricName} of vault {resourceName} in {resourceGroupName}, subscription {subscriptionId}.
Show replication protection containers for fabric {fabricName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName} Get a Site Recovery protection container · Microsoft Azure Gets The Protection Container Details #
Ask an LLM
“How do I see the details of one replication protection container?”
“What pairing status does a protection container show?”
Tell an agent
Get protection container {protectionContainerName} in fabric {fabricName} of vault {resourceName} ({resourceGroupName}, sub {subscriptionId}).
Show replication container {protectionContainerName} details.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName} Create a Site Recovery protection container · Microsoft Azure Create A Protection Container #
Ask an LLM
“How do I create a protection container in a replication fabric?”
“Can I set provider-specific input when creating a protection container?”
Tell an agent
Create protection container {protectionContainerName} in fabric {fabricName} of vault {resourceName} ({resourceGroupName}, sub {subscriptionId}).
Create replication container {protectionContainerName} with properties {properties}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem Add a physical server to a protection container · Microsoft Azure Adds A Protectable Item To The Replication Protection Container #
Ask an LLM
“How do I add a physical server as a protectable item in Site Recovery?”
“Can I register a machine by IP for discovery in a protection container?”
Tell an agent
Discover protectable item in container {protectionContainerName} in fabric {fabricName}, vault {resourceName} ({resourceGroupName}, sub {subscriptionId}).
Add physical server {properties} to protection container {protectionContainerName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove Remove a Site Recovery protection container · Microsoft Azure Removes A Protection Container #
Ask an LLM
“How do I remove a protection container from a replication fabric?”
“Can I delete a protection container I no longer use for replication?”
Tell an agent destructive · confirm first
Remove protection container {protectionContainerName} from fabric {fabricName} in vault {resourceName} ({resourceGroupName}, sub {subscriptionId}).
Delete replication container {protectionContainerName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection Switch protection to another container or provider · Microsoft Azure Switches Protection From One Container To Another Or One… #
Ask an LLM
“How do I move replication protection from one container to another?”
“Can I switch a protected item to a different replication provider?”
Tell an agent
Switch protection on container {protectionContainerName} in fabric {fabricName}, vault {resourceName} ({resourceGroupName}, sub {subscriptionId}).
Switch protection for container {protectionContainerName} using {properties}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers List all protection containers in a vault · Microsoft Azure Gets The List Of All Protection Containers In A Vault #
Ask an LLM
“What protection containers exist across every fabric in my Recovery Services vault?”
“Can I see all replication containers in a vault at once?”
Tell an agent
List all protection containers in vault {resourceName} in {resourceGroupName}, subscription {subscriptionId}.
Show every replication protection container in vault {resourceName}.

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-replicationprotectioncontainers-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-replicationprotectioncontainers-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: ReplicationProtectionContainers
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers
  : get:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Gets The List Of Protection Container For A Fabric
      description: Lists the protection containers in the specified fabric.
      operationId: microsoftAzureReplicationprotectioncontainersListbyreplicationfabrics
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainerCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of protection container for a fabric.:
          $ref: ./examples/ReplicationProtectionContainers_ListByReplicationFabrics.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}
  : get:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Gets The Protection Container Details
      description: Gets the details of a protection container.
      operationId: microsoftAzureReplicationprotectioncontainersGet
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: protectionContainerName
        in: path
        description: Protection container name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainer'
      x-ms-examples:
        Gets the protection container details.:
          $ref: ./examples/ReplicationProtectionContainers_Get.json
    put:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Create A Protection Container
      description: Operation to create a protection container.
      operationId: microsoftAzureReplicationprotectioncontainersCreate
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: Unique fabric ARM name.
        required: true
        schema:
          type: string
      - name: protectionContainerName
        in: path
        description: Unique protection container ARM name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainer'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Create a protection container.:
          $ref: ./examples/ReplicationProtectionContainers_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProtectionContainerInput'
        description: Creation input.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem
  : post:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Adds A Protectable Item To The Replication Protection Container
      description: The operation to a add a protectable item to a protection container(Add physical server).
      operationId: microsoftAzureReplicationprotectioncontainersDiscoverprotectableitem
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: The name of the fabric.
        required: true
        schema:
          type: string
      - name: protectionContainerName
        in: path
        description: The name of the protection container.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainer'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Adds a protectable item to the replication protection container.:
          $ref: ./examples/ReplicationProtectionContainers_DiscoverProtectableItem.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscoverProtectableItemRequest'
        description: The request object to add a protectable item.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove
  : post:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Removes A Protection Container
      description: Operation to remove a protection container.
      operationId: microsoftAzureReplicationprotectioncontainersDelete
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: Unique fabric ARM name.
        required: true
        schema:
          type: string
      - name: protectionContainerName
        in: path
        description: Unique protection container ARM name.
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Accepted
        '204':
          description: NoContent
      x-ms-long-running-operation: true
      x-ms-examples:
        Removes a protection container.:
          $ref: ./examples/ReplicationProtectionContainers_Delete.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection
  : post:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Switches Protection From One Container To Another Or One…
      description: Operation to switch protection from one container to another or one replication provider to another.
      operationId: microsoftAzureReplicationprotectioncontainersSwitchprotection
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      - name: fabricName
        in: path
        description: Unique fabric name.
        required: true
        schema:
          type: string
      - name: protectionContainerName
        in: path
        description: Protection container name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainer'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Switches protection from one container to another or one replication provider to another.:
          $ref: ./examples/ReplicationProtectionContainers_SwitchProtection.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwitchProtectionInput'
        description: Switch protection input.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers
  : get:
      tags:
      - ReplicationProtectionContainers
      summary: Microsoft Azure Gets The List Of All Protection Containers In A Vault
      description: Lists the protection containers in a vault.
      operationId: microsoftAzureReplicationprotectioncontainersList
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
      - $ref: '#/components/parameters/ResourceName'
      - $ref: '#/components/parameters/ResourceGroupName'
      - $ref: '#/components/parameters/SubscriptionId'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectionContainerCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of all protection containers in a vault.:
          $ref: ./examples/ReplicationProtectionContainers_List.json
components:
  schemas:
    ReplicationProviderSpecificContainerCreationInput:
      description: Provider specific input for container creation operation.
      required:
      - instanceType
      type: object
      properties:
        instanceType:
          description: The class type.
          type: string
      discriminator:
        propertyName: instanceType
    DiscoverProtectableItemRequestProperties:
      description: Discover protectable item properties.
      type: object
      properties:
        friendlyName:
          description: The friendly name of the physical machine.
          type: string
        ipAddress:
          description: The IP address of the physical machine to be discovered.
          type: string
        osType:
          description: The OS type on the physical machine.
          type: string
    ProtectionContainerFabricSpecificDetails:
      description: Base class for fabric specific details of container.
      type: object
      properties:
        instanceType:
          description: Gets the class type. Overridden in derived classes.
          type: string
          readOnly: true
    ProtectionContainer:
      description: Protection container details.
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/ProtectionContainerProperties'
          description: The custom data.
    SwitchProtectionProviderSpecificInput:
      description: Provider specific switch protection input.
      required:
      - instanceType
      type: object
      properties:
        instanceType:
          description: Gets the Instance type.
          type: string
      discriminator:
        propertyName: instanceType
    DiscoverProtectableItemRequest:
      description: Request to add a physical machine as a protectable item in a container.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/DiscoverProtectableItemRequestProperties'
          description: The properties of a discover protectable item request.
    ProtectionContainerProperties:
      description: Protection profile custom data details.
      type: object
      properties:
        fabricFriendlyName:
          description: Fabric friendly name.
          type: string
        friendlyName:
          description: The name.
          type: string
        fabricType:
          description: The fabric type.
          type: string
        protectedItemCount:
          format: int32
          description: Number of protected PEs.
          type: integer
        pairingStatus:
          description: The pairing status of this cloud.
          type: string
        role:
          description: The role of this cloud.
          type: string
        fabricSpecificDetails:
          $ref: '#/components/schemas/ProtectionContainerFabricSpecificDetails'
          description: Fabric specific details.
    CreateProtectionContainerInput:
      description: Create protection container input.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/CreateProtectionContainerInputProperties'
          description: Create protection container input properties.
    ProtectionContainerCollection:
      description: Protection Container collection.
      type: object
      properties:
        value:
          description: The Protection Container details.
          type: array
          items:
            $ref: '#/components/schemas/ProtectionContainer'
        nextLink:
          description: The value of next link.
          type: string
    SwitchProtectionInput:
      description: Switch protection input.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/SwitchProtectionInputProperties'
          description: Switch protection properties.
    SwitchProtectionInputProperties:
      description: Switch protection input properties.
      type: object
      properties:
        replicationProtectedItemName:
          description: The unique replication protected item name.
          type: string
        providerSpecificDetails:
          $ref: '#/components/schemas/SwitchProtectionProviderSpecificInput'
          description: Provider specific switch protection input.
    CreateProtectionContainerInputProperties:
      description: Create protection container input properties.
      type: object
      properties:
        providerSpecificInput:
          description: Provider specific inputs for container creation.
          type: array
          items:
            $ref: '#/components/schemas/ReplicationProviderSpecificContainerCreationInput'
    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
  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
  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