You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
page_title: "dynatrace_synthetic_nodes Data Source - terraform-provider-dynatrace"
4
+
description: |-
5
+
The data source `dynatrace_synthetic_nodes` queries for all available Synthetic Nodes
6
+
---
7
+
8
+
# dynatrace_synthetic_nodes (Data Source)
9
+
10
+
The synthetic locations data source queries for all available Synthetic Nodes. The data source doesn't need to get configured. It always provides the full list of synthetic nodes.
11
+
12
+
## Example Usage
13
+
14
+
This example shows how to use the data source `dynatrace_synthetic_nodes` in combination with the resource `dynatrace_synthetic_location`, which requires the IDs of synthetic nodes to execute synthetic tests on.
page_title: "dynatrace_tenant Data Source - terraform-provider-dynatrace"
4
+
description: |-
5
+
The data source `dynatrace_tenant` is a pseudo data source. It evaluates based on the configuration of the provider the Environment ID
6
+
---
7
+
8
+
# dynatrace_tenant (Data Source)
9
+
10
+
The data source `dynatrace_tenant` evalutes the configured Environment URL (either the environment variable `DYNATRACE_ENV_URL` or the configuration attribute `dt_env_url`) and extracts out the name/id of the environment this provider addresses.
11
+
Main purpose is for migrating settings from one environment to another, but it can be used to in general to avoid hard coding the environment ID like in the example below.
## Exporting existing configuration from a Dynatrace Environment
63
67
In addition to acting as a Terraform Provider Plugin, the executable `terraform-provider-dynatrace` (`terraform-provider-dynatrace.exe` on Windows) can be directly invoked.
-`frequency` (Number) The frequency of the monitor, in minutes.
168
168
169
169
You can use one of the following values: `5`, `10`, `15`, `30`, and `60`.
170
+
-`key_performance_metrics` (Block List, Min: 1, Max: 1) The key performance metrics configuration (see [below for nested schema](#nestedblock--key_performance_metrics))
170
171
-`name` (String) The name of the monitor.
171
172
172
173
### Optional
173
174
174
175
-`anomaly_detection` (Block List, Max: 1) The anomaly detection configuration. (see [below for nested schema](#nestedblock--anomaly_detection))
175
176
-`enabled` (Boolean) The monitor is enabled (`true`) or disabled (`false`).
176
-
-`key_performance_metrics` (Block List, Max: 1) The key performance metrics configuration (see [below for nested schema](#nestedblock--key_performance_metrics))
177
177
-`locations` (Set of String) A list of locations from which the monitor is executed.
178
178
179
179
To specify a location, use its entity ID.
@@ -187,6 +187,15 @@ You can specify only the value of the tag here and the `CONTEXTLESS` context and
187
187
188
188
-`id` (String) The ID of this resource.
189
189
190
+
<aid="nestedblock--key_performance_metrics"></a>
191
+
### Nested Schema for `key_performance_metrics`
192
+
193
+
Required:
194
+
195
+
-`load_action_kpm` (String) Defines the key performance metric for load actions. Supported values are `VISUALLY_COMPLETE`, `SPEED_INDEX`, `USER_ACTION_DURATION`, `TIME_TO_FIRST_BYTE`, `HTML_DOWNLOADED`, `DOM_INTERACTIVE`, `LOAD_EVENT_START` and `LOAD_EVENT_END`.
196
+
-`xhr_action_kpm` (String) Defines the key performance metric for XHR actions. Supported values are `VISUALLY_COMPLETE`, `USER_ACTION_DURATION`, `TIME_TO_FIRST_BYTE` and `RESPONSE_END`.
197
+
198
+
190
199
<aid="nestedblock--anomaly_detection"></a>
191
200
### Nested Schema for `anomaly_detection`
192
201
@@ -260,15 +269,6 @@ Required:
260
269
261
270
262
271
263
-
<aid="nestedblock--key_performance_metrics"></a>
264
-
### Nested Schema for `key_performance_metrics`
265
-
266
-
Required:
267
-
268
-
-`load_action_kpm` (String) Defines the key performance metric for load actions. Supported values are `VISUALLY_COMPLETE`, `SPEED_INDEX`, `USER_ACTION_DURATION`, `TIME_TO_FIRST_BYTE`, `HTML_DOWNLOADED`, `DOM_INTERACTIVE`, `LOAD_EVENT_START` and `LOAD_EVENT_END`.
269
-
-`xhr_action_kpm` (String) Defines the key performance metric for XHR actions. Supported values are `VISUALLY_COMPLETE`, `USER_ACTION_DURATION`, `TIME_TO_FIRST_BYTE` and `RESPONSE_END`.
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:dt-javascript-runtime.allowed-outbound-connections`)
15
+
16
+
## Export Example Usage
17
+
18
+
-`terraform-provider-dynatrace -export dynatrace_limit_outbound_connections` downloads existing configuration for limiting outbound connections running in the Dynatrace JavaScript runtime
19
+
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
-`allowed_outbound_connections` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--allowed_outbound_connections))
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:span-event-attribute`)
15
+
16
+
## Export Example Usage
17
+
18
+
-`terraform-provider-dynatrace -export dynatrace_span_events` downloads all existing span event configuration
19
+
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21
+
22
+
## Resource Example Usage
23
+
24
+
```terraform
25
+
resource "dynatrace_span_events" "#name#" {
26
+
key = "exception.terraform"
27
+
masking = "NOT_MASKED"
28
+
}
29
+
```
30
+
31
+
<!-- schema generated by tfplugindocs -->
32
+
## Schema
33
+
34
+
### Required
35
+
36
+
-`key` (String) Key of the span event attribute to store
37
+
-`masking` (String) Possible Values: `MASK_ENTIRE_VALUE`, `MASK_ONLY_CONFIDENTIAL_DATA`, `NOT_MASKED`
-`location_node_outage_delay_in_minutes` (Number) Alert if the location or node outage lasts longer than *X* minutes.
67
67
68
68
Only applicable when **availability_location_outage** or **availability_node_outage** is set to `true`
69
+
-`max_active_gate_count` (Number) The maximum number of Active Gates required for that location. Not required when `deployment_type` is set to `STANDARD`
70
+
-`min_active_gate_count` (Number) The minimum number of Active Gates required for that location. Not required when `deployment_type` is set to `STANDARD`
71
+
-`node_size` (String) Possible values: `UNSUPPORTED`, `XS`, `S` and `M`. Not required when `deployment_type` is set to `STANDARD`.
69
72
-`nodes` (Set of String) A list of synthetic nodes belonging to the location.
70
73
71
74
You can retrieve the list of available nodes with the [GET all nodes](https://dt-url.net/miy3rpl) call
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:virtualization.vmware`)
15
+
16
+
## Export Example Usage
17
+
18
+
-`terraform-provider-dynatrace -export dynatrace_vmware` downloads all existing VMware configuration
19
+
20
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21
+
22
+
## Resource Example Usage
23
+
24
+
```terraform
25
+
resource "dynatrace_vmware" "#name#" {
26
+
enabled = false
27
+
ipaddress = "vcenter01"
28
+
label = "#name#"
29
+
password = "################"
30
+
username = "terraform"
31
+
}
32
+
```
33
+
34
+
<!-- schema generated by tfplugindocs -->
35
+
## Schema
36
+
37
+
### Required
38
+
39
+
-`enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
40
+
-`ipaddress` (String) Specify the IP address or name of the vCenter or standalone ESXi host:
41
+
-`label` (String) Name this connection
42
+
-`password` (String, Sensitive) no documentation available
43
+
-`username` (String) Provide user credentials for the vCenter or standalone ESXi host:
0 commit comments