# EventHubsCaptureIdentityProxy

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

Represents the EventHubsCaptureIdentity Azure Provisioning model.

## Definition

```typescript
interface EventHubsCaptureIdentityProxy {
  identityType: BicepValueProxy | EventHubsCaptureIdentityType;
  userAssignedIdentity: BicepValueProxy | string;
  clearIdentityType(): void;
  clearUserAssignedIdentity(): void;
}
```

## Properties

- `identityType`: `BicepValueProxy | EventHubsCaptureIdentityType` `get - set` -- Gets or sets the IdentityType provisioning property.
- `userAssignedIdentity`: `BicepValueProxy | string` `get - set` -- Gets or sets the UserAssignedIdentity provisioning property.

## Methods

- [clearIdentityType](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubscaptureidentityproxy/clearidentitytype.md) -- `method` -- Clears the IdentityType provisioning property.
    ```typescript
  clearIdentityType(): void
  ```
- [clearUserAssignedIdentity](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubscaptureidentityproxy/clearuserassignedidentity.md) -- `method` -- Clears the UserAssignedIdentity provisioning property.
    ```typescript
  clearUserAssignedIdentity(): void
  ```
