Initial commit
This commit is contained in:
commit
e4c8a6fbf4
186 changed files with 29501 additions and 0 deletions
84
docs/resources/argus_scrapeconfig.md
Normal file
84
docs/resources/argus_scrapeconfig.md
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "stackit_argus_scrapeconfig Resource - stackit"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# stackit_argus_scrapeconfig (Resource)
|
||||
|
||||
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "stackit_argus_scrapeconfig" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
name = "example-job"
|
||||
metrics_path = "/my-metrics"
|
||||
saml2 = {
|
||||
enable_url_parameters = true
|
||||
}
|
||||
targets = [
|
||||
{
|
||||
urls = ["url1", "urls2"]
|
||||
labels = {
|
||||
"url1" = "dev"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `instance_id` (String) Argus instance ID to which the scraping job is associated.
|
||||
- `metrics_path` (String) Specifies the job scraping url path. E.g. `/metrics`.
|
||||
- `name` (String) Specifies the name of the scraping job.
|
||||
- `project_id` (String) STACKIT project ID to which the scraping job is associated.
|
||||
- `targets` (Attributes List) The targets list (specified by the static config). (see [below for nested schema](#nestedatt--targets))
|
||||
|
||||
### Optional
|
||||
|
||||
- `basic_auth` (Attributes) A basic authentication block. (see [below for nested schema](#nestedatt--basic_auth))
|
||||
- `saml2` (Attributes) A SAML2 configuration block. (see [below for nested schema](#nestedatt--saml2))
|
||||
- `scheme` (String) Specifies the http scheme. E.g. `https`.
|
||||
- `scrape_interval` (String) Specifies the scrape interval as duration string. E.g. `5m`.
|
||||
- `scrape_timeout` (String) Specifies the scrape timeout as duration string. E.g.`2m`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) Terraform's internal resource ID.
|
||||
|
||||
<a id="nestedatt--targets"></a>
|
||||
### Nested Schema for `targets`
|
||||
|
||||
Required:
|
||||
|
||||
- `urls` (List of String) Specifies target URLs.
|
||||
|
||||
Optional:
|
||||
|
||||
- `labels` (Map of String) Specifies labels.
|
||||
|
||||
|
||||
<a id="nestedatt--basic_auth"></a>
|
||||
### Nested Schema for `basic_auth`
|
||||
|
||||
Required:
|
||||
|
||||
- `password` (String, Sensitive) Specifies basic auth password.
|
||||
- `username` (String) Specifies basic auth username.
|
||||
|
||||
|
||||
<a id="nestedatt--saml2"></a>
|
||||
### Nested Schema for `saml2`
|
||||
|
||||
Optional:
|
||||
|
||||
- `enable_url_parameters` (Boolean) Are URL parameters be enabled?
|
||||
Loading…
Add table
Add a link
Reference in a new issue