* resource create and schema/model * consider empty value in resource creation * Address issue in mapfields that came up in testing * Unit testing the mapFields func * extend update * extend read * extend datasource.go * update example * extended acceptance tests and generated docs * update description and comments * improve messages and var names, fix update acceptance test * extend acceptance tests, improve error messages
56 lines
2.6 KiB
Markdown
56 lines
2.6 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_argus_instance Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Argus instance data source schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_argus_instance (Data Source)
|
|
|
|
Argus instance data source schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "stackit_argus_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) The Argus instance ID.
|
|
- `project_id` (String) STACKIT project ID to which the instance is associated.
|
|
|
|
### Read-Only
|
|
|
|
- `acl` (Set of String) The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation.
|
|
- `alerting_url` (String) Specifies Alerting URL.
|
|
- `dashboard_url` (String) Specifies Argus instance dashboard URL.
|
|
- `grafana_initial_admin_password` (String, Sensitive) Specifies an initial Grafana admin password.
|
|
- `grafana_initial_admin_user` (String) Specifies an initial Grafana admin username.
|
|
- `grafana_public_read_access` (Boolean) If true, anyone can access Grafana dashboards without logging in.
|
|
- `grafana_url` (String) Specifies Grafana URL.
|
|
- `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`instance_id`".
|
|
- `is_updatable` (Boolean) Specifies if the instance can be updated.
|
|
- `jaeger_traces_url` (String)
|
|
- `jaeger_ui_url` (String)
|
|
- `logs_push_url` (String) Specifies URL for pushing logs.
|
|
- `logs_url` (String) Specifies Logs URL.
|
|
- `metrics_push_url` (String) Specifies URL for pushing metrics.
|
|
- `metrics_retention_days` (Number) Specifies for how many days the raw metrics are kept.
|
|
- `metrics_retention_days_1h_downsampling` (Number) Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled).
|
|
- `metrics_retention_days_5m_downsampling` (Number) Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled).
|
|
- `metrics_url` (String) Specifies metrics URL.
|
|
- `name` (String) The name of the Argus instance.
|
|
- `otlp_traces_url` (String)
|
|
- `parameters` (Map of String) Additional parameters.
|
|
- `plan_id` (String) The Argus plan ID.
|
|
- `plan_name` (String) Specifies the Argus plan. E.g. `Monitoring-Medium-EU01`.
|
|
- `targets_url` (String) Specifies Targets URL.
|
|
- `zipkin_spans_url` (String)
|