---
title: "Gets the list of all protection container mappings in a vault."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings"
tags: ["ReplicationProtectionContainerMappings"]
---

# Gets the list of all protection container mappings in a vault.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists the protection container mappings in the vault.

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `resourceName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- ProtectionContainerMappingCollection: Protection container mapping collection class.
  - `value` ProtectionContainerMapping[], required: The ProtectionContainerMapping items on this page
    - `id` string, arm-id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `properties` ProtectionContainerMappingProperties: Protection container mapping properties.
      - `targetProtectionContainerId` string: Paired protection container ARM ID.
      - `targetProtectionContainerFriendlyName` string: Friendly name of paired container.
      - `providerSpecificDetails` ProtectionContainerMappingProviderSpecificDetails: Container mapping provider specific details.
        - `instanceType` string, required: Gets the class type. Overridden in derived classes.
      - `health` string: Health of pairing.
      - `healthErrorDetails` HealthError[]: Health error.
        - `innerHealthErrors` InnerHealthError[]: 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 -&gt; InnerException.
          - `errorSource` string: Source of error.
          - `errorType` string: Type of error.
          - `errorLevel` string: Level of error.
          - `errorCategory` string: Category of error.
          - `errorCode` string: Error code.
          - `summaryMessage` string: Summary message of the entity.
          - `errorMessage` string: Error message.
          - `possibleCauses` string: Possible causes of error.
          - `recommendedAction` string: Recommended action to resolve error.
          - `creationTimeUtc` string, date-time: Error creation time (UTC).
          - `recoveryProviderErrorMessage` string: DRA error message.
          - `entityId` string: ID of the entity.
          - `errorId` string: The health error unique id.
          - `customerResolvability` 'Allowed' | 'NotAllowed': Value indicating whether the health error is customer resolvable.
        - `errorSource` string: Source of error.
        - `errorType` string: Type of error.
        - `errorLevel` string: Level of error.
        - `errorCategory` string: Category of error.
        - `errorCode` string: Error code.
        - `summaryMessage` string: Summary message of the entity.
        - `errorMessage` string: Error message.
        - `possibleCauses` string: Possible causes of error.
        - `recommendedAction` string: Recommended action to resolve error.
        - `creationTimeUtc` string, date-time: Error creation time (UTC).
        - `recoveryProviderErrorMessage` string: DRA error message.
        - `entityId` string: ID of the entity.
        - `errorId` string: The health error unique id.
        - `customerResolvability` 'Allowed' | 'NotAllowed': Value indicating whether the health error is customer resolvable.
      - `policyId` string: Policy ARM Id.
      - `state` string: Association Status.
      - `sourceProtectionContainerFriendlyName` string: Friendly name of source protection container.
      - `sourceFabricFriendlyName` string: Friendly name of source fabric.
      - `targetFabricFriendlyName` string: Friendly name of target fabric.
      - `policyFriendlyName` string: Friendly name of replication policy.
    - `location` string: Resource Location
  - `nextLink` string, uri: The link to the next page of items

## Changes

- **2026-07-13** (2016-08-10) `8fd955340807`: 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `29658accea08`: 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `b4b3c6709d9b`: 1 info
  - endpoint added
- **2026-07-13** (2016-08-10) `8dedb017b138`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2016-08-10) `338c6c90a051`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.RecoveryServices/vaults/:resourceName/replicationProtectionContainerMappings/get.md)

---

[API](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site.md) - [All operations](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/revisions/8fd955340807?raw)
