# StoragePrivateEndpointConnectionProxy

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

Represents the StoragePrivateEndpointConnection Azure Provisioning model.

## Definition

```typescript
interface StoragePrivateEndpointConnectionProxy {
  connectionState: StoragePrivateLinkServiceConnectionStateProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: StorageAccountProxy;
  readonly privateEndpointId: BicepValueProxy;
  readonly provisioningState: BicepValueProxy | StoragePrivateEndpointConnectionProvisioningState;
  readonly systemData: StorageSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `connectionState`: [StoragePrivateLinkServiceConnectionStateProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageprivatelinkserviceconnectionstateproxy.md) `get - set` -- Gets or sets the ConnectionState provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [StorageAccountProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `privateEndpointId`: `BicepValueProxy` `get` -- Gets the PrivateEndpointId provisioning property.
- `provisioningState`: `BicepValueProxy | StoragePrivateEndpointConnectionProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageprivateendpointconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageprivateendpointconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
