# AzureKustoReadWriteDatabaseResource Constructors

- Package: [Aspire.Hosting.Azure.Kusto](/reference/api/csharp/aspire.hosting.azure.kusto.md)
- Type: [AzureKustoReadWriteDatabaseResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md)
- Kind: `Constructors`
- Members: `1`

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).

## AzureKustoReadWriteDatabaseResource(string, string, AzureKustoClusterResource)

- Name: `Constructor(string, string, AzureKustoClusterResource)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResource.cs#L26-L33)

Initializes a new instance of the [AzureKustoReadWriteDatabaseResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md) class.

```csharp
public class AzureKustoReadWriteDatabaseResource
{
    public AzureKustoReadWriteDatabaseResource(
        string name,
        string databaseName,
        AzureKustoClusterResource kustoParentResource)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `databaseName` (`string`)
  The database name.
- `kustoParentResource` ([AzureKustoClusterResource](/reference/api/csharp/aspire.hosting.azure.kusto/azurekustoclusterresource.md))
  The Kusto parent resource associated with this database.
