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
*`-ref` Enable resources with data sources and dependencies
23
23
*`-migrate` Enable resources with dependencies, no data sources. More information available in the [Environment Migration](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/environment-migration) guide.
24
+
*`-import-state` Automatically initializes the terraform modules and imports downloaded resources into the state
24
25
*`-id` Enable commented id output in resource files
25
26
*`-flat` All downloaded resources end up directly within the target folder - no module structure will be created
26
27
*`-exclude` Exclude specified resource(s) from export
*`./terraform-provider-dynatrace -export -ref dynatrace_dashboard dynatrace_web_application` downloads all available dashboards, web applications and resource dependencies with references
34
35
*`./terraform-provider-dynatrace -export -ref dynatrace_alerting=4f5942d4-3450-40a8-818f-c5faeb3563d0 dynatrace_alerting=9c4b75f1-9a64-4b44-a8e4-149154fd5325` downloads the alerting profiles with the ids `4f5942d4-3450-40a8-818f-c5faeb3563d0` and `9c4b75f1-9a64-4b44-a8e4-149154fd5325`, includes all resource dependencies with references
35
36
*`./terraform-provider-dynatrace -export -ref dynatrace_calculated_service_metric dynatrace_alerting=4f5942d4-3450-40a8-818f-c5faeb3563d0` downloads all available calculated service metrics and also the alerting profile with the id `4f5942d4-3450-40a8-818f-c5faeb3563d0`, includes all resource dependencies with references
37
+
*`./terraform-provider-dynatrace -export -import-state` downloads all available configuration settings and imports resources into the state
38
+
*`./terraform-provider-dynatrace -export -import-state dynatrace_web_application` downloads all web applications and imports resources into the state
36
39
*`./terraform-provider-dynatrace -export -ref -exclude dynatrace_calculated_service_metric dynatrace_alerting` download all available configuration settings except `dynatrace_calculated_service_metric` and `dynatrace_alerting`, includes all resource dependencies with references
-`tenant_token` (String, Sensitive) The tenant token. This information isn't directly related to the Active Gate Token. It's included for convenience. You require the permission `InstallerDownload` for that attribute to get populated
61
62
-`token` (String, Sensitive) The secret of the token.
-> This resource requires the API token scopes **Read settings** (`settings.read`) and **Write settings** (`settings.write`)
12
+
13
+
## Dynatrace Documentation
14
+
15
+
- Business Analytics - https://www.dynatrace.com/support/help/platform-modules/business-analytics
16
+
17
+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:bizevents-security-context-rules`)
18
+
19
+
## Export Example Usage
20
+
21
+
-`terraform-provider-dynatrace -export dynatrace_business_events_security_context` downloads all existing business event security context configuration
22
+
23
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
The resource `dynatrace_log_security_context` covers configuration for log security context rules
7
+
---
8
+
9
+
# dynatrace_log_security_context (Resource)
10
+
11
+
-> This resource requires the API token scopes **Read settings** (`settings.read`) and **Write settings** (`settings.write`)
12
+
13
+
## Dynatrace Documentation
14
+
15
+
- Log Management and Analytics - https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics
16
+
17
+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:logmonitoring.log-security-context-rules`)
18
+
19
+
## Export Example Usage
20
+
21
+
-`terraform-provider-dynatrace -export dynatrace_log_security_context` downloads all existing log security context configuration
22
+
23
+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
Copy file name to clipboardExpand all lines: docs/resources/slo.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ description: |-
8
8
9
9
# dynatrace_slo (Resource)
10
10
11
-
!> This resource is utilizing an older API endpoint, please use [dynatrace_slo_v2](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/slo_v2) instead.
12
-
13
11
-> This resource requires the API token scopes **Read SLO** (`slo.read`) and **Write SLO** (`slo.write`)
-`denominator` (String) The total count metric (the denominator in rate calculation)
55
53
-`description` (String) The custom description of the SLO (optional)
56
54
-`disabled` (Boolean) The SLO is enabled (`false`) or disabled (`true`)
55
+
-`error_budget_burn_rate` (Block List, Max: 1) Error budget burn rate configuration of a service-level objective (SLO). (see [below for nested schema](#nestedblock--error_budget_burn_rate))
57
56
-`filter` (String) The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector)
58
57
-`metric_expression` (String) The percentage-based metric expression for the calculation of the SLO
58
+
-`metric_name` (String) The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed.
59
59
-`numerator` (String, Deprecated) The metric for the count of successes (the numerator in rate calculation)
60
60
-`rate` (String) The percentage-based metric for the calculation of the SLO
61
61
62
62
### Read-Only
63
63
64
64
-`id` (String) The ID of this resource.
65
+
66
+
<aid="nestedblock--error_budget_burn_rate"></a>
67
+
### Nested Schema for `error_budget_burn_rate`
68
+
69
+
Optional:
70
+
71
+
-`burn_rate_visualization_enabled` (Boolean) The error budget burn rate calculation is enabled (true) or disabled (false).
72
+
-`fast_burn_threshold` (Number) The threshold between a slow and a fast burn rate.
0 commit comments