1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TsfLane
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.TsfLane

Explore with Pulumi AI

Provides a resource to create a tsf lane

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const lane = new tencentcloud.TsfLane("lane", {
    laneGroupLists: [{
        entrance: true,
        groupId: "group-yn7j5l8a",
    }],
    laneName: "lane-name-1",
    remark: "lane desc1",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

lane = tencentcloud.TsfLane("lane",
    lane_group_lists=[{
        "entrance": True,
        "group_id": "group-yn7j5l8a",
    }],
    lane_name="lane-name-1",
    remark="lane desc1")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tencentcloud.NewTsfLane(ctx, "lane", &tencentcloud.TsfLaneArgs{
			LaneGroupLists: tencentcloud.TsfLaneLaneGroupListArray{
				&tencentcloud.TsfLaneLaneGroupListArgs{
					Entrance: pulumi.Bool(true),
					GroupId:  pulumi.String("group-yn7j5l8a"),
				},
			},
			LaneName: pulumi.String("lane-name-1"),
			Remark:   pulumi.String("lane desc1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var lane = new Tencentcloud.TsfLane("lane", new()
    {
        LaneGroupLists = new[]
        {
            new Tencentcloud.Inputs.TsfLaneLaneGroupListArgs
            {
                Entrance = true,
                GroupId = "group-yn7j5l8a",
            },
        },
        LaneName = "lane-name-1",
        Remark = "lane desc1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TsfLane;
import com.pulumi.tencentcloud.TsfLaneArgs;
import com.pulumi.tencentcloud.inputs.TsfLaneLaneGroupListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var lane = new TsfLane("lane", TsfLaneArgs.builder()
            .laneGroupLists(TsfLaneLaneGroupListArgs.builder()
                .entrance(true)
                .groupId("group-yn7j5l8a")
                .build())
            .laneName("lane-name-1")
            .remark("lane desc1")
            .build());

    }
}
Copy
resources:
  lane:
    type: tencentcloud:TsfLane
    properties:
      laneGroupLists:
        - entrance: true
          groupId: group-yn7j5l8a
      laneName: lane-name-1
      remark: lane desc1
Copy

Create TsfLane Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TsfLane(name: string, args: TsfLaneArgs, opts?: CustomResourceOptions);
@overload
def TsfLane(resource_name: str,
            args: TsfLaneArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def TsfLane(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            lane_group_lists: Optional[Sequence[TsfLaneLaneGroupListArgs]] = None,
            lane_name: Optional[str] = None,
            remark: Optional[str] = None,
            program_id_lists: Optional[Sequence[str]] = None,
            tsf_lane_id: Optional[str] = None)
func NewTsfLane(ctx *Context, name string, args TsfLaneArgs, opts ...ResourceOption) (*TsfLane, error)
public TsfLane(string name, TsfLaneArgs args, CustomResourceOptions? opts = null)
public TsfLane(String name, TsfLaneArgs args)
public TsfLane(String name, TsfLaneArgs args, CustomResourceOptions options)
type: tencentcloud:TsfLane
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TsfLaneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TsfLaneArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TsfLaneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TsfLaneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TsfLaneArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TsfLane 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 TsfLane resource accepts the following input properties:

LaneGroupLists This property is required. List<TsfLaneLaneGroupList>
Swimlane Deployment Group Information.
LaneName This property is required. string
Lane name.
Remark This property is required. string
Lane Remarks.
ProgramIdLists List<string>
Program id list.
TsfLaneId string
ID of the resource.
LaneGroupLists This property is required. []TsfLaneLaneGroupListArgs
Swimlane Deployment Group Information.
LaneName This property is required. string
Lane name.
Remark This property is required. string
Lane Remarks.
ProgramIdLists []string
Program id list.
TsfLaneId string
ID of the resource.
laneGroupLists This property is required. List<TsfLaneLaneGroupList>
Swimlane Deployment Group Information.
laneName This property is required. String
Lane name.
remark This property is required. String
Lane Remarks.
programIdLists List<String>
Program id list.
tsfLaneId String
ID of the resource.
laneGroupLists This property is required. TsfLaneLaneGroupList[]
Swimlane Deployment Group Information.
laneName This property is required. string
Lane name.
remark This property is required. string
Lane Remarks.
programIdLists string[]
Program id list.
tsfLaneId string
ID of the resource.
lane_group_lists This property is required. Sequence[TsfLaneLaneGroupListArgs]
Swimlane Deployment Group Information.
lane_name This property is required. str
Lane name.
remark This property is required. str
Lane Remarks.
program_id_lists Sequence[str]
Program id list.
tsf_lane_id str
ID of the resource.
laneGroupLists This property is required. List<Property Map>
Swimlane Deployment Group Information.
laneName This property is required. String
Lane name.
remark This property is required. String
Lane Remarks.
programIdLists List<String>
Program id list.
tsfLaneId String
ID of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the TsfLane resource produces the following output properties:

CreateTime double
creation time.
Entrance bool
Whether to enter the application.
Id string
The provider-assigned unique ID for this managed resource.
LaneId string
Lane id.
NamespaceIdLists List<string>
A list of namespaces to which the swimlane has associated deployment groups.
UpdateTime double
update time.
CreateTime float64
creation time.
Entrance bool
Whether to enter the application.
Id string
The provider-assigned unique ID for this managed resource.
LaneId string
Lane id.
NamespaceIdLists []string
A list of namespaces to which the swimlane has associated deployment groups.
UpdateTime float64
update time.
createTime Double
creation time.
entrance Boolean
Whether to enter the application.
id String
The provider-assigned unique ID for this managed resource.
laneId String
Lane id.
namespaceIdLists List<String>
A list of namespaces to which the swimlane has associated deployment groups.
updateTime Double
update time.
createTime number
creation time.
entrance boolean
Whether to enter the application.
id string
The provider-assigned unique ID for this managed resource.
laneId string
Lane id.
namespaceIdLists string[]
A list of namespaces to which the swimlane has associated deployment groups.
updateTime number
update time.
create_time float
creation time.
entrance bool
Whether to enter the application.
id str
The provider-assigned unique ID for this managed resource.
lane_id str
Lane id.
namespace_id_lists Sequence[str]
A list of namespaces to which the swimlane has associated deployment groups.
update_time float
update time.
createTime Number
creation time.
entrance Boolean
Whether to enter the application.
id String
The provider-assigned unique ID for this managed resource.
laneId String
Lane id.
namespaceIdLists List<String>
A list of namespaces to which the swimlane has associated deployment groups.
updateTime Number
update time.

Look up Existing TsfLane Resource

Get an existing TsfLane 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?: TsfLaneState, opts?: CustomResourceOptions): TsfLane
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[float] = None,
        entrance: Optional[bool] = None,
        lane_group_lists: Optional[Sequence[TsfLaneLaneGroupListArgs]] = None,
        lane_id: Optional[str] = None,
        lane_name: Optional[str] = None,
        namespace_id_lists: Optional[Sequence[str]] = None,
        program_id_lists: Optional[Sequence[str]] = None,
        remark: Optional[str] = None,
        tsf_lane_id: Optional[str] = None,
        update_time: Optional[float] = None) -> TsfLane
func GetTsfLane(ctx *Context, name string, id IDInput, state *TsfLaneState, opts ...ResourceOption) (*TsfLane, error)
public static TsfLane Get(string name, Input<string> id, TsfLaneState? state, CustomResourceOptions? opts = null)
public static TsfLane get(String name, Output<String> id, TsfLaneState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:TsfLane    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreateTime double
creation time.
Entrance bool
Whether to enter the application.
LaneGroupLists List<TsfLaneLaneGroupList>
Swimlane Deployment Group Information.
LaneId string
Lane id.
LaneName string
Lane name.
NamespaceIdLists List<string>
A list of namespaces to which the swimlane has associated deployment groups.
ProgramIdLists List<string>
Program id list.
Remark string
Lane Remarks.
TsfLaneId string
ID of the resource.
UpdateTime double
update time.
CreateTime float64
creation time.
Entrance bool
Whether to enter the application.
LaneGroupLists []TsfLaneLaneGroupListArgs
Swimlane Deployment Group Information.
LaneId string
Lane id.
LaneName string
Lane name.
NamespaceIdLists []string
A list of namespaces to which the swimlane has associated deployment groups.
ProgramIdLists []string
Program id list.
Remark string
Lane Remarks.
TsfLaneId string
ID of the resource.
UpdateTime float64
update time.
createTime Double
creation time.
entrance Boolean
Whether to enter the application.
laneGroupLists List<TsfLaneLaneGroupList>
Swimlane Deployment Group Information.
laneId String
Lane id.
laneName String
Lane name.
namespaceIdLists List<String>
A list of namespaces to which the swimlane has associated deployment groups.
programIdLists List<String>
Program id list.
remark String
Lane Remarks.
tsfLaneId String
ID of the resource.
updateTime Double
update time.
createTime number
creation time.
entrance boolean
Whether to enter the application.
laneGroupLists TsfLaneLaneGroupList[]
Swimlane Deployment Group Information.
laneId string
Lane id.
laneName string
Lane name.
namespaceIdLists string[]
A list of namespaces to which the swimlane has associated deployment groups.
programIdLists string[]
Program id list.
remark string
Lane Remarks.
tsfLaneId string
ID of the resource.
updateTime number
update time.
create_time float
creation time.
entrance bool
Whether to enter the application.
lane_group_lists Sequence[TsfLaneLaneGroupListArgs]
Swimlane Deployment Group Information.
lane_id str
Lane id.
lane_name str
Lane name.
namespace_id_lists Sequence[str]
A list of namespaces to which the swimlane has associated deployment groups.
program_id_lists Sequence[str]
Program id list.
remark str
Lane Remarks.
tsf_lane_id str
ID of the resource.
update_time float
update time.
createTime Number
creation time.
entrance Boolean
Whether to enter the application.
laneGroupLists List<Property Map>
Swimlane Deployment Group Information.
laneId String
Lane id.
laneName String
Lane name.
namespaceIdLists List<String>
A list of namespaces to which the swimlane has associated deployment groups.
programIdLists List<String>
Program id list.
remark String
Lane Remarks.
tsfLaneId String
ID of the resource.
updateTime Number
update time.

Supporting Types

TsfLaneLaneGroupList
, TsfLaneLaneGroupListArgs

Entrance This property is required. bool
Whether to enter the application.
GroupId This property is required. string
Deployment group ID.
ApplicationId string
application ID.
ApplicationName string
application name.
ClusterType string
cluster type.
CreateTime double
creation time.
GroupName string
deployment group name.
LaneGroupId string
Swimlane deployment group ID.
LaneId string
Lane ID.
NamespaceId string
Namespace ID.
NamespaceName string
namespace name.
UpdateTime double
update time.
Entrance This property is required. bool
Whether to enter the application.
GroupId This property is required. string
Deployment group ID.
ApplicationId string
application ID.
ApplicationName string
application name.
ClusterType string
cluster type.
CreateTime float64
creation time.
GroupName string
deployment group name.
LaneGroupId string
Swimlane deployment group ID.
LaneId string
Lane ID.
NamespaceId string
Namespace ID.
NamespaceName string
namespace name.
UpdateTime float64
update time.
entrance This property is required. Boolean
Whether to enter the application.
groupId This property is required. String
Deployment group ID.
applicationId String
application ID.
applicationName String
application name.
clusterType String
cluster type.
createTime Double
creation time.
groupName String
deployment group name.
laneGroupId String
Swimlane deployment group ID.
laneId String
Lane ID.
namespaceId String
Namespace ID.
namespaceName String
namespace name.
updateTime Double
update time.
entrance This property is required. boolean
Whether to enter the application.
groupId This property is required. string
Deployment group ID.
applicationId string
application ID.
applicationName string
application name.
clusterType string
cluster type.
createTime number
creation time.
groupName string
deployment group name.
laneGroupId string
Swimlane deployment group ID.
laneId string
Lane ID.
namespaceId string
Namespace ID.
namespaceName string
namespace name.
updateTime number
update time.
entrance This property is required. bool
Whether to enter the application.
group_id This property is required. str
Deployment group ID.
application_id str
application ID.
application_name str
application name.
cluster_type str
cluster type.
create_time float
creation time.
group_name str
deployment group name.
lane_group_id str
Swimlane deployment group ID.
lane_id str
Lane ID.
namespace_id str
Namespace ID.
namespace_name str
namespace name.
update_time float
update time.
entrance This property is required. Boolean
Whether to enter the application.
groupId This property is required. String
Deployment group ID.
applicationId String
application ID.
applicationName String
application name.
clusterType String
cluster type.
createTime Number
creation time.
groupName String
deployment group name.
laneGroupId String
Swimlane deployment group ID.
laneId String
Lane ID.
namespaceId String
Namespace ID.
namespaceName String
namespace name.
updateTime Number
update time.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.