---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections"
tags: ["PrivateEndpointConnections"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets the available PrivateEndpointConnections within a namespace.

## Path parameters

- `namespaceName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ResourceGroupNameParameter` (unresolved $ref)

## Response `200`

Azure operation completed successfully.

- PrivateEndpointConnectionListResult: The response of a PrivateEndpointConnection list operation.
  - `value` PrivateEndpointConnection[], required: The PrivateEndpointConnection items on this page (unresolved $ref)
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/eventhubmanagementclient.md) - [All operations](https://skmtc.dev/azure/apis/eventhubmanagementclient/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/eventhubmanagementclient/revisions/122d63fca4a7?raw)
