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

tencentcloud.TsfLane

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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",
    });
    
    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")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      lane:
        type: tencentcloud:TsfLane
        properties:
          laneGroupLists:
            - entrance: true
              groupId: group-yn7j5l8a
          laneName: lane-name-1
          remark: lane desc1
    

    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 string
    The unique name of the resource.
    args TsfLaneArgs
    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 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 string
    The unique name of the resource.
    args TsfLaneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TsfLaneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 List<TsfLaneLaneGroupList>
    Swimlane Deployment Group Information.
    LaneName string
    Lane name.
    Remark string
    Lane Remarks.
    ProgramIdLists List<string>
    Program id list.
    TsfLaneId string
    ID of the resource.
    LaneGroupLists []TsfLaneLaneGroupListArgs
    Swimlane Deployment Group Information.
    LaneName string
    Lane name.
    Remark string
    Lane Remarks.
    ProgramIdLists []string
    Program id list.
    TsfLaneId string
    ID of the resource.
    laneGroupLists List<TsfLaneLaneGroupList>
    Swimlane Deployment Group Information.
    laneName String
    Lane name.
    remark String
    Lane Remarks.
    programIdLists List<String>
    Program id list.
    tsfLaneId String
    ID of the resource.
    laneGroupLists TsfLaneLaneGroupList[]
    Swimlane Deployment Group Information.
    laneName string
    Lane name.
    remark string
    Lane Remarks.
    programIdLists string[]
    Program id list.
    tsfLaneId string
    ID of the resource.
    lane_group_lists Sequence[TsfLaneLaneGroupListArgs]
    Swimlane Deployment Group Information.
    lane_name str
    Lane name.
    remark str
    Lane Remarks.
    program_id_lists Sequence[str]
    Program id list.
    tsf_lane_id str
    ID of the resource.
    laneGroupLists List<Property Map>
    Swimlane Deployment Group Information.
    laneName String
    Lane name.
    remark 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
    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:
    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 bool
    Whether to enter the application.
    GroupId 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 bool
    Whether to enter the application.
    GroupId 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 Boolean
    Whether to enter the application.
    groupId 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 boolean
    Whether to enter the application.
    groupId 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 bool
    Whether to enter the application.
    group_id 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 Boolean
    Whether to enter the application.
    groupId 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack