AzureKustoReadWriteDatabaseResource
Handle
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;}5 members
Properties
property
connectionStringExpression ReferenceExpression getGets the connection string expression for the Kusto database.
property
databaseName stringgetGets the database name.
property
parentAzureKustoClusterResource getGets 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(): stringReturns
stringDefines the script used to create the database.
withCreationScript(script: string): AzureKustoReadWriteDatabaseResourceParameters
scriptstringReturns
AzureKustoReadWriteDatabaseResource