stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
Observability scrape config data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_observability_scrapeconfig" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example"
}
Using getObservabilityScrapeconfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getObservabilityScrapeconfig(args: GetObservabilityScrapeconfigArgs, opts?: InvokeOptions): Promise<GetObservabilityScrapeconfigResult>
function getObservabilityScrapeconfigOutput(args: GetObservabilityScrapeconfigOutputArgs, opts?: InvokeOptions): Output<GetObservabilityScrapeconfigResult>def get_observability_scrapeconfig(instance_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObservabilityScrapeconfigResult
def get_observability_scrapeconfig_output(instance_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObservabilityScrapeconfigResult]func LookupObservabilityScrapeconfig(ctx *Context, args *LookupObservabilityScrapeconfigArgs, opts ...InvokeOption) (*LookupObservabilityScrapeconfigResult, error)
func LookupObservabilityScrapeconfigOutput(ctx *Context, args *LookupObservabilityScrapeconfigOutputArgs, opts ...InvokeOption) LookupObservabilityScrapeconfigResultOutput> Note: This function is named LookupObservabilityScrapeconfig in the Go SDK.
public static class GetObservabilityScrapeconfig
{
public static Task<GetObservabilityScrapeconfigResult> InvokeAsync(GetObservabilityScrapeconfigArgs args, InvokeOptions? opts = null)
public static Output<GetObservabilityScrapeconfigResult> Invoke(GetObservabilityScrapeconfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetObservabilityScrapeconfigResult> getObservabilityScrapeconfig(GetObservabilityScrapeconfigArgs args, InvokeOptions options)
public static Output<GetObservabilityScrapeconfigResult> getObservabilityScrapeconfig(GetObservabilityScrapeconfigArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getObservabilityScrapeconfig:getObservabilityScrapeconfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Observability 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.
- Instance
Id string - Observability 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.
- instance
Id String - Observability 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.
- instance
Id string - Observability 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.
- instance_
id str - Observability instance ID to which the scraping job is associated.
- name str
- Specifies the name of the scraping job
- project_
id str - STACKIT project ID to which the scraping job is associated.
- instance
Id String - Observability 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.
getObservabilityScrapeconfig Result
The following output properties are available:
- Basic
Auth GetObservability Scrapeconfig Basic Auth - A basic authentication block.
- Id string
- Instance
Id string - Observability instance ID to which the scraping job is associated.
- Metrics
Path string - Specifies the job scraping url path.
- Name string
- Specifies the name of the scraping job
- Project
Id string - STACKIT project ID to which the scraping job is associated.
- Saml2
Get
Observability Scrapeconfig Saml2 - A SAML2 configuration block.
- Sample
Limit int - Specifies the scrape sample limit.
- 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
List<Get
Observability Scrapeconfig Target> - The targets list (specified by the static config).
- Basic
Auth GetObservability Scrapeconfig Basic Auth - A basic authentication block.
- Id string
- Instance
Id string - Observability instance ID to which the scraping job is associated.
- Metrics
Path string - Specifies the job scraping url path.
- Name string
- Specifies the name of the scraping job
- Project
Id string - STACKIT project ID to which the scraping job is associated.
- Saml2
Get
Observability Scrapeconfig Saml2 - A SAML2 configuration block.
- Sample
Limit int - Specifies the scrape sample limit.
- 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
[]Get
Observability Scrapeconfig Target - The targets list (specified by the static config).
- basic
Auth GetObservability Scrapeconfig Basic Auth - A basic authentication block.
- id String
- instance
Id String - Observability instance ID to which the scraping job is associated.
- metrics
Path String - Specifies the job scraping url path.
- name String
- Specifies the name of the scraping job
- project
Id String - STACKIT project ID to which the scraping job is associated.
- saml2
Get
Observability Scrapeconfig Saml2 - A SAML2 configuration block.
- sample
Limit Integer - Specifies the scrape sample limit.
- 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
List<Get
Observability Scrapeconfig Target> - The targets list (specified by the static config).
- basic
Auth GetObservability Scrapeconfig Basic Auth - A basic authentication block.
- id string
- instance
Id string - Observability instance ID to which the scraping job is associated.
- metrics
Path string - Specifies the job scraping url path.
- name string
- Specifies the name of the scraping job
- project
Id string - STACKIT project ID to which the scraping job is associated.
- saml2
Get
Observability Scrapeconfig Saml2 - A SAML2 configuration block.
- sample
Limit number - Specifies the scrape sample limit.
- 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
Get
Observability Scrapeconfig Target[] - The targets list (specified by the static config).
- basic_
auth GetObservability Scrapeconfig Basic Auth - A basic authentication block.
- id str
- instance_
id str - Observability instance ID to which the scraping job is associated.
- metrics_
path str - Specifies the job scraping url path.
- name str
- Specifies the name of the scraping job
- project_
id str - STACKIT project ID to which the scraping job is associated.
- saml2
Get
Observability Scrapeconfig Saml2 - A SAML2 configuration block.
- sample_
limit int - Specifies the scrape sample limit.
- scheme str
- Specifies the http scheme.
- scrape_
interval str - Specifies the scrape interval as duration string.
- scrape_
timeout str - Specifies the scrape timeout as duration string.
- targets
Sequence[Get
Observability Scrapeconfig Target] - The targets list (specified by the static config).
- basic
Auth Property Map - A basic authentication block.
- id String
- instance
Id String - Observability instance ID to which the scraping job is associated.
- metrics
Path String - Specifies the job scraping url path.
- name String
- Specifies the name of the scraping job
- project
Id String - STACKIT project ID to which the scraping job is associated.
- saml2 Property Map
- A SAML2 configuration block.
- sample
Limit Number - Specifies the scrape sample limit.
- 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 List<Property Map>
- The targets list (specified by the static config).
Supporting Types
GetObservabilityScrapeconfigBasicAuth
GetObservabilityScrapeconfigSaml2
- Enable
Url boolParameters - Specifies if URL parameters are enabled
- Enable
Url boolParameters - Specifies if URL parameters are enabled
- enable
Url BooleanParameters - Specifies if URL parameters are enabled
- enable
Url booleanParameters - Specifies if URL parameters are enabled
- enable_
url_ boolparameters - Specifies if URL parameters are enabled
- enable
Url BooleanParameters - Specifies if URL parameters are enabled
GetObservabilityScrapeconfigTarget
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
