---
type: resource-type
title: SqlDatabase
description: azure resource type Microsoft.Sql/servers_databases
name: SqlDatabase
lexicon: azure
resource_type: Microsoft.Sql/servers_databases
---
`Microsoft.Sql/servers_databases`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The name of the database.
- `properties` (`SqlDatabase_DatabaseProperties`, required): Resource properties.
- `identity` (`SqlDatabase_DatabaseIdentity`, optional): The Azure Active Directory identity of the database.
- `location` (`string`, optional): The geo-location where the resource lives
- `resources` (`any[]`, optional)
- `sku` (`SqlDatabase_Sku`, optional): The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: ```azurecli az sql db list-editions -l <location> -o table ``` ```powershell Get-AzSqlServerServiceObjective -Location <location> ```
- `tags` (`Record<string, unknown>`, optional): Resource tags.

## Attributes

- `id`
- `provisioningState`
