AzureKustoReadWriteDatabaseResource

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

Represents an Azure Kusto read-write database resource, which is a child resource of a AzureKustoClusterResource.

type AzureKustoReadWriteDatabaseResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Kusto database.
ConnectionStringExpression() *ReferenceExpression
propertyDatabaseNamestringget
Gets the database name.
DatabaseName() (string, error)
propertyParentAzureKustoClusterResourceget
Gets the parent Kusto resource.
Parent() AzureKustoClusterResource
propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)

Methods

Gets the database creation script from the resource annotation if it exists. If not, creates the default database creation script.
GetDatabaseCreationScript() (string, error)
(string, error)

Returns (string, error).

methodWithCreationScriptbuilder
Defines the script used to create the database.
WithCreationScript(script string) AzureKustoReadWriteDatabaseResource
scriptstringKQL script to create databases, tables, or data.
AzureKustoReadWriteDatabaseResource

The resource builder.

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