tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.TsfLane
Explore with Pulumi AI
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:
- Lane
Group List<TsfLists Lane Lane Group List> - Swimlane Deployment Group Information.
- Lane
Name string - Lane name.
- Remark string
- Lane Remarks.
- Program
Id List<string>Lists - Program id list.
- Tsf
Lane stringId - ID of the resource.
- Lane
Group []TsfLists Lane Lane Group List Args - Swimlane Deployment Group Information.
- Lane
Name string - Lane name.
- Remark string
- Lane Remarks.
- Program
Id []stringLists - Program id list.
- Tsf
Lane stringId - ID of the resource.
- lane
Group List<TsfLists Lane Lane Group List> - Swimlane Deployment Group Information.
- lane
Name String - Lane name.
- remark String
- Lane Remarks.
- program
Id List<String>Lists - Program id list.
- tsf
Lane StringId - ID of the resource.
- lane
Group TsfLists Lane Lane Group List[] - Swimlane Deployment Group Information.
- lane
Name string - Lane name.
- remark string
- Lane Remarks.
- program
Id string[]Lists - Program id list.
- tsf
Lane stringId - ID of the resource.
- lane_
group_ Sequence[Tsflists Lane Lane Group List Args] - Swimlane Deployment Group Information.
- lane_
name str - Lane name.
- remark str
- Lane Remarks.
- program_
id_ Sequence[str]lists - Program id list.
- tsf_
lane_ strid - ID of the resource.
- lane
Group List<Property Map>Lists - Swimlane Deployment Group Information.
- lane
Name String - Lane name.
- remark String
- Lane Remarks.
- program
Id List<String>Lists - Program id list.
- tsf
Lane StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TsfLane resource produces the following output properties:
- Create
Time double - creation time.
- Entrance bool
- Whether to enter the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lane
Id string - Lane id.
- Namespace
Id List<string>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- Update
Time double - update time.
- Create
Time float64 - creation time.
- Entrance bool
- Whether to enter the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lane
Id string - Lane id.
- Namespace
Id []stringLists - A list of namespaces to which the swimlane has associated deployment groups.
- Update
Time float64 - update time.
- create
Time Double - creation time.
- entrance Boolean
- Whether to enter the application.
- id String
- The provider-assigned unique ID for this managed resource.
- lane
Id String - Lane id.
- namespace
Id List<String>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- update
Time Double - update time.
- create
Time number - creation time.
- entrance boolean
- Whether to enter the application.
- id string
- The provider-assigned unique ID for this managed resource.
- lane
Id string - Lane id.
- namespace
Id string[]Lists - A list of namespaces to which the swimlane has associated deployment groups.
- update
Time 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_ Sequence[str]lists - A list of namespaces to which the swimlane has associated deployment groups.
- update_
time float - update time.
- create
Time Number - creation time.
- entrance Boolean
- Whether to enter the application.
- id String
- The provider-assigned unique ID for this managed resource.
- lane
Id String - Lane id.
- namespace
Id List<String>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- update
Time 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.
- Create
Time double - creation time.
- Entrance bool
- Whether to enter the application.
- Lane
Group List<TsfLists Lane Lane Group List> - Swimlane Deployment Group Information.
- Lane
Id string - Lane id.
- Lane
Name string - Lane name.
- Namespace
Id List<string>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- Program
Id List<string>Lists - Program id list.
- Remark string
- Lane Remarks.
- Tsf
Lane stringId - ID of the resource.
- Update
Time double - update time.
- Create
Time float64 - creation time.
- Entrance bool
- Whether to enter the application.
- Lane
Group []TsfLists Lane Lane Group List Args - Swimlane Deployment Group Information.
- Lane
Id string - Lane id.
- Lane
Name string - Lane name.
- Namespace
Id []stringLists - A list of namespaces to which the swimlane has associated deployment groups.
- Program
Id []stringLists - Program id list.
- Remark string
- Lane Remarks.
- Tsf
Lane stringId - ID of the resource.
- Update
Time float64 - update time.
- create
Time Double - creation time.
- entrance Boolean
- Whether to enter the application.
- lane
Group List<TsfLists Lane Lane Group List> - Swimlane Deployment Group Information.
- lane
Id String - Lane id.
- lane
Name String - Lane name.
- namespace
Id List<String>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- program
Id List<String>Lists - Program id list.
- remark String
- Lane Remarks.
- tsf
Lane StringId - ID of the resource.
- update
Time Double - update time.
- create
Time number - creation time.
- entrance boolean
- Whether to enter the application.
- lane
Group TsfLists Lane Lane Group List[] - Swimlane Deployment Group Information.
- lane
Id string - Lane id.
- lane
Name string - Lane name.
- namespace
Id string[]Lists - A list of namespaces to which the swimlane has associated deployment groups.
- program
Id string[]Lists - Program id list.
- remark string
- Lane Remarks.
- tsf
Lane stringId - ID of the resource.
- update
Time number - update time.
- create_
time float - creation time.
- entrance bool
- Whether to enter the application.
- lane_
group_ Sequence[Tsflists Lane Lane Group List Args] - Swimlane Deployment Group Information.
- lane_
id str - Lane id.
- lane_
name str - Lane name.
- namespace_
id_ Sequence[str]lists - A list of namespaces to which the swimlane has associated deployment groups.
- program_
id_ Sequence[str]lists - Program id list.
- remark str
- Lane Remarks.
- tsf_
lane_ strid - ID of the resource.
- update_
time float - update time.
- create
Time Number - creation time.
- entrance Boolean
- Whether to enter the application.
- lane
Group List<Property Map>Lists - Swimlane Deployment Group Information.
- lane
Id String - Lane id.
- lane
Name String - Lane name.
- namespace
Id List<String>Lists - A list of namespaces to which the swimlane has associated deployment groups.
- program
Id List<String>Lists - Program id list.
- remark String
- Lane Remarks.
- tsf
Lane StringId - ID of the resource.
- update
Time Number - update time.
Supporting Types
TsfLaneLaneGroupList, TsfLaneLaneGroupListArgs
- Entrance bool
- Whether to enter the application.
- Group
Id string - Deployment group ID.
- Application
Id string - application ID.
- Application
Name string - application name.
- Cluster
Type string - cluster type.
- Create
Time double - creation time.
- Group
Name string - deployment group name.
- Lane
Group stringId - Swimlane deployment group ID.
- Lane
Id string - Lane ID.
- Namespace
Id string - Namespace ID.
- Namespace
Name string - namespace name.
- Update
Time double - update time.
- Entrance bool
- Whether to enter the application.
- Group
Id string - Deployment group ID.
- Application
Id string - application ID.
- Application
Name string - application name.
- Cluster
Type string - cluster type.
- Create
Time float64 - creation time.
- Group
Name string - deployment group name.
- Lane
Group stringId - Swimlane deployment group ID.
- Lane
Id string - Lane ID.
- Namespace
Id string - Namespace ID.
- Namespace
Name string - namespace name.
- Update
Time float64 - update time.
- entrance Boolean
- Whether to enter the application.
- group
Id String - Deployment group ID.
- application
Id String - application ID.
- application
Name String - application name.
- cluster
Type String - cluster type.
- create
Time Double - creation time.
- group
Name String - deployment group name.
- lane
Group StringId - Swimlane deployment group ID.
- lane
Id String - Lane ID.
- namespace
Id String - Namespace ID.
- namespace
Name String - namespace name.
- update
Time Double - update time.
- entrance boolean
- Whether to enter the application.
- group
Id string - Deployment group ID.
- application
Id string - application ID.
- application
Name string - application name.
- cluster
Type string - cluster type.
- create
Time number - creation time.
- group
Name string - deployment group name.
- lane
Group stringId - Swimlane deployment group ID.
- lane
Id string - Lane ID.
- namespace
Id string - Namespace ID.
- namespace
Name string - namespace name.
- update
Time 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_ strid - 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.
- group
Id String - Deployment group ID.
- application
Id String - application ID.
- application
Name String - application name.
- cluster
Type String - cluster type.
- create
Time Number - creation time.
- group
Name String - deployment group name.
- lane
Group StringId - Swimlane deployment group ID.
- lane
Id String - Lane ID.
- namespace
Id String - Namespace ID.
- namespace
Name String - namespace name.
- update
Time Number - update time.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack