1. Packages
  2. stackit
  3. API Docs
  4. getLogsInstance
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Logs instance data source schema. Uses the default_region specified in the provider configuration as a fallback in case no region is defined on datasource level.

    Example Usage

    data "stackit_logs_instance" "logs" {
      project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      region      = "eu01"
      instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getLogsInstance

    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 getLogsInstance(args: GetLogsInstanceArgs, opts?: InvokeOptions): Promise<GetLogsInstanceResult>
    function getLogsInstanceOutput(args: GetLogsInstanceOutputArgs, opts?: InvokeOptions): Output<GetLogsInstanceResult>
    def get_logs_instance(instance_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          region: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLogsInstanceResult
    def get_logs_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                          project_id: Optional[pulumi.Input[str]] = None,
                          region: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetLogsInstanceResult]
    func LookupLogsInstance(ctx *Context, args *LookupLogsInstanceArgs, opts ...InvokeOption) (*LookupLogsInstanceResult, error)
    func LookupLogsInstanceOutput(ctx *Context, args *LookupLogsInstanceOutputArgs, opts ...InvokeOption) LookupLogsInstanceResultOutput

    > Note: This function is named LookupLogsInstance in the Go SDK.

    public static class GetLogsInstance 
    {
        public static Task<GetLogsInstanceResult> InvokeAsync(GetLogsInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetLogsInstanceResult> Invoke(GetLogsInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsInstanceResult> getLogsInstance(GetLogsInstanceArgs args, InvokeOptions options)
    public static Output<GetLogsInstanceResult> getLogsInstance(GetLogsInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getLogsInstance:getLogsInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The Logs instance ID
    ProjectId string
    STACKIT project ID associated with the Logs instance
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    InstanceId string
    The Logs instance ID
    ProjectId string
    STACKIT project ID associated with the Logs instance
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    instanceId String
    The Logs instance ID
    projectId String
    STACKIT project ID associated with the Logs instance
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    instanceId string
    The Logs instance ID
    projectId string
    STACKIT project ID associated with the Logs instance
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    instance_id str
    The Logs instance ID
    project_id str
    STACKIT project ID associated with the Logs instance
    region str
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    instanceId String
    The Logs instance ID
    projectId String
    STACKIT project ID associated with the Logs instance
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.

    getLogsInstance Result

    The following output properties are available:

    Acls List<string>
    The access control list entries for the Logs instance
    Created string
    The date and time the creation of the Logs instance was initiated
    DatasourceUrl string
    Logs instance datasource URL, can be used in Grafana as datasource URL
    Description string
    The description of the Logs instance
    DisplayName string
    The displayed name of the Logs instance
    Id string
    IngestOtlpUrl string
    The Logs instance's ingest logs via OTLP URL
    IngestUrl string
    The logs instance's ingest logs URL
    InstanceId string
    The Logs instance ID
    ProjectId string
    STACKIT project ID associated with the Logs instance
    QueryRangeUrl string
    The Logs instance's query range URL
    QueryUrl string
    The Logs instance's query URL
    RetentionDays int
    The log retention time in days
    Status string
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    Acls []string
    The access control list entries for the Logs instance
    Created string
    The date and time the creation of the Logs instance was initiated
    DatasourceUrl string
    Logs instance datasource URL, can be used in Grafana as datasource URL
    Description string
    The description of the Logs instance
    DisplayName string
    The displayed name of the Logs instance
    Id string
    IngestOtlpUrl string
    The Logs instance's ingest logs via OTLP URL
    IngestUrl string
    The logs instance's ingest logs URL
    InstanceId string
    The Logs instance ID
    ProjectId string
    STACKIT project ID associated with the Logs instance
    QueryRangeUrl string
    The Logs instance's query range URL
    QueryUrl string
    The Logs instance's query URL
    RetentionDays int
    The log retention time in days
    Status string
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    acls List<String>
    The access control list entries for the Logs instance
    created String
    The date and time the creation of the Logs instance was initiated
    datasourceUrl String
    Logs instance datasource URL, can be used in Grafana as datasource URL
    description String
    The description of the Logs instance
    displayName String
    The displayed name of the Logs instance
    id String
    ingestOtlpUrl String
    The Logs instance's ingest logs via OTLP URL
    ingestUrl String
    The logs instance's ingest logs URL
    instanceId String
    The Logs instance ID
    projectId String
    STACKIT project ID associated with the Logs instance
    queryRangeUrl String
    The Logs instance's query range URL
    queryUrl String
    The Logs instance's query URL
    retentionDays Integer
    The log retention time in days
    status String
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    acls string[]
    The access control list entries for the Logs instance
    created string
    The date and time the creation of the Logs instance was initiated
    datasourceUrl string
    Logs instance datasource URL, can be used in Grafana as datasource URL
    description string
    The description of the Logs instance
    displayName string
    The displayed name of the Logs instance
    id string
    ingestOtlpUrl string
    The Logs instance's ingest logs via OTLP URL
    ingestUrl string
    The logs instance's ingest logs URL
    instanceId string
    The Logs instance ID
    projectId string
    STACKIT project ID associated with the Logs instance
    queryRangeUrl string
    The Logs instance's query range URL
    queryUrl string
    The Logs instance's query URL
    retentionDays number
    The log retention time in days
    status string
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    acls Sequence[str]
    The access control list entries for the Logs instance
    created str
    The date and time the creation of the Logs instance was initiated
    datasource_url str
    Logs instance datasource URL, can be used in Grafana as datasource URL
    description str
    The description of the Logs instance
    display_name str
    The displayed name of the Logs instance
    id str
    ingest_otlp_url str
    The Logs instance's ingest logs via OTLP URL
    ingest_url str
    The logs instance's ingest logs URL
    instance_id str
    The Logs instance ID
    project_id str
    STACKIT project ID associated with the Logs instance
    query_range_url str
    The Logs instance's query range URL
    query_url str
    The Logs instance's query URL
    retention_days int
    The log retention time in days
    status str
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    region str
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    acls List<String>
    The access control list entries for the Logs instance
    created String
    The date and time the creation of the Logs instance was initiated
    datasourceUrl String
    Logs instance datasource URL, can be used in Grafana as datasource URL
    description String
    The description of the Logs instance
    displayName String
    The displayed name of the Logs instance
    id String
    ingestOtlpUrl String
    The Logs instance's ingest logs via OTLP URL
    ingestUrl String
    The logs instance's ingest logs URL
    instanceId String
    The Logs instance ID
    projectId String
    STACKIT project ID associated with the Logs instance
    queryRangeUrl String
    The Logs instance's query range URL
    queryUrl String
    The Logs instance's query URL
    retentionDays Number
    The log retention time in days
    status String
    The status of the Logs instance, possible values: Possible values are: active, deleting, reconciling.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.