Skip to content
Docs Try Aspire
Docs Try

AzureKustoClusterResource

Handle
📦 Aspire.Hosting.Azure.Kusto v13.4.0-preview.1.26281.18
interface AzureKustoClusterResource
extends IAzureResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithParameters,
IValueProvider,
IValueWithReferences {
readonly clusterUri: BicepOutputReference;
readonly connectionStringExpression: ReferenceExpression;
readonly isEmulator: boolean;
readonly nameOutputReference: BicepOutputReference;
readonly uriExpression: ReferenceExpression;
addReadWriteDatabase(
name: string,
databaseName?: string): AzureKustoReadWriteDatabaseResource;
runAsEmulator(configureContainer?: (obj: AzureKustoEmulatorResource) => Promise<void>): AzureKustoClusterResource;
}

Properties

property clusterUri BicepOutputReference get
Gets the cluster URI output reference for the Azure Kusto cluster.
property connectionStringExpression ReferenceExpression get
Gets the ConnectionStringExpression property
property isEmulator boolean get
Gets whether the resource is running the local emulator.
property nameOutputReference BicepOutputReference get
Gets the "name" output reference for the resource.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the Kusto cluster.

Methods

method addReadWriteDatabase builder
Adds a Kusto read-write database to the application model.
addReadWriteDatabase(
name: string,
databaseName?: string): AzureKustoReadWriteDatabaseResource
name string
databaseName string optional
AzureKustoReadWriteDatabaseResource
method runAsEmulator builder
Configures the Kusto resource to run as an emulator using the Kustainer container.
runAsEmulator(configureContainer?: (obj: AzureKustoEmulatorResource) => Promise<void>): AzureKustoClusterResource
configureContainer (obj: AzureKustoEmulatorResource) => Promise<void> optional
AzureKustoClusterResource