# EventHubsApplicationGroupProxy

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

## Definition

```typescript
interface EventHubsApplicationGroupProxy {
  clientAppGroupIdentifier: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  isEnabled: BicepValueProxy | boolean;
  readonly location: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: EventHubsNamespaceProxy;
  policies: Aspire_Hosting_Azure_Provisioning_EventHubs_Generated_ListOfEventHubsApplicationGroupPolicyProxy;
  readonly systemData: EventHubsSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearClientAppGroupIdentifier(): void;
  clearIsEnabled(): void;
  clearName(): void;
}
```

## Properties

- `clientAppGroupIdentifier`: `BicepValueProxy | string` `get - set` -- Gets or sets the ClientAppGroupIdentifier provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsEnabled provisioning property.
- `location`: `BicepValueProxy` `get` -- Gets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [EventHubsNamespaceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsnamespaceproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `policies`: [Aspire_Hosting_Azure_Provisioning_EventHubs_Generated_ListOfEventHubsApplicationGroupPolicyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/aspire-hosting-azure-provisioning-eventhubs-generated-listofeventhubsapplicationgrouppolicyproxy.md) `get - set` -- Gets or sets the Policies provisioning property.
- `systemData`: [EventHubsSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsapplicationgroupproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearClientAppGroupIdentifier](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsapplicationgroupproxy/clearclientappgroupidentifier.md) -- `method` -- Clears the ClientAppGroupIdentifier provisioning property.
    ```typescript
  clearClientAppGroupIdentifier(): void
  ```
- [clearIsEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsapplicationgroupproxy/clearisenabled.md) -- `method` -- Clears the IsEnabled provisioning property.
    ```typescript
  clearIsEnabled(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsapplicationgroupproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
