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

tencentcloud.KubernetesNodePool

Explore with Pulumi AI

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

    Provide a resource to create an auto scaling group for kubernetes cluster.

    NOTE: We recommend the usage of one cluster with essential worker config + node pool to manage cluster and nodes. Its a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, tencentcloud.KubernetesScaleWorker or exist node management of tencentcloud_kubernetes_attachment. Cause some unchangeable parameters of worker_config may cause the whole cluster resource force new.

    NOTE: In order to ensure the integrity of customer data, if you destroy nodepool instance, it will keep the cvm instance associate with nodepool by default. If you want to destroy together, please set delete_keep_instance to false.

    NOTE: In order to ensure the integrity of customer data, if the cvm instance was destroyed due to shrinking, it will keep the cbs associate with cvm by default. If you want to destroy together, please set delete_with_instance to true.

    NOTE: There are two parameters wait_node_ready and scale_tolerance to ensure better management of node pool scaling operations. If this parameter is set when creating a resource, the resource will be marked as tainted if the set conditions are not met.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const config = new pulumi.Config();
    const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
    const clusterCidr = config.get("clusterCidr") || "172.31.0.0/16";
    const vpc = tencentcloud.getVpcSubnets({
        isDefault: true,
        availabilityZone: availabilityZone,
    });
    const defaultInstanceType = config.get("defaultInstanceType") || "S1.SMALL1";
    //this is the cluster with empty worker config
    const exampleKubernetesCluster = new tencentcloud.KubernetesCluster("exampleKubernetesCluster", {
        vpcId: vpc.then(vpc => vpc.instanceLists?.[0]?.vpcId),
        clusterCidr: clusterCidr,
        clusterMaxPodNum: 32,
        clusterName: "tf-tke-unit-test",
        clusterDesc: "test cluster desc",
        clusterMaxServiceNum: 32,
        clusterVersion: "1.18.4",
        clusterDeployType: "MANAGED_CLUSTER",
    });
    //this is one example of managing node using node pool
    const exampleKubernetesNodePool = new tencentcloud.KubernetesNodePool("exampleKubernetesNodePool", {
        clusterId: exampleKubernetesCluster.kubernetesClusterId,
        maxSize: 6,
        minSize: 1,
        vpcId: vpc.then(vpc => vpc.instanceLists?.[0]?.vpcId),
        subnetIds: [vpc.then(vpc => vpc.instanceLists?.[0]?.subnetId)],
        retryPolicy: "INCREMENTAL_INTERVALS",
        desiredCapacity: 4,
        enableAutoScale: true,
        multiZoneSubnetPolicy: "EQUALITY",
        nodeOs: "img-9qrfy1xt",
        autoScalingConfig: {
            instanceType: defaultInstanceType,
            systemDiskType: "CLOUD_PREMIUM",
            systemDiskSize: 50,
            orderlySecurityGroupIds: ["sg-24vswocp"],
            dataDisks: [{
                diskType: "CLOUD_PREMIUM",
                diskSize: 50,
            }],
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 10,
            publicIpAssigned: true,
            password: "Password@123",
            enhancedSecurityService: false,
            enhancedMonitorService: false,
            hostName: "12.123.0.0",
            hostNameStyle: "ORIGINAL",
        },
        labels: {
            test1: "test1",
            test2: "test2",
        },
        taints: [
            {
                key: "test_taint",
                value: "taint_value",
                effect: "PreferNoSchedule",
            },
            {
                key: "test_taint2",
                value: "taint_value2",
                effect: "PreferNoSchedule",
            },
        ],
        nodeConfig: {
            dockerGraphPath: "/var/lib/docker",
            extraArgs: ["root-dir=/var/lib/kubelet"],
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    config = pulumi.Config()
    availability_zone = config.get("availabilityZone")
    if availability_zone is None:
        availability_zone = "ap-guangzhou-3"
    cluster_cidr = config.get("clusterCidr")
    if cluster_cidr is None:
        cluster_cidr = "172.31.0.0/16"
    vpc = tencentcloud.get_vpc_subnets(is_default=True,
        availability_zone=availability_zone)
    default_instance_type = config.get("defaultInstanceType")
    if default_instance_type is None:
        default_instance_type = "S1.SMALL1"
    #this is the cluster with empty worker config
    example_kubernetes_cluster = tencentcloud.KubernetesCluster("exampleKubernetesCluster",
        vpc_id=vpc.instance_lists[0].vpc_id,
        cluster_cidr=cluster_cidr,
        cluster_max_pod_num=32,
        cluster_name="tf-tke-unit-test",
        cluster_desc="test cluster desc",
        cluster_max_service_num=32,
        cluster_version="1.18.4",
        cluster_deploy_type="MANAGED_CLUSTER")
    #this is one example of managing node using node pool
    example_kubernetes_node_pool = tencentcloud.KubernetesNodePool("exampleKubernetesNodePool",
        cluster_id=example_kubernetes_cluster.kubernetes_cluster_id,
        max_size=6,
        min_size=1,
        vpc_id=vpc.instance_lists[0].vpc_id,
        subnet_ids=[vpc.instance_lists[0].subnet_id],
        retry_policy="INCREMENTAL_INTERVALS",
        desired_capacity=4,
        enable_auto_scale=True,
        multi_zone_subnet_policy="EQUALITY",
        node_os="img-9qrfy1xt",
        auto_scaling_config={
            "instance_type": default_instance_type,
            "system_disk_type": "CLOUD_PREMIUM",
            "system_disk_size": 50,
            "orderly_security_group_ids": ["sg-24vswocp"],
            "data_disks": [{
                "disk_type": "CLOUD_PREMIUM",
                "disk_size": 50,
            }],
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 10,
            "public_ip_assigned": True,
            "password": "Password@123",
            "enhanced_security_service": False,
            "enhanced_monitor_service": False,
            "host_name": "12.123.0.0",
            "host_name_style": "ORIGINAL",
        },
        labels={
            "test1": "test1",
            "test2": "test2",
        },
        taints=[
            {
                "key": "test_taint",
                "value": "taint_value",
                "effect": "PreferNoSchedule",
            },
            {
                "key": "test_taint2",
                "value": "taint_value2",
                "effect": "PreferNoSchedule",
            },
        ],
        node_config={
            "docker_graph_path": "/var/lib/docker",
            "extra_args": ["root-dir=/var/lib/kubelet"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		availabilityZone := "ap-guangzhou-3"
    		if param := cfg.Get("availabilityZone"); param != "" {
    			availabilityZone = param
    		}
    		clusterCidr := "172.31.0.0/16"
    		if param := cfg.Get("clusterCidr"); param != "" {
    			clusterCidr = param
    		}
    		vpc, err := tencentcloud.GetVpcSubnets(ctx, &tencentcloud.GetVpcSubnetsArgs{
    			IsDefault:        pulumi.BoolRef(true),
    			AvailabilityZone: pulumi.StringRef(availabilityZone),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultInstanceType := "S1.SMALL1"
    		if param := cfg.Get("defaultInstanceType"); param != "" {
    			defaultInstanceType = param
    		}
    		// this is the cluster with empty worker config
    		exampleKubernetesCluster, err := tencentcloud.NewKubernetesCluster(ctx, "exampleKubernetesCluster", &tencentcloud.KubernetesClusterArgs{
    			VpcId:                pulumi.String(vpc.InstanceLists[0].VpcId),
    			ClusterCidr:          pulumi.String(clusterCidr),
    			ClusterMaxPodNum:     pulumi.Float64(32),
    			ClusterName:          pulumi.String("tf-tke-unit-test"),
    			ClusterDesc:          pulumi.String("test cluster desc"),
    			ClusterMaxServiceNum: pulumi.Float64(32),
    			ClusterVersion:       pulumi.String("1.18.4"),
    			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
    		})
    		if err != nil {
    			return err
    		}
    		// this is one example of managing node using node pool
    		_, err = tencentcloud.NewKubernetesNodePool(ctx, "exampleKubernetesNodePool", &tencentcloud.KubernetesNodePoolArgs{
    			ClusterId: exampleKubernetesCluster.KubernetesClusterId,
    			MaxSize:   pulumi.Float64(6),
    			MinSize:   pulumi.Float64(1),
    			VpcId:     pulumi.String(vpc.InstanceLists[0].VpcId),
    			SubnetIds: pulumi.StringArray{
    				pulumi.String(vpc.InstanceLists[0].SubnetId),
    			},
    			RetryPolicy:           pulumi.String("INCREMENTAL_INTERVALS"),
    			DesiredCapacity:       pulumi.Float64(4),
    			EnableAutoScale:       pulumi.Bool(true),
    			MultiZoneSubnetPolicy: pulumi.String("EQUALITY"),
    			NodeOs:                pulumi.String("img-9qrfy1xt"),
    			AutoScalingConfig: &tencentcloud.KubernetesNodePoolAutoScalingConfigArgs{
    				InstanceType:   pulumi.String(defaultInstanceType),
    				SystemDiskType: pulumi.String("CLOUD_PREMIUM"),
    				SystemDiskSize: pulumi.Float64(50),
    				OrderlySecurityGroupIds: pulumi.StringArray{
    					pulumi.String("sg-24vswocp"),
    				},
    				DataDisks: tencentcloud.KubernetesNodePoolAutoScalingConfigDataDiskArray{
    					&tencentcloud.KubernetesNodePoolAutoScalingConfigDataDiskArgs{
    						DiskType: pulumi.String("CLOUD_PREMIUM"),
    						DiskSize: pulumi.Float64(50),
    					},
    				},
    				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    				InternetMaxBandwidthOut: pulumi.Float64(10),
    				PublicIpAssigned:        pulumi.Bool(true),
    				Password:                pulumi.String("Password@123"),
    				EnhancedSecurityService: pulumi.Bool(false),
    				EnhancedMonitorService:  pulumi.Bool(false),
    				HostName:                pulumi.String("12.123.0.0"),
    				HostNameStyle:           pulumi.String("ORIGINAL"),
    			},
    			Labels: pulumi.StringMap{
    				"test1": pulumi.String("test1"),
    				"test2": pulumi.String("test2"),
    			},
    			Taints: tencentcloud.KubernetesNodePoolTaintArray{
    				&tencentcloud.KubernetesNodePoolTaintArgs{
    					Key:    pulumi.String("test_taint"),
    					Value:  pulumi.String("taint_value"),
    					Effect: pulumi.String("PreferNoSchedule"),
    				},
    				&tencentcloud.KubernetesNodePoolTaintArgs{
    					Key:    pulumi.String("test_taint2"),
    					Value:  pulumi.String("taint_value2"),
    					Effect: pulumi.String("PreferNoSchedule"),
    				},
    			},
    			NodeConfig: &tencentcloud.KubernetesNodePoolNodeConfigArgs{
    				DockerGraphPath: pulumi.String("/var/lib/docker"),
    				ExtraArgs: pulumi.StringArray{
    					pulumi.String("root-dir=/var/lib/kubelet"),
    				},
    			},
    		})
    		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 config = new Config();
        var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
        var clusterCidr = config.Get("clusterCidr") ?? "172.31.0.0/16";
        var vpc = Tencentcloud.GetVpcSubnets.Invoke(new()
        {
            IsDefault = true,
            AvailabilityZone = availabilityZone,
        });
    
        var defaultInstanceType = config.Get("defaultInstanceType") ?? "S1.SMALL1";
        //this is the cluster with empty worker config
        var exampleKubernetesCluster = new Tencentcloud.KubernetesCluster("exampleKubernetesCluster", new()
        {
            VpcId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.VpcId),
            ClusterCidr = clusterCidr,
            ClusterMaxPodNum = 32,
            ClusterName = "tf-tke-unit-test",
            ClusterDesc = "test cluster desc",
            ClusterMaxServiceNum = 32,
            ClusterVersion = "1.18.4",
            ClusterDeployType = "MANAGED_CLUSTER",
        });
    
        //this is one example of managing node using node pool
        var exampleKubernetesNodePool = new Tencentcloud.KubernetesNodePool("exampleKubernetesNodePool", new()
        {
            ClusterId = exampleKubernetesCluster.KubernetesClusterId,
            MaxSize = 6,
            MinSize = 1,
            VpcId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.VpcId),
            SubnetIds = new[]
            {
                vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.SubnetId),
            },
            RetryPolicy = "INCREMENTAL_INTERVALS",
            DesiredCapacity = 4,
            EnableAutoScale = true,
            MultiZoneSubnetPolicy = "EQUALITY",
            NodeOs = "img-9qrfy1xt",
            AutoScalingConfig = new Tencentcloud.Inputs.KubernetesNodePoolAutoScalingConfigArgs
            {
                InstanceType = defaultInstanceType,
                SystemDiskType = "CLOUD_PREMIUM",
                SystemDiskSize = 50,
                OrderlySecurityGroupIds = new[]
                {
                    "sg-24vswocp",
                },
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesNodePoolAutoScalingConfigDataDiskArgs
                    {
                        DiskType = "CLOUD_PREMIUM",
                        DiskSize = 50,
                    },
                },
                InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut = 10,
                PublicIpAssigned = true,
                Password = "Password@123",
                EnhancedSecurityService = false,
                EnhancedMonitorService = false,
                HostName = "12.123.0.0",
                HostNameStyle = "ORIGINAL",
            },
            Labels = 
            {
                { "test1", "test1" },
                { "test2", "test2" },
            },
            Taints = new[]
            {
                new Tencentcloud.Inputs.KubernetesNodePoolTaintArgs
                {
                    Key = "test_taint",
                    Value = "taint_value",
                    Effect = "PreferNoSchedule",
                },
                new Tencentcloud.Inputs.KubernetesNodePoolTaintArgs
                {
                    Key = "test_taint2",
                    Value = "taint_value2",
                    Effect = "PreferNoSchedule",
                },
            },
            NodeConfig = new Tencentcloud.Inputs.KubernetesNodePoolNodeConfigArgs
            {
                DockerGraphPath = "/var/lib/docker",
                ExtraArgs = new[]
                {
                    "root-dir=/var/lib/kubelet",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetVpcSubnetsArgs;
    import com.pulumi.tencentcloud.KubernetesCluster;
    import com.pulumi.tencentcloud.KubernetesClusterArgs;
    import com.pulumi.tencentcloud.KubernetesNodePool;
    import com.pulumi.tencentcloud.KubernetesNodePoolArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolAutoScalingConfigArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolTaintArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolNodeConfigArgs;
    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) {
            final var config = ctx.config();
            final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
            final var clusterCidr = config.get("clusterCidr").orElse("172.31.0.0/16");
            final var vpc = TencentcloudFunctions.getVpcSubnets(GetVpcSubnetsArgs.builder()
                .isDefault(true)
                .availabilityZone(availabilityZone)
                .build());
    
            final var defaultInstanceType = config.get("defaultInstanceType").orElse("S1.SMALL1");
            //this is the cluster with empty worker config
            var exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()
                .vpcId(vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].vpcId()))
                .clusterCidr(clusterCidr)
                .clusterMaxPodNum(32)
                .clusterName("tf-tke-unit-test")
                .clusterDesc("test cluster desc")
                .clusterMaxServiceNum(32)
                .clusterVersion("1.18.4")
                .clusterDeployType("MANAGED_CLUSTER")
                .build());
    
            //this is one example of managing node using node pool
            var exampleKubernetesNodePool = new KubernetesNodePool("exampleKubernetesNodePool", KubernetesNodePoolArgs.builder()
                .clusterId(exampleKubernetesCluster.kubernetesClusterId())
                .maxSize(6)
                .minSize(1)
                .vpcId(vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].vpcId()))
                .subnetIds(vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].subnetId()))
                .retryPolicy("INCREMENTAL_INTERVALS")
                .desiredCapacity(4)
                .enableAutoScale(true)
                .multiZoneSubnetPolicy("EQUALITY")
                .nodeOs("img-9qrfy1xt")
                .autoScalingConfig(KubernetesNodePoolAutoScalingConfigArgs.builder()
                    .instanceType(defaultInstanceType)
                    .systemDiskType("CLOUD_PREMIUM")
                    .systemDiskSize("50")
                    .orderlySecurityGroupIds("sg-24vswocp")
                    .dataDisks(KubernetesNodePoolAutoScalingConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .build())
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(10)
                    .publicIpAssigned(true)
                    .password("Password@123")
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .hostName("12.123.0.0")
                    .hostNameStyle("ORIGINAL")
                    .build())
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .taints(            
                    KubernetesNodePoolTaintArgs.builder()
                        .key("test_taint")
                        .value("taint_value")
                        .effect("PreferNoSchedule")
                        .build(),
                    KubernetesNodePoolTaintArgs.builder()
                        .key("test_taint2")
                        .value("taint_value2")
                        .effect("PreferNoSchedule")
                        .build())
                .nodeConfig(KubernetesNodePoolNodeConfigArgs.builder()
                    .dockerGraphPath("/var/lib/docker")
                    .extraArgs("root-dir=/var/lib/kubelet")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: string
        default: ap-guangzhou-3
      clusterCidr:
        type: string
        default: 172.31.0.0/16
      defaultInstanceType:
        type: string
        default: S1.SMALL1
    resources:
      # this is the cluster with empty worker config
      exampleKubernetesCluster:
        type: tencentcloud:KubernetesCluster
        properties:
          vpcId: ${vpc.instanceLists[0].vpcId}
          clusterCidr: ${clusterCidr}
          clusterMaxPodNum: 32
          clusterName: tf-tke-unit-test
          clusterDesc: test cluster desc
          clusterMaxServiceNum: 32
          clusterVersion: 1.18.4
          clusterDeployType: MANAGED_CLUSTER
      # this is one example of managing node using node pool
      exampleKubernetesNodePool:
        type: tencentcloud:KubernetesNodePool
        properties:
          clusterId: ${exampleKubernetesCluster.kubernetesClusterId}
          maxSize: 6
          minSize: 1
          vpcId: ${vpc.instanceLists[0].vpcId}
          subnetIds:
            - ${vpc.instanceLists[0].subnetId}
          retryPolicy: INCREMENTAL_INTERVALS
          desiredCapacity: 4
          enableAutoScale: true
          multiZoneSubnetPolicy: EQUALITY
          nodeOs: img-9qrfy1xt
          autoScalingConfig:
            instanceType: ${defaultInstanceType}
            systemDiskType: CLOUD_PREMIUM
            systemDiskSize: '50'
            orderlySecurityGroupIds:
              - sg-24vswocp
            dataDisks:
              - diskType: CLOUD_PREMIUM
                diskSize: 50
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 10
            publicIpAssigned: true
            password: Password@123
            enhancedSecurityService: false
            enhancedMonitorService: false
            hostName: 12.123.0.0
            hostNameStyle: ORIGINAL
          labels:
            test1: test1
            test2: test2
          taints:
            - key: test_taint
              value: taint_value
              effect: PreferNoSchedule
            - key: test_taint2
              value: taint_value2
              effect: PreferNoSchedule
          nodeConfig:
            dockerGraphPath: /var/lib/docker
            extraArgs:
              - root-dir=/var/lib/kubelet
    variables:
      vpc:
        fn::invoke:
          function: tencentcloud:getVpcSubnets
          arguments:
            isDefault: true
            availabilityZone: ${availabilityZone}
    

    Using Spot CVM Instance

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesNodePool("example", {
        clusterId: tencentcloud_kubernetes_cluster.managed_cluster.id,
        maxSize: 6,
        minSize: 1,
        vpcId: data.tencentcloud_vpc_subnets.vpc.instance_list[0].vpc_id,
        subnetIds: [data.tencentcloud_vpc_subnets.vpc.instance_list[0].subnet_id],
        retryPolicy: "INCREMENTAL_INTERVALS",
        desiredCapacity: 4,
        enableAutoScale: true,
        multiZoneSubnetPolicy: "EQUALITY",
        autoScalingConfig: {
            instanceType: _var.default_instance_type,
            systemDiskType: "CLOUD_PREMIUM",
            systemDiskSize: 50,
            orderlySecurityGroupIds: [
                "sg-24vswocp",
                "sg-3qntci2v",
                "sg-7y1t2wax",
            ],
            instanceChargeType: "SPOTPAID",
            spotInstanceType: "one-time",
            spotMaxPrice: "1000",
            dataDisks: [{
                diskType: "CLOUD_PREMIUM",
                diskSize: 50,
            }],
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 10,
            publicIpAssigned: true,
            password: "Password@123",
            enhancedSecurityService: false,
            enhancedMonitorService: false,
        },
        labels: {
            test1: "test1",
            test2: "test2",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesNodePool("example",
        cluster_id=tencentcloud_kubernetes_cluster["managed_cluster"]["id"],
        max_size=6,
        min_size=1,
        vpc_id=data["tencentcloud_vpc_subnets"]["vpc"]["instance_list"][0]["vpc_id"],
        subnet_ids=[data["tencentcloud_vpc_subnets"]["vpc"]["instance_list"][0]["subnet_id"]],
        retry_policy="INCREMENTAL_INTERVALS",
        desired_capacity=4,
        enable_auto_scale=True,
        multi_zone_subnet_policy="EQUALITY",
        auto_scaling_config={
            "instance_type": var["default_instance_type"],
            "system_disk_type": "CLOUD_PREMIUM",
            "system_disk_size": 50,
            "orderly_security_group_ids": [
                "sg-24vswocp",
                "sg-3qntci2v",
                "sg-7y1t2wax",
            ],
            "instance_charge_type": "SPOTPAID",
            "spot_instance_type": "one-time",
            "spot_max_price": "1000",
            "data_disks": [{
                "disk_type": "CLOUD_PREMIUM",
                "disk_size": 50,
            }],
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 10,
            "public_ip_assigned": True,
            "password": "Password@123",
            "enhanced_security_service": False,
            "enhanced_monitor_service": False,
        },
        labels={
            "test1": "test1",
            "test2": "test2",
        })
    
    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.NewKubernetesNodePool(ctx, "example", &tencentcloud.KubernetesNodePoolArgs{
    			ClusterId: pulumi.Any(tencentcloud_kubernetes_cluster.Managed_cluster.Id),
    			MaxSize:   pulumi.Float64(6),
    			MinSize:   pulumi.Float64(1),
    			VpcId:     pulumi.Any(data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Vpc_id),
    			SubnetIds: pulumi.StringArray{
    				data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Subnet_id,
    			},
    			RetryPolicy:           pulumi.String("INCREMENTAL_INTERVALS"),
    			DesiredCapacity:       pulumi.Float64(4),
    			EnableAutoScale:       pulumi.Bool(true),
    			MultiZoneSubnetPolicy: pulumi.String("EQUALITY"),
    			AutoScalingConfig: &tencentcloud.KubernetesNodePoolAutoScalingConfigArgs{
    				InstanceType:   pulumi.Any(_var.Default_instance_type),
    				SystemDiskType: pulumi.String("CLOUD_PREMIUM"),
    				SystemDiskSize: pulumi.Float64(50),
    				OrderlySecurityGroupIds: pulumi.StringArray{
    					pulumi.String("sg-24vswocp"),
    					pulumi.String("sg-3qntci2v"),
    					pulumi.String("sg-7y1t2wax"),
    				},
    				InstanceChargeType: pulumi.String("SPOTPAID"),
    				SpotInstanceType:   pulumi.String("one-time"),
    				SpotMaxPrice:       pulumi.String("1000"),
    				DataDisks: tencentcloud.KubernetesNodePoolAutoScalingConfigDataDiskArray{
    					&tencentcloud.KubernetesNodePoolAutoScalingConfigDataDiskArgs{
    						DiskType: pulumi.String("CLOUD_PREMIUM"),
    						DiskSize: pulumi.Float64(50),
    					},
    				},
    				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    				InternetMaxBandwidthOut: pulumi.Float64(10),
    				PublicIpAssigned:        pulumi.Bool(true),
    				Password:                pulumi.String("Password@123"),
    				EnhancedSecurityService: pulumi.Bool(false),
    				EnhancedMonitorService:  pulumi.Bool(false),
    			},
    			Labels: pulumi.StringMap{
    				"test1": pulumi.String("test1"),
    				"test2": pulumi.String("test2"),
    			},
    		})
    		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 example = new Tencentcloud.KubernetesNodePool("example", new()
        {
            ClusterId = tencentcloud_kubernetes_cluster.Managed_cluster.Id,
            MaxSize = 6,
            MinSize = 1,
            VpcId = data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Vpc_id,
            SubnetIds = new[]
            {
                data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Subnet_id,
            },
            RetryPolicy = "INCREMENTAL_INTERVALS",
            DesiredCapacity = 4,
            EnableAutoScale = true,
            MultiZoneSubnetPolicy = "EQUALITY",
            AutoScalingConfig = new Tencentcloud.Inputs.KubernetesNodePoolAutoScalingConfigArgs
            {
                InstanceType = @var.Default_instance_type,
                SystemDiskType = "CLOUD_PREMIUM",
                SystemDiskSize = 50,
                OrderlySecurityGroupIds = new[]
                {
                    "sg-24vswocp",
                    "sg-3qntci2v",
                    "sg-7y1t2wax",
                },
                InstanceChargeType = "SPOTPAID",
                SpotInstanceType = "one-time",
                SpotMaxPrice = "1000",
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesNodePoolAutoScalingConfigDataDiskArgs
                    {
                        DiskType = "CLOUD_PREMIUM",
                        DiskSize = 50,
                    },
                },
                InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut = 10,
                PublicIpAssigned = true,
                Password = "Password@123",
                EnhancedSecurityService = false,
                EnhancedMonitorService = false,
            },
            Labels = 
            {
                { "test1", "test1" },
                { "test2", "test2" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesNodePool;
    import com.pulumi.tencentcloud.KubernetesNodePoolArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolAutoScalingConfigArgs;
    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 example = new KubernetesNodePool("example", KubernetesNodePoolArgs.builder()
                .clusterId(tencentcloud_kubernetes_cluster.managed_cluster().id())
                .maxSize(6)
                .minSize(1)
                .vpcId(data.tencentcloud_vpc_subnets().vpc().instance_list()[0].vpc_id())
                .subnetIds(data.tencentcloud_vpc_subnets().vpc().instance_list()[0].subnet_id())
                .retryPolicy("INCREMENTAL_INTERVALS")
                .desiredCapacity(4)
                .enableAutoScale(true)
                .multiZoneSubnetPolicy("EQUALITY")
                .autoScalingConfig(KubernetesNodePoolAutoScalingConfigArgs.builder()
                    .instanceType(var_.default_instance_type())
                    .systemDiskType("CLOUD_PREMIUM")
                    .systemDiskSize("50")
                    .orderlySecurityGroupIds(                
                        "sg-24vswocp",
                        "sg-3qntci2v",
                        "sg-7y1t2wax")
                    .instanceChargeType("SPOTPAID")
                    .spotInstanceType("one-time")
                    .spotMaxPrice("1000")
                    .dataDisks(KubernetesNodePoolAutoScalingConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .build())
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(10)
                    .publicIpAssigned(true)
                    .password("Password@123")
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .build())
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesNodePool
        properties:
          clusterId: ${tencentcloud_kubernetes_cluster.managed_cluster.id}
          maxSize: 6
          minSize: 1
          vpcId: ${data.tencentcloud_vpc_subnets.vpc.instance_list[0].vpc_id}
          subnetIds:
            - ${data.tencentcloud_vpc_subnets.vpc.instance_list[0].subnet_id}
          retryPolicy: INCREMENTAL_INTERVALS
          desiredCapacity: 4
          enableAutoScale: true
          multiZoneSubnetPolicy: EQUALITY
          autoScalingConfig:
            instanceType: ${var.default_instance_type}
            systemDiskType: CLOUD_PREMIUM
            systemDiskSize: '50'
            orderlySecurityGroupIds:
              - sg-24vswocp
              - sg-3qntci2v
              - sg-7y1t2wax
            instanceChargeType: SPOTPAID
            spotInstanceType: one-time
            spotMaxPrice: '1000'
            dataDisks:
              - diskType: CLOUD_PREMIUM
                diskSize: 50
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 10
            publicIpAssigned: true
            password: Password@123
            enhancedSecurityService: false
            enhancedMonitorService: false
          labels:
            test1: test1
            test2: test2
    

    If instance_type is CBM

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesNodePool("example", {
        autoScalingConfig: {
            enhancedMonitorService: false,
            enhancedSecurityService: false,
            hostName: "example",
            hostNameStyle: "ORIGINAL",
            instanceType: "BMI5.24XLARGE384",
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 10,
            orderlySecurityGroupIds: ["sg-4z20n68d"],
            password: "Password@123",
            publicIpAssigned: true,
            systemDiskSize: 440,
            systemDiskType: "LOCAL_BASIC",
        },
        clusterId: "cls-23ieal0c",
        deleteKeepInstance: false,
        enableAutoScale: true,
        maxSize: 100,
        minSize: 1,
        multiZoneSubnetPolicy: "EQUALITY",
        nodeConfig: {
            dataDisks: [
                {
                    diskSize: 3570,
                    diskType: "LOCAL_NVME",
                    fileSystem: "ext4",
                    mountTarget: "/var/lib/data1",
                },
                {
                    diskSize: 3570,
                    diskType: "LOCAL_NVME",
                    fileSystem: "ext4",
                    mountTarget: "/var/lib/data2",
                },
            ],
        },
        nodeOs: "img-eb30mz89",
        retryPolicy: "INCREMENTAL_INTERVALS",
        subnetIds: ["subnet-d4umunpy"],
        vpcId: "vpc-i5yyodl9",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesNodePool("example",
        auto_scaling_config={
            "enhanced_monitor_service": False,
            "enhanced_security_service": False,
            "host_name": "example",
            "host_name_style": "ORIGINAL",
            "instance_type": "BMI5.24XLARGE384",
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 10,
            "orderly_security_group_ids": ["sg-4z20n68d"],
            "password": "Password@123",
            "public_ip_assigned": True,
            "system_disk_size": 440,
            "system_disk_type": "LOCAL_BASIC",
        },
        cluster_id="cls-23ieal0c",
        delete_keep_instance=False,
        enable_auto_scale=True,
        max_size=100,
        min_size=1,
        multi_zone_subnet_policy="EQUALITY",
        node_config={
            "data_disks": [
                {
                    "disk_size": 3570,
                    "disk_type": "LOCAL_NVME",
                    "file_system": "ext4",
                    "mount_target": "/var/lib/data1",
                },
                {
                    "disk_size": 3570,
                    "disk_type": "LOCAL_NVME",
                    "file_system": "ext4",
                    "mount_target": "/var/lib/data2",
                },
            ],
        },
        node_os="img-eb30mz89",
        retry_policy="INCREMENTAL_INTERVALS",
        subnet_ids=["subnet-d4umunpy"],
        vpc_id="vpc-i5yyodl9")
    
    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.NewKubernetesNodePool(ctx, "example", &tencentcloud.KubernetesNodePoolArgs{
    			AutoScalingConfig: &tencentcloud.KubernetesNodePoolAutoScalingConfigArgs{
    				EnhancedMonitorService:  pulumi.Bool(false),
    				EnhancedSecurityService: pulumi.Bool(false),
    				HostName:                pulumi.String("example"),
    				HostNameStyle:           pulumi.String("ORIGINAL"),
    				InstanceType:            pulumi.String("BMI5.24XLARGE384"),
    				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    				InternetMaxBandwidthOut: pulumi.Float64(10),
    				OrderlySecurityGroupIds: pulumi.StringArray{
    					pulumi.String("sg-4z20n68d"),
    				},
    				Password:         pulumi.String("Password@123"),
    				PublicIpAssigned: pulumi.Bool(true),
    				SystemDiskSize:   pulumi.Float64(440),
    				SystemDiskType:   pulumi.String("LOCAL_BASIC"),
    			},
    			ClusterId:             pulumi.String("cls-23ieal0c"),
    			DeleteKeepInstance:    pulumi.Bool(false),
    			EnableAutoScale:       pulumi.Bool(true),
    			MaxSize:               pulumi.Float64(100),
    			MinSize:               pulumi.Float64(1),
    			MultiZoneSubnetPolicy: pulumi.String("EQUALITY"),
    			NodeConfig: &tencentcloud.KubernetesNodePoolNodeConfigArgs{
    				DataDisks: tencentcloud.KubernetesNodePoolNodeConfigDataDiskArray{
    					&tencentcloud.KubernetesNodePoolNodeConfigDataDiskArgs{
    						DiskSize:    pulumi.Float64(3570),
    						DiskType:    pulumi.String("LOCAL_NVME"),
    						FileSystem:  pulumi.String("ext4"),
    						MountTarget: pulumi.String("/var/lib/data1"),
    					},
    					&tencentcloud.KubernetesNodePoolNodeConfigDataDiskArgs{
    						DiskSize:    pulumi.Float64(3570),
    						DiskType:    pulumi.String("LOCAL_NVME"),
    						FileSystem:  pulumi.String("ext4"),
    						MountTarget: pulumi.String("/var/lib/data2"),
    					},
    				},
    			},
    			NodeOs:      pulumi.String("img-eb30mz89"),
    			RetryPolicy: pulumi.String("INCREMENTAL_INTERVALS"),
    			SubnetIds: pulumi.StringArray{
    				pulumi.String("subnet-d4umunpy"),
    			},
    			VpcId: pulumi.String("vpc-i5yyodl9"),
    		})
    		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 example = new Tencentcloud.KubernetesNodePool("example", new()
        {
            AutoScalingConfig = new Tencentcloud.Inputs.KubernetesNodePoolAutoScalingConfigArgs
            {
                EnhancedMonitorService = false,
                EnhancedSecurityService = false,
                HostName = "example",
                HostNameStyle = "ORIGINAL",
                InstanceType = "BMI5.24XLARGE384",
                InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut = 10,
                OrderlySecurityGroupIds = new[]
                {
                    "sg-4z20n68d",
                },
                Password = "Password@123",
                PublicIpAssigned = true,
                SystemDiskSize = 440,
                SystemDiskType = "LOCAL_BASIC",
            },
            ClusterId = "cls-23ieal0c",
            DeleteKeepInstance = false,
            EnableAutoScale = true,
            MaxSize = 100,
            MinSize = 1,
            MultiZoneSubnetPolicy = "EQUALITY",
            NodeConfig = new Tencentcloud.Inputs.KubernetesNodePoolNodeConfigArgs
            {
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesNodePoolNodeConfigDataDiskArgs
                    {
                        DiskSize = 3570,
                        DiskType = "LOCAL_NVME",
                        FileSystem = "ext4",
                        MountTarget = "/var/lib/data1",
                    },
                    new Tencentcloud.Inputs.KubernetesNodePoolNodeConfigDataDiskArgs
                    {
                        DiskSize = 3570,
                        DiskType = "LOCAL_NVME",
                        FileSystem = "ext4",
                        MountTarget = "/var/lib/data2",
                    },
                },
            },
            NodeOs = "img-eb30mz89",
            RetryPolicy = "INCREMENTAL_INTERVALS",
            SubnetIds = new[]
            {
                "subnet-d4umunpy",
            },
            VpcId = "vpc-i5yyodl9",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesNodePool;
    import com.pulumi.tencentcloud.KubernetesNodePoolArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolAutoScalingConfigArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolNodeConfigArgs;
    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 example = new KubernetesNodePool("example", KubernetesNodePoolArgs.builder()
                .autoScalingConfig(KubernetesNodePoolAutoScalingConfigArgs.builder()
                    .enhancedMonitorService(false)
                    .enhancedSecurityService(false)
                    .hostName("example")
                    .hostNameStyle("ORIGINAL")
                    .instanceType("BMI5.24XLARGE384")
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(10)
                    .orderlySecurityGroupIds("sg-4z20n68d")
                    .password("Password@123")
                    .publicIpAssigned(true)
                    .systemDiskSize("440")
                    .systemDiskType("LOCAL_BASIC")
                    .build())
                .clusterId("cls-23ieal0c")
                .deleteKeepInstance(false)
                .enableAutoScale(true)
                .maxSize(100)
                .minSize(1)
                .multiZoneSubnetPolicy("EQUALITY")
                .nodeConfig(KubernetesNodePoolNodeConfigArgs.builder()
                    .dataDisks(                
                        KubernetesNodePoolNodeConfigDataDiskArgs.builder()
                            .diskSize(3570)
                            .diskType("LOCAL_NVME")
                            .fileSystem("ext4")
                            .mountTarget("/var/lib/data1")
                            .build(),
                        KubernetesNodePoolNodeConfigDataDiskArgs.builder()
                            .diskSize(3570)
                            .diskType("LOCAL_NVME")
                            .fileSystem("ext4")
                            .mountTarget("/var/lib/data2")
                            .build())
                    .build())
                .nodeOs("img-eb30mz89")
                .retryPolicy("INCREMENTAL_INTERVALS")
                .subnetIds("subnet-d4umunpy")
                .vpcId("vpc-i5yyodl9")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesNodePool
        properties:
          autoScalingConfig:
            enhancedMonitorService: false
            enhancedSecurityService: false
            hostName: example
            hostNameStyle: ORIGINAL
            instanceType: BMI5.24XLARGE384
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 10
            orderlySecurityGroupIds:
              - sg-4z20n68d
            password: Password@123
            publicIpAssigned: true
            systemDiskSize: '440'
            systemDiskType: LOCAL_BASIC
          clusterId: cls-23ieal0c
          deleteKeepInstance: false
          enableAutoScale: true
          maxSize: 100
          minSize: 1
          multiZoneSubnetPolicy: EQUALITY
          nodeConfig:
            dataDisks:
              - diskSize: 3570
                diskType: LOCAL_NVME
                fileSystem: ext4
                mountTarget: /var/lib/data1
              - diskSize: 3570
                diskType: LOCAL_NVME
                fileSystem: ext4
                mountTarget: /var/lib/data2
          nodeOs: img-eb30mz89
          retryPolicy: INCREMENTAL_INTERVALS
          subnetIds:
            - subnet-d4umunpy
          vpcId: vpc-i5yyodl9
    

    Wait for all scaling nodes to be ready with wait_node_ready and scale_tolerance parameters. The default maximum scaling timeout is 30 minutes.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesNodePool;
    import com.pulumi.tencentcloud.KubernetesNodePoolArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolAutoScalingConfigArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolTaintArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNodePoolNodeConfigArgs;
    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 example = new KubernetesNodePool("example", KubernetesNodePoolArgs.builder()
                .clusterId(tencentcloud_kubernetes_cluster.managed_cluster().id())
                .maxSize(100)
                .minSize(1)
                .vpcId(data.tencentcloud_vpc_subnets().vpc().instance_list()[0].vpc_id())
                .subnetIds(data.tencentcloud_vpc_subnets().vpc().instance_list()[0].subnet_id())
                .retryPolicy("INCREMENTAL_INTERVALS")
                .desiredCapacity(50)
                .enableAutoScale(false)
                .waitNodeReady(true)
                .scaleTolerance(90)
                .multiZoneSubnetPolicy("EQUALITY")
                .nodeOs("img-6n21msk1")
                .deleteKeepInstance(false)
                .autoScalingConfig(KubernetesNodePoolAutoScalingConfigArgs.builder()
                    .instanceType(var_.default_instance_type())
                    .systemDiskType("CLOUD_PREMIUM")
                    .systemDiskSize("50")
                    .orderlySecurityGroupIds("sg-bw28gmso")
                    .dataDisks(KubernetesNodePoolAutoScalingConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .deleteWithInstance(true)
                        .build())
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(10)
                    .publicIpAssigned(true)
                    .password("test123#")
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .hostName("12.123.0.0")
                    .hostNameStyle("ORIGINAL")
                    .build())
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .taints(            
                    KubernetesNodePoolTaintArgs.builder()
                        .key("test_taint")
                        .value("taint_value")
                        .effect("PreferNoSchedule")
                        .build(),
                    KubernetesNodePoolTaintArgs.builder()
                        .key("test_taint2")
                        .value("taint_value2")
                        .effect("PreferNoSchedule")
                        .build())
                .nodeConfig(KubernetesNodePoolNodeConfigArgs.builder()
                    .dockerGraphPath("/var/lib/docker")
                    .extraArgs("root-dir=/var/lib/kubelet")
                    .build())
                .timeouts(KubernetesNodePoolTimeoutsArgs.builder()
                    .create("30m")
                    .update("30m")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesNodePool
        properties:
          clusterId: ${tencentcloud_kubernetes_cluster.managed_cluster.id}
          maxSize: 100
          minSize: 1
          vpcId: ${data.tencentcloud_vpc_subnets.vpc.instance_list[0].vpc_id}
          subnetIds:
            - ${data.tencentcloud_vpc_subnets.vpc.instance_list[0].subnet_id}
          retryPolicy: INCREMENTAL_INTERVALS
          desiredCapacity: 50
          enableAutoScale: false
          waitNodeReady: true
          scaleTolerance: 90
          multiZoneSubnetPolicy: EQUALITY
          nodeOs: img-6n21msk1
          deleteKeepInstance: false
          autoScalingConfig:
            instanceType: ${var.default_instance_type}
            systemDiskType: CLOUD_PREMIUM
            systemDiskSize: '50'
            orderlySecurityGroupIds:
              - sg-bw28gmso
            dataDisks:
              - diskType: CLOUD_PREMIUM
                diskSize: 50
                deleteWithInstance: true
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 10
            publicIpAssigned: true
            password: test123#
            enhancedSecurityService: false
            enhancedMonitorService: false
            hostName: 12.123.0.0
            hostNameStyle: ORIGINAL
          labels:
            test1: test1
            test2: test2
          taints:
            - key: test_taint
              value: taint_value
              effect: PreferNoSchedule
            - key: test_taint2
              value: taint_value2
              effect: PreferNoSchedule
          nodeConfig:
            dockerGraphPath: /var/lib/docker
            extraArgs:
              - root-dir=/var/lib/kubelet
          timeouts:
            - create: 30m
              update: 30m
    

    Create KubernetesNodePool Resource

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

    Constructor syntax

    new KubernetesNodePool(name: string, args: KubernetesNodePoolArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesNodePool(resource_name: str,
                           args: KubernetesNodePoolArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesNodePool(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           max_size: Optional[float] = None,
                           auto_scaling_config: Optional[KubernetesNodePoolAutoScalingConfigArgs] = None,
                           vpc_id: Optional[str] = None,
                           cluster_id: Optional[str] = None,
                           min_size: Optional[float] = None,
                           node_os: Optional[str] = None,
                           retry_policy: Optional[str] = None,
                           desired_capacity: Optional[float] = None,
                           enable_auto_scale: Optional[bool] = None,
                           kubernetes_node_pool_id: Optional[str] = None,
                           labels: Optional[Mapping[str, str]] = None,
                           delete_keep_instance: Optional[bool] = None,
                           default_cooldown: Optional[float] = None,
                           multi_zone_subnet_policy: Optional[str] = None,
                           name: Optional[str] = None,
                           node_config: Optional[KubernetesNodePoolNodeConfigArgs] = None,
                           annotations: Optional[Sequence[KubernetesNodePoolAnnotationArgs]] = None,
                           node_os_type: Optional[str] = None,
                           deletion_protection: Optional[bool] = None,
                           scale_tolerance: Optional[float] = None,
                           scaling_group_name: Optional[str] = None,
                           scaling_group_project_id: Optional[float] = None,
                           scaling_mode: Optional[str] = None,
                           subnet_ids: Optional[Sequence[str]] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           taints: Optional[Sequence[KubernetesNodePoolTaintArgs]] = None,
                           termination_policies: Optional[Sequence[str]] = None,
                           timeouts: Optional[KubernetesNodePoolTimeoutsArgs] = None,
                           unschedulable: Optional[float] = None,
                           auto_update_instance_tags: Optional[bool] = None,
                           wait_node_ready: Optional[bool] = None,
                           zones: Optional[Sequence[str]] = None)
    func NewKubernetesNodePool(ctx *Context, name string, args KubernetesNodePoolArgs, opts ...ResourceOption) (*KubernetesNodePool, error)
    public KubernetesNodePool(string name, KubernetesNodePoolArgs args, CustomResourceOptions? opts = null)
    public KubernetesNodePool(String name, KubernetesNodePoolArgs args)
    public KubernetesNodePool(String name, KubernetesNodePoolArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesNodePool
    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 KubernetesNodePoolArgs
    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 KubernetesNodePoolArgs
    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 KubernetesNodePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesNodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesNodePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AutoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    ClusterId string
    ID of the cluster.
    MaxSize double
    Maximum number of node.
    MinSize double
    Minimum number of node.
    VpcId string
    ID of VPC network.
    Annotations List<KubernetesNodePoolAnnotation>
    Node Annotation List.
    AutoUpdateInstanceTags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    DefaultCooldown double
    Seconds of scaling group cool down. Default value is 300.
    DeleteKeepInstance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    DeletionProtection bool
    Indicates whether the node pool deletion protection is enabled.
    DesiredCapacity double
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    EnableAutoScale bool
    Indicate whether to enable auto scaling or not.
    KubernetesNodePoolId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    MultiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    Name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    NodeConfig KubernetesNodePoolNodeConfig
    Node config.
    NodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    NodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    ScaleTolerance double
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    ScalingGroupName string
    Name of relative scaling group.
    ScalingGroupProjectId double
    Project ID the scaling group belongs to.
    ScalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    SubnetIds List<string>
    ID list of subnet, and for VPC it is required.
    Tags Dictionary<string, string>
    Node pool tag specifications, will passthroughs to the scaling instances.
    Taints List<KubernetesNodePoolTaint>
    Taints of kubernetes node pool created nodes.
    TerminationPolicies List<string>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    Timeouts KubernetesNodePoolTimeouts
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    WaitNodeReady bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    Zones List<string>
    List of auto scaling group available zones, for Basic network it is required.
    AutoScalingConfig KubernetesNodePoolAutoScalingConfigArgs
    Auto scaling config parameters.
    ClusterId string
    ID of the cluster.
    MaxSize float64
    Maximum number of node.
    MinSize float64
    Minimum number of node.
    VpcId string
    ID of VPC network.
    Annotations []KubernetesNodePoolAnnotationArgs
    Node Annotation List.
    AutoUpdateInstanceTags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    DefaultCooldown float64
    Seconds of scaling group cool down. Default value is 300.
    DeleteKeepInstance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    DeletionProtection bool
    Indicates whether the node pool deletion protection is enabled.
    DesiredCapacity float64
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    EnableAutoScale bool
    Indicate whether to enable auto scaling or not.
    KubernetesNodePoolId string
    ID of the resource.
    Labels map[string]string
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    MultiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    Name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    NodeConfig KubernetesNodePoolNodeConfigArgs
    Node config.
    NodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    NodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    ScaleTolerance float64
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    ScalingGroupName string
    Name of relative scaling group.
    ScalingGroupProjectId float64
    Project ID the scaling group belongs to.
    ScalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    SubnetIds []string
    ID list of subnet, and for VPC it is required.
    Tags map[string]string
    Node pool tag specifications, will passthroughs to the scaling instances.
    Taints []KubernetesNodePoolTaintArgs
    Taints of kubernetes node pool created nodes.
    TerminationPolicies []string
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    Timeouts KubernetesNodePoolTimeoutsArgs
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    WaitNodeReady bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    Zones []string
    List of auto scaling group available zones, for Basic network it is required.
    autoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    clusterId String
    ID of the cluster.
    maxSize Double
    Maximum number of node.
    minSize Double
    Minimum number of node.
    vpcId String
    ID of VPC network.
    annotations List<KubernetesNodePoolAnnotation>
    Node Annotation List.
    autoUpdateInstanceTags Boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    defaultCooldown Double
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance Boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection Boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity Double
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale Boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId String
    ID of the resource.
    labels Map<String,String>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    multiZoneSubnetPolicy String
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name String
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig KubernetesNodePoolNodeConfig
    Node config.
    nodeOs String
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType String
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance Double
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName String
    Name of relative scaling group.
    scalingGroupProjectId Double
    Project ID the scaling group belongs to.
    scalingMode String
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String,String>
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints List<KubernetesNodePoolTaint>
    Taints of kubernetes node pool created nodes.
    terminationPolicies List<String>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeouts
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    waitNodeReady Boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones List<String>
    List of auto scaling group available zones, for Basic network it is required.
    autoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    clusterId string
    ID of the cluster.
    maxSize number
    Maximum number of node.
    minSize number
    Minimum number of node.
    vpcId string
    ID of VPC network.
    annotations KubernetesNodePoolAnnotation[]
    Node Annotation List.
    autoUpdateInstanceTags boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    defaultCooldown number
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity number
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    multiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig KubernetesNodePoolNodeConfig
    Node config.
    nodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance number
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName string
    Name of relative scaling group.
    scalingGroupProjectId number
    Project ID the scaling group belongs to.
    scalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    subnetIds string[]
    ID list of subnet, and for VPC it is required.
    tags {[key: string]: string}
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints KubernetesNodePoolTaint[]
    Taints of kubernetes node pool created nodes.
    terminationPolicies string[]
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeouts
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    waitNodeReady boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones string[]
    List of auto scaling group available zones, for Basic network it is required.
    auto_scaling_config KubernetesNodePoolAutoScalingConfigArgs
    Auto scaling config parameters.
    cluster_id str
    ID of the cluster.
    max_size float
    Maximum number of node.
    min_size float
    Minimum number of node.
    vpc_id str
    ID of VPC network.
    annotations Sequence[KubernetesNodePoolAnnotationArgs]
    Node Annotation List.
    auto_update_instance_tags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    default_cooldown float
    Seconds of scaling group cool down. Default value is 300.
    delete_keep_instance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletion_protection bool
    Indicates whether the node pool deletion protection is enabled.
    desired_capacity float
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enable_auto_scale bool
    Indicate whether to enable auto scaling or not.
    kubernetes_node_pool_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    multi_zone_subnet_policy str
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name str
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    node_config KubernetesNodePoolNodeConfigArgs
    Node config.
    node_os str
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    node_os_type str
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retry_policy str
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scale_tolerance float
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scaling_group_name str
    Name of relative scaling group.
    scaling_group_project_id float
    Project ID the scaling group belongs to.
    scaling_mode str
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    subnet_ids Sequence[str]
    ID list of subnet, and for VPC it is required.
    tags Mapping[str, str]
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints Sequence[KubernetesNodePoolTaintArgs]
    Taints of kubernetes node pool created nodes.
    termination_policies Sequence[str]
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeoutsArgs
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    wait_node_ready bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones Sequence[str]
    List of auto scaling group available zones, for Basic network it is required.
    autoScalingConfig Property Map
    Auto scaling config parameters.
    clusterId String
    ID of the cluster.
    maxSize Number
    Maximum number of node.
    minSize Number
    Minimum number of node.
    vpcId String
    ID of VPC network.
    annotations List<Property Map>
    Node Annotation List.
    autoUpdateInstanceTags Boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    defaultCooldown Number
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance Boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection Boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity Number
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale Boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId String
    ID of the resource.
    labels Map<String>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    multiZoneSubnetPolicy String
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name String
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig Property Map
    Node config.
    nodeOs String
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType String
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance Number
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName String
    Name of relative scaling group.
    scalingGroupProjectId Number
    Project ID the scaling group belongs to.
    scalingMode String
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String>
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints List<Property Map>
    Taints of kubernetes node pool created nodes.
    terminationPolicies List<String>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts Property Map
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    waitNodeReady Boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones List<String>
    List of auto scaling group available zones, for Basic network it is required.

    Outputs

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

    AutoScalingGroupId string
    The auto scaling group ID.
    AutoscalingAddedTotal double
    The total of autoscaling added node.
    Id string
    The provider-assigned unique ID for this managed resource.
    LaunchConfigId string
    The launch config ID.
    ManuallyAddedTotal double
    The total of manually added node.
    NodeCount double
    The total node count.
    Status string
    Status of the node pool.
    AutoScalingGroupId string
    The auto scaling group ID.
    AutoscalingAddedTotal float64
    The total of autoscaling added node.
    Id string
    The provider-assigned unique ID for this managed resource.
    LaunchConfigId string
    The launch config ID.
    ManuallyAddedTotal float64
    The total of manually added node.
    NodeCount float64
    The total node count.
    Status string
    Status of the node pool.
    autoScalingGroupId String
    The auto scaling group ID.
    autoscalingAddedTotal Double
    The total of autoscaling added node.
    id String
    The provider-assigned unique ID for this managed resource.
    launchConfigId String
    The launch config ID.
    manuallyAddedTotal Double
    The total of manually added node.
    nodeCount Double
    The total node count.
    status String
    Status of the node pool.
    autoScalingGroupId string
    The auto scaling group ID.
    autoscalingAddedTotal number
    The total of autoscaling added node.
    id string
    The provider-assigned unique ID for this managed resource.
    launchConfigId string
    The launch config ID.
    manuallyAddedTotal number
    The total of manually added node.
    nodeCount number
    The total node count.
    status string
    Status of the node pool.
    auto_scaling_group_id str
    The auto scaling group ID.
    autoscaling_added_total float
    The total of autoscaling added node.
    id str
    The provider-assigned unique ID for this managed resource.
    launch_config_id str
    The launch config ID.
    manually_added_total float
    The total of manually added node.
    node_count float
    The total node count.
    status str
    Status of the node pool.
    autoScalingGroupId String
    The auto scaling group ID.
    autoscalingAddedTotal Number
    The total of autoscaling added node.
    id String
    The provider-assigned unique ID for this managed resource.
    launchConfigId String
    The launch config ID.
    manuallyAddedTotal Number
    The total of manually added node.
    nodeCount Number
    The total node count.
    status String
    Status of the node pool.

    Look up Existing KubernetesNodePool Resource

    Get an existing KubernetesNodePool 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?: KubernetesNodePoolState, opts?: CustomResourceOptions): KubernetesNodePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Sequence[KubernetesNodePoolAnnotationArgs]] = None,
            auto_scaling_config: Optional[KubernetesNodePoolAutoScalingConfigArgs] = None,
            auto_scaling_group_id: Optional[str] = None,
            auto_update_instance_tags: Optional[bool] = None,
            autoscaling_added_total: Optional[float] = None,
            cluster_id: Optional[str] = None,
            default_cooldown: Optional[float] = None,
            delete_keep_instance: Optional[bool] = None,
            deletion_protection: Optional[bool] = None,
            desired_capacity: Optional[float] = None,
            enable_auto_scale: Optional[bool] = None,
            kubernetes_node_pool_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            launch_config_id: Optional[str] = None,
            manually_added_total: Optional[float] = None,
            max_size: Optional[float] = None,
            min_size: Optional[float] = None,
            multi_zone_subnet_policy: Optional[str] = None,
            name: Optional[str] = None,
            node_config: Optional[KubernetesNodePoolNodeConfigArgs] = None,
            node_count: Optional[float] = None,
            node_os: Optional[str] = None,
            node_os_type: Optional[str] = None,
            retry_policy: Optional[str] = None,
            scale_tolerance: Optional[float] = None,
            scaling_group_name: Optional[str] = None,
            scaling_group_project_id: Optional[float] = None,
            scaling_mode: Optional[str] = None,
            status: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            taints: Optional[Sequence[KubernetesNodePoolTaintArgs]] = None,
            termination_policies: Optional[Sequence[str]] = None,
            timeouts: Optional[KubernetesNodePoolTimeoutsArgs] = None,
            unschedulable: Optional[float] = None,
            vpc_id: Optional[str] = None,
            wait_node_ready: Optional[bool] = None,
            zones: Optional[Sequence[str]] = None) -> KubernetesNodePool
    func GetKubernetesNodePool(ctx *Context, name string, id IDInput, state *KubernetesNodePoolState, opts ...ResourceOption) (*KubernetesNodePool, error)
    public static KubernetesNodePool Get(string name, Input<string> id, KubernetesNodePoolState? state, CustomResourceOptions? opts = null)
    public static KubernetesNodePool get(String name, Output<String> id, KubernetesNodePoolState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesNodePool    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:
    Annotations List<KubernetesNodePoolAnnotation>
    Node Annotation List.
    AutoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    AutoScalingGroupId string
    The auto scaling group ID.
    AutoUpdateInstanceTags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    AutoscalingAddedTotal double
    The total of autoscaling added node.
    ClusterId string
    ID of the cluster.
    DefaultCooldown double
    Seconds of scaling group cool down. Default value is 300.
    DeleteKeepInstance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    DeletionProtection bool
    Indicates whether the node pool deletion protection is enabled.
    DesiredCapacity double
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    EnableAutoScale bool
    Indicate whether to enable auto scaling or not.
    KubernetesNodePoolId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    LaunchConfigId string
    The launch config ID.
    ManuallyAddedTotal double
    The total of manually added node.
    MaxSize double
    Maximum number of node.
    MinSize double
    Minimum number of node.
    MultiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    Name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    NodeConfig KubernetesNodePoolNodeConfig
    Node config.
    NodeCount double
    The total node count.
    NodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    NodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    ScaleTolerance double
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    ScalingGroupName string
    Name of relative scaling group.
    ScalingGroupProjectId double
    Project ID the scaling group belongs to.
    ScalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    Status string
    Status of the node pool.
    SubnetIds List<string>
    ID list of subnet, and for VPC it is required.
    Tags Dictionary<string, string>
    Node pool tag specifications, will passthroughs to the scaling instances.
    Taints List<KubernetesNodePoolTaint>
    Taints of kubernetes node pool created nodes.
    TerminationPolicies List<string>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    Timeouts KubernetesNodePoolTimeouts
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    VpcId string
    ID of VPC network.
    WaitNodeReady bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    Zones List<string>
    List of auto scaling group available zones, for Basic network it is required.
    Annotations []KubernetesNodePoolAnnotationArgs
    Node Annotation List.
    AutoScalingConfig KubernetesNodePoolAutoScalingConfigArgs
    Auto scaling config parameters.
    AutoScalingGroupId string
    The auto scaling group ID.
    AutoUpdateInstanceTags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    AutoscalingAddedTotal float64
    The total of autoscaling added node.
    ClusterId string
    ID of the cluster.
    DefaultCooldown float64
    Seconds of scaling group cool down. Default value is 300.
    DeleteKeepInstance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    DeletionProtection bool
    Indicates whether the node pool deletion protection is enabled.
    DesiredCapacity float64
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    EnableAutoScale bool
    Indicate whether to enable auto scaling or not.
    KubernetesNodePoolId string
    ID of the resource.
    Labels map[string]string
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    LaunchConfigId string
    The launch config ID.
    ManuallyAddedTotal float64
    The total of manually added node.
    MaxSize float64
    Maximum number of node.
    MinSize float64
    Minimum number of node.
    MultiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    Name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    NodeConfig KubernetesNodePoolNodeConfigArgs
    Node config.
    NodeCount float64
    The total node count.
    NodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    NodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    ScaleTolerance float64
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    ScalingGroupName string
    Name of relative scaling group.
    ScalingGroupProjectId float64
    Project ID the scaling group belongs to.
    ScalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    Status string
    Status of the node pool.
    SubnetIds []string
    ID list of subnet, and for VPC it is required.
    Tags map[string]string
    Node pool tag specifications, will passthroughs to the scaling instances.
    Taints []KubernetesNodePoolTaintArgs
    Taints of kubernetes node pool created nodes.
    TerminationPolicies []string
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    Timeouts KubernetesNodePoolTimeoutsArgs
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    VpcId string
    ID of VPC network.
    WaitNodeReady bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    Zones []string
    List of auto scaling group available zones, for Basic network it is required.
    annotations List<KubernetesNodePoolAnnotation>
    Node Annotation List.
    autoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroupId String
    The auto scaling group ID.
    autoUpdateInstanceTags Boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    autoscalingAddedTotal Double
    The total of autoscaling added node.
    clusterId String
    ID of the cluster.
    defaultCooldown Double
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance Boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection Boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity Double
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale Boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId String
    ID of the resource.
    labels Map<String,String>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    launchConfigId String
    The launch config ID.
    manuallyAddedTotal Double
    The total of manually added node.
    maxSize Double
    Maximum number of node.
    minSize Double
    Minimum number of node.
    multiZoneSubnetPolicy String
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name String
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig KubernetesNodePoolNodeConfig
    Node config.
    nodeCount Double
    The total node count.
    nodeOs String
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType String
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance Double
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName String
    Name of relative scaling group.
    scalingGroupProjectId Double
    Project ID the scaling group belongs to.
    scalingMode String
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    status String
    Status of the node pool.
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String,String>
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints List<KubernetesNodePoolTaint>
    Taints of kubernetes node pool created nodes.
    terminationPolicies List<String>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeouts
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    vpcId String
    ID of VPC network.
    waitNodeReady Boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones List<String>
    List of auto scaling group available zones, for Basic network it is required.
    annotations KubernetesNodePoolAnnotation[]
    Node Annotation List.
    autoScalingConfig KubernetesNodePoolAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroupId string
    The auto scaling group ID.
    autoUpdateInstanceTags boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    autoscalingAddedTotal number
    The total of autoscaling added node.
    clusterId string
    ID of the cluster.
    defaultCooldown number
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity number
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    launchConfigId string
    The launch config ID.
    manuallyAddedTotal number
    The total of manually added node.
    maxSize number
    Maximum number of node.
    minSize number
    Minimum number of node.
    multiZoneSubnetPolicy string
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name string
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig KubernetesNodePoolNodeConfig
    Node config.
    nodeCount number
    The total node count.
    nodeOs string
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType string
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance number
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName string
    Name of relative scaling group.
    scalingGroupProjectId number
    Project ID the scaling group belongs to.
    scalingMode string
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    status string
    Status of the node pool.
    subnetIds string[]
    ID list of subnet, and for VPC it is required.
    tags {[key: string]: string}
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints KubernetesNodePoolTaint[]
    Taints of kubernetes node pool created nodes.
    terminationPolicies string[]
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeouts
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    vpcId string
    ID of VPC network.
    waitNodeReady boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones string[]
    List of auto scaling group available zones, for Basic network it is required.
    annotations Sequence[KubernetesNodePoolAnnotationArgs]
    Node Annotation List.
    auto_scaling_config KubernetesNodePoolAutoScalingConfigArgs
    Auto scaling config parameters.
    auto_scaling_group_id str
    The auto scaling group ID.
    auto_update_instance_tags bool
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    autoscaling_added_total float
    The total of autoscaling added node.
    cluster_id str
    ID of the cluster.
    default_cooldown float
    Seconds of scaling group cool down. Default value is 300.
    delete_keep_instance bool
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletion_protection bool
    Indicates whether the node pool deletion protection is enabled.
    desired_capacity float
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enable_auto_scale bool
    Indicate whether to enable auto scaling or not.
    kubernetes_node_pool_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    launch_config_id str
    The launch config ID.
    manually_added_total float
    The total of manually added node.
    max_size float
    Maximum number of node.
    min_size float
    Minimum number of node.
    multi_zone_subnet_policy str
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name str
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    node_config KubernetesNodePoolNodeConfigArgs
    Node config.
    node_count float
    The total node count.
    node_os str
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    node_os_type str
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retry_policy str
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scale_tolerance float
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scaling_group_name str
    Name of relative scaling group.
    scaling_group_project_id float
    Project ID the scaling group belongs to.
    scaling_mode str
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    status str
    Status of the node pool.
    subnet_ids Sequence[str]
    ID list of subnet, and for VPC it is required.
    tags Mapping[str, str]
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints Sequence[KubernetesNodePoolTaintArgs]
    Taints of kubernetes node pool created nodes.
    termination_policies Sequence[str]
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts KubernetesNodePoolTimeoutsArgs
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    vpc_id str
    ID of VPC network.
    wait_node_ready bool
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones Sequence[str]
    List of auto scaling group available zones, for Basic network it is required.
    annotations List<Property Map>
    Node Annotation List.
    autoScalingConfig Property Map
    Auto scaling config parameters.
    autoScalingGroupId String
    The auto scaling group ID.
    autoUpdateInstanceTags Boolean
    Automatically update instance tags. The default value is false. After configuration, if the scaling group tags are updated, the tags of the running instances in the scaling group will be updated synchronously (synchronous updates only support adding and modifying tags, and do not support deleting tags for the time being). Synchronous updates do not take effect immediately and there is a certain delay.
    autoscalingAddedTotal Number
    The total of autoscaling added node.
    clusterId String
    ID of the cluster.
    defaultCooldown Number
    Seconds of scaling group cool down. Default value is 300.
    deleteKeepInstance Boolean
    Indicate to keep the CVM instance when delete the node pool. Default is true.
    deletionProtection Boolean
    Indicates whether the node pool deletion protection is enabled.
    desiredCapacity Number
    Desired capacity of the node. If enable_auto_scale is set true, this will be a computed parameter.
    enableAutoScale Boolean
    Indicate whether to enable auto scaling or not.
    kubernetesNodePoolId String
    ID of the resource.
    labels Map<String>
    Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    launchConfigId String
    The launch config ID.
    manuallyAddedTotal Number
    The total of manually added node.
    maxSize Number
    Maximum number of node.
    minSize Number
    Minimum number of node.
    multiZoneSubnetPolicy String
    Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
    name String
    Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (-) and decimal points.
    nodeConfig Property Map
    Node config.
    nodeCount Number
    The total node count.
    nodeOs String
    Operating system of the cluster. Please refer to TencentCloud Documentation for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
    nodeOsType String
    The image version of the node. Valida values are DOCKER_CUSTOMIZE and GENERAL. Default is GENERAL. This parameter will only affect new nodes, not including the existing nodes.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    scaleTolerance Number
    Control how many expectations(desired_capacity) can be tolerated successfully. Unit is percentage, Default is 100. Only can be set if wait_node_ready is true.
    scalingGroupName String
    Name of relative scaling group.
    scalingGroupProjectId Number
    Project ID the scaling group belongs to.
    scalingMode String
    Auto scaling mode. Valid values are CLASSIC_SCALING(scaling by create/destroy instances), WAKE_UP_STOPPED_SCALING(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
    status String
    Status of the node pool.
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String>
    Node pool tag specifications, will passthroughs to the scaling instances.
    taints List<Property Map>
    Taints of kubernetes node pool created nodes.
    terminationPolicies List<String>
    Policy of scaling group termination. Available values: ["OLDEST_INSTANCE"], ["NEWEST_INSTANCE"].
    timeouts Property Map
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    vpcId String
    ID of VPC network.
    waitNodeReady Boolean
    Whether to wait for all desired nodes to be ready. Default is false. Only can be set if enable_auto_scale is false.
    zones List<String>
    List of auto scaling group available zones, for Basic network it is required.

    Supporting Types

    KubernetesNodePoolAnnotation, KubernetesNodePoolAnnotationArgs

    Name string
    Name in the map table.
    Value string
    Value in the map table.
    Name string
    Name in the map table.
    Value string
    Value in the map table.
    name String
    Name in the map table.
    value String
    Value in the map table.
    name string
    Name in the map table.
    value string
    Value in the map table.
    name str
    Name in the map table.
    value str
    Value in the map table.
    name String
    Name in the map table.
    value String
    Value in the map table.

    KubernetesNodePoolAutoScalingConfig, KubernetesNodePoolAutoScalingConfigArgs

    InstanceType string
    Specified types of CVM instance.
    BackupInstanceTypes List<string>
    Backup CVM instance types if specified instance type sold out or mismatch.
    BandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    CamRoleName string
    Name of cam role.
    DataDisks List<KubernetesNodePoolAutoScalingConfigDataDisk>
    Configurations of data disk.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    HostName string
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    HostNameStyle string
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InstanceChargeType string
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    InstanceChargeTypePrepaidPeriod double
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    InstanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    InstanceName string
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InstanceNameStyle string
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InternetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    InternetMaxBandwidthOut double
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds List<string>
    ID list of keys.
    OrderlySecurityGroupIds List<string>
    Ordered security groups to which a CVM instance belongs.
    Password string
    Password to access.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds List<string>
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    SpotInstanceType string
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    SpotMaxPrice string
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    SystemDiskSize double
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.
    InstanceType string
    Specified types of CVM instance.
    BackupInstanceTypes []string
    Backup CVM instance types if specified instance type sold out or mismatch.
    BandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    CamRoleName string
    Name of cam role.
    DataDisks []KubernetesNodePoolAutoScalingConfigDataDisk
    Configurations of data disk.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    HostName string
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    HostNameStyle string
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InstanceChargeType string
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    InstanceChargeTypePrepaidPeriod float64
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    InstanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    InstanceName string
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InstanceNameStyle string
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    InternetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    InternetMaxBandwidthOut float64
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds []string
    ID list of keys.
    OrderlySecurityGroupIds []string
    Ordered security groups to which a CVM instance belongs.
    Password string
    Password to access.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds []string
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    SpotInstanceType string
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    SpotMaxPrice string
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    SystemDiskSize float64
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.
    instanceType String
    Specified types of CVM instance.
    backupInstanceTypes List<String>
    Backup CVM instance types if specified instance type sold out or mismatch.
    bandwidthPackageId String
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName String
    Name of cam role.
    dataDisks List<KubernetesNodePoolAutoScalingConfigDataDisk>
    Configurations of data disk.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    hostName String
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    hostNameStyle String
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceChargeType String
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    instanceChargeTypePrepaidPeriod Double
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag String
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName String
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceNameStyle String
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    internetChargeType String
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut Double
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys.
    orderlySecurityGroupIds List<String>
    Ordered security groups to which a CVM instance belongs.
    password String
    Password to access.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    spotInstanceType String
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    spotMaxPrice String
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    systemDiskSize Double
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.
    instanceType string
    Specified types of CVM instance.
    backupInstanceTypes string[]
    Backup CVM instance types if specified instance type sold out or mismatch.
    bandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName string
    Name of cam role.
    dataDisks KubernetesNodePoolAutoScalingConfigDataDisk[]
    Configurations of data disk.
    enhancedMonitorService boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService boolean
    To specify whether to enable cloud security service. Default is TRUE.
    hostName string
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    hostNameStyle string
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceChargeType string
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    instanceChargeTypePrepaidPeriod number
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName string
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceNameStyle string
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    internetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds string[]
    ID list of keys.
    orderlySecurityGroupIds string[]
    Ordered security groups to which a CVM instance belongs.
    password string
    Password to access.
    publicIpAssigned boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds string[]
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    spotInstanceType string
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    spotMaxPrice string
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    systemDiskSize number
    Volume of system disk in GB. Default is 50.
    systemDiskType string
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.
    instance_type str
    Specified types of CVM instance.
    backup_instance_types Sequence[str]
    Backup CVM instance types if specified instance type sold out or mismatch.
    bandwidth_package_id str
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    cam_role_name str
    Name of cam role.
    data_disks Sequence[KubernetesNodePoolAutoScalingConfigDataDisk]
    Configurations of data disk.
    enhanced_monitor_service bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhanced_security_service bool
    To specify whether to enable cloud security service. Default is TRUE.
    host_name str
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    host_name_style str
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instance_charge_type str
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    instance_charge_type_prepaid_period float
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instance_charge_type_prepaid_renew_flag str
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instance_name str
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instance_name_style str
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    internet_charge_type str
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internet_max_bandwidth_out float
    Max bandwidth of Internet access in Mbps. Default is 0.
    key_ids Sequence[str]
    ID list of keys.
    orderly_security_group_ids Sequence[str]
    Ordered security groups to which a CVM instance belongs.
    password str
    Password to access.
    public_ip_assigned bool
    Specify whether to assign an Internet IP address.
    security_group_ids Sequence[str]
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    spot_instance_type str
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    spot_max_price str
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    system_disk_size float
    Volume of system disk in GB. Default is 50.
    system_disk_type str
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.
    instanceType String
    Specified types of CVM instance.
    backupInstanceTypes List<String>
    Backup CVM instance types if specified instance type sold out or mismatch.
    bandwidthPackageId String
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName String
    Name of cam role.
    dataDisks List<Property Map>
    Configurations of data disk.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    hostName String
    The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    hostNameStyle String
    The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to HostNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceChargeType String
    Charge type of instance. Valid values are PREPAID, POSTPAID_BY_HOUR, SPOTPAID. The default is POSTPAID_BY_HOUR. NOTE: SPOTPAID instance must set spot_instance_type and spot_max_price at the same time.
    instanceChargeTypePrepaidPeriod Number
    The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag String
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName String
    Instance name, no more than 60 characters. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    instanceNameStyle String
    Type of CVM instance name. Valid values: ORIGINAL and UNIQUE. Default value: ORIGINAL. For usage, refer to InstanceNameSettings in https://www.tencentcloud.com/document/product/377/31001.
    internetChargeType String
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut Number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys.
    orderlySecurityGroupIds List<String>
    Ordered security groups to which a CVM instance belongs.
    password String
    Password to access.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    The order of elements in this field cannot be guaranteed. Use orderly_security_group_ids instead. Security groups to which a CVM instance belongs.

    Deprecated: Deprecated

    spotInstanceType String
    Type of spot instance, only support one-time now. Note: it only works when instance_charge_type is set to SPOTPAID.
    spotMaxPrice String
    Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to SPOTPAID.
    systemDiskSize Number
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    Type of a CVM disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME. Default is CLOUD_PREMIUM.

    KubernetesNodePoolAutoScalingConfigDataDisk, KubernetesNodePoolAutoScalingConfigDataDiskArgs

    DeleteWithInstance bool
    Indicates whether the disk remove after instance terminated. Default is false.
    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    Encrypt bool
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    SnapshotId string
    Data disk snapshot ID.
    ThroughputPerformance double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
    DeleteWithInstance bool
    Indicates whether the disk remove after instance terminated. Default is false.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    Encrypt bool
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    SnapshotId string
    Data disk snapshot ID.
    ThroughputPerformance float64
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
    deleteWithInstance Boolean
    Indicates whether the disk remove after instance terminated. Default is false.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    encrypt Boolean
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    snapshotId String
    Data disk snapshot ID.
    throughputPerformance Double
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
    deleteWithInstance boolean
    Indicates whether the disk remove after instance terminated. Default is false.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    encrypt boolean
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    snapshotId string
    Data disk snapshot ID.
    throughputPerformance number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
    delete_with_instance bool
    Indicates whether the disk remove after instance terminated. Default is false.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    encrypt bool
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    snapshot_id str
    Data disk snapshot ID.
    throughput_performance float
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.
    deleteWithInstance Boolean
    Indicates whether the disk remove after instance terminated. Default is false.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    encrypt Boolean
    Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role QcloudKMSAccessForCVMRole was provided.
    snapshotId String
    Data disk snapshot ID.
    throughputPerformance Number
    Add extra performance to the data disk. Only works when disk type is CLOUD_TSSD or CLOUD_HSSD and data_size > 460GB.

    KubernetesNodePoolNodeConfig, KubernetesNodePoolNodeConfigArgs

    DataDisks List<KubernetesNodePoolNodeConfigDataDisk>
    Configurations of data disk.
    DesiredPodNum double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs List<string>
    Custom parameter information related to the node. This is a white-list parameter.
    GpuArgs KubernetesNodePoolNodeConfigGpuArgs
    GPU driver parameters.
    IsSchedule bool
    Indicate to schedule the adding node or not. Default is true.
    MountTarget string
    Mount target. Default is not mounting.
    PreStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    UserData string
    Base64-encoded User Data text, the length limit is 16KB.
    DataDisks []KubernetesNodePoolNodeConfigDataDisk
    Configurations of data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs []string
    Custom parameter information related to the node. This is a white-list parameter.
    GpuArgs KubernetesNodePoolNodeConfigGpuArgs
    GPU driver parameters.
    IsSchedule bool
    Indicate to schedule the adding node or not. Default is true.
    MountTarget string
    Mount target. Default is not mounting.
    PreStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    UserData string
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks List<KubernetesNodePoolNodeConfigDataDisk>
    Configurations of data disk.
    desiredPodNum Double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs KubernetesNodePoolNodeConfigGpuArgs
    GPU driver parameters.
    isSchedule Boolean
    Indicate to schedule the adding node or not. Default is true.
    mountTarget String
    Mount target. Default is not mounting.
    preStartUserScript String
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    userData String
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks KubernetesNodePoolNodeConfigDataDisk[]
    Configurations of data disk.
    desiredPodNum number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    extraArgs string[]
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs KubernetesNodePoolNodeConfigGpuArgs
    GPU driver parameters.
    isSchedule boolean
    Indicate to schedule the adding node or not. Default is true.
    mountTarget string
    Mount target. Default is not mounting.
    preStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    userData string
    Base64-encoded User Data text, the length limit is 16KB.
    data_disks Sequence[KubernetesNodePoolNodeConfigDataDisk]
    Configurations of data disk.
    desired_pod_num float
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    docker_graph_path str
    Docker graph path. Default is /var/lib/docker.
    extra_args Sequence[str]
    Custom parameter information related to the node. This is a white-list parameter.
    gpu_args KubernetesNodePoolNodeConfigGpuArgs
    GPU driver parameters.
    is_schedule bool
    Indicate to schedule the adding node or not. Default is true.
    mount_target str
    Mount target. Default is not mounting.
    pre_start_user_script str
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    user_data str
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks List<Property Map>
    Configurations of data disk.
    desiredPodNum Number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs Property Map
    GPU driver parameters.
    isSchedule Boolean
    Indicate to schedule the adding node or not. Default is true.
    mountTarget String
    Mount target. Default is not mounting.
    preStartUserScript String
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    userData String
    Base64-encoded User Data text, the length limit is 16KB.

    KubernetesNodePoolNodeConfigDataDisk, KubernetesNodePoolNodeConfigDataDiskArgs

    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.
    autoFormatAndMount boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    fileSystem string
    File system, e.g. ext3/ext4/xfs.
    mountTarget string
    Mount target.
    auto_format_and_mount bool
    Indicate whether to auto format and mount or not. Default is false.
    disk_partition str
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    file_system str
    File system, e.g. ext3/ext4/xfs.
    mount_target str
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD, CLOUD_BSSD and LOCAL_NVME.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.

    KubernetesNodePoolNodeConfigGpuArgs, KubernetesNodePoolNodeConfigGpuArgsArgs

    Cuda Dictionary<string, string>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn Dictionary<string, string>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver Dictionary<string, string>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver Dictionary<string, string>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    Cuda map[string]string
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn map[string]string
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver map[string]string
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver map[string]string
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    cuda Map<String,String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String,String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String,String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String,String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.
    cuda {[key: string]: string}
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn {[key: string]: string}
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver {[key: string]: string}
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver {[key: string]: string}
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable boolean
    Whether to enable MIG.
    cuda Mapping[str, str]
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Mapping[str, str]
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    custom_driver Mapping[str, str]
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Mapping[str, str]
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    mig_enable bool
    Whether to enable MIG.
    cuda Map<String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.

    KubernetesNodePoolTaint, KubernetesNodePoolTaintArgs

    Effect string
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    Key string
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    Value string
    Value of the taint.
    Effect string
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    Key string
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    Value string
    Value of the taint.
    effect String
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    key String
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    value String
    Value of the taint.
    effect string
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    key string
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    value string
    Value of the taint.
    effect str
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    key str
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    value str
    Value of the taint.
    effect String
    Effect of the taint. Valid values are: NoSchedule, PreferNoSchedule, NoExecute.
    key String
    Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
    value String
    Value of the taint.

    KubernetesNodePoolTimeouts, KubernetesNodePoolTimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    Import

    tke node pool can be imported, e.g.

    $ pulumi import tencentcloud:index/kubernetesNodePool:KubernetesNodePool example cls-d2xdg3io#np-380ay1o8
    

    To learn more about importing existing cloud resources, see Importing resources.

    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