stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
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 dictionaryThe following arguments are supported:
- Access
Token stringId - The access token ID
- Instance
Id string - The Logs instance ID associated with the access token
- Project
Id 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 stringId - The access token ID
- Instance
Id string - The Logs instance ID associated with the access token
- Project
Id 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 StringId - The access token ID
- instance
Id String - The Logs instance ID associated with the access token
- project
Id 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 stringId - The access token ID
- instance
Id string - The Logs instance ID associated with the access token
- project
Id 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_ strid - 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.
- access
Token StringId - The access token ID
- instance
Id String - The Logs instance ID associated with the access token
- project
Id 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:
- Access
Token stringId - The access token ID
- Creator string
- The user who created the access token
- Description string
- The description of the access token
- Display
Name string - The displayed name of the access token
- Expires bool
- Indicates if the access token can expire
- Id string
- Instance
Id 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. - Project
Id string - STACKIT project ID associated with the Logs access token
- Status string
- The status of the access token. Possible values are:
active,expired. - Valid
Until 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 stringId - The access token ID
- Creator string
- The user who created the access token
- Description string
- The description of the access token
- Display
Name string - The displayed name of the access token
- Expires bool
- Indicates if the access token can expire
- Id string
- Instance
Id string - The Logs instance ID associated with the access token
- Permissions []string
- The access permissions granted to the access token. Possible values:
read,write. - Project
Id string - STACKIT project ID associated with the Logs access token
- Status string
- The status of the access token. Possible values are:
active,expired. - Valid
Until 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 StringId - The access token ID
- creator String
- The user who created the access token
- description String
- The description of the access token
- display
Name String - The displayed name of the access token
- expires Boolean
- Indicates if the access token can expire
- id String
- instance
Id 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. - project
Id String - STACKIT project ID associated with the Logs access token
- status String
- The status of the access token. Possible values are:
active,expired. - valid
Until 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 stringId - The access token ID
- creator string
- The user who created the access token
- description string
- The description of the access token
- display
Name string - The displayed name of the access token
- expires boolean
- Indicates if the access token can expire
- id string
- instance
Id string - The Logs instance ID associated with the access token
- permissions string[]
- The access permissions granted to the access token. Possible values:
read,write. - project
Id string - STACKIT project ID associated with the Logs access token
- status string
- The status of the access token. Possible values are:
active,expired. - valid
Until 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_ strid - 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.
- access
Token StringId - The access token ID
- creator String
- The user who created the access token
- description String
- The description of the access token
- display
Name String - The displayed name of the access token
- expires Boolean
- Indicates if the access token can expire
- id String
- instance
Id 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. - project
Id String - STACKIT project ID associated with the Logs access token
- status String
- The status of the access token. Possible values are:
active,expired. - valid
Until 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
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
