Azure Site Recovery Replication Recovery Services Providers API

The ReplicationRecoveryServicesProviders API from Azure Site Recovery — 5 operation(s) for replicationrecoveryservicesproviders.

GitHub OpenAPI

Operations 7

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders Gets the list of registered recovery services providers for the fabric #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName} Gets the details of a recovery services provider #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName} Adds a recovery services provider #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName} Purges recovery service provider from fabric #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider Refresh details from the recovery services provider #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove Deletes provider from fabric. #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders Gets the list of registered recovery services providers in the 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-site-recovery:microsoft-azure-site-recovery-replicationrecoveryservicesproviders-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-site-recovery-replicationrecoveryservicesproviders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SiteRecoveryManagementClient Replication Recovery Services…
  version: '2026-11-01'
  description: Open API for RecoveryServicesSiteRecovery
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ReplicationRecoveryServicesProviders
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders
  : get:
      operationId: ReplicationRecoveryServicesProviders_ListByReplicationFabrics
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Gets the list of registered recovery services providers for the fabric
      description: Lists the registered recovery services providers for the specified fabric.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryServicesProviderCollection'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}
  : get:
      operationId: ReplicationRecoveryServicesProviders_Get
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Gets the details of a recovery services provider
      description: Gets the details of registered recovery services provider.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Recovery services provider name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryServicesProvider'
    put:
      operationId: ReplicationRecoveryServicesProviders_Create
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Adds a recovery services provider
      description: The operation to add a recovery services provider.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Recovery services provider name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'RecoveryServicesProvider' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryServicesProvider'
        '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-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/RecoveryServicesProvider'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRecoveryServicesProviderInput'
        description: Add provider input.
        required: true
    delete:
      operationId: ReplicationRecoveryServicesProviders_Purge
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Purges recovery service provider from fabric
      description: The operation to purge(force delete) a recovery services provider from the vault.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Recovery services provider 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-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider
  : post:
      operationId: ReplicationRecoveryServicesProviders_RefreshProvider
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Refresh details from the recovery services provider
      description: The operation to refresh the information from the recovery services provider.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Recovery services provider name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryServicesProvider'
        '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-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/RecoveryServicesProvider'
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove
  : post:
      operationId: ReplicationRecoveryServicesProviders_Delete
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Deletes provider from fabric.
      description: The operation to removes/delete(unregister) a recovery services provider from the vault.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the Vault
        required: true
        schema:
          type: string
      - name: fabricName
        in: path
        description: Fabric name.
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Recovery services provider name.
        required: true
        schema:
          type: string
      responses:
        '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
        '204':
          description: There is no content to send for this request, but the headers may be useful.
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders
  : get:
      operationId: ReplicationRecoveryServicesProviders_List
      tags:
      - ReplicationRecoveryServicesProviders
      summary: Gets the list of registered recovery services providers in the vault.
      description: Lists the registered recovery services providers in the vault.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceName
        in: path
        description: The name of the recovery services vault.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryServicesProviderCollection'
      x-ms-pageable:
        nextLinkName: nextLink
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  schemas:
    IdentityProviderInput:
      type: object
      description: Identity provider input.
      properties:
        tenantId:
          type: string
          description: The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        applicationId:
          type: string
          description: The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        objectId:
          type: string
          description: The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        audience:
          type: string
          description: The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        aadAuthority:
          type: string
          description: The base authority for Azure Active Directory authentication.
      required:
      - tenantId
      - applicationId
      - objectId
      - audience
      - aadAuthority
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    HealthError:
      type: object
      description: Health Error.
      properties:
        innerHealthErrors:
          type: array
          description: The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.
          items:
            $ref: '#/components/schemas/InnerHealthError'
        errorSource:
          type: string
          description: Source of error.
        errorType:
          type: string
          description: Type of error.
        errorLevel:
          type: string
          description: Level of error.
        errorCategory:
          type: string
          description: Category of error.
        errorCode:
          type: string
          description: Error code.
        summaryMessage:
          type: string
          description: Summary message of the entity.
        errorMessage:
          type: string
          description: Error message.
        possibleCauses:
          type: string
          description: Possible causes of error.
        recommendedAction:
          type: string
          description: Recommended action to resolve error.
        creationTimeUtc:
          type: string
          format: date-time
          description: Error creation time (UTC).
        recoveryProviderErrorMessage:
          type: string
          description: DRA error message.
        entityId:
          type: string
          description: ID of the entity.
        errorId:
          type: string
          description: The health error unique id.
        customerResolvability:
          $ref: '#/components/schemas/HealthErrorCustomerResolvability'
          description: Value indicating whether the health error is customer resolvable.
    AddRecoveryServicesProviderInput:
      type: object
      description: Input required to add a provider.
      properties:
        properties:
          $ref: '#/components/schemas/AddRecoveryServicesProviderInputProperties'
          description: The properties of an add provider request.
      required:
      - properties
    VersionDetails:
      type: object
      description: Version related details.
      properties:
        version:
          type: string
          description: The agent version.
        expiryDate:
          type: string
          format: date-time
          description: Version expiry date.
        status:
          $ref: '#/components/schemas/AgentVersionStatus'
          description: A value indicating whether security update required.
    InnerHealthError:
      type: object
      description: Implements InnerHealthError class. HealthError object has a list of InnerHealthErrors as child errors. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.
      properties:
        errorSource:
          type: string
          description: Source of error.
        errorType:
          type: string
          description: Type of error.
        errorLevel:
          type: string
          description: Level of error.
        errorCategory:
          type: string
          description: Category of error.
        errorCode:
          type: string
          description: Error code.
        summaryMessage:
          type: string
          description: Summary message of the entity.
        errorMessage:
          type: string
          description: Error message.
        possibleCauses:
          type: string
          description: Possible causes of error.
        recommendedAction:
          type: string
          description: Recommended action to resolve error.
        creationTimeUtc:
          type: string
          format: date-time
          description: Error creation time (UTC).
        recoveryProviderErrorMessage:
          type: string
          description: DRA error message.
        entityId:
          type: string
          description: ID of the entity.
        errorId:
          type: string
          description: The health error unique id.
        customerResolvability:
          $ref: '#/components/schemas/HealthErrorCustomerResolvability'
          description: Value indicating whether the health error is customer resolvable.
    IdentityProviderDetails:
      type: object
      description: Identity provider details.
      properties:
        tenantId:
          type: string
          description: The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        applicationId:
          type: string
          description: The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        objectId:
          type: string
          description: The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        audience:
          type: string
          description: The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
        aadAuthority:
          type: string
          description: The base authority for Azure Active Directory authentication.
    RecoveryServicesProvider:
      type: object
      description: Provider details.
      properties:
        properties:
          $ref: '#/components/schemas/RecoveryServicesProviderProperties'
          description: Provider properties.
        location:
          type: string
          description: Resource Location
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    HealthErrorCustomerResolvability:
      type: string
      description: Value indicating whether the health error is customer resolvable.
      enum:
      - Allowed
      - NotAllowed
      x-ms-enum:
        name: HealthErrorCustomerResolvability
        modelAsString: true
        values:
        - name: Allowed
          value: Allowed
          description: Allowed
        - name: NotAllowed
          value: NotAllowed
          description: NotAllowed
    AgentVersionStatus:
      type: string
      description: A value indicating whether security update required.
      enum:
      - Supported
      - NotSupported
      - Deprecated
      - UpdateRequired
      - SecurityUpdateRequired
      x-ms-enum:
        name: AgentVersionStatus
        modelAsString: true
        values:
        - name: Supported
          value: Supported
          description: Supported
        - name: NotSupported
          value: NotSupported
          description: NotSupported
        - name: Deprecated
          value: Deprecated
          description: Deprecated
        - name: UpdateRequired
          value: UpdateRequired
          description: UpdateRequired
        - name: SecurityUpdateRequired
          value: SecurityUpdateRequired
          description: SecurityUpdateRequired
    RecoveryServicesProviderCollection:
      type: object
      description: Collection of providers.
      properties:
        value:
          type: array
          description: The RecoveryServicesProvider items on this page
          items:
            $ref: '#/components/schemas/RecoveryServicesProvider'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    AddRecoveryServicesProviderInputProperties:
      type: object
      description: The properties of an add provider request.
      properties:
        machineName:
          type: string
          description: The name of the machine where the provider is getting added.
        machineId:
          type: string
          description: The Id of the machine where the provider is getting added.
        biosId:
          type: string
          description: The Bios Id of the machine.
        authenticationIdentityInput:
          $ref: '#/components/schemas/IdentityProviderInput'
          description: The identity provider input for DRA authentication.
        resourceAccessIdentityInput:
          $ref: '#/components/schemas/IdentityProviderInput'
          description: The identity provider input for resource access.
        dataPlaneAuthenticationIdentityInput:
          $ref: '#/components/schemas/IdentityProviderInput'
          description: The identity provider input for data plane authentication.
      required:
      - machineName
      - authenticationIdentityInput
      - resourceAccessIdentityInput
    RecoveryServicesProviderProperties:
      type: object
      description: Recovery services provider properties.
      properties:
        fabricType:
          type: string
          description: Type of the site.
        friendlyName:
          type: string
          description: Friendly name of the DRA.
        providerVersion:
          type: string
          description: The provider version.
        serverVersion:
          type: string
          description: The fabric provider.
        providerVersionState:
          type: string
          description: DRA version status.
        providerVersionExpiryDate:
          type: string
          format: date-time
          description: Expiry date of the version.
        fabricFriendlyName:
          type: string
          description: The fabric friendly name.
        lastHeartBeat:
          type: string
          format: date-time
          description: Time when last heartbeat was sent by the DRA.
        connectionStatus:
          type: string
          description: A value indicating whether DRA is responsive.
        protectedItemCount:
          type: integer
          format: int32
          description: Number of protected VMs currently managed by the DRA.
        allowedScenarios:
          type: array
          description: The scenarios allowed on this provider.
          items:
            type: string
        healthErrorDetails:
          type: array
          description: The recovery services provider health error details.
          items:
            $ref: '#/components/schemas/HealthError'
        draIdentifier:
          type: string
          description: The DRA Id.
        machineId:
          type: string
          description: The machine Id.
        machineName:
          type: string
          description: The machine name.
        biosId:
          type: string
          description: The Bios Id.
        authenticationIdentityDetails:
          $ref: '#/components/schemas/IdentityProviderDetails'
          description: The authentication identity details.
        resourceAccessIdentityDetails:
          $ref: '#/components/schemas/IdentityProviderDetails'
          description: The resource access identity details.
        dataPlaneAuthenticationIdentityDetails:
          $ref: '#/components/schemas/IdentityProviderDetails'
          description: The data plane authentication identity details.
        providerVersionDetails:
          $ref: '#/components/schemas/VersionDetails'
          description: The provider version details.
  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.