Microsoft Azure Site Recovery Management Client

The Microsoft Azure Site Recovery Management Client is a tool that allows users to manage and monitor their disaster recovery plans on the Azure platform. This client provides a centralized dashboard for setting up, configuring, and testing disaster recovery scenarios, as well as for monitoring the health and performance of replication and failover processes. Users can easily initiate failovers, perform test failovers, and track replication progress, all from one convenient interface.

OpenAPI Specification

siterecoverymanagementclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: '2023-06-01'
  title: Microsoft Azure SiteRecoveryManagementClient
  x-ms-code-generation-settings:
    header: MICROSOFT_MIT_NO_VERSION
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations:
    get:
      tags:
        - Operations
      summary: 'Microsoft Azure Returns The List Of Available Operations'
      description: Operation to return the list of available operations.
      operationId: microsoftAzureOperationsList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationsDiscoveryCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Returns the list of available operations.:
          $ref: ./examples/Operations_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings
  : get:
      tags:
        - ReplicationAlertSettings
      summary: 'Microsoft Azure Gets The List Of Configured Email Notification Alert Configurations'
      description: Gets the list of email notification(alert) configurations for the vault.
      operationId: microsoftAzureReplicationalertsettingsList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AlertCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of configured email notification(alert) configurations.:
          $ref: ./examples/ReplicationAlertSettings_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}
  : get:
      tags:
        - ReplicationAlertSettings
      summary: 'Microsoft Azure Gets An Email Notification Alert Configuration'
      description: >-
        Gets the details of the specified email notification(alert)
        configuration.
      operationId: microsoftAzureReplicationalertsettingsGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: alertSettingName
          in: path
          description: The name of the email notification configuration.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Alert'
      x-ms-examples:
        Gets an email notification(alert) configuration.:
          $ref: ./examples/ReplicationAlertSettings_Get.json
    put:
      tags:
        - ReplicationAlertSettings
      summary: 'Microsoft Azure Configures Email Notifications For This Vault'
      description: Create or update an email notification(alert) configuration.
      operationId: microsoftAzureReplicationalertsettingsCreate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: alertSettingName
          in: path
          description: The name of the email notification(alert) configuration.
          required: true
          type: string
        - name: request
          in: body
          description: The input to configure the email notification(alert).
          required: true
          schema:
            $ref: '#/definitions/ConfigureAlertRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Alert'
      x-ms-examples:
        Configures email notifications for this vault.:
          $ref: ./examples/ReplicationAlertSettings_Create.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAppliances
  : get:
      tags:
        - ReplicationAppliances
      summary: 'Microsoft Azure Gets The List Of Appliances'
      description: Gets the list of Azure Site Recovery appliances for the vault.
      operationId: microsoftAzureReplicationappliancesList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: $filter
          in: query
          description: OData filter options.
          required: false
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ApplianceCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/ApplianceQueryParameter'
      x-ms-examples:
        Gets the list of appliances.:
          $ref: ./examples/ReplicationAppliances_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults
  : get:
      tags:
        - ReplicationEligibilityResults
      summary: 'Microsoft Azure Gets The Validation Errors In Case The Vm Is Unsuitable For Protection'
      description: >-
        Validates whether a given VM can be protected or not in which case
        returns list of errors.
      operationId: microsoftAzureReplicationeligibilityresultsList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: virtualMachineName
          in: path
          description: Virtual Machine name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ReplicationEligibilityResultsCollection'
      x-ms-examples:
        Gets the validation errors in case the VM is unsuitable for protection.:
          $ref: ./examples/ReplicationEligibilityResults_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  : get:
      tags:
        - ReplicationEligibilityResults
      summary: 'Microsoft Azure Gets The Validation Errors In Case The Vm Is Unsuitable For Protection'
      description: >-
        Validates whether a given VM can be protected or not in which case
        returns list of errors.
      operationId: microsoftAzureReplicationeligibilityresultsGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: virtualMachineName
          in: path
          description: Virtual Machine name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ReplicationEligibilityResults'
      x-ms-examples:
        Gets the validation errors in case the VM is unsuitable for protection.:
          $ref: ./examples/ReplicationEligibilityResults_Get.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents
  : get:
      tags:
        - ReplicationEvents
      summary: 'Microsoft Azure Gets The List Of Azure Site Recovery Events'
      description: Gets the list of Azure Site Recovery events for the vault.
      operationId: microsoftAzureReplicationeventsList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: $filter
          in: query
          description: OData filter options.
          required: false
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/EventCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/EventQueryParameter'
      x-ms-examples:
        Gets the list of Azure Site Recovery events.:
          $ref: ./examples/ReplicationEvents_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  : get:
      tags:
        - ReplicationEvents
      summary: 'Microsoft Azure Get The Details Of An Azure Site Recovery Event'
      description: The operation to get the details of an Azure Site recovery event.
      operationId: microsoftAzureReplicationeventsGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: eventName
          in: path
          description: The name of the Azure Site Recovery event.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Event'
      x-ms-examples:
        Get the details of an Azure Site recovery event.:
          $ref: ./examples/ReplicationEvents_Get.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics
  : get:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Gets The List Of Asr Fabrics'
      description: Gets a list of the Azure Site Recovery fabrics in the vault.
      operationId: microsoftAzureReplicationfabricsList
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/FabricCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of ASR fabrics.:
          $ref: ./examples/ReplicationFabrics_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}
  : get:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Gets The Details Of An Asr Fabric'
      description: Gets the details of an Azure Site Recovery fabric.
      operationId: microsoftAzureReplicationfabricsGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Fabric name.
          required: true
          type: string
        - name: $filter
          in: query
          description: OData filter options.
          required: false
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Fabric'
      x-ms-odata: '#/definitions/FabricQueryParameter'
      x-ms-examples:
        Gets the details of an ASR fabric.:
          $ref: ./examples/ReplicationFabrics_Get.json
    put:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Creates An Azure Site Recovery Fabric'
      description: >-
        The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V
        site).
      operationId: microsoftAzureReplicationfabricsCreate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Name of the ASR fabric.
          required: true
          type: string
        - name: input
          in: body
          description: Fabric creation input.
          required: true
          schema:
            $ref: '#/definitions/FabricCreationInput'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Fabric'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Creates an Azure Site Recovery fabric.:
          $ref: ./examples/ReplicationFabrics_Create.json
    delete:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Purges The Site'
      description: The operation to purge(force delete) an Azure Site Recovery fabric.
      operationId: microsoftAzureReplicationfabricsPurge
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: ASR fabric to purge.
          required: true
          type: string
      responses:
        '202':
          description: Accepted
        '204':
          description: NoContent
      x-ms-long-running-operation: true
      x-ms-examples:
        Purges the site.:
          $ref: ./examples/ReplicationFabrics_Purge.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency
  : post:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Checks The Consistency Of The Asr Fabric'
      description: The operation to perform a consistency check on the fabric.
      operationId: microsoftAzureReplicationfabricsCheckconsistency
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Fabric name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Fabric'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Checks the consistency of the ASR fabric.:
          $ref: ./examples/ReplicationFabrics_CheckConsistency.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad
  : post:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Migrates The Site To Aad'
      description: The operation to migrate an Azure Site Recovery fabric to AAD.
      operationId: microsoftAzureReplicationfabricsMigratetoaad
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: ASR fabric to migrate.
          required: true
          type: string
      responses:
        '202':
          description: Accepted
        '204':
          description: NoContent
      x-ms-long-running-operation: true
      x-ms-examples:
        Migrates the site to AAD.:
          $ref: ./examples/ReplicationFabrics_MigrateToAad.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway
  : post:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Perform Failover Of The Process Server'
      description: >-
        The operation to move replications from a process server to another
        process server.
      operationId: microsoftAzureReplicationfabricsReassociategateway
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: The name of the fabric containing the process server.
          required: true
          type: string
        - name: failoverProcessServerRequest
          in: body
          description: The input to the failover process server operation.
          required: true
          schema:
            $ref: '#/definitions/FailoverProcessServerRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Fabric'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Perform failover of the process server.:
          $ref: ./examples/ReplicationFabrics_ReassociateGateway.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove
  : post:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Deletes The Site'
      description: The operation to delete or remove an Azure Site Recovery fabric.
      operationId: microsoftAzureReplicationfabricsDelete
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: ASR fabric to delete.
          required: true
          type: string
      responses:
        '202':
          description: Accepted
        '204':
          description: NoContent
      x-ms-long-running-operation: true
      x-ms-examples:
        Deletes the site.:
          $ref: ./examples/ReplicationFabrics_Delete.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate
  : post:
      tags:
        - ReplicationFabrics
      summary: 'Microsoft Azure Renews Certificate For The Fabric'
      description: Renews the connection certificate for the ASR replication fabric.
      operationId: microsoftAzureReplicationfabricsRenewcertificate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: fabric name to renew certs for.
          required: true
          type: string
        - name: renewCertificate
          in: body
          description: Renew certificate input.
          required: true
          schema:
            $ref: '#/definitions/RenewCertificateInput'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Fabric'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Renews certificate for the fabric.:
          $ref: ./examples/ReplicationFabrics_RenewCertificate.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks
  : get:
      tags:
        - ReplicationLogicalNetworks
      summary: 'Microsoft Azure Gets The List Of Logical Networks Under A Fabric'
      description: Lists all the logical networks of the Azure Site Recovery fabric.
      operationId: microsoftAzureReplicationlogicalnetworksListbyreplicationfabrics
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Server Id.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/LogicalNetworkCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of logical networks under a fabric.:
          $ref: ./examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}
  : get:
      tags:
        - ReplicationLogicalNetworks
      summary: >-
        Microsoft Azure Gets A Logical Network With Specified Server Id And Logical Network Name
      description: Gets the details of a logical network.
      operationId: microsoftAzureReplicationlogicalnetworksGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Server Id.
          required: true
          type: string
        - name: logicalNetworkName
          in: path
          description: Logical network name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/LogicalNetwork'
      x-ms-examples:
        Gets a logical network with specified server id and logical network name.:
          $ref: ./examples/ReplicationLogicalNetworks_Get.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks
  : get:
      tags:
        - ReplicationNetworks
      summary: 'Microsoft Azure Gets The List Of Networks Under A Fabric'
      description: Lists the networks available for a fabric.
      operationId: microsoftAzureReplicationnetworksListbyreplicationfabrics
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Fabric name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/NetworkCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets the list of networks under a fabric.:
          $ref: ./examples/ReplicationNetworks_ListByReplicationFabrics.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}
  : get:
      tags:
        - ReplicationNetworks
      summary: 'Microsoft Azure Gets A Network With Specified Server Id And Network Name'
      description: Gets the details of a network.
      operationId: microsoftAzureReplicationnetworksGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Server Id.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Network'
      x-ms-examples:
        Gets a network with specified server id and network name.:
          $ref: ./examples/ReplicationNetworks_Get.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings
  : get:
      tags:
        - ReplicationNetworkMappings
      summary: 'Microsoft Azure Gets All The Network Mappings Under A Network'
      description: Lists all ASR network mappings for the specified network.
      operationId: microsoftAzureReplicationnetworkmappingsListbyreplicationnetworks
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Primary fabric name.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/NetworkMappingCollection'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Gets all the network mappings under a network.:
          $ref: ./examples/ReplicationNetworkMappings_ListByReplicationNetworks.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}
  : get:
      tags:
        - ReplicationNetworkMappings
      summary: 'Microsoft Azure Gets Network Mapping By Name'
      description: Gets the details of an ASR network mapping.
      operationId: microsoftAzureReplicationnetworkmappingsGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Primary fabric name.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
        - name: networkMappingName
          in: path
          description: Network mapping name.
          required: true
          type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/NetworkMapping'
      x-ms-examples:
        Gets network mapping by name.:
          $ref: ./examples/ReplicationNetworkMappings_Get.json
    put:
      tags:
        - ReplicationNetworkMappings
      summary: 'Microsoft Azure Creates Network Mapping'
      description: The operation to create an ASR network mapping.
      operationId: microsoftAzureReplicationnetworkmappingsCreate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Primary fabric name.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
        - name: networkMappingName
          in: path
          description: Network mapping name.
          required: true
          type: string
        - name: input
          in: body
          description: Create network mapping input.
          required: true
          schema:
            $ref: '#/definitions/CreateNetworkMappingInput'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/NetworkMapping'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Creates network mapping.:
          $ref: ./examples/ReplicationNetworkMappings_Create.json
    delete:
      tags:
        - ReplicationNetworkMappings
      summary: 'Microsoft Azure Delete Network Mapping'
      description: The operation to delete a network mapping.
      operationId: microsoftAzureReplicationnetworkmappingsDelete
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Primary fabric name.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
        - name: networkMappingName
          in: path
          description: ARM Resource Name for network mapping.
          required: true
          type: string
      responses:
        '202':
          description: Accepted
        '204':
          description: NoContent
      x-ms-long-running-operation: true
      x-ms-examples:
        Delete network mapping.:
          $ref: ./examples/ReplicationNetworkMappings_Delete.json
    patch:
      tags:
        - ReplicationNetworkMappings
      summary: 'Microsoft Azure Updates Network Mapping'
      description: The operation to update an ASR network mapping.
      operationId: microsoftAzureReplicationnetworkmappingsUpdate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/ApiVersion'
        - $ref: '#/parameters/ResourceName'
        - $ref: '#/parameters/ResourceGroupName'
        - $ref: '#/parameters/SubscriptionId'
        - name: fabricName
          in: path
          description: Primary fabric name.
          required: true
          type: string
        - name: networkName
          in: path
          description: Primary network name.
          required: true
          type: string
        - name: networkMappingName
          in: path
          description: Network mapping name.
          required: true
          type: string
        - name: input
          in: body
          description: Update network mapping input.
          required: true
          schema:
            $ref: '#/definitions/UpdateNetworkMappingInput'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/NetworkMapping'
        '202':
          description: Accepted
      x-ms-long-running-operation: true
      x-ms-examples:
        Updates network mapping.:
          $ref: ./examples/ReplicationNetworkMappings_Update.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fa

# --- truncated at 32 KB (597 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/siterecoverymanagementclient-openapi-original.yml