---
title: "Returns ResourceGuards collection belonging to a subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards"
tags: ["ResourceGuards"]
---

# Returns ResourceGuards collection belonging to a subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards`

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- ResourceGuardResourceList
  - `nextLink` string — The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2026-07-13** (2021-01-01) `c882dff39aa4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/dataprotection-microsoft-dataprotection-dataprotection/changes/subscriptions/:subscriptionId/providers/Microsoft.DataProtection/resourceGuards/get.md)

---

[API](https://skmtc.dev/azure/apis/dataprotection-microsoft-dataprotection-dataprotection.md) · [All operations](https://skmtc.dev/azure/apis/dataprotection-microsoft-dataprotection-dataprotection/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/dataprotection-microsoft-dataprotection-dataprotection/revisions/c882dff39aa4/schema)
