# ConnectionStringType

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

## Definition

```typescript
enum ConnectionStringType {
  MySql = 0,
  SqlServer = 1,
  SqlAzure = 2,
  Custom = 3,
  NotificationHub = 4,
  ServiceBus = 5,
  EventHub = 6,
  ApiHub = 7,
  DocDB = 8,
  RedisCache = 9,
  PostgreSql = 10,
}
```

## Values

- `MySql` = `0`
- `SqlServer` = `1`
- `SqlAzure` = `2`
- `Custom` = `3`
- `NotificationHub` = `4`
- `ServiceBus` = `5`
- `EventHub` = `6`
- `ApiHub` = `7`
- `DocDB` = `8`
- `RedisCache` = `9`
- `PostgreSql` = `10`
