# KustoEventGridDataConnectionProxy

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

Represents the KustoEventGridDataConnection Azure Provisioning model.

## Definition

```typescript
interface KustoEventGridDataConnectionProxy {
  blobStorageEventType: BicepValueProxy | BlobStorageEventType;
  consumerGroup: BicepValueProxy | string;
  databaseRouting: BicepValueProxy | KustoDatabaseRouting;
  dataFormat: BicepValueProxy | KustoEventGridDataFormat;
  eventGridResourceId: BicepValueProxy;
  eventHubResourceId: BicepValueProxy;
  isFirstRecordIgnored: BicepValueProxy | boolean;
  readonly managedIdentityObjectId: BicepValueProxy | guid;
  managedIdentityResourceId: BicepValueProxy;
  mappingRuleName: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | KustoProvisioningState;
  storageAccountResourceId: BicepValueProxy;
  tableName: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearBlobStorageEventType(): void;
  clearConsumerGroup(): void;
  clearDatabaseRouting(): void;
  clearDataFormat(): void;
  clearEventGridResourceId(): void;
  clearEventHubResourceId(): void;
  clearIsFirstRecordIgnored(): void;
  clearManagedIdentityResourceId(): void;
  clearMappingRuleName(): void;
  clearStorageAccountResourceId(): void;
  clearTableName(): void;
}
```

## Properties

- `blobStorageEventType`: `BicepValueProxy | BlobStorageEventType` `get - set` -- Gets or sets the BlobStorageEventType provisioning property.
- `consumerGroup`: `BicepValueProxy | string` `get - set` -- Gets or sets the ConsumerGroup provisioning property.
- `databaseRouting`: `BicepValueProxy | KustoDatabaseRouting` `get - set` -- Gets or sets the DatabaseRouting provisioning property.
- `dataFormat`: `BicepValueProxy | KustoEventGridDataFormat` `get - set` -- Gets or sets the DataFormat provisioning property.
- `eventGridResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the EventGridResourceId provisioning property.
- `eventHubResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the EventHubResourceId provisioning property.
- `isFirstRecordIgnored`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsFirstRecordIgnored provisioning property.
- `managedIdentityObjectId`: `BicepValueProxy | guid` `get` -- Gets the ManagedIdentityObjectId provisioning property.
- `managedIdentityResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the ManagedIdentityResourceId provisioning property.
- `mappingRuleName`: `BicepValueProxy | string` `get - set` -- Gets or sets the MappingRuleName provisioning property.
- `provisioningState`: `BicepValueProxy | KustoProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `storageAccountResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the StorageAccountResourceId provisioning property.
- `tableName`: `BicepValueProxy | string` `get - set` -- Gets or sets the TableName provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearBlobStorageEventType](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearblobstorageeventtype.md) -- `method` -- Clears the BlobStorageEventType provisioning property.
    ```typescript
  clearBlobStorageEventType(): void
  ```
- [clearConsumerGroup](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearconsumergroup.md) -- `method` -- Clears the ConsumerGroup provisioning property.
    ```typescript
  clearConsumerGroup(): void
  ```
- [clearDatabaseRouting](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/cleardatabaserouting.md) -- `method` -- Clears the DatabaseRouting provisioning property.
    ```typescript
  clearDatabaseRouting(): void
  ```
- [clearDataFormat](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/cleardataformat.md) -- `method` -- Clears the DataFormat provisioning property.
    ```typescript
  clearDataFormat(): void
  ```
- [clearEventGridResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/cleareventgridresourceid.md) -- `method` -- Clears the EventGridResourceId provisioning property.
    ```typescript
  clearEventGridResourceId(): void
  ```
- [clearEventHubResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/cleareventhubresourceid.md) -- `method` -- Clears the EventHubResourceId provisioning property.
    ```typescript
  clearEventHubResourceId(): void
  ```
- [clearIsFirstRecordIgnored](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearisfirstrecordignored.md) -- `method` -- Clears the IsFirstRecordIgnored provisioning property.
    ```typescript
  clearIsFirstRecordIgnored(): void
  ```
- [clearManagedIdentityResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearmanagedidentityresourceid.md) -- `method` -- Clears the ManagedIdentityResourceId provisioning property.
    ```typescript
  clearManagedIdentityResourceId(): void
  ```
- [clearMappingRuleName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearmappingrulename.md) -- `method` -- Clears the MappingRuleName provisioning property.
    ```typescript
  clearMappingRuleName(): void
  ```
- [clearStorageAccountResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/clearstorageaccountresourceid.md) -- `method` -- Clears the StorageAccountResourceId provisioning property.
    ```typescript
  clearStorageAccountResourceId(): void
  ```
- [clearTableName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoeventgriddataconnectionproxy/cleartablename.md) -- `method` -- Clears the TableName provisioning property.
    ```typescript
  clearTableName(): void
  ```
