# KustoIotHubDataConnectionProxy

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

Represents the KustoIotHubDataConnection Azure Provisioning model.

## Definition

```typescript
interface KustoIotHubDataConnectionProxy {
  consumerGroup: BicepValueProxy | string;
  databaseRouting: BicepValueProxy | KustoDatabaseRouting;
  dataFormat: BicepValueProxy | KustoIotHubDataFormat;
  eventSystemProperties: Aspire_Hosting_Azure_Provisioning_Kusto_Generated_ListOfStringProxy;
  iotHubResourceId: BicepValueProxy;
  mappingRuleName: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | KustoProvisioningState;
  retrievalStartOn: BicepValueProxy | datetimeoffset;
  sharedAccessPolicyName: BicepValueProxy | string;
  tableName: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearConsumerGroup(): void;
  clearDatabaseRouting(): void;
  clearDataFormat(): void;
  clearIotHubResourceId(): void;
  clearMappingRuleName(): void;
  clearRetrievalStartOn(): void;
  clearSharedAccessPolicyName(): void;
  clearTableName(): void;
}
```

## Properties

- `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 | KustoIotHubDataFormat` `get - set` -- Gets or sets the DataFormat provisioning property.
- `eventSystemProperties`: [Aspire_Hosting_Azure_Provisioning_Kusto_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/aspire-hosting-azure-provisioning-kusto-generated-listofstringproxy.md) `get - set` -- Gets or sets the EventSystemProperties provisioning property.
- `iotHubResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the IotHubResourceId provisioning property.
- `mappingRuleName`: `BicepValueProxy | string` `get - set` -- Gets or sets the MappingRuleName provisioning property.
- `provisioningState`: `BicepValueProxy | KustoProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `retrievalStartOn`: `BicepValueProxy | datetimeoffset` `get - set` -- Gets or sets the RetrievalStartOn provisioning property.
- `sharedAccessPolicyName`: `BicepValueProxy | string` `get - set` -- Gets or sets the SharedAccessPolicyName provisioning property.
- `tableName`: `BicepValueProxy | string` `get - set` -- Gets or sets the TableName provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearConsumerGroup](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/clearconsumergroup.md) -- `method` -- Clears the ConsumerGroup provisioning property.
    ```typescript
  clearConsumerGroup(): void
  ```
- [clearDatabaseRouting](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/cleardatabaserouting.md) -- `method` -- Clears the DatabaseRouting provisioning property.
    ```typescript
  clearDatabaseRouting(): void
  ```
- [clearDataFormat](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/cleardataformat.md) -- `method` -- Clears the DataFormat provisioning property.
    ```typescript
  clearDataFormat(): void
  ```
- [clearIotHubResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/cleariothubresourceid.md) -- `method` -- Clears the IotHubResourceId provisioning property.
    ```typescript
  clearIotHubResourceId(): void
  ```
- [clearMappingRuleName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/clearmappingrulename.md) -- `method` -- Clears the MappingRuleName provisioning property.
    ```typescript
  clearMappingRuleName(): void
  ```
- [clearRetrievalStartOn](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/clearretrievalstarton.md) -- `method` -- Clears the RetrievalStartOn provisioning property.
    ```typescript
  clearRetrievalStartOn(): void
  ```
- [clearSharedAccessPolicyName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/clearsharedaccesspolicyname.md) -- `method` -- Clears the SharedAccessPolicyName provisioning property.
    ```typescript
  clearSharedAccessPolicyName(): void
  ```
- [clearTableName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoiothubdataconnectionproxy/cleartablename.md) -- `method` -- Clears the TableName provisioning property.
    ```typescript
  clearTableName(): void
  ```
