56 lines
2.1 KiB
Markdown
56 lines
2.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_mariadb_instance Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
MariaDB instance data source schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_mariadb_instance (Data Source)
|
|
|
|
MariaDB instance data source schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "stackit_mariadb_instance" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `instance_id` (String) ID of the MariaDB instance.
|
|
- `project_id` (String) STACKIT Project ID to which the instance is associated.
|
|
|
|
### Read-Only
|
|
|
|
- `cf_guid` (String)
|
|
- `cf_organization_guid` (String)
|
|
- `cf_space_guid` (String)
|
|
- `dashboard_url` (String)
|
|
- `id` (String) Terraform's internal data source. identifier. It is structured as "`project_id`,`instance_id`".
|
|
- `image_url` (String)
|
|
- `name` (String) Instance name.
|
|
- `parameters` (Attributes) (see [below for nested schema](#nestedatt--parameters))
|
|
- `plan_id` (String) The selected plan ID.
|
|
- `plan_name` (String) The selected plan name.
|
|
- `version` (String) The service version.
|
|
|
|
<a id="nestedatt--parameters"></a>
|
|
### Nested Schema for `parameters`
|
|
|
|
Read-Only:
|
|
|
|
- `enable_monitoring` (Boolean) Enable monitoring.
|
|
- `graphite` (String)
|
|
- `max_disk_threshold` (Number) The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
|
|
- `metrics_frequency` (Number) The frequency in seconds at which metrics are emitted.
|
|
- `metrics_prefix` (String) The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
|
|
- `monitoring_instance_id` (String) The ID of the STACKIT monitoring instance.
|
|
- `sgw_acl` (String) Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
|
|
- `syslog` (List of String) List of syslog servers to send logs to.
|