Azure Site Recovery Replication Policies API
The Replication Policies API from Azure Site Recovery — 2 operation(s) for replication policies.
The Replication Policies API from Azure Site Recovery — 2 operation(s) for replication policies.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-site-recovery:microsoft-azure-site-recovery-replication-policies-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Microsoft Azure Site Recovery Replication Policies API
version: '2026-11-01'
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
description: 'Operations tagged ReplicationPolicies across 2 of this provider''s published API definitions: microsoft-azure-site-recovery-service-2026-11-01.json, microsoft-azure-site-recovery-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: Replication Policies
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies
: get:
operationId: ReplicationPolicies_List
tags:
- Replication Policies
summary: Gets the list of replication policies
description: Lists the replication policies for a vault.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: resourceName
in: path
description: The name of the Vault
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyCollection'
x-ms-examples:
Gets the list of replication policies.:
$ref: ./examples/ReplicationPolicies_List.json
x-ms-pageable:
nextLinkName: nextLink
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}
: get:
operationId: ReplicationPolicies_Get
tags:
- Replication Policies
summary: Gets the requested policy
description: Gets the details of a replication policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: resourceName
in: path
description: The name of the Vault
required: true
schema:
type: string
- name: policyName
in: path
description: Replication policy name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
x-ms-examples:
Gets the requested policy.:
$ref: ./examples/ReplicationPolicies_Get.json
put:
operationId: ReplicationPolicies_Create
tags:
- Replication Policies
summary: Creates the policy
description: The operation to create a replication policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: resourceName
in: path
description: The name of the Vault
required: true
schema:
type: string
- name: policyName
in: path
description: Replication policy name.
required: true
schema:
type: string
responses:
'200':
description: Resource 'Policy' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
'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
x-ms-examples:
Creates the policy.:
$ref: ./examples/ReplicationPolicies_Create.json
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/Policy'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePolicyInput'
description: Create policy input.
required: true
patch:
operationId: ReplicationPolicies_Update
tags:
- Replication Policies
summary: Updates the policy
description: The operation to update a replication policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: resourceName
in: path
description: The name of the Vault
required: true
schema:
type: string
- name: policyName
in: path
description: Replication policy name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
'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
x-ms-examples:
Updates the policy.:
$ref: ./examples/ReplicationPolicies_Update.json
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/Policy'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatePolicyInput'
description: Update Policy Input.
required: true
delete:
operationId: ReplicationPolicies_Delete
tags:
- Replication Policies
summary: Delete the policy
description: The operation to delete a replication policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: resourceName
in: path
description: The name of the Vault
required: true
schema:
type: string
- name: policyName
in: path
description: Replication policy name.
required: true
schema:
type: string
responses:
'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.
x-ms-examples:
Delete the policy.:
$ref: ./examples/ReplicationPolicies_Delete.json
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
servers:
- url: https://management.azure.com
components:
schemas:
CreatePolicyInput:
type: object
description: Protection Policy input.
properties:
properties:
$ref: '#/components/schemas/CreatePolicyInputProperties'
description: Policy creation properties.
PolicyCollection:
type: object
description: Protection Profile Collection details.
properties:
value:
type: array
description: The Policy items on this page
items:
$ref: '#/components/schemas/Policy'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
Policy:
type: object
description: Protection profile details.
properties:
properties:
$ref: '#/components/schemas/PolicyProperties'
description: The custom data.
location:
type: string
description: Resource Location
allOf:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
PolicyProviderSpecificInput:
type: object
description: Base class for provider specific input.
properties:
instanceType:
type: string
description: The class type.
discriminator:
propertyName: instanceType
required:
- instanceType
UpdatePolicyInputProperties:
type: object
description: Policy update properties.
properties:
replicationProviderSettings:
$ref: '#/components/schemas/PolicyProviderSpecificInput'
description: The ReplicationProviderSettings.
PolicyProviderSpecificDetails:
type: object
description: Base class for Provider specific details for policies.
properties:
instanceType:
type: string
description: Gets the class type. Overridden in derived classes.
discriminator:
propertyName: instanceType
required:
- instanceType
UpdatePolicyInput:
type: object
description: Update policy input.
properties:
properties:
$ref: '#/components/schemas/UpdatePolicyInputProperties'
description: The ReplicationProviderSettings.
PolicyProperties:
type: object
description: Protection profile custom data details.
properties:
friendlyName:
type: string
description: The FriendlyName.
providerSpecificDetails:
$ref: '#/components/schemas/PolicyProviderSpecificDetails'
description: The ReplicationChannelSetting.
CreatePolicyInputProperties:
type: object
description: Policy creation properties.
properties:
providerSpecificInput:
$ref: '#/components/schemas/PolicyProviderSpecificInput'
description: The ReplicationProviderSettings.
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.
x-refined-from:
- microsoft-azure-site-recovery-service-2026-11-01.json
- microsoft-azure-site-recovery-openapi.yml