stackit_observability_scrapeconfig

Nivis Nix constructor for the stackit_observability_scrapeconfig resource (provider stackit). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  instance_id,
  metrics_path,
  project_id,
  targets,
  basic_auth ? null,
  cfg_name ? null,
  saml2 ? null,
  sample_limit ? null,
  scheme ? null,
  scrape_interval ? null,
  scrape_timeout ? null,
  overrides ? {}
}
Required arguments
  • instance_id
  • metrics_path
  • project_id
  • targets
Optional arguments
  • basic_auth (defaults to null)
  • cfg_name (defaults to null)
  • saml2 (defaults to null)
  • sample_limit (defaults to null)
  • scheme (defaults to null)
  • scrape_interval (defaults to null)
  • scrape_timeout (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
stackit_observability_scrapeconfig {
  name = "observability_scrapeconfig";
  instance_id = …;  # required
  metrics_path = …;  # required
  project_id = …;  # required
  targets = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.