# SqlDatabaseStatus

- Module: [Aspire.Hosting.Azure.Provisioning.Sql](/reference/api/typescript/aspire.hosting.azure.provisioning.sql.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

## Definition

```typescript
enum SqlDatabaseStatus {
  Online = 0,
  Restoring = 1,
  RecoveryPending = 2,
  Recovering = 3,
  Suspect = 4,
  Offline = 5,
  Standby = 6,
  Shutdown = 7,
  EmergencyMode = 8,
  AutoClosed = 9,
  Copying = 10,
  Creating = 11,
  Inaccessible = 12,
  OfflineSecondary = 13,
  Pausing = 14,
  Paused = 15,
  Resuming = 16,
  Scaling = 17,
  OfflineChangingDwPerformanceTiers = 18,
  OnlineChangingDwPerformanceTiers = 19,
  Disabled = 20,
  Stopping = 21,
  Stopped = 22,
  Starting = 23,
}
```

## Values

- `Online` = `0`
- `Restoring` = `1`
- `RecoveryPending` = `2`
- `Recovering` = `3`
- `Suspect` = `4`
- `Offline` = `5`
- `Standby` = `6`
- `Shutdown` = `7`
- `EmergencyMode` = `8`
- `AutoClosed` = `9`
- `Copying` = `10`
- `Creating` = `11`
- `Inaccessible` = `12`
- `OfflineSecondary` = `13`
- `Pausing` = `14`
- `Paused` = `15`
- `Resuming` = `16`
- `Scaling` = `17`
- `OfflineChangingDwPerformanceTiers` = `18`
- `OnlineChangingDwPerformanceTiers` = `19`
- `Disabled` = `20`
- `Stopping` = `21`
- `Stopped` = `22`
- `Starting` = `23`
