1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. TelemetryrouterAccessToken
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
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:

    DisplayName string
    The displayed name of the access token
    InstanceId string
    The TelemetryRouter instance ID associated with the access token
    ProjectId 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
    DisplayName string
    The displayed name of the access token
    InstanceId string
    The TelemetryRouter instance ID associated with the access token
    ProjectId 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
    displayName String
    The displayed name of the access token
    instanceId String
    The TelemetryRouter instance ID associated with the access token
    projectId 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
    displayName string
    The displayed name of the access token
    instanceId string
    The TelemetryRouter instance ID associated with the access token
    projectId 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
    displayName String
    The displayed name of the access token
    instanceId String
    The TelemetryRouter instance ID associated with the access token
    projectId 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:

    AccessToken string
    The generated access token
    AccessTokenId string
    The access token ID
    CreatorId string
    The user who created the access token
    ExpirationTime 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    AccessToken string
    The generated access token
    AccessTokenId string
    The access token ID
    CreatorId string
    The user who created the access token
    ExpirationTime 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    access_token string
    The generated access token
    access_token_id string
    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.

    Deprecated: status is deprecated and will be removed after February 2027.

    accessToken String
    The generated access token
    accessTokenId String
    The access token ID
    creatorId String
    The user who created the access token
    expirationTime 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    accessToken string
    The generated access token
    accessTokenId string
    The access token ID
    creatorId string
    The user who created the access token
    expirationTime 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    access_token str
    The generated access token
    access_token_id str
    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.

    Deprecated: status is deprecated and will be removed after February 2027.

    accessToken String
    The generated access token
    accessTokenId String
    The access token ID
    creatorId String
    The user who created the access token
    expirationTime 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    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) -> TelemetryrouterAccessToken
    func 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.
    The following state arguments are supported:
    AccessToken string
    The generated access token
    AccessTokenId string
    The access token ID
    CreatorId 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
    ExpirationTime string
    The date and time an access token will expire at (inclusively)
    InstanceId string
    The TelemetryRouter instance ID associated with the access token
    ProjectId 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    Ttl int
    The time-to-live (TTL) in days for the access token. If not set, token will not expire
    AccessToken string
    The generated access token
    AccessTokenId string
    The access token ID
    CreatorId 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
    ExpirationTime string
    The date and time an access token will expire at (inclusively)
    InstanceId string
    The TelemetryRouter instance ID associated with the access token
    ProjectId 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    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_id string
    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.

    Deprecated: status is deprecated and will be removed after February 2027.

    ttl number
    The time-to-live (TTL) in days for the access token. If not set, token will not expire
    accessToken String
    The generated access token
    accessTokenId String
    The access token ID
    creatorId 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
    expirationTime String
    The date and time an access token will expire at (inclusively)
    instanceId String
    The TelemetryRouter instance ID associated with the access token
    projectId 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    ttl Integer
    The time-to-live (TTL) in days for the access token. If not set, token will not expire
    accessToken string
    The generated access token
    accessTokenId string
    The access token ID
    creatorId 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
    expirationTime string
    The date and time an access token will expire at (inclusively)
    instanceId string
    The TelemetryRouter instance ID associated with the access token
    projectId 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    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_id str
    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.

    Deprecated: status is deprecated and will be removed after February 2027.

    ttl int
    The time-to-live (TTL) in days for the access token. If not set, token will not expire
    accessToken String
    The generated access token
    accessTokenId String
    The access token ID
    creatorId 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
    expirationTime String
    The date and time an access token will expire at (inclusively)
    instanceId String
    The TelemetryRouter instance ID associated with the access token
    projectId 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.

    Deprecated: status is deprecated and will be removed after February 2027.

    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 stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial