# Database

> Resource Database in pulumi-bunnynet.

<!-- Generated from the pulumi-bunnynet SDK. -->

Resource Database in pulumi-bunnynet.

Pulumi type: `bunnynet:index/database:Database`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as bunnynet from "pulumi-bunnynet"

const resource = new bunnynet.Database("database", {
  regionsPrimaries: ["<regionsPrimaries>"],
})
```

## Arguments

| Property           | Type       | Required | Description                       |
| ------------------ | ---------- | -------- | --------------------------------- |
| `name`             | `string`   | no       | The name of the database.         |
| `regionsPrimaries` | `string[]` | yes      |                                   |
| `regionsReplicas`  | `string[]` | no       |                                   |
| `storageRegion`    | `string`   | no       | Options: `eu-west-1`, `us-east-1` |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property           | Type       | Computed | Description                          |
| ------------------ | ---------- | -------- | ------------------------------------ |
| `name`             | `string`   | no       | The name of the database.            |
| `regionsPrimaries` | `string[]` | no       |                                      |
| `regionsReplicas`  | `string[]` | no       |                                      |
| `storageRegion`    | `string`   | no       | Options: `eu-west-1`, `us-east-1`    |
| `url`              | `string`   | yes      | The connection URL for the database. |
