# CaptureDescriptionProxy

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

## Definition

```typescript
interface CaptureDescriptionProxy {
  destination: EventHubDestinationProxy;
  enabled: BicepValueProxy | boolean;
  encoding: BicepValueProxy | EncodingCaptureDescription;
  intervalInSeconds: BicepValueProxy | number;
  sizeLimitInBytes: BicepValueProxy | number;
  skipEmptyArchives: BicepValueProxy | boolean;
  clearEnabled(): void;
  clearEncoding(): void;
  clearIntervalInSeconds(): void;
  clearSizeLimitInBytes(): void;
  clearSkipEmptyArchives(): void;
}
```

## Properties

- `destination`: [EventHubDestinationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubdestinationproxy.md) `get - set` -- Gets or sets the Destination provisioning property.
- `enabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the Enabled provisioning property.
- `encoding`: `BicepValueProxy | EncodingCaptureDescription` `get - set` -- Gets or sets the Encoding provisioning property.
- `intervalInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the IntervalInSeconds provisioning property.
- `sizeLimitInBytes`: `BicepValueProxy | number` `get - set` -- Gets or sets the SizeLimitInBytes provisioning property.
- `skipEmptyArchives`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the SkipEmptyArchives provisioning property.

## Methods

- [clearEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/capturedescriptionproxy/clearenabled.md) -- `method` -- Clears the Enabled provisioning property.
    ```typescript
  clearEnabled(): void
  ```
- [clearEncoding](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/capturedescriptionproxy/clearencoding.md) -- `method` -- Clears the Encoding provisioning property.
    ```typescript
  clearEncoding(): void
  ```
- [clearIntervalInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/capturedescriptionproxy/clearintervalinseconds.md) -- `method` -- Clears the IntervalInSeconds provisioning property.
    ```typescript
  clearIntervalInSeconds(): void
  ```
- [clearSizeLimitInBytes](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/capturedescriptionproxy/clearsizelimitinbytes.md) -- `method` -- Clears the SizeLimitInBytes provisioning property.
    ```typescript
  clearSizeLimitInBytes(): void
  ```
- [clearSkipEmptyArchives](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/capturedescriptionproxy/clearskipemptyarchives.md) -- `method` -- Clears the SkipEmptyArchives provisioning property.
    ```typescript
  clearSkipEmptyArchives(): void
  ```
