# 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/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Azure.Kusto/AzureKustoReadWriteDatabaseResource.cs#L27-L34)

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.
