# AzureKustoClusterResource Constructors

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

A resource that represents a Kusto cluster.

## AzureKustoClusterResource(string, Action<AzureResourceInfrastructure>)

- Name: `Constructor(string, Action<AzureResourceInfrastructure>)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Azure.Kusto/AzureKustoClusterResource.cs#L27-L81)

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

```csharp
public class AzureKustoClusterResource
{
    public AzureKustoClusterResource(
        string name,
        Action<AzureResourceInfrastructure> configureInfrastructure)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `configureInfrastructure` (`Action<AzureResourceInfrastructure>`)
  Callback to configure the Azure resources.
