# KustoAttachedDatabaseConfigurationProxy

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

## Definition

```typescript
interface KustoAttachedDatabaseConfigurationProxy {
  readonly attachedDatabaseNames: Aspire_Hosting_Azure_Provisioning_Kusto_Generated_ListOfStringProxy;
  clusterResourceId: BicepValueProxy;
  databaseName: BicepValueProxy | string;
  databaseNameOverride: BicepValueProxy | string;
  databaseNamePrefix: BicepValueProxy | string;
  defaultPrincipalsModificationKind: BicepValueProxy | KustoDatabaseDefaultPrincipalsModificationKind;
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: KustoClusterProxy;
  readonly provisioningState: BicepValueProxy | KustoProvisioningState;
  readonly systemData: KustoSystemDataProxy;
  tableLevelSharingProperties: KustoDatabaseTableLevelSharingPropertiesProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearClusterResourceId(): void;
  clearDatabaseName(): void;
  clearDatabaseNameOverride(): void;
  clearDatabaseNamePrefix(): void;
  clearDefaultPrincipalsModificationKind(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `attachedDatabaseNames`: [Aspire_Hosting_Azure_Provisioning_Kusto_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/aspire-hosting-azure-provisioning-kusto-generated-listofstringproxy.md) `get` -- Gets the AttachedDatabaseNames provisioning property.
- `clusterResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the ClusterResourceId provisioning property.
- `databaseName`: `BicepValueProxy | string` `get - set` -- Gets or sets the DatabaseName provisioning property.
- `databaseNameOverride`: `BicepValueProxy | string` `get - set` -- Gets or sets the DatabaseNameOverride provisioning property.
- `databaseNamePrefix`: `BicepValueProxy | string` `get - set` -- Gets or sets the DatabaseNamePrefix provisioning property.
- `defaultPrincipalsModificationKind`: `BicepValueProxy | KustoDatabaseDefaultPrincipalsModificationKind` `get - set` -- Gets or sets the DefaultPrincipalsModificationKind provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [KustoClusterProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoclusterproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | KustoProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `systemData`: [KustoSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustosystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tableLevelSharingProperties`: [KustoDatabaseTableLevelSharingPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustodatabasetablelevelsharingpropertiesproxy.md) `get - set` -- Gets or sets the TableLevelSharingProperties provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearClusterResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/clearclusterresourceid.md) -- `method` -- Clears the ClusterResourceId provisioning property.
    ```typescript
  clearClusterResourceId(): void
  ```
- [clearDatabaseName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/cleardatabasename.md) -- `method` -- Clears the DatabaseName provisioning property.
    ```typescript
  clearDatabaseName(): void
  ```
- [clearDatabaseNameOverride](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/cleardatabasenameoverride.md) -- `method` -- Clears the DatabaseNameOverride provisioning property.
    ```typescript
  clearDatabaseNameOverride(): void
  ```
- [clearDatabaseNamePrefix](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/cleardatabasenameprefix.md) -- `method` -- Clears the DatabaseNamePrefix provisioning property.
    ```typescript
  clearDatabaseNamePrefix(): void
  ```
- [clearDefaultPrincipalsModificationKind](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/cleardefaultprincipalsmodificationkind.md) -- `method` -- Clears the DefaultPrincipalsModificationKind provisioning property.
    ```typescript
  clearDefaultPrincipalsModificationKind(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.kusto/kustoattacheddatabaseconfigurationproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
