---
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`

Lists the protection container mappings in the vault.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

OK

- ProtectionContainerMappingCollection — Protection container mapping collection class.
  - `value` ProtectionContainerMapping[] — List of container mappings.
    - `id` string — Resource Id
    - `name` string — Resource Name
    - `type` string — Resource Type
    - `location` string — Resource Location
  - `nextLink` string — Link to fetch rest of the data.

---

[API](https://skmtc.net/azure/apis/siterecoverymanagementclient.md) · [All operations](https://skmtc.net/azure/apis/siterecoverymanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/siterecoverymanagementclient/versions/93770e7bc6b2/schema)
