terraform-provider-stackitp.../docs/data-sources/argus_scrapeconfig.md
João Palet 82b0c6ff6c
Document resource's internal ID structure and create foundation for migration guide (#12)
* Add internal ID structure to DSA instance descriptions

* Add internal ID structure to DSA credential descriptions

* Add internal ID structure to Argus descriptions

* Add internal ID structure to DNS descriptions

* Add internal ID structure to PostgresFlex descriptions

* Add internal ID structure to ResourceManager descriptions

* Add internal ID structure to SKE descriptions

* Generate updated docs

* Add first basis for migration guide
2023-09-08 18:03:26 +01:00

2 KiB

page_title subcategory description
stackit_argus_scrapeconfig Data Source - stackit

stackit_argus_scrapeconfig (Data Source)

Example Usage

data "stackit_argus_scrapeconfig" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  job_id      = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • instance_id (String) Argus instance ID to which the scraping job is associated.
  • name (String) Specifies the name of the scraping job
  • project_id (String) STACKIT project ID to which the scraping job is associated.

Read-Only

  • basic_auth (Attributes) A basic authentication block. (see below for nested schema)
  • id (String) Terraform's internal resource ID. It is structured as "project_id,instance_id,name".
  • metrics_path (String) Specifies the job scraping url path.
  • saml2 (Attributes) A SAML2 configuration block (see below for nested schema)
  • scheme (String) Specifies the http scheme.
  • scrape_interval (String) Specifies the scrape interval as duration string.
  • scrape_timeout (String) Specifies the scrape timeout as duration string.
  • targets (Attributes List) The targets list (specified by the static config). (see below for nested schema)

Nested Schema for basic_auth

Read-Only:

  • password (String, Sensitive) Specifies basic auth password.
  • username (String) Specifies basic auth username.

Nested Schema for saml2

Read-Only:

  • enable_url_parameters (Boolean) Are URL parameters be enabled?

Nested Schema for targets

Read-Only:

  • labels (Map of String) Specifies labels.
  • urls (List of String) Specifies target URLs.