Skip to content

Commit 3ff1b91

Browse files
generated documentation prior to release 1.16.0
1 parent 50c9c4e commit 3ff1b91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2034
-203
lines changed

docs/data-sources/iam_group.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "dynatrace_iam_group Data Source - terraform-provider-dynatrace"
4+
subcategory: ""
5+
description: |-
6+
7+
---
8+
9+
# dynatrace_iam_group (Data Source)
10+
11+
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String)
21+
22+
### Read-Only
23+
24+
- `id` (String) The ID of this resource.
25+
26+

docs/index.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the links to the left to learn about the available resources and data source
1818
terraform {
1919
required_providers {
2020
dynatrace = {
21-
version = "1.15.0"
21+
version = "1.16.0"
2222
source = "dynatrace-oss/dynatrace"
2323
}
2424
}
@@ -61,9 +61,9 @@ Invoking the export functionality requires
6161
* Optionally the environment variable `DYNATRACE_TARGET_FOLDER`. If it's not set, the output folder `./configuration` is assumed
6262

6363
## Export Utility
64-
Windows: `terraform-provider-dynatrace.exe -exportv2 [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
64+
Windows: `terraform-provider-dynatrace.exe -export [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
6565

66-
Linux: `./terraform-provider-dynatrace -exportv2 [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
66+
Linux: `./terraform-provider-dynatrace -export [-v] [-ref] [-id] [-migrate] [-exclude] [<resourcename>[=<id>]]`
6767
### Options
6868
* `-v` Enable verbose logging
6969
* `-ref` Enable resources with data sources and dependencies
@@ -92,9 +92,9 @@ Linux: `./terraform-provider-dynatrace -exportv2 [-v] [-ref] [-id] [-migrate] [-
9292
* Due to the complexity of dashboards, there may be cases where the `terraform apply` fails after an export. Dashboard validation will be improved in a future release.
9393

9494
## Export Utility (Legacy method)
95-
Windows: `terraform-provider-dynatrace.exe export *[<resourcename>[=<id>]]`
95+
Windows: `terraform-provider-dynatrace.exe exportv1 *[<resourcename>[=<id>]]`
9696

97-
Linux: `./terraform-provider-dynatrace export *[<resourcename>[=<id>]]`
97+
Linux: `./terraform-provider-dynatrace exportv1 *[<resourcename>[=<id>]]`
9898

9999
### Usage Examples
100100
* `./terraform-provider-dynatrace exportv1` downloads all available configuration settings
@@ -112,4 +112,7 @@ Linux: `./terraform-provider-dynatrace export *[<resourcename>[=<id>]]`
112112
- `dt_api_token` (String, Sensitive)
113113
- `dt_cluster_api_token` (String, Sensitive)
114114
- `dt_cluster_url` (String, Sensitive)
115-
- `dt_env_url` (String)
115+
- `dt_env_url` (String)
116+
- `iam_account_id` (String, Sensitive)
117+
- `iam_client_id` (String, Sensitive)
118+
- `iam_client_secret` (String, Sensitive)

docs/resources/alerting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_alerting` downloads all existing alerting profiles configuration
18+
- `terraform-provider-dynatrace -export dynatrace_alerting` downloads all existing alerting profiles configuration
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
## Resource Example Usage
2323

docs/resources/ansible_tower_notification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_ansible_tower_notification` downloads the existing Problem Notifications for Ansible Tower
18+
- `terraform-provider-dynatrace -export dynatrace_ansible_tower_notification` downloads the existing Problem Notifications for Ansible Tower
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
## Resource Example Usage
2323

docs/resources/api_token.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_api_token Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_api_token` covers configuration for API tokens
6+
---
7+
8+
# dynatrace_api_token (Resource)
9+
10+
The token value can be retrieved with `dynatrace_api_token.<#name#>.token` after apply.
11+
12+
WARNING: The usage of `dynatrace_api_token` will introduce sensitive data within your Terraform state. The `token` property is flagged as `sensitive`, but the field will be stored as plain-text. More information can be found [here](https://developer.hashicorp.com/terraform/language/state/sensitive-data).
13+
14+
## Dynatrace Documentation
15+
16+
- Dynatrace API Tokens and authentication - https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication
17+
18+
- Tokens API v2 - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/tokens-v2
19+
20+
## Export Example Usage
21+
22+
- `terraform-provider-dynatrace -export dynatrace_api_token` downloads all existing API token configuration
23+
24+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
25+
26+
## Resource Example Usage
27+
28+
```terraform
29+
resource "dynatrace_api_token" "#name#" {
30+
name = "#name#"
31+
enabled = false
32+
# personal_access_token = false
33+
scopes = [ "geographicRegions.read" ]
34+
}
35+
```
36+
37+
<!-- schema generated by tfplugindocs -->
38+
## Schema
39+
40+
### Required
41+
42+
- `name` (String) The name of the token.
43+
- `scopes` (Set of String) A list of the scopes to be assigned to the token.
44+
45+
### Optional
46+
47+
- `creation_date` (String) Token creation date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
48+
- `enabled` (Boolean) The token is enabled (true) or disabled (false), default disabled (false).
49+
- `expiration_date` (String) The expiration date of the token.
50+
- `last_used_date` (String) Token last used date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
51+
- `last_used_ip_address` (String) Token last used IP address.
52+
- `modified_date` (String) Token last modified date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').
53+
- `owner` (String) The owner of the token
54+
- `personal_access_token` (Boolean) The token is a personal access token (true) or an API token (false).
55+
56+
### Read-Only
57+
58+
- `id` (String) The ID of this resource.
59+
- `token` (String, Sensitive) The secret of the token.
60+

docs/resources/api_token.md.tmpl.bak

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/resources/application_anomalies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_application_anomalies` downloads all existing application anomaly detection configuration
18+
- `terraform-provider-dynatrace -export dynatrace_application_anomalies` downloads all existing application anomaly detection configuration
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
## Resource Example Usage
2323

docs/resources/application_data_privacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_application_data_privacy` downloads all existing application data privacy configuration
18+
- `terraform-provider-dynatrace -export dynatrace_application_data_privacy` downloads all existing application data privacy configuration
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
<!-- schema generated by tfplugindocs -->
2323
## Schema

docs/resources/application_detection_rule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_application_detection_rule` downloads all existing application detection rule configuration
18+
- `terraform-provider-dynatrace -export dynatrace_application_detection_rule` downloads all existing application detection rule configuration
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
<!-- schema generated by tfplugindocs -->
2323
## Schema

docs/resources/application_error_rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ description: |-
1515

1616
## Export Example Usage
1717

18-
- `terraform-provider-dynatrace export dynatrace_application_error_rules` downloads all existing application error rule configuration
18+
- `terraform-provider-dynatrace -export dynatrace_application_error_rules` downloads all existing application error rule configuration
1919

20-
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs#exporting-existing-configuration-from-a-dynatrace-environment).
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
2121

2222
<!-- schema generated by tfplugindocs -->
2323
## Schema

0 commit comments

Comments
 (0)