Microsoft Azure Replication Protected Items API

The ReplicationProtectedItems API from Microsoft Azure, for replicationprotecteditems.

GitHub OpenAPI
Business capability
Disaster Recovery Management BC-160.20

Operations 22

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/{protectionContainerName}/replicationProtectedItems List protected items in a protection container · Microsoft Azure Gets The List Of Replication Protected Items #
Ask an LLM
“Which VMs are being replicated inside one Site Recovery protection container?”
“Can I see only the protected items that belong to a single container rather than the whole vault?”
Tell an agent
List replication protected items in container {container} of fabric {fabric} in vault {vault} ({rg}), subscription {subscription}.
Show what is replicating in protection container {container}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName} Get a replication protected item's details · Microsoft Azure Gets The Details Of A Replication Protected Item #
Ask an LLM
“What is the replication health and state of one protected VM in Azure Site Recovery?”
“How can I check the current failover state of a single replicated item?”
Tell an agent
Get details of protected item {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Show the replication status of {item} in vault {vault}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName} Enable replication for a machine · Microsoft Azure Enables Protection #
Ask an LLM
“How do I turn on Site Recovery replication for a virtual machine?”
“Can I start protecting a new machine in an existing protection container?”
Tell an agent
Enable replication for {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Start protecting machine {item} with vault {vault}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName} Force-purge a replication protected item · Microsoft Azure Purges Protection #
Ask an LLM
“What happens if I force delete a protected item instead of disabling replication cleanly?”
“Is there a way to purge a stuck replication protected item from the vault?”
Tell an agent destructive · confirm first
Purge protected item {item} from container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Force delete the replication item {item} in vault {vault}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName} Update recovery settings of a protected item · Microsoft Azure Updates The Replication Protected Item Settings #
Ask an LLM
“Can I change the recovery settings of a VM that is already replicating?”
“Where do I edit the failover configuration of an existing protected item?”
Tell an agent
Update recovery settings of {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Change the recovery configuration for protected item {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks Add disks to a protected item · Microsoft Azure Add Disk S For Protection #
Ask an LLM
“I attached a new data disk to a replicated VM - how do I include it in replication?”
“Can extra disks be added to protection after replication is already enabled?”
Tell an agent
Add disks to protected item {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Include the new disks of {item} in replication for vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint Change the recovery point of a failed-over item · Microsoft Azure Change Or Apply Recovery Point #
Ask an LLM
“After failover, can I switch the VM to a different recovery point?”
“How do I apply an older recovery point to a machine that has already failed over?”
Tell an agent
Apply a different recovery point to {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Change the recovery point used by failed-over item {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCancel Cancel a failover of a protected item · Microsoft Azure Execute Cancel Failover #
Ask an LLM
“Can I cancel a failover that is in progress for a replicated VM?”
“How do I back out of a failover before committing it?”
Tell an agent destructive · confirm first
Cancel failover of {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Abort the pending failover for {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit Commit a failover of a protected item · Microsoft Azure Execute Commit Failover #
Ask an LLM
“How do I make a failover permanent once the recovered VM looks good?”
“What finalizes a Site Recovery failover so it can no longer be cancelled?”
Tell an agent destructive · confirm first
Commit failover for {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Finalize the failover of {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover Start a planned failover · Microsoft Azure Execute Planned Failover #
Ask an LLM
“How do I run a planned failover with no data loss for a replicated VM?”
“Can I schedule a planned failover of a single protected machine for maintenance?”
Tell an agent
Run a planned failover of {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Start a planned failover for protected item {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove Disable replication and remove the item · Microsoft Azure Disables Protection #
Ask an LLM
“How do I stop protecting a VM and clean it out of Site Recovery properly?”
“Does disabling replication also remove the protected item from the container?”
Tell an agent destructive · confirm first
Disable replication for {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Stop protecting {item} in vault {vault} and remove it cleanly.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks Remove disks from a protected item · Microsoft Azure Removes Disk S #
Ask an LLM
“Can I exclude a disk from replication on a VM that is already protected?”
“How do I stop replicating one of a protected machine's disks?”
Tell an agent
Remove disks from protected item {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Exclude disks of {item} from replication in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication Resynchronize a protected item's replication · Microsoft Azure Resynchronize Or Repair Replication #
Ask an LLM
“My replicated VM says resynchronization required - how do I fix it?”
“Can I trigger a repair of broken replication for one protected item?”
Tell an agent
Resynchronize replication for {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Repair replication on {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect Reprotect a failed-over item (reverse replicate) · Microsoft Azure Execute Reverse Replication\reprotect #
Ask an LLM
“After failing over, how do I start replicating back to the original site?”
“What sets up reverse replication for a machine that has been failed over?”
Tell an agent
Reprotect {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Reverse replicate failed-over item {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/resolveHealthErrors Resolve health errors on a protected item · Microsoft Azure Resolve Health Errors #
Ask an LLM
“How can I clear health warnings reported on a replicated VM?”
“Is there an operation to mark replication health issues as resolved?”
Tell an agent
Resolve health errors on {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Clear the replication health issues for {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/switchProvider Switch the replication provider of an item · Microsoft Azure Execute Switch Provider #
Ask an LLM
“Can I move a protected VM to a different Site Recovery replication provider?”
“What does switching provider do for a replicated machine?”
Tell an agent
Switch the replication provider for {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Move protected item {item} in vault {vault} to another replication provider.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover Run a test failover · Microsoft Azure Execute Test Failover #
Ask an LLM
“How do I rehearse disaster recovery without affecting production replication?”
“Can I spin up a test failover of one VM into an isolated network?”
Tell an agent
Run a test failover of {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Do a DR drill for {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup Clean up after a test failover · Microsoft Azure Execute Test Failover Cleanup #
Ask an LLM
“Once a DR drill is done, how do I tear down the test failover VM?”
“What removes the resources created by a test failover?”
Tell an agent destructive · confirm first
Clean up the test failover of {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Tear down the DR drill for {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover Start an unplanned failover · Microsoft Azure Execute Unplanned Failover #
Ask an LLM
“My primary site is down - how do I fail a replicated VM over right now?”
“Can I trigger an emergency failover for a single protected item?”
Tell an agent
Run an unplanned failover of {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Fail over {item} in vault {vault} immediately after an outage.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateAppliance Change the replication appliance of an item · Microsoft Azure Updates Appliance For Replication Protected Item #
Ask an LLM
“Can I move a protected machine to a different replication appliance?”
“How do I reassign which appliance handles replication for one VM?”
Tell an agent
Update the appliance for {item} in container {container}, fabric {fabric}, vault {vault}, group {rg}, subscription {subscription}.
Assign a new replication appliance to {item} in vault {vault}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateMobilityService Push a Mobility service update to an item · Microsoft Azure Update The Mobility Service On A Protected Item #
Ask an LLM
“How do I upgrade the Mobility service agent on a replicated machine to the latest version?”
“Can Site Recovery push the newest mobility agent to one protected server?”
Tell an agent
Update the Mobility service on {item} in container {container}, fabric {fabric}, vault {vault} ({rg}), subscription {subscription}.
Upgrade the mobility agent on protected item {item} in vault {vault}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems List all protected items in a vault · Microsoft Azure Gets The List Of Replication Protected Items #
Ask an LLM
“Which machines are protected across my whole Recovery Services vault?”
“Can I filter the vault-wide list of replicated items and page through it?”
Tell an agent
List every replication protected item in vault {vault} in group {rg}, subscription {subscription}.
List protected items in vault {vault} ({rg}) matching {filter}.

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-replicationprotecteditems-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-replicationprotecteditems-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:


# --- truncated at 32 KB (69 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure/openapi/microsoft-azure-replicationprotecteditems-api-openapi.yml