# EventHubsPrivateEndpointConnectionDataProxy

- Module: [Aspire.Hosting.Azure.Provisioning.EventHubs](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the EventHubsPrivateEndpointConnectionData Azure Provisioning model.

## Definition

```typescript
interface EventHubsPrivateEndpointConnectionDataProxy {
  connectionState: EventHubsPrivateLinkServiceConnectionStateProxy;
  readonly id: BicepValueProxy;
  readonly location: BicepValueProxy;
  readonly name: BicepValueProxy | string;
  privateEndpointId: BicepValueProxy;
  provisioningState: BicepValueProxy | EventHubsPrivateEndpointConnectionProvisioningState;
  readonly systemData: EventHubsSystemDataProxy;
  clearPrivateEndpointId(): void;
  clearProvisioningState(): void;
}
```

## Properties

- `connectionState`: [EventHubsPrivateLinkServiceConnectionStateProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsprivatelinkserviceconnectionstateproxy.md) `get - set` -- Gets or sets the ConnectionState provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `location`: `BicepValueProxy` `get` -- Gets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get` -- Gets the Name provisioning property.
- `privateEndpointId`: `BicepValueProxy` `get - set` -- Gets or sets the PrivateEndpointId provisioning property.
- `provisioningState`: `BicepValueProxy | EventHubsPrivateEndpointConnectionProvisioningState` `get - set` -- Gets or sets the ProvisioningState provisioning property.
- `systemData`: [EventHubsSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [clearPrivateEndpointId](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsprivateendpointconnectiondataproxy/clearprivateendpointid.md) -- `method` -- Clears the PrivateEndpointId provisioning property.
    ```typescript
  clearPrivateEndpointId(): void
  ```
- [clearProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsprivateendpointconnectiondataproxy/clearprovisioningstate.md) -- `method` -- Clears the ProvisioningState provisioning property.
    ```typescript
  clearProvisioningState(): void
  ```
