Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureKustoClusterResource

Handle
📦 Aspire.Hosting.Azure.Kusto v17.0.0-preview.1.26565.2

A resource that represents a Kusto cluster.

type AzureKustoClusterResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithEndpoints
}

Properties

propertyClusterUriBicepOutputReferenceget
Gets the cluster URI output reference for the Azure Kusto cluster.
ClusterUri() BicepOutputReference
propertyConnectionStringExpression*ReferenceExpressionget
Gets the ConnectionStringExpression property
ConnectionStringExpression() *ReferenceExpression
propertyIsEmulatorboolget
Gets whether the resource is running the local emulator.
IsEmulator() (bool, error)
propertyNameOutputReferenceBicepOutputReferenceget
Gets the "name" output reference for the resource.
NameOutputReference() BicepOutputReference
propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)
propertyUriExpression*ReferenceExpressionget
Gets the connection URI expression for the Kusto cluster.
UriExpression() *ReferenceExpression

Methods

Adds a Kusto read-write database to the application model.
AddReadWriteDatabase(
name string,
options ...*AddReadWriteDatabaseOptions,
) AzureKustoReadWriteDatabaseResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddReadWriteDatabaseOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddReadWriteDatabaseOptions argument.

DatabaseName*stringThe name of the database. If not provided, this defaults to the same value as name.
AzureKustoReadWriteDatabaseResource

The resource builder.

Returns a handle; failures surface later via Err().

methodRunAsEmulatorbuilder
Configures the Kusto resource to run as an emulator using the Kustainer container.
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureKustoClusterResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsEmulatorOptions argument.

ConfigureContainerfunc(obj AzureKustoEmulatorResource)callbackOptional action to configure the Kusto emulator container.
AzureKustoClusterResource

The resource builder.

Returns a handle; failures surface later via Err().