Skip to content
DocsTry Aspire
DocsTry

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

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the Kusto database.
propertydatabaseNamestringget
Gets the database name.
propertyparentAzureKustoClusterResourceget
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
methodwithCreationScriptbuilder
Defines the script used to create the database.
withCreationScript(script: string): AzureKustoReadWriteDatabaseResource
scriptstring
AzureKustoReadWriteDatabaseResource