-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52f20bf
commit 887115b
Showing
5 changed files
with
177 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: "" | ||
page_title: "dynatrace_api_token Data Source - terraform-provider-dynatrace" | ||
subcategory: "Access Tokens" | ||
description: |- | ||
The data source `dynatrace_api_token` covers queries for an access token | ||
--- | ||
|
||
# dynatrace_api_token (Data Source) | ||
|
||
The API token data source allows a single access token to be retrieved by its name, note the token value is not included in the response. | ||
|
||
If multiple tokens match the given name, the first result will be retrieved. To retrieve multiple tokens of the same name, please utilize the `dynatrace_api_tokens` data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "dynatrace_api_token" "example" { | ||
name = "Terraform" | ||
} | ||
output "example" { | ||
value = data.dynatrace_api_token.example | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) | ||
|
||
### Read-Only | ||
|
||
- `creation_date` (String) Token creation date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | ||
- `enabled` (Boolean) The token is enabled (true) or disabled (false), default disabled (false). | ||
- `expiration_date` (String) The expiration date of the token. | ||
- `id` (String) The ID of this resource. | ||
- `owner` (String) The owner of the token | ||
- `personal_access_token` (Boolean) The token is a personal access token (true) or an API token (false). | ||
- `scopes` (Set of String) A list of the scopes to be assigned to the token. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: "" | ||
page_title: "dynatrace_api_tokens Data Source - terraform-provider-dynatrace" | ||
subcategory: "Access Tokens" | ||
description: |- | ||
The data source `dynatrace_api_tokens` covers queries for a list of access tokens | ||
--- | ||
|
||
# dynatrace_api_tokens (Data Source) | ||
|
||
The API tokens data source allows all access tokens to be retrieved, note the token value is not included in the response. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "dynatrace_api_tokens" "example" { | ||
} | ||
output "example" { | ||
value = data.dynatrace_api_tokens.example | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Read-Only | ||
|
||
- `api_tokens` (List of Object) (see [below for nested schema](#nestedatt--api_tokens)) | ||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedatt--api_tokens"></a> | ||
### Nested Schema for `api_tokens` | ||
|
||
Read-Only: | ||
|
||
- `creation_date` (String) | ||
- `enabled` (Boolean) | ||
- `expiration_date` (String) | ||
- `last_used_date` (String) | ||
- `last_used_ip_address` (String) | ||
- `modified_date` (String) | ||
- `name` (String) | ||
- `owner` (String) | ||
- `personal_access_token` (Boolean) | ||
- `scopes` (Set of String) | ||
- `token` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
layout: "" | ||
page_title: "dynatrace_generic_setting Data Source - terraform-provider-dynatrace" | ||
subcategory: "Platform" | ||
description: |- | ||
The data source `dynatrace_generic_setting` covers queries for a Settings 2.0 object | ||
--- | ||
|
||
# dynatrace_generic_setting (Data Source) | ||
|
||
The generic setting data source allows a single Settings 2.0 object to be retrieved by its schema ID, scope, and/or filter. | ||
|
||
If multiple objects match the given criteria, the first result will be retrieved. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "dynatrace_generic_setting" "example" { | ||
schema = "builtin:alerting.maintenance-window" | ||
filter = "value.generalProperties.name = 'Terraform Example'" | ||
} | ||
output "generic_setting" { | ||
value = data.dynatrace_generic_setting.example | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `filter` (String) Filter of the requested objects | ||
- `schema` (String) Schema IDs to which the requested objects belong | ||
- `scope` (String) Scope that the requested objects target | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `value` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: "" | ||
page_title: "dynatrace_generic_settings Data Source - terraform-provider-dynatrace" | ||
subcategory: "Platform" | ||
description: |- | ||
The data source `dynatrace_generic_settings` covers queries for a list of Settings 2.0 objects | ||
--- | ||
|
||
# dynatrace_generic_settings (Data Source) | ||
|
||
The generic settings data source allows Settings 2.0 objects to be retrieved by its schema ID, scope, and/or filter. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "dynatrace_generic_settings" "example" { | ||
schema = "builtin:alerting.maintenance-window" | ||
} | ||
output "generic_settings" { | ||
value = data.dynatrace_generic_settings.example | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `filter` (String) Filter of the requested objects | ||
- `schema` (String) Schema IDs to which the requested objects belong | ||
- `scope` (String) Scope that the requested objects target | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `values` (List of Object) (see [below for nested schema](#nestedatt--values)) | ||
|
||
<a id="nestedatt--values"></a> | ||
### Nested Schema for `values` | ||
|
||
Read-Only: | ||
|
||
- `local_storage` (String) | ||
- `schema` (String) | ||
- `scope` (String) | ||
- `value` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
|
||
package version | ||
|
||
const Current = "1.62.0" | ||
const Current = "1.63.0" |