---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections"
tags: ["PrivateEndpoints"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections`

List private endpoint connection properties.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

The body contains the list of private endpoint connection properties.

- PrivateEndpointConnectionsResponse — The available private link connections for a Digital Twin.
  - `value` PrivateEndpointConnection[] — The list of available private link connections for a Digital Twin.
    - `id` string — The resource identifier.
    - `name` string — The resource name.
    - `type` string — The resource type.
    - `properties` ConnectionProperties, required — The properties of a private endpoint connection.
      - `provisioningState` 'Pending' | 'Approved' | 'Rejected' | 'Disconnected', nullable — The provisioning state.
      - `privateEndpoint` PrivateEndpoint — The private endpoint property of a private endpoint connection.
        - `id` string — The resource identifier.
      - `groupIds` GroupId[] — The list of group ids for the private endpoint connection.
      - `privateLinkServiceConnectionState` ConnectionState — The current state of a private endpoint connection.
        - `status` 'Pending' | 'Approved' | 'Rejected' | 'Disconnected', required — The status of a private endpoint connection.
        - `description` string, required — The description for the current state of a private endpoint connection.
        - `actionsRequired` string — Actions required for a private endpoint connection.
    - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string, nullable — The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key', nullable — The type of identity that created the resource.
      - `createdAt` string, date-time, nullable — The timestamp of resource creation (UTC).
      - `lastModifiedBy` string, nullable — The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key', nullable — The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time, nullable — The timestamp of resource last modification (UTC)

## Other responses

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

---

[API](https://skmtc.net/azure/apis/digitaltwins-microsoft-digitaltwins-digitaltwins.md) · [All operations](https://skmtc.net/azure/apis/digitaltwins-microsoft-digitaltwins-digitaltwins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/digitaltwins-microsoft-digitaltwins-digitaltwins/revisions/0244c7a17143/schema)
