# AzureKustoReadWriteDatabaseResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.Kusto](/reference/api/csharp/aspire.hosting.azure.kusto.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResource.cs)
- Inherits: `Resource`
- Implements: `IExpressionValue`, `IManifestExpressionProvider`, `IResource`, `IResourceWithConnectionString`, `IResourceWithParent`, `IResourceWithParent<AzureKustoClusterResource>`, `IValueProvider`, `IValueWithReferences`

Represents an Azure Kusto read-write database resource, which is a child resource of a [AzureKustoClusterResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoclusterresource.md).

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureKustoReadWriteDatabaseResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IExpressionValue,
      Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureKustoClusterResource>,
      Aspire.Hosting.ApplicationModel.IValueProvider,
      Aspire.Hosting.ApplicationModel.IValueWithReferences
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResource`

## Constructors

- [AzureKustoReadWriteDatabaseResource(string, string, AzureKustoClusterResource)](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource/constructors.md#constructor-string-string-azurekustoclusterresource) -- Initializes a new instance of the [AzureKustoReadWriteDatabaseResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md) class.

## Properties

- [ConnectionStringExpression](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource/properties.md#connectionstringexpression) : `ReferenceExpression` `get` -- Gets the connection string expression for the Kusto database.
- [DatabaseName](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource/properties.md#databasename) : `string` `get` -- Gets the database name.
- [Parent](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource/properties.md#parent) : [AzureKustoClusterResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoclusterresource.md) `get` -- Gets the parent Kusto resource.
