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
connectionStringExpressionReferenceExpressiongetGets the connection string expression for the Kusto database.
property
databaseNamestringgetGets the database name.
property
parentAzureKustoClusterResourcegetGets 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