Skip to content
Docs Try Aspire

AzureSqlDatabaseResource

Handle TypeScript
📦 Aspire.Hosting.Azure.Sql v13.2.0-preview.1.26159.1
interface AzureSqlDatabaseResource
extends IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly databaseName: string;
readonly isContainer: boolean;
readonly jdbcConnectionString: ReferenceExpression;
readonly name: string;
readonly parent: AzureSqlServerResource;
readonly uriExpression: ReferenceExpression;
withDefaultAzureSku(): AzureSqlDatabaseResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the ConnectionStringExpression property
property databaseName string get
Gets the DatabaseName property
property isContainer boolean get
Gets the IsContainer property
property jdbcConnectionString ReferenceExpression get
Gets the JdbcConnectionString property
property name string get
Gets the Name property
property parent AzureSqlServerResource get
Gets the Parent property
property uriExpression ReferenceExpression get
Gets the UriExpression property

Methods

method withDefaultAzureSku builder
Configures the Azure SQL database to use the default Azure SKU
withDefaultAzureSku(): AzureSqlDatabaseResource
AzureSqlDatabaseResource