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

tencentcloud.TsfCluster

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 cluster

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const cluster = new tencentcloud.TsfCluster("cluster", {
        clusterCidr: "9.165.120.0/24",
        clusterDesc: "test",
        clusterName: "terraform-test",
        clusterType: "C",
        clusterVersion: "1.18.4",
        maxClusterServiceNum: 128,
        maxNodePodNum: 32,
        tags: {
            createdBy: "terraform",
        },
        tsfRegionId: "ap-guangzhou",
        vpcId: "vpc-xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    cluster = tencentcloud.TsfCluster("cluster",
        cluster_cidr="9.165.120.0/24",
        cluster_desc="test",
        cluster_name="terraform-test",
        cluster_type="C",
        cluster_version="1.18.4",
        max_cluster_service_num=128,
        max_node_pod_num=32,
        tags={
            "createdBy": "terraform",
        },
        tsf_region_id="ap-guangzhou",
        vpc_id="vpc-xxxxxx")
    
    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.NewTsfCluster(ctx, "cluster", &tencentcloud.TsfClusterArgs{
    			ClusterCidr:          pulumi.String("9.165.120.0/24"),
    			ClusterDesc:          pulumi.String("test"),
    			ClusterName:          pulumi.String("terraform-test"),
    			ClusterType:          pulumi.String("C"),
    			ClusterVersion:       pulumi.String("1.18.4"),
    			MaxClusterServiceNum: pulumi.Float64(128),
    			MaxNodePodNum:        pulumi.Float64(32),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    			TsfRegionId: pulumi.String("ap-guangzhou"),
    			VpcId:       pulumi.String("vpc-xxxxxx"),
    		})
    		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 cluster = new Tencentcloud.TsfCluster("cluster", new()
        {
            ClusterCidr = "9.165.120.0/24",
            ClusterDesc = "test",
            ClusterName = "terraform-test",
            ClusterType = "C",
            ClusterVersion = "1.18.4",
            MaxClusterServiceNum = 128,
            MaxNodePodNum = 32,
            Tags = 
            {
                { "createdBy", "terraform" },
            },
            TsfRegionId = "ap-guangzhou",
            VpcId = "vpc-xxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TsfCluster;
    import com.pulumi.tencentcloud.TsfClusterArgs;
    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 cluster = new TsfCluster("cluster", TsfClusterArgs.builder()
                .clusterCidr("9.165.120.0/24")
                .clusterDesc("test")
                .clusterName("terraform-test")
                .clusterType("C")
                .clusterVersion("1.18.4")
                .maxClusterServiceNum(128)
                .maxNodePodNum(32)
                .tags(Map.of("createdBy", "terraform"))
                .tsfRegionId("ap-guangzhou")
                .vpcId("vpc-xxxxxx")
                .build());
    
        }
    }
    
    resources:
      cluster:
        type: tencentcloud:TsfCluster
        properties:
          clusterCidr: 9.165.120.0/24
          clusterDesc: test
          clusterName: terraform-test
          clusterType: C
          clusterVersion: 1.18.4
          maxClusterServiceNum: 128
          maxNodePodNum: 32
          tags:
            createdBy: terraform
          tsfRegionId: ap-guangzhou
          vpcId: vpc-xxxxxx
    

    Create TsfCluster Resource

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

    Constructor syntax

    new TsfCluster(name: string, args: TsfClusterArgs, opts?: CustomResourceOptions);
    @overload
    def TsfCluster(resource_name: str,
                   args: TsfClusterArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def TsfCluster(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   cluster_type: Optional[str] = None,
                   vpc_id: Optional[str] = None,
                   cluster_name: Optional[str] = None,
                   kubernete_native_type: Optional[str] = None,
                   max_node_pod_num: Optional[float] = None,
                   cluster_version: Optional[str] = None,
                   kubernete_api_server: Optional[str] = None,
                   kubernete_native_secret: Optional[str] = None,
                   cluster_cidr: Optional[str] = None,
                   max_cluster_service_num: Optional[float] = None,
                   cluster_remark_name: Optional[str] = None,
                   program_id: Optional[str] = None,
                   program_id_lists: Optional[Sequence[str]] = None,
                   subnet_id: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   tsf_cluster_id: Optional[str] = None,
                   tsf_region_id: Optional[str] = None,
                   tsf_zone_id: Optional[str] = None,
                   cluster_desc: Optional[str] = None)
    func NewTsfCluster(ctx *Context, name string, args TsfClusterArgs, opts ...ResourceOption) (*TsfCluster, error)
    public TsfCluster(string name, TsfClusterArgs args, CustomResourceOptions? opts = null)
    public TsfCluster(String name, TsfClusterArgs args)
    public TsfCluster(String name, TsfClusterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TsfCluster
    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 TsfClusterArgs
    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 TsfClusterArgs
    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 TsfClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TsfClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TsfClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterName string
    Cluster name.
    ClusterType string
    Cluster type.
    VpcId string
    Vpc id.
    ClusterCidr string
    CIDR assigned to cluster containers and service IP.
    ClusterDesc string
    cluster notes.
    ClusterRemarkName string
    cluster remark name.
    ClusterVersion string
    cluster version.
    KuberneteApiServer string
    api address.
    KuberneteNativeSecret string
    native secret.
    KuberneteNativeType string
    K:kubeconfig, S:service account.
    MaxClusterServiceNum double
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    MaxNodePodNum double
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    ProgramId string
    The dataset ID to be bound.
    ProgramIdLists List<string>
    Program id list.
    SubnetId string
    Subnet id.
    Tags Dictionary<string, string>
    Tag description list.
    TsfClusterId string
    ID of the resource.
    TsfRegionId string
    The TSF region to which the cluster belongs.
    TsfZoneId string
    The TSF availability zone to which the cluster belongs.
    ClusterName string
    Cluster name.
    ClusterType string
    Cluster type.
    VpcId string
    Vpc id.
    ClusterCidr string
    CIDR assigned to cluster containers and service IP.
    ClusterDesc string
    cluster notes.
    ClusterRemarkName string
    cluster remark name.
    ClusterVersion string
    cluster version.
    KuberneteApiServer string
    api address.
    KuberneteNativeSecret string
    native secret.
    KuberneteNativeType string
    K:kubeconfig, S:service account.
    MaxClusterServiceNum float64
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    MaxNodePodNum float64
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    ProgramId string
    The dataset ID to be bound.
    ProgramIdLists []string
    Program id list.
    SubnetId string
    Subnet id.
    Tags map[string]string
    Tag description list.
    TsfClusterId string
    ID of the resource.
    TsfRegionId string
    The TSF region to which the cluster belongs.
    TsfZoneId string
    The TSF availability zone to which the cluster belongs.
    clusterName String
    Cluster name.
    clusterType String
    Cluster type.
    vpcId String
    Vpc id.
    clusterCidr String
    CIDR assigned to cluster containers and service IP.
    clusterDesc String
    cluster notes.
    clusterRemarkName String
    cluster remark name.
    clusterVersion String
    cluster version.
    kuberneteApiServer String
    api address.
    kuberneteNativeSecret String
    native secret.
    kuberneteNativeType String
    K:kubeconfig, S:service account.
    maxClusterServiceNum Double
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum Double
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    programId String
    The dataset ID to be bound.
    programIdLists List<String>
    Program id list.
    subnetId String
    Subnet id.
    tags Map<String,String>
    Tag description list.
    tsfClusterId String
    ID of the resource.
    tsfRegionId String
    The TSF region to which the cluster belongs.
    tsfZoneId String
    The TSF availability zone to which the cluster belongs.
    clusterName string
    Cluster name.
    clusterType string
    Cluster type.
    vpcId string
    Vpc id.
    clusterCidr string
    CIDR assigned to cluster containers and service IP.
    clusterDesc string
    cluster notes.
    clusterRemarkName string
    cluster remark name.
    clusterVersion string
    cluster version.
    kuberneteApiServer string
    api address.
    kuberneteNativeSecret string
    native secret.
    kuberneteNativeType string
    K:kubeconfig, S:service account.
    maxClusterServiceNum number
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum number
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    programId string
    The dataset ID to be bound.
    programIdLists string[]
    Program id list.
    subnetId string
    Subnet id.
    tags {[key: string]: string}
    Tag description list.
    tsfClusterId string
    ID of the resource.
    tsfRegionId string
    The TSF region to which the cluster belongs.
    tsfZoneId string
    The TSF availability zone to which the cluster belongs.
    cluster_name str
    Cluster name.
    cluster_type str
    Cluster type.
    vpc_id str
    Vpc id.
    cluster_cidr str
    CIDR assigned to cluster containers and service IP.
    cluster_desc str
    cluster notes.
    cluster_remark_name str
    cluster remark name.
    cluster_version str
    cluster version.
    kubernete_api_server str
    api address.
    kubernete_native_secret str
    native secret.
    kubernete_native_type str
    K:kubeconfig, S:service account.
    max_cluster_service_num float
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    max_node_pod_num float
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    program_id str
    The dataset ID to be bound.
    program_id_lists Sequence[str]
    Program id list.
    subnet_id str
    Subnet id.
    tags Mapping[str, str]
    Tag description list.
    tsf_cluster_id str
    ID of the resource.
    tsf_region_id str
    The TSF region to which the cluster belongs.
    tsf_zone_id str
    The TSF availability zone to which the cluster belongs.
    clusterName String
    Cluster name.
    clusterType String
    Cluster type.
    vpcId String
    Vpc id.
    clusterCidr String
    CIDR assigned to cluster containers and service IP.
    clusterDesc String
    cluster notes.
    clusterRemarkName String
    cluster remark name.
    clusterVersion String
    cluster version.
    kuberneteApiServer String
    api address.
    kuberneteNativeSecret String
    native secret.
    kuberneteNativeType String
    K:kubeconfig, S:service account.
    maxClusterServiceNum Number
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum Number
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    programId String
    The dataset ID to be bound.
    programIdLists List<String>
    Program id list.
    subnetId String
    Subnet id.
    tags Map<String>
    Tag description list.
    tsfClusterId String
    ID of the resource.
    tsfRegionId String
    The TSF region to which the cluster belongs.
    tsfZoneId String
    The TSF availability zone to which the cluster belongs.

    Outputs

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

    AbnormalGroupCount double
    Abnormal number of deployment groups.
    ClusterId string
    Cluster ID.
    ClusterLimitCpu string
    Cluster remaining cpu limit.
    ClusterLimitMem string
    Cluster remaining memory limit.
    ClusterStatus string
    cluster status.
    ClusterTotalCpu double
    The total CPU of the cluster, unit: core.
    ClusterTotalMem double
    The total memory of the cluster, unit: G.
    ClusterUsedCpu double
    CPU used by the cluster, unit: core.
    ClusterUsedMem double
    The memory used by the cluster, unit: G.
    CreateTime string
    Create time.
    DeleteFlag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    DeleteFlagReason string
    Reasons why clusters cannot be deleted.
    GroupCount double
    Total number of deployment groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceCount double
    Number of cluster machine instances.
    NormalInstanceCount double
    The number of machine instances in the normal state of the cluster.
    OperationInfos List<TsfClusterOperationInfo>
    Control information for buttons on the front end.
    RunGroupCount double
    Number of Deployment Groups in progress.
    RunInstanceCount double
    Number of machine instances running in the cluster.
    RunServiceInstanceCount double
    Number of running service instances.
    StopGroupCount double
    Number of deployment groups in stop.
    TsfRegionName string
    Name of the TSF region to which the cluster belongs.
    TsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    UpdateTime string
    Update time.
    AbnormalGroupCount float64
    Abnormal number of deployment groups.
    ClusterId string
    Cluster ID.
    ClusterLimitCpu string
    Cluster remaining cpu limit.
    ClusterLimitMem string
    Cluster remaining memory limit.
    ClusterStatus string
    cluster status.
    ClusterTotalCpu float64
    The total CPU of the cluster, unit: core.
    ClusterTotalMem float64
    The total memory of the cluster, unit: G.
    ClusterUsedCpu float64
    CPU used by the cluster, unit: core.
    ClusterUsedMem float64
    The memory used by the cluster, unit: G.
    CreateTime string
    Create time.
    DeleteFlag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    DeleteFlagReason string
    Reasons why clusters cannot be deleted.
    GroupCount float64
    Total number of deployment groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceCount float64
    Number of cluster machine instances.
    NormalInstanceCount float64
    The number of machine instances in the normal state of the cluster.
    OperationInfos []TsfClusterOperationInfo
    Control information for buttons on the front end.
    RunGroupCount float64
    Number of Deployment Groups in progress.
    RunInstanceCount float64
    Number of machine instances running in the cluster.
    RunServiceInstanceCount float64
    Number of running service instances.
    StopGroupCount float64
    Number of deployment groups in stop.
    TsfRegionName string
    Name of the TSF region to which the cluster belongs.
    TsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    UpdateTime string
    Update time.
    abnormalGroupCount Double
    Abnormal number of deployment groups.
    clusterId String
    Cluster ID.
    clusterLimitCpu String
    Cluster remaining cpu limit.
    clusterLimitMem String
    Cluster remaining memory limit.
    clusterStatus String
    cluster status.
    clusterTotalCpu Double
    The total CPU of the cluster, unit: core.
    clusterTotalMem Double
    The total memory of the cluster, unit: G.
    clusterUsedCpu Double
    CPU used by the cluster, unit: core.
    clusterUsedMem Double
    The memory used by the cluster, unit: G.
    createTime String
    Create time.
    deleteFlag Boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason String
    Reasons why clusters cannot be deleted.
    groupCount Double
    Total number of deployment groups.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceCount Double
    Number of cluster machine instances.
    normalInstanceCount Double
    The number of machine instances in the normal state of the cluster.
    operationInfos List<TsfClusterOperationInfo>
    Control information for buttons on the front end.
    runGroupCount Double
    Number of Deployment Groups in progress.
    runInstanceCount Double
    Number of machine instances running in the cluster.
    runServiceInstanceCount Double
    Number of running service instances.
    stopGroupCount Double
    Number of deployment groups in stop.
    tsfRegionName String
    Name of the TSF region to which the cluster belongs.
    tsfZoneName String
    The name of the TSF availability zone to which the cluster belongs.
    updateTime String
    Update time.
    abnormalGroupCount number
    Abnormal number of deployment groups.
    clusterId string
    Cluster ID.
    clusterLimitCpu string
    Cluster remaining cpu limit.
    clusterLimitMem string
    Cluster remaining memory limit.
    clusterStatus string
    cluster status.
    clusterTotalCpu number
    The total CPU of the cluster, unit: core.
    clusterTotalMem number
    The total memory of the cluster, unit: G.
    clusterUsedCpu number
    CPU used by the cluster, unit: core.
    clusterUsedMem number
    The memory used by the cluster, unit: G.
    createTime string
    Create time.
    deleteFlag boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason string
    Reasons why clusters cannot be deleted.
    groupCount number
    Total number of deployment groups.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceCount number
    Number of cluster machine instances.
    normalInstanceCount number
    The number of machine instances in the normal state of the cluster.
    operationInfos TsfClusterOperationInfo[]
    Control information for buttons on the front end.
    runGroupCount number
    Number of Deployment Groups in progress.
    runInstanceCount number
    Number of machine instances running in the cluster.
    runServiceInstanceCount number
    Number of running service instances.
    stopGroupCount number
    Number of deployment groups in stop.
    tsfRegionName string
    Name of the TSF region to which the cluster belongs.
    tsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    updateTime string
    Update time.
    abnormal_group_count float
    Abnormal number of deployment groups.
    cluster_id str
    Cluster ID.
    cluster_limit_cpu str
    Cluster remaining cpu limit.
    cluster_limit_mem str
    Cluster remaining memory limit.
    cluster_status str
    cluster status.
    cluster_total_cpu float
    The total CPU of the cluster, unit: core.
    cluster_total_mem float
    The total memory of the cluster, unit: G.
    cluster_used_cpu float
    CPU used by the cluster, unit: core.
    cluster_used_mem float
    The memory used by the cluster, unit: G.
    create_time str
    Create time.
    delete_flag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    delete_flag_reason str
    Reasons why clusters cannot be deleted.
    group_count float
    Total number of deployment groups.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_count float
    Number of cluster machine instances.
    normal_instance_count float
    The number of machine instances in the normal state of the cluster.
    operation_infos Sequence[TsfClusterOperationInfo]
    Control information for buttons on the front end.
    run_group_count float
    Number of Deployment Groups in progress.
    run_instance_count float
    Number of machine instances running in the cluster.
    run_service_instance_count float
    Number of running service instances.
    stop_group_count float
    Number of deployment groups in stop.
    tsf_region_name str
    Name of the TSF region to which the cluster belongs.
    tsf_zone_name str
    The name of the TSF availability zone to which the cluster belongs.
    update_time str
    Update time.
    abnormalGroupCount Number
    Abnormal number of deployment groups.
    clusterId String
    Cluster ID.
    clusterLimitCpu String
    Cluster remaining cpu limit.
    clusterLimitMem String
    Cluster remaining memory limit.
    clusterStatus String
    cluster status.
    clusterTotalCpu Number
    The total CPU of the cluster, unit: core.
    clusterTotalMem Number
    The total memory of the cluster, unit: G.
    clusterUsedCpu Number
    CPU used by the cluster, unit: core.
    clusterUsedMem Number
    The memory used by the cluster, unit: G.
    createTime String
    Create time.
    deleteFlag Boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason String
    Reasons why clusters cannot be deleted.
    groupCount Number
    Total number of deployment groups.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceCount Number
    Number of cluster machine instances.
    normalInstanceCount Number
    The number of machine instances in the normal state of the cluster.
    operationInfos List<Property Map>
    Control information for buttons on the front end.
    runGroupCount Number
    Number of Deployment Groups in progress.
    runInstanceCount Number
    Number of machine instances running in the cluster.
    runServiceInstanceCount Number
    Number of running service instances.
    stopGroupCount Number
    Number of deployment groups in stop.
    tsfRegionName String
    Name of the TSF region to which the cluster belongs.
    tsfZoneName String
    The name of the TSF availability zone to which the cluster belongs.
    updateTime String
    Update time.

    Look up Existing TsfCluster Resource

    Get an existing TsfCluster 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?: TsfClusterState, opts?: CustomResourceOptions): TsfCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            abnormal_group_count: Optional[float] = None,
            cluster_cidr: Optional[str] = None,
            cluster_desc: Optional[str] = None,
            cluster_id: Optional[str] = None,
            cluster_limit_cpu: Optional[str] = None,
            cluster_limit_mem: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_remark_name: Optional[str] = None,
            cluster_status: Optional[str] = None,
            cluster_total_cpu: Optional[float] = None,
            cluster_total_mem: Optional[float] = None,
            cluster_type: Optional[str] = None,
            cluster_used_cpu: Optional[float] = None,
            cluster_used_mem: Optional[float] = None,
            cluster_version: Optional[str] = None,
            create_time: Optional[str] = None,
            delete_flag: Optional[bool] = None,
            delete_flag_reason: Optional[str] = None,
            group_count: Optional[float] = None,
            instance_count: Optional[float] = None,
            kubernete_api_server: Optional[str] = None,
            kubernete_native_secret: Optional[str] = None,
            kubernete_native_type: Optional[str] = None,
            max_cluster_service_num: Optional[float] = None,
            max_node_pod_num: Optional[float] = None,
            normal_instance_count: Optional[float] = None,
            operation_infos: Optional[Sequence[TsfClusterOperationInfoArgs]] = None,
            program_id: Optional[str] = None,
            program_id_lists: Optional[Sequence[str]] = None,
            run_group_count: Optional[float] = None,
            run_instance_count: Optional[float] = None,
            run_service_instance_count: Optional[float] = None,
            stop_group_count: Optional[float] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tsf_cluster_id: Optional[str] = None,
            tsf_region_id: Optional[str] = None,
            tsf_region_name: Optional[str] = None,
            tsf_zone_id: Optional[str] = None,
            tsf_zone_name: Optional[str] = None,
            update_time: Optional[str] = None,
            vpc_id: Optional[str] = None) -> TsfCluster
    func GetTsfCluster(ctx *Context, name string, id IDInput, state *TsfClusterState, opts ...ResourceOption) (*TsfCluster, error)
    public static TsfCluster Get(string name, Input<string> id, TsfClusterState? state, CustomResourceOptions? opts = null)
    public static TsfCluster get(String name, Output<String> id, TsfClusterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TsfCluster    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:
    AbnormalGroupCount double
    Abnormal number of deployment groups.
    ClusterCidr string
    CIDR assigned to cluster containers and service IP.
    ClusterDesc string
    cluster notes.
    ClusterId string
    Cluster ID.
    ClusterLimitCpu string
    Cluster remaining cpu limit.
    ClusterLimitMem string
    Cluster remaining memory limit.
    ClusterName string
    Cluster name.
    ClusterRemarkName string
    cluster remark name.
    ClusterStatus string
    cluster status.
    ClusterTotalCpu double
    The total CPU of the cluster, unit: core.
    ClusterTotalMem double
    The total memory of the cluster, unit: G.
    ClusterType string
    Cluster type.
    ClusterUsedCpu double
    CPU used by the cluster, unit: core.
    ClusterUsedMem double
    The memory used by the cluster, unit: G.
    ClusterVersion string
    cluster version.
    CreateTime string
    Create time.
    DeleteFlag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    DeleteFlagReason string
    Reasons why clusters cannot be deleted.
    GroupCount double
    Total number of deployment groups.
    InstanceCount double
    Number of cluster machine instances.
    KuberneteApiServer string
    api address.
    KuberneteNativeSecret string
    native secret.
    KuberneteNativeType string
    K:kubeconfig, S:service account.
    MaxClusterServiceNum double
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    MaxNodePodNum double
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    NormalInstanceCount double
    The number of machine instances in the normal state of the cluster.
    OperationInfos List<TsfClusterOperationInfo>
    Control information for buttons on the front end.
    ProgramId string
    The dataset ID to be bound.
    ProgramIdLists List<string>
    Program id list.
    RunGroupCount double
    Number of Deployment Groups in progress.
    RunInstanceCount double
    Number of machine instances running in the cluster.
    RunServiceInstanceCount double
    Number of running service instances.
    StopGroupCount double
    Number of deployment groups in stop.
    SubnetId string
    Subnet id.
    Tags Dictionary<string, string>
    Tag description list.
    TsfClusterId string
    ID of the resource.
    TsfRegionId string
    The TSF region to which the cluster belongs.
    TsfRegionName string
    Name of the TSF region to which the cluster belongs.
    TsfZoneId string
    The TSF availability zone to which the cluster belongs.
    TsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    UpdateTime string
    Update time.
    VpcId string
    Vpc id.
    AbnormalGroupCount float64
    Abnormal number of deployment groups.
    ClusterCidr string
    CIDR assigned to cluster containers and service IP.
    ClusterDesc string
    cluster notes.
    ClusterId string
    Cluster ID.
    ClusterLimitCpu string
    Cluster remaining cpu limit.
    ClusterLimitMem string
    Cluster remaining memory limit.
    ClusterName string
    Cluster name.
    ClusterRemarkName string
    cluster remark name.
    ClusterStatus string
    cluster status.
    ClusterTotalCpu float64
    The total CPU of the cluster, unit: core.
    ClusterTotalMem float64
    The total memory of the cluster, unit: G.
    ClusterType string
    Cluster type.
    ClusterUsedCpu float64
    CPU used by the cluster, unit: core.
    ClusterUsedMem float64
    The memory used by the cluster, unit: G.
    ClusterVersion string
    cluster version.
    CreateTime string
    Create time.
    DeleteFlag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    DeleteFlagReason string
    Reasons why clusters cannot be deleted.
    GroupCount float64
    Total number of deployment groups.
    InstanceCount float64
    Number of cluster machine instances.
    KuberneteApiServer string
    api address.
    KuberneteNativeSecret string
    native secret.
    KuberneteNativeType string
    K:kubeconfig, S:service account.
    MaxClusterServiceNum float64
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    MaxNodePodNum float64
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    NormalInstanceCount float64
    The number of machine instances in the normal state of the cluster.
    OperationInfos []TsfClusterOperationInfoArgs
    Control information for buttons on the front end.
    ProgramId string
    The dataset ID to be bound.
    ProgramIdLists []string
    Program id list.
    RunGroupCount float64
    Number of Deployment Groups in progress.
    RunInstanceCount float64
    Number of machine instances running in the cluster.
    RunServiceInstanceCount float64
    Number of running service instances.
    StopGroupCount float64
    Number of deployment groups in stop.
    SubnetId string
    Subnet id.
    Tags map[string]string
    Tag description list.
    TsfClusterId string
    ID of the resource.
    TsfRegionId string
    The TSF region to which the cluster belongs.
    TsfRegionName string
    Name of the TSF region to which the cluster belongs.
    TsfZoneId string
    The TSF availability zone to which the cluster belongs.
    TsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    UpdateTime string
    Update time.
    VpcId string
    Vpc id.
    abnormalGroupCount Double
    Abnormal number of deployment groups.
    clusterCidr String
    CIDR assigned to cluster containers and service IP.
    clusterDesc String
    cluster notes.
    clusterId String
    Cluster ID.
    clusterLimitCpu String
    Cluster remaining cpu limit.
    clusterLimitMem String
    Cluster remaining memory limit.
    clusterName String
    Cluster name.
    clusterRemarkName String
    cluster remark name.
    clusterStatus String
    cluster status.
    clusterTotalCpu Double
    The total CPU of the cluster, unit: core.
    clusterTotalMem Double
    The total memory of the cluster, unit: G.
    clusterType String
    Cluster type.
    clusterUsedCpu Double
    CPU used by the cluster, unit: core.
    clusterUsedMem Double
    The memory used by the cluster, unit: G.
    clusterVersion String
    cluster version.
    createTime String
    Create time.
    deleteFlag Boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason String
    Reasons why clusters cannot be deleted.
    groupCount Double
    Total number of deployment groups.
    instanceCount Double
    Number of cluster machine instances.
    kuberneteApiServer String
    api address.
    kuberneteNativeSecret String
    native secret.
    kuberneteNativeType String
    K:kubeconfig, S:service account.
    maxClusterServiceNum Double
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum Double
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    normalInstanceCount Double
    The number of machine instances in the normal state of the cluster.
    operationInfos List<TsfClusterOperationInfo>
    Control information for buttons on the front end.
    programId String
    The dataset ID to be bound.
    programIdLists List<String>
    Program id list.
    runGroupCount Double
    Number of Deployment Groups in progress.
    runInstanceCount Double
    Number of machine instances running in the cluster.
    runServiceInstanceCount Double
    Number of running service instances.
    stopGroupCount Double
    Number of deployment groups in stop.
    subnetId String
    Subnet id.
    tags Map<String,String>
    Tag description list.
    tsfClusterId String
    ID of the resource.
    tsfRegionId String
    The TSF region to which the cluster belongs.
    tsfRegionName String
    Name of the TSF region to which the cluster belongs.
    tsfZoneId String
    The TSF availability zone to which the cluster belongs.
    tsfZoneName String
    The name of the TSF availability zone to which the cluster belongs.
    updateTime String
    Update time.
    vpcId String
    Vpc id.
    abnormalGroupCount number
    Abnormal number of deployment groups.
    clusterCidr string
    CIDR assigned to cluster containers and service IP.
    clusterDesc string
    cluster notes.
    clusterId string
    Cluster ID.
    clusterLimitCpu string
    Cluster remaining cpu limit.
    clusterLimitMem string
    Cluster remaining memory limit.
    clusterName string
    Cluster name.
    clusterRemarkName string
    cluster remark name.
    clusterStatus string
    cluster status.
    clusterTotalCpu number
    The total CPU of the cluster, unit: core.
    clusterTotalMem number
    The total memory of the cluster, unit: G.
    clusterType string
    Cluster type.
    clusterUsedCpu number
    CPU used by the cluster, unit: core.
    clusterUsedMem number
    The memory used by the cluster, unit: G.
    clusterVersion string
    cluster version.
    createTime string
    Create time.
    deleteFlag boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason string
    Reasons why clusters cannot be deleted.
    groupCount number
    Total number of deployment groups.
    instanceCount number
    Number of cluster machine instances.
    kuberneteApiServer string
    api address.
    kuberneteNativeSecret string
    native secret.
    kuberneteNativeType string
    K:kubeconfig, S:service account.
    maxClusterServiceNum number
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum number
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    normalInstanceCount number
    The number of machine instances in the normal state of the cluster.
    operationInfos TsfClusterOperationInfo[]
    Control information for buttons on the front end.
    programId string
    The dataset ID to be bound.
    programIdLists string[]
    Program id list.
    runGroupCount number
    Number of Deployment Groups in progress.
    runInstanceCount number
    Number of machine instances running in the cluster.
    runServiceInstanceCount number
    Number of running service instances.
    stopGroupCount number
    Number of deployment groups in stop.
    subnetId string
    Subnet id.
    tags {[key: string]: string}
    Tag description list.
    tsfClusterId string
    ID of the resource.
    tsfRegionId string
    The TSF region to which the cluster belongs.
    tsfRegionName string
    Name of the TSF region to which the cluster belongs.
    tsfZoneId string
    The TSF availability zone to which the cluster belongs.
    tsfZoneName string
    The name of the TSF availability zone to which the cluster belongs.
    updateTime string
    Update time.
    vpcId string
    Vpc id.
    abnormal_group_count float
    Abnormal number of deployment groups.
    cluster_cidr str
    CIDR assigned to cluster containers and service IP.
    cluster_desc str
    cluster notes.
    cluster_id str
    Cluster ID.
    cluster_limit_cpu str
    Cluster remaining cpu limit.
    cluster_limit_mem str
    Cluster remaining memory limit.
    cluster_name str
    Cluster name.
    cluster_remark_name str
    cluster remark name.
    cluster_status str
    cluster status.
    cluster_total_cpu float
    The total CPU of the cluster, unit: core.
    cluster_total_mem float
    The total memory of the cluster, unit: G.
    cluster_type str
    Cluster type.
    cluster_used_cpu float
    CPU used by the cluster, unit: core.
    cluster_used_mem float
    The memory used by the cluster, unit: G.
    cluster_version str
    cluster version.
    create_time str
    Create time.
    delete_flag bool
    Delete flag: true: can be deleted; false: can not be deleted.
    delete_flag_reason str
    Reasons why clusters cannot be deleted.
    group_count float
    Total number of deployment groups.
    instance_count float
    Number of cluster machine instances.
    kubernete_api_server str
    api address.
    kubernete_native_secret str
    native secret.
    kubernete_native_type str
    K:kubeconfig, S:service account.
    max_cluster_service_num float
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    max_node_pod_num float
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    normal_instance_count float
    The number of machine instances in the normal state of the cluster.
    operation_infos Sequence[TsfClusterOperationInfoArgs]
    Control information for buttons on the front end.
    program_id str
    The dataset ID to be bound.
    program_id_lists Sequence[str]
    Program id list.
    run_group_count float
    Number of Deployment Groups in progress.
    run_instance_count float
    Number of machine instances running in the cluster.
    run_service_instance_count float
    Number of running service instances.
    stop_group_count float
    Number of deployment groups in stop.
    subnet_id str
    Subnet id.
    tags Mapping[str, str]
    Tag description list.
    tsf_cluster_id str
    ID of the resource.
    tsf_region_id str
    The TSF region to which the cluster belongs.
    tsf_region_name str
    Name of the TSF region to which the cluster belongs.
    tsf_zone_id str
    The TSF availability zone to which the cluster belongs.
    tsf_zone_name str
    The name of the TSF availability zone to which the cluster belongs.
    update_time str
    Update time.
    vpc_id str
    Vpc id.
    abnormalGroupCount Number
    Abnormal number of deployment groups.
    clusterCidr String
    CIDR assigned to cluster containers and service IP.
    clusterDesc String
    cluster notes.
    clusterId String
    Cluster ID.
    clusterLimitCpu String
    Cluster remaining cpu limit.
    clusterLimitMem String
    Cluster remaining memory limit.
    clusterName String
    Cluster name.
    clusterRemarkName String
    cluster remark name.
    clusterStatus String
    cluster status.
    clusterTotalCpu Number
    The total CPU of the cluster, unit: core.
    clusterTotalMem Number
    The total memory of the cluster, unit: G.
    clusterType String
    Cluster type.
    clusterUsedCpu Number
    CPU used by the cluster, unit: core.
    clusterUsedMem Number
    The memory used by the cluster, unit: G.
    clusterVersion String
    cluster version.
    createTime String
    Create time.
    deleteFlag Boolean
    Delete flag: true: can be deleted; false: can not be deleted.
    deleteFlagReason String
    Reasons why clusters cannot be deleted.
    groupCount Number
    Total number of deployment groups.
    instanceCount Number
    Number of cluster machine instances.
    kuberneteApiServer String
    api address.
    kuberneteNativeSecret String
    native secret.
    kuberneteNativeType String
    K:kubeconfig, S:service account.
    maxClusterServiceNum Number
    The maximum number of services in the cluster. The value ranges from 32 to 32768. If it is not a power of 2, the nearest power of 2 will be taken up.
    maxNodePodNum Number
    The maximum number of Pods on each Node in the cluster. The value ranges from 4 to 256. When the value is not a power of 2, the nearest power of 2 will be taken up.
    normalInstanceCount Number
    The number of machine instances in the normal state of the cluster.
    operationInfos List<Property Map>
    Control information for buttons on the front end.
    programId String
    The dataset ID to be bound.
    programIdLists List<String>
    Program id list.
    runGroupCount Number
    Number of Deployment Groups in progress.
    runInstanceCount Number
    Number of machine instances running in the cluster.
    runServiceInstanceCount Number
    Number of running service instances.
    stopGroupCount Number
    Number of deployment groups in stop.
    subnetId String
    Subnet id.
    tags Map<String>
    Tag description list.
    tsfClusterId String
    ID of the resource.
    tsfRegionId String
    The TSF region to which the cluster belongs.
    tsfRegionName String
    Name of the TSF region to which the cluster belongs.
    tsfZoneId String
    The TSF availability zone to which the cluster belongs.
    tsfZoneName String
    The name of the TSF availability zone to which the cluster belongs.
    updateTime String
    Update time.
    vpcId String
    Vpc id.

    Supporting Types

    TsfClusterOperationInfo, TsfClusterOperationInfoArgs

    AddInstances List<TsfClusterOperationInfoAddInstance>
    Add the control information of the instance button.
    Destroys List<TsfClusterOperationInfoDestroy>
    Destroy the control information of the machine.
    Inits List<TsfClusterOperationInfoInit>
    Initialize the control information of the button.
    AddInstances []TsfClusterOperationInfoAddInstance
    Add the control information of the instance button.
    Destroys []TsfClusterOperationInfoDestroy
    Destroy the control information of the machine.
    Inits []TsfClusterOperationInfoInit
    Initialize the control information of the button.
    addInstances List<TsfClusterOperationInfoAddInstance>
    Add the control information of the instance button.
    destroys List<TsfClusterOperationInfoDestroy>
    Destroy the control information of the machine.
    inits List<TsfClusterOperationInfoInit>
    Initialize the control information of the button.
    addInstances TsfClusterOperationInfoAddInstance[]
    Add the control information of the instance button.
    destroys TsfClusterOperationInfoDestroy[]
    Destroy the control information of the machine.
    inits TsfClusterOperationInfoInit[]
    Initialize the control information of the button.
    add_instances Sequence[TsfClusterOperationInfoAddInstance]
    Add the control information of the instance button.
    destroys Sequence[TsfClusterOperationInfoDestroy]
    Destroy the control information of the machine.
    inits Sequence[TsfClusterOperationInfoInit]
    Initialize the control information of the button.
    addInstances List<Property Map>
    Add the control information of the instance button.
    destroys List<Property Map>
    Destroy the control information of the machine.
    inits List<Property Map>
    Initialize the control information of the button.

    TsfClusterOperationInfoAddInstance, TsfClusterOperationInfoAddInstanceArgs

    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.
    disabledReason string
    Reason for not showing.
    enabled boolean
    Is the button clickable.
    supported boolean
    whether to show the button.
    disabled_reason str
    Reason for not showing.
    enabled bool
    Is the button clickable.
    supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.

    TsfClusterOperationInfoDestroy, TsfClusterOperationInfoDestroyArgs

    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.
    disabledReason string
    Reason for not showing.
    enabled boolean
    Is the button clickable.
    supported boolean
    whether to show the button.
    disabled_reason str
    Reason for not showing.
    enabled bool
    Is the button clickable.
    supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.

    TsfClusterOperationInfoInit, TsfClusterOperationInfoInitArgs

    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    DisabledReason string
    Reason for not showing.
    Enabled bool
    Is the button clickable.
    Supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.
    disabledReason string
    Reason for not showing.
    enabled boolean
    Is the button clickable.
    supported boolean
    whether to show the button.
    disabled_reason str
    Reason for not showing.
    enabled bool
    Is the button clickable.
    supported bool
    whether to show the button.
    disabledReason String
    Reason for not showing.
    enabled Boolean
    Is the button clickable.
    supported Boolean
    whether to show the button.

    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