---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings"
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings`

Get a list of all guest diagnostic settings in a resource group.

## Parameters

- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

The request succeeded.

- GuestDiagnosticSettingsList — A list of guest diagnostic settings.
  - `value` GuestDiagnosticSettingsResource[] — The list of guest diagnostic settings.
    - `id` string — Azure resource Id
    - `name` string — Azure resource name
    - `type` string — Azure resource type
    - `location` string, required — Resource location
    - `tags` unknown
  - `nextLink` string — Provides the link to retrieve the next set of elements.

## Other responses

- `default` — An error occurred and the list of guest diagnostic settings could not be retrieved.

---

[API](https://skmtc.net/azure/apis/guest-diagnostic-settings-api.md) · [All operations](https://skmtc.net/azure/apis/guest-diagnostic-settings-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/guest-diagnostic-settings-api/revisions/6fa5d2985c3b/schema)
