|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "stackit_telemetryrouter_destination Data Source - stackit" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + TelemetryRouter destination data source schema. Uses the default_region specified in the provider configuration as a fallback in case no region is defined on datasource level. |
| 7 | +--- |
| 8 | + |
| 9 | +# stackit_telemetryrouter_destination (Data Source) |
| 10 | + |
| 11 | +TelemetryRouter destination data source schema. Uses the `default_region` specified in the provider configuration as a fallback in case no `region` is defined on datasource level. |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +data "stackit_telemetryrouter_destination" "destination" { |
| 17 | + project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 18 | + region = "eu01" |
| 19 | + instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 20 | + destination_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 21 | +} |
| 22 | +``` |
| 23 | + |
| 24 | +<!-- schema generated by tfplugindocs --> |
| 25 | +## Schema |
| 26 | + |
| 27 | +### Required |
| 28 | + |
| 29 | +- `destination_id` (String) The TelemetryRouter destination ID |
| 30 | +- `instance_id` (String) The TelemetryRouter instance ID |
| 31 | +- `project_id` (String) STACKIT project ID associated with the TelemetryRouter instance |
| 32 | + |
| 33 | +### Optional |
| 34 | + |
| 35 | +- `region` (String) STACKIT region name the resource is located in. If not defined, the provider region is used. |
| 36 | + |
| 37 | +### Read-Only |
| 38 | + |
| 39 | +- `config` (Attributes) The configuration of the TelemetryRouter destination (see [below for nested schema](#nestedatt--config)) |
| 40 | +- `creation_time` (String) The date and time the creation of the TelemetryRouter destination was initiated |
| 41 | +- `credential_type` (String) The TelemetryRouter destination's credential type |
| 42 | +- `description` (String) The description of the TelemetryRouter destination |
| 43 | +- `display_name` (String) The displayed name of the TelemetryRouter destination |
| 44 | +- `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`region`,`instance_id`,`destionation_id`". |
| 45 | +- `status` (String) The status of the TelemetryRouter destination, possible values: Possible values are: `reconciling`, `active`, `deleting`. |
| 46 | + |
| 47 | +<a id="nestedatt--config"></a> |
| 48 | +### Nested Schema for `config` |
| 49 | + |
| 50 | +Optional: |
| 51 | + |
| 52 | +- `filter` (Attributes) The TelemetryRouter destination's filter settings (see [below for nested schema](#nestedatt--config--filter)) |
| 53 | +- `opentelemetry` (Attributes) OpenTelemetry configuration (see [below for nested schema](#nestedatt--config--opentelemetry)) |
| 54 | +- `s3` (Attributes) S3 configuration (see [below for nested schema](#nestedatt--config--s3)) |
| 55 | + |
| 56 | +Read-Only: |
| 57 | + |
| 58 | +- `config_type` (String) The TelemetryRouter destinations's configuration type, possible values: Possible values are: `OpenTelemetry`, `S3`. |
| 59 | + |
| 60 | +<a id="nestedatt--config--filter"></a> |
| 61 | +### Nested Schema for `config.filter` |
| 62 | + |
| 63 | +Read-Only: |
| 64 | + |
| 65 | +- `attributes` (Attributes List) The TelemetryRouter destination's filter attributes (see [below for nested schema](#nestedatt--config--filter--attributes)) |
| 66 | + |
| 67 | +<a id="nestedatt--config--filter--attributes"></a> |
| 68 | +### Nested Schema for `config.filter.attributes` |
| 69 | + |
| 70 | +Read-Only: |
| 71 | + |
| 72 | +- `key` (String) The TelemetryRouter destination's filter attribute key |
| 73 | +- `level` (String) The TelemetryRouter destination's filter attribute level, possible values: Possible values are: `resource`, `scope`, `logRecord`. |
| 74 | +- `matcher` (String) The TelemetryRouter destination's filter attribute matcher, possible values: Possible values are: `=`, `!=`. |
| 75 | +- `values` (List of String) The TelemetryRouter destination's filter attribute values |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +<a id="nestedatt--config--opentelemetry"></a> |
| 80 | +### Nested Schema for `config.opentelemetry` |
| 81 | + |
| 82 | +Read-Only: |
| 83 | + |
| 84 | +- `uri` (String) OpenTelemetry destination URI |
| 85 | + |
| 86 | + |
| 87 | +<a id="nestedatt--config--s3"></a> |
| 88 | +### Nested Schema for `config.s3` |
| 89 | + |
| 90 | +Read-Only: |
| 91 | + |
| 92 | +- `bucket` (String) S3 bucket name |
| 93 | +- `endpoint` (String) S3 endpoint |
0 commit comments