Azure Site Recovery Replication Network Mappings API

The ReplicationNetworkMappings API from Azure Site Recovery — 3 operation(s) for replicationnetworkmappings.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings Gets all the network mappings under a network #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName} Gets network mapping by name #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName} Creates network mapping #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName} Updates network mapping #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName} Delete network mapping #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings Gets all the network mappings under a 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-replicationnetworkmappings-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-replicationnetworkmappings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SiteRecoveryManagementClient Replication Network Mappings…
  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: ReplicationNetworkMappings
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings
  : get:
      operationId: ReplicationNetworkMappings_ListByReplicationNetworks
      tags:
      - ReplicationNetworkMappings
      summary: Gets all the network mappings under a network
      description: Lists all ASR network mappings for the specified network.
      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: networkName
        in: path
        description: Primary network name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkMappingCollection'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}
  : get:
      operationId: ReplicationNetworkMappings_Get
      tags:
      - ReplicationNetworkMappings
      summary: Gets network mapping by name
      description: Gets the details of an ASR network mapping.
      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: networkName
        in: path
        description: Primary network name.
        required: true
        schema:
          type: string
      - name: networkMappingName
        in: path
        description: Network mapping name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkMapping'
    put:
      operationId: ReplicationNetworkMappings_Create
      tags:
      - ReplicationNetworkMappings
      summary: Creates network mapping
      description: The operation to create an ASR network mapping.
      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: networkName
        in: path
        description: Primary network name.
        required: true
        schema:
          type: string
      - name: networkMappingName
        in: path
        description: Network mapping name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'NetworkMapping' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkMapping'
        '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/NetworkMapping'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateNetworkMappingInput'
        description: Create network mapping input.
        required: true
    patch:
      operationId: ReplicationNetworkMappings_Update
      tags:
      - ReplicationNetworkMappings
      summary: Updates network mapping
      description: The operation to update an ASR network mapping.
      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: networkName
        in: path
        description: Primary network name.
        required: true
        schema:
          type: string
      - name: networkMappingName
        in: path
        description: Network mapping name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkMapping'
        '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-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/NetworkMapping'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateNetworkMappingInput'
        description: Update network mapping input.
        required: true
    delete:
      operationId: ReplicationNetworkMappings_Delete
      tags:
      - ReplicationNetworkMappings
      summary: Delete network mapping
      description: The operation to delete a network mapping.
      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: networkName
        in: path
        description: Primary network name.
        required: true
        schema:
          type: string
      - name: networkMappingName
        in: path
        description: Network mapping 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}/replicationNetworkMappings
  : get:
      operationId: ReplicationNetworkMappings_List
      tags:
      - ReplicationNetworkMappings
      summary: Gets all the network mappings under a vault
      description: Lists all ASR network mappings 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/NetworkMappingCollection'
      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:
    UpdateNetworkMappingInputProperties:
      type: object
      description: Common input details for network mapping operation.
      properties:
        recoveryFabricName:
          type: string
          description: Recovery fabric name.
        recoveryNetworkId:
          type: string
          description: Recovery network Id.
        fabricSpecificDetails:
          $ref: '#/components/schemas/FabricSpecificUpdateNetworkMappingInput'
          description: Fabrics specific input network Id.
    CreateNetworkMappingInputProperties:
      type: object
      description: Common input details for network mapping operation.
      properties:
        recoveryFabricName:
          type: string
          description: Recovery fabric Name.
        recoveryNetworkId:
          type: string
          description: Recovery network Id.
        fabricSpecificDetails:
          $ref: '#/components/schemas/FabricSpecificCreateNetworkMappingInput'
          description: Fabric specific input properties.
      required:
      - recoveryNetworkId
    NetworkMappingProperties:
      type: object
      description: Network Mapping Properties.
      properties:
        state:
          type: string
          description: The pairing state for network mapping.
        primaryNetworkFriendlyName:
          type: string
          description: The primary network friendly name.
        primaryNetworkId:
          type: string
          description: The primary network id for network mapping.
        primaryFabricFriendlyName:
          type: string
          description: The primary fabric friendly name.
        recoveryNetworkFriendlyName:
          type: string
          description: The recovery network friendly name.
        recoveryNetworkId:
          type: string
          description: The recovery network id for network mapping.
        recoveryFabricArmId:
          type: string
          description: The recovery fabric ARM id.
        recoveryFabricFriendlyName:
          type: string
          description: The recovery fabric friendly name.
        fabricSpecificSettings:
          $ref: '#/components/schemas/NetworkMappingFabricSpecificSettings'
          description: The fabric specific settings.
    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
    NetworkMappingCollection:
      type: object
      description: List of network mappings. As with NetworkMapping, it should be possible to reuse a prev version of this class. It doesn't seem likely this class could be anything more than a slightly bespoke collection of NetworkMapping. Hence it makes sense to override Load with Base.NetworkMapping instead of existing CurrentVersion.NetworkMapping.
      properties:
        value:
          type: array
          description: The NetworkMapping items on this page
          items:
            $ref: '#/components/schemas/NetworkMapping'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    UpdateNetworkMappingInput:
      type: object
      description: Update network mapping input.
      properties:
        properties:
          $ref: '#/components/schemas/UpdateNetworkMappingInputProperties'
          description: The input properties needed to update network mapping.
    NetworkMapping:
      type: object
      description: Network Mapping model. Ideally it should have been possible to inherit this class from prev version in InheritedModels as long as there is no difference in structure or method signature. Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required return type, the class has been introduced in its entirety with references to base models to facilitate extensions in subsequent versions.
      properties:
        properties:
          $ref: '#/components/schemas/NetworkMappingProperties'
          description: The Network Mapping Properties.
        location:
          type: string
          description: Resource Location
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    NetworkMappingFabricSpecificSettings:
      type: object
      description: Network Mapping fabric specific settings.
      properties:
        instanceType:
          type: string
          description: Gets the Instance type.
      discriminator:
        propertyName: instanceType
      required:
      - instanceType
    FabricSpecificCreateNetworkMappingInput:
      type: object
      description: Input details specific to fabrics during Network Mapping.
      properties:
        instanceType:
          type: string
          description: The instance type.
      discriminator:
        propertyName: instanceType
      required:
      - instanceType
    CreateNetworkMappingInput:
      type: object
      description: Create network mappings input.
      properties:
        properties:
          $ref: '#/components/schemas/CreateNetworkMappingInputProperties'
          description: Input properties for creating network mapping.
      required:
      - properties
    FabricSpecificUpdateNetworkMappingInput:
      type: object
      description: Input details specific to fabrics during Network Mapping.
      properties:
        instanceType:
          type: string
          description: The instance type.
      discriminator:
        propertyName: instanceType
      required:
      - instanceType
  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.