Skip to content
Docs Try Aspire
Docs Try

AzureKustoReadWriteDatabaseResource

Handle
📦 Aspire.Hosting.Azure.Kusto v13.4.0-preview.1.26281.18
interface AzureKustoReadWriteDatabaseResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
AzureKustoClusterResource]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly databaseName: string;
readonly parent: AzureKustoClusterResource;
getDatabaseCreationScript(): string;
withCreationScript(script: string): AzureKustoReadWriteDatabaseResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Kusto database.
property databaseName string get
Gets the database name.
property parent AzureKustoClusterResource get
Gets the parent Kusto resource.

Methods

Gets the database creation script from the resource annotation if it exists. If not, creates the default database creation script.
getDatabaseCreationScript(): string
string
method withCreationScript builder
Defines the script used to create the database.
withCreationScript(script: string): AzureKustoReadWriteDatabaseResource
script string
AzureKustoReadWriteDatabaseResource