published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
TelemetryRouter access token resource schema. Uses the defaultRegion specified in the provider configuration as a fallback in case no region is defined on resource level.
Example Usage
resource "stackit_telemetryrouter_access_token" "accessToken" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu01"
display_name = "telemetryrouter-access-token-example"
}
resource "stackit_telemetryrouter_access_token" "accessToken2" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu01"
display_name = "telemetryrouter-access-token-example"
ttl = 30
description = "Example description"
}
Create TelemetryrouterAccessToken Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TelemetryrouterAccessToken(name: string, args: TelemetryrouterAccessTokenArgs, opts?: CustomResourceOptions);@overload
def TelemetryrouterAccessToken(resource_name: str,
args: TelemetryrouterAccessTokenArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TelemetryrouterAccessToken(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None,
description: Optional[str] = None,
region: Optional[str] = None,
ttl: Optional[int] = None)func NewTelemetryrouterAccessToken(ctx *Context, name string, args TelemetryrouterAccessTokenArgs, opts ...ResourceOption) (*TelemetryrouterAccessToken, error)public TelemetryrouterAccessToken(string name, TelemetryrouterAccessTokenArgs args, CustomResourceOptions? opts = null)
public TelemetryrouterAccessToken(String name, TelemetryrouterAccessTokenArgs args)
public TelemetryrouterAccessToken(String name, TelemetryrouterAccessTokenArgs args, CustomResourceOptions options)
type: stackit:TelemetryrouterAccessToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stackit_telemetryrouter_access_token" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TelemetryrouterAccessTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TelemetryrouterAccessTokenArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TelemetryrouterAccessTokenArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TelemetryrouterAccessTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TelemetryrouterAccessTokenArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var telemetryrouterAccessTokenResource = new Stackit.TelemetryrouterAccessToken("telemetryrouterAccessTokenResource", new()
{
DisplayName = "string",
InstanceId = "string",
ProjectId = "string",
Description = "string",
Region = "string",
Ttl = 0,
});
example, err := stackit.NewTelemetryrouterAccessToken(ctx, "telemetryrouterAccessTokenResource", &stackit.TelemetryrouterAccessTokenArgs{
DisplayName: pulumi.String("string"),
InstanceId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Description: pulumi.String("string"),
Region: pulumi.String("string"),
Ttl: pulumi.Int(0),
})
resource "stackit_telemetryrouter_access_token" "telemetryrouterAccessTokenResource" {
lifecycle {
create_before_destroy = true
}
display_name = "string"
instance_id = "string"
project_id = "string"
description = "string"
region = "string"
ttl = 0
}
var telemetryrouterAccessTokenResource = new TelemetryrouterAccessToken("telemetryrouterAccessTokenResource", TelemetryrouterAccessTokenArgs.builder()
.displayName("string")
.instanceId("string")
.projectId("string")
.description("string")
.region("string")
.ttl(0)
.build());
telemetryrouter_access_token_resource = stackit.TelemetryrouterAccessToken("telemetryrouterAccessTokenResource",
display_name="string",
instance_id="string",
project_id="string",
description="string",
region="string",
ttl=0)
const telemetryrouterAccessTokenResource = new stackit.TelemetryrouterAccessToken("telemetryrouterAccessTokenResource", {
displayName: "string",
instanceId: "string",
projectId: "string",
description: "string",
region: "string",
ttl: 0,
});
type: stackit:TelemetryrouterAccessToken
properties:
description: string
displayName: string
instanceId: string
projectId: string
region: string
ttl: 0
TelemetryrouterAccessToken Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TelemetryrouterAccessToken resource accepts the following input properties:
- Display
Name string - The displayed name of the access token
- Instance
Id string - The TelemetryRouter instance ID associated with the access token
- Project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- Description string
- The description of the access token
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- Display
Name string - The displayed name of the access token
- Instance
Id string - The TelemetryRouter instance ID associated with the access token
- Project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- Description string
- The description of the access token
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- display_
name string - The displayed name of the access token
- instance_
id string - The TelemetryRouter instance ID associated with the access token
- project_
id string - STACKIT project ID associated with the TelemetryRouter access token
- description string
- The description of the access token
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- ttl number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- display
Name String - The displayed name of the access token
- instance
Id String - The TelemetryRouter instance ID associated with the access token
- project
Id String - STACKIT project ID associated with the TelemetryRouter access token
- description String
- The description of the access token
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- ttl Integer
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- display
Name string - The displayed name of the access token
- instance
Id string - The TelemetryRouter instance ID associated with the access token
- project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- description string
- The description of the access token
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- ttl number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- display_
name str - The displayed name of the access token
- instance_
id str - The TelemetryRouter instance ID associated with the access token
- project_
id str - STACKIT project ID associated with the TelemetryRouter access token
- description str
- The description of the access token
- region str
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- display
Name String - The displayed name of the access token
- instance
Id String - The TelemetryRouter instance ID associated with the access token
- project
Id String - STACKIT project ID associated with the TelemetryRouter access token
- description String
- The description of the access token
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- ttl Number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
Outputs
All input properties are implicitly available as output properties. Additionally, the TelemetryrouterAccessToken resource produces the following output properties:
- Access
Token string - The generated access token
- Access
Token stringId - The access token ID
- Creator
Id string - The user who created the access token
- Expiration
Time string - The date and time an access token will expire at (inclusively)
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the access token. Possible values are:
active,expired,deleting.
- Access
Token string - The generated access token
- Access
Token stringId - The access token ID
- Creator
Id string - The user who created the access token
- Expiration
Time string - The date and time an access token will expire at (inclusively)
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the access token. Possible values are:
active,expired,deleting.
- access_
token string - The generated access token
- access_
token_ stringid - The access token ID
- creator_
id string - The user who created the access token
- expiration_
time string - The date and time an access token will expire at (inclusively)
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the access token. Possible values are:
active,expired,deleting.
- access
Token String - The generated access token
- access
Token StringId - The access token ID
- creator
Id String - The user who created the access token
- expiration
Time String - The date and time an access token will expire at (inclusively)
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the access token. Possible values are:
active,expired,deleting.
- access
Token string - The generated access token
- access
Token stringId - The access token ID
- creator
Id string - The user who created the access token
- expiration
Time string - The date and time an access token will expire at (inclusively)
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the access token. Possible values are:
active,expired,deleting.
- access_
token str - The generated access token
- access_
token_ strid - The access token ID
- creator_
id str - The user who created the access token
- expiration_
time str - The date and time an access token will expire at (inclusively)
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the access token. Possible values are:
active,expired,deleting.
- access
Token String - The generated access token
- access
Token StringId - The access token ID
- creator
Id String - The user who created the access token
- expiration
Time String - The date and time an access token will expire at (inclusively)
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the access token. Possible values are:
active,expired,deleting.
Look up Existing TelemetryrouterAccessToken Resource
Get an existing TelemetryrouterAccessToken resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TelemetryrouterAccessTokenState, opts?: CustomResourceOptions): TelemetryrouterAccessToken@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
access_token_id: Optional[str] = None,
creator_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
expiration_time: Optional[str] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
ttl: Optional[int] = None) -> TelemetryrouterAccessTokenfunc GetTelemetryrouterAccessToken(ctx *Context, name string, id IDInput, state *TelemetryrouterAccessTokenState, opts ...ResourceOption) (*TelemetryrouterAccessToken, error)public static TelemetryrouterAccessToken Get(string name, Input<string> id, TelemetryrouterAccessTokenState? state, CustomResourceOptions? opts = null)public static TelemetryrouterAccessToken get(String name, Output<String> id, TelemetryrouterAccessTokenState state, CustomResourceOptions options)resources: _: type: stackit:TelemetryrouterAccessToken get: id: ${id}import {
to = stackit_telemetryrouter_access_token.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Token string - The generated access token
- Access
Token stringId - The access token ID
- Creator
Id 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
- Expiration
Time string - The date and time an access token will expire at (inclusively)
- Instance
Id string - The TelemetryRouter instance ID associated with the access token
- Project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Status string
- The status of the access token. Possible values are:
active,expired,deleting. - Ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- Access
Token string - The generated access token
- Access
Token stringId - The access token ID
- Creator
Id 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
- Expiration
Time string - The date and time an access token will expire at (inclusively)
- Instance
Id string - The TelemetryRouter instance ID associated with the access token
- Project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Status string
- The status of the access token. Possible values are:
active,expired,deleting. - Ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- access_
token string - The generated access token
- access_
token_ stringid - The access token ID
- creator_
id 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
- expiration_
time string - The date and time an access token will expire at (inclusively)
- instance_
id string - The TelemetryRouter instance ID associated with the access token
- project_
id string - STACKIT project ID associated with the TelemetryRouter access token
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- status string
- The status of the access token. Possible values are:
active,expired,deleting. - ttl number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- access
Token String - The generated access token
- access
Token StringId - The access token ID
- creator
Id 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
- expiration
Time String - The date and time an access token will expire at (inclusively)
- instance
Id String - The TelemetryRouter instance ID associated with the access token
- project
Id String - STACKIT project ID associated with the TelemetryRouter access token
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- status String
- The status of the access token. Possible values are:
active,expired,deleting. - ttl Integer
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- access
Token string - The generated access token
- access
Token stringId - The access token ID
- creator
Id 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
- expiration
Time string - The date and time an access token will expire at (inclusively)
- instance
Id string - The TelemetryRouter instance ID associated with the access token
- project
Id string - STACKIT project ID associated with the TelemetryRouter access token
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- status string
- The status of the access token. Possible values are:
active,expired,deleting. - ttl number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- access_
token str - The generated access token
- access_
token_ strid - The access token ID
- creator_
id 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
- expiration_
time str - The date and time an access token will expire at (inclusively)
- instance_
id str - The TelemetryRouter instance ID associated with the access token
- project_
id str - STACKIT project ID associated with the TelemetryRouter access token
- region str
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- status str
- The status of the access token. Possible values are:
active,expired,deleting. - ttl int
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
- access
Token String - The generated access token
- access
Token StringId - The access token ID
- creator
Id 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
- expiration
Time String - The date and time an access token will expire at (inclusively)
- instance
Id String - The TelemetryRouter instance ID associated with the access token
- project
Id String - STACKIT project ID associated with the TelemetryRouter access token
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- status String
- The status of the access token. Possible values are:
active,expired,deleting. - ttl Number
- The time-to-live (TTL) in days for the access token. If not set, token will not expire
Import
In Terraform v1.5.0 and later, the + "" + import + “" + block can be used with the + "” + id + “" + attribute, for example:
# Only use the import statement, if you want to import an existing TelemetryRouter access token
# Note: The generated access token is only available upon creation.
import {
to = stackit_telemetryrouter_access_token.import-example
id = "${var.project_id},${var.region},${var.telemetryrouter_instance_id},${var.telemetryrouter_access_token_id}"
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Monday, Aug 17, 2026 by stackitcloud