# AzureSqlDatabaseResource

- Module: [Aspire.Hosting.Azure.Sql](/reference/api/typescript/aspire.hosting.azure.sql.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface AzureSqlDatabaseResource
  extends IManifestExpressionProvider,
    IResource,
    IResourceWithConnectionString,
    IResourceWithParent,
    AzureSqlServerResource]],
    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

- `connectionStringExpression`: `ReferenceExpression` `get` -- Gets the ConnectionStringExpression property
- `databaseName`: `string` `get` -- Gets the DatabaseName property
- `isContainer`: `boolean` `get` -- Gets the IsContainer property
- `jdbcConnectionString`: `ReferenceExpression` `get` -- Gets the JdbcConnectionString property
- `name`: `string` `get` -- Gets the Name property
- `parent`: [AzureSqlServerResource](/reference/api/typescript/aspire.hosting.azure.sql/azuresqlserverresource.md) `get` -- Gets the Parent property
- `uriExpression`: `ReferenceExpression` `get` -- Gets the UriExpression property

## Methods

- [withDefaultAzureSku](/reference/api/typescript/aspire.hosting.azure.sql/azuresqldatabaseresource/withdefaultazuresku.md) -- `method` -- Configures the Azure SQL database to use the default Azure SKU
    ```typescript
  withDefaultAzureSku(): AzureSqlDatabaseResource
  ```
