# EventHubDestinationProxy

- 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 EventHubDestination Azure Provisioning model.

## Definition

```typescript
interface EventHubDestinationProxy {
  archiveNameFormat: BicepValueProxy | string;
  blobContainer: BicepValueProxy | string;
  dataLakeAccountName: BicepValueProxy | string;
  dataLakeFolderPath: BicepValueProxy | string;
  dataLakeSubscriptionId: BicepValueProxy | guid;
  identity: EventHubsCaptureIdentityProxy;
  name: BicepValueProxy | string;
  storageAccountResourceId: BicepValueProxy;
  clearArchiveNameFormat(): void;
  clearBlobContainer(): void;
  clearDataLakeAccountName(): void;
  clearDataLakeFolderPath(): void;
  clearDataLakeSubscriptionId(): void;
  clearName(): void;
  clearStorageAccountResourceId(): void;
}
```

## Properties

- `archiveNameFormat`: `BicepValueProxy | string` `get - set` -- Gets or sets the ArchiveNameFormat provisioning property.
- `blobContainer`: `BicepValueProxy | string` `get - set` -- Gets or sets the BlobContainer provisioning property.
- `dataLakeAccountName`: `BicepValueProxy | string` `get - set` -- Gets or sets the DataLakeAccountName provisioning property.
- `dataLakeFolderPath`: `BicepValueProxy | string` `get - set` -- Gets or sets the DataLakeFolderPath provisioning property.
- `dataLakeSubscriptionId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the DataLakeSubscriptionId provisioning property.
- `identity`: [EventHubsCaptureIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubscaptureidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `storageAccountResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the StorageAccountResourceId provisioning property.

## Methods

- [clearArchiveNameFormat](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/cleararchivenameformat.md) -- `method` -- Clears the ArchiveNameFormat provisioning property.
    ```typescript
  clearArchiveNameFormat(): void
  ```
- [clearBlobContainer](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/clearblobcontainer.md) -- `method` -- Clears the BlobContainer provisioning property.
    ```typescript
  clearBlobContainer(): void
  ```
- [clearDataLakeAccountName](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/cleardatalakeaccountname.md) -- `method` -- Clears the DataLakeAccountName provisioning property.
    ```typescript
  clearDataLakeAccountName(): void
  ```
- [clearDataLakeFolderPath](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/cleardatalakefolderpath.md) -- `method` -- Clears the DataLakeFolderPath provisioning property.
    ```typescript
  clearDataLakeFolderPath(): void
  ```
- [clearDataLakeSubscriptionId](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/cleardatalakesubscriptionid.md) -- `method` -- Clears the DataLakeSubscriptionId provisioning property.
    ```typescript
  clearDataLakeSubscriptionId(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearStorageAccountResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy/clearstorageaccountresourceid.md) -- `method` -- Clears the StorageAccountResourceId provisioning property.
    ```typescript
  clearStorageAccountResourceId(): void
  ```
