# EventHubsCaptureIdentityProxy

- 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 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
  ```
