# KustoCosmosDBDataConnectionProxy

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

## Definition

```typescript
interface KustoCosmosDBDataConnectionProxy {
  cosmosDBAccountResourceId: BicepValueProxy;
  cosmosDBContainer: BicepValueProxy | string;
  cosmosDBDatabase: BicepValueProxy | string;
  readonly managedIdentityObjectId: BicepValueProxy | guid;
  managedIdentityResourceId: BicepValueProxy;
  mappingRuleName: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | KustoProvisioningState;
  retrievalStartOn: BicepValueProxy | datetimeoffset;
  tableName: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCosmosDBAccountResourceId(): void;
  clearCosmosDBContainer(): void;
  clearCosmosDBDatabase(): void;
  clearLocation(): void;
  clearManagedIdentityResourceId(): void;
  clearMappingRuleName(): void;
  clearName(): void;
  clearRetrievalStartOn(): void;
  clearTableName(): void;
}
```

## Properties

- `cosmosDBAccountResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the CosmosDBAccountResourceId provisioning property.
- `cosmosDBContainer`: `BicepValueProxy | string` `get - set` -- Gets or sets the CosmosDBContainer provisioning property.
- `cosmosDBDatabase`: `BicepValueProxy | string` `get - set` -- Gets or sets the CosmosDBDatabase 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.
- `retrievalStartOn`: `BicepValueProxy | datetimeoffset` `get - set` -- Gets or sets the RetrievalStartOn provisioning property.
- `tableName`: `BicepValueProxy | string` `get - set` -- Gets or sets the TableName provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCosmosDBAccountResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearcosmosdbaccountresourceid.md) -- `method` -- Clears the CosmosDBAccountResourceId provisioning property.
    ```typescript
  clearCosmosDBAccountResourceId(): void
  ```
- [clearCosmosDBContainer](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearcosmosdbcontainer.md) -- `method` -- Clears the CosmosDBContainer provisioning property.
    ```typescript
  clearCosmosDBContainer(): void
  ```
- [clearCosmosDBDatabase](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearcosmosdbdatabase.md) -- `method` -- Clears the CosmosDBDatabase provisioning property.
    ```typescript
  clearCosmosDBDatabase(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearManagedIdentityResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearmanagedidentityresourceid.md) -- `method` -- Clears the ManagedIdentityResourceId provisioning property.
    ```typescript
  clearManagedIdentityResourceId(): void
  ```
- [clearMappingRuleName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearmappingrulename.md) -- `method` -- Clears the MappingRuleName provisioning property.
    ```typescript
  clearMappingRuleName(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearRetrievalStartOn](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/clearretrievalstarton.md) -- `method` -- Clears the RetrievalStartOn provisioning property.
    ```typescript
  clearRetrievalStartOn(): void
  ```
- [clearTableName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustocosmosdbdataconnectionproxy/cleartablename.md) -- `method` -- Clears the TableName provisioning property.
    ```typescript
  clearTableName(): void
  ```
