1. Packages
  2. stackit
  3. API Docs
  4. getLogsAccessToken
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 access token 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_access_token" "accessToken" {
      project_id      = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      region          = "eu01"
      instance_id     = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      access_token_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getLogsAccessToken

    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 getLogsAccessToken(args: GetLogsAccessTokenArgs, opts?: InvokeOptions): Promise<GetLogsAccessTokenResult>
    function getLogsAccessTokenOutput(args: GetLogsAccessTokenOutputArgs, opts?: InvokeOptions): Output<GetLogsAccessTokenResult>
    def get_logs_access_token(access_token_id: Optional[str] = None,
                              instance_id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLogsAccessTokenResult
    def get_logs_access_token_output(access_token_id: Optional[pulumi.Input[str]] = None,
                              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[GetLogsAccessTokenResult]
    func LookupLogsAccessToken(ctx *Context, args *LookupLogsAccessTokenArgs, opts ...InvokeOption) (*LookupLogsAccessTokenResult, error)
    func LookupLogsAccessTokenOutput(ctx *Context, args *LookupLogsAccessTokenOutputArgs, opts ...InvokeOption) LookupLogsAccessTokenResultOutput

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

    public static class GetLogsAccessToken 
    {
        public static Task<GetLogsAccessTokenResult> InvokeAsync(GetLogsAccessTokenArgs args, InvokeOptions? opts = null)
        public static Output<GetLogsAccessTokenResult> Invoke(GetLogsAccessTokenInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsAccessTokenResult> getLogsAccessToken(GetLogsAccessTokenArgs args, InvokeOptions options)
    public static Output<GetLogsAccessTokenResult> getLogsAccessToken(GetLogsAccessTokenArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getLogsAccessToken:getLogsAccessToken
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getLogsAccessToken Result

    The following output properties are available:

    AccessTokenId string
    The access token ID
    Creator string
    The user who created the access token
    Description string
    The description of the access token
    DisplayName string
    The displayed name of the access token
    Expires bool
    Indicates if the access token can expire
    Id string
    InstanceId string
    The Logs instance ID associated with the access token
    Permissions List<string>
    The access permissions granted to the access token. Possible values: read, write.
    ProjectId string
    STACKIT project ID associated with the Logs access token
    Status string
    The status of the access token. Possible values are: active, expired.
    ValidUntil string
    The date and time until an access token is valid to (inclusively)
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    AccessTokenId string
    The access token ID
    Creator string
    The user who created the access token
    Description string
    The description of the access token
    DisplayName string
    The displayed name of the access token
    Expires bool
    Indicates if the access token can expire
    Id string
    InstanceId string
    The Logs instance ID associated with the access token
    Permissions []string
    The access permissions granted to the access token. Possible values: read, write.
    ProjectId string
    STACKIT project ID associated with the Logs access token
    Status string
    The status of the access token. Possible values are: active, expired.
    ValidUntil string
    The date and time until an access token is valid to (inclusively)
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    accessTokenId String
    The access token ID
    creator String
    The user who created the access token
    description String
    The description of the access token
    displayName String
    The displayed name of the access token
    expires Boolean
    Indicates if the access token can expire
    id String
    instanceId String
    The Logs instance ID associated with the access token
    permissions List<String>
    The access permissions granted to the access token. Possible values: read, write.
    projectId String
    STACKIT project ID associated with the Logs access token
    status String
    The status of the access token. Possible values are: active, expired.
    validUntil String
    The date and time until an access token is valid to (inclusively)
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    accessTokenId string
    The access token ID
    creator string
    The user who created the access token
    description string
    The description of the access token
    displayName string
    The displayed name of the access token
    expires boolean
    Indicates if the access token can expire
    id string
    instanceId string
    The Logs instance ID associated with the access token
    permissions string[]
    The access permissions granted to the access token. Possible values: read, write.
    projectId string
    STACKIT project ID associated with the Logs access token
    status string
    The status of the access token. Possible values are: active, expired.
    validUntil string
    The date and time until an access token is valid to (inclusively)
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    access_token_id str
    The access token ID
    creator str
    The user who created the access token
    description str
    The description of the access token
    display_name str
    The displayed name of the access token
    expires bool
    Indicates if the access token can expire
    id str
    instance_id str
    The Logs instance ID associated with the access token
    permissions Sequence[str]
    The access permissions granted to the access token. Possible values: read, write.
    project_id str
    STACKIT project ID associated with the Logs access token
    status str
    The status of the access token. Possible values are: active, expired.
    valid_until str
    The date and time until an access token is valid to (inclusively)
    region str
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    accessTokenId String
    The access token ID
    creator String
    The user who created the access token
    description String
    The description of the access token
    displayName String
    The displayed name of the access token
    expires Boolean
    Indicates if the access token can expire
    id String
    instanceId String
    The Logs instance ID associated with the access token
    permissions List<String>
    The access permissions granted to the access token. Possible values: read, write.
    projectId String
    STACKIT project ID associated with the Logs access token
    status String
    The status of the access token. Possible values are: active, expired.
    validUntil String
    The date and time until an access token is valid to (inclusively)
    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.