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

tencentcloud.KubernetesNativeNodePool

Explore with Pulumi AI

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

    Provides a resource to create a tke kubernetes_native_node_pool

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const kubernetesNativeNodePool = new tencentcloud.KubernetesNativeNodePool("kubernetesNativeNodePool", {
        annotations: [
            {
                name: "node.tke.cloud.tencent.com/test-anno",
                value: "test",
            },
            {
                name: "node.tke.cloud.tencent.com/test-label",
                value: "test",
            },
        ],
        clusterId: "cls-eyier120",
        deletionProtection: false,
        labels: [{
            name: "test11",
            value: "test21",
        }],
        native: {
            autoRepair: false,
            dataDisks: [{
                autoFormatAndMount: true,
                diskSize: 60,
                diskType: "CLOUD_PREMIUM",
                fileSystem: "ext4",
                mountTarget: "/var/lib/containerd",
            }],
            enableAutoscaling: true,
            hostNamePattern: "aaa{R:3}",
            instanceChargePrepaid: {
                period: 1,
                renewFlag: "NOTIFY_AND_MANUAL_RENEW",
            },
            instanceChargeType: "PREPAID",
            instanceTypes: ["SA2.MEDIUM2"],
            internetAccessible: {
                chargeType: "TRAFFIC_POSTPAID_BY_HOUR",
                maxBandwidthOut: 50,
            },
            keyIds: ["skey-9pcs2100"],
            kubeletArgs: [
                "allowed-unsafe-sysctls=net.core.somaxconn",
                "root-dir=/var/lib/test",
            ],
            lifecycle: {
                postInit: "ZWNobyBoZWxsb3dvcmxk",
                preInit: "ZWNobyBoZWxsb3dvcmxk",
            },
            management: {
                hosts: [
                    "192.168.2.42 static.fake.com",
                    "192.168.2.42 static.fake.com2",
                ],
                kernelArgs: [
                    "kernel.pid_max=65535",
                    "fs.file-max=400000",
                ],
                nameservers: [
                    "183.60.83.19",
                    "183.60.82.98",
                ],
            },
            replicas: 2,
            runtimeRootDir: "/var/lib/docker",
            scaling: {
                createPolicy: "ZoneEquality",
                maxReplicas: 10,
                minReplicas: 1,
            },
            securityGroupIds: ["sg-7tum9120"],
            subnetIds: ["subnet-itb6d123"],
            systemDisk: {
                diskSize: 50,
                diskType: "CLOUD_SSD",
            },
        },
        tags: [{
            resourceType: "machine",
            tags: [
                {
                    key: "keep-test-np1",
                    value: "test1",
                },
                {
                    key: "keep-test-np3",
                    value: "test3",
                },
            ],
        }],
        taints: [{
            effect: "NoExecute",
            key: "product",
            value: "coderider",
        }],
        type: "Native",
        unschedulable: false,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    kubernetes_native_node_pool = tencentcloud.KubernetesNativeNodePool("kubernetesNativeNodePool",
        annotations=[
            {
                "name": "node.tke.cloud.tencent.com/test-anno",
                "value": "test",
            },
            {
                "name": "node.tke.cloud.tencent.com/test-label",
                "value": "test",
            },
        ],
        cluster_id="cls-eyier120",
        deletion_protection=False,
        labels=[{
            "name": "test11",
            "value": "test21",
        }],
        native={
            "auto_repair": False,
            "data_disks": [{
                "auto_format_and_mount": True,
                "disk_size": 60,
                "disk_type": "CLOUD_PREMIUM",
                "file_system": "ext4",
                "mount_target": "/var/lib/containerd",
            }],
            "enable_autoscaling": True,
            "host_name_pattern": "aaa{R:3}",
            "instance_charge_prepaid": {
                "period": 1,
                "renew_flag": "NOTIFY_AND_MANUAL_RENEW",
            },
            "instance_charge_type": "PREPAID",
            "instance_types": ["SA2.MEDIUM2"],
            "internet_accessible": {
                "charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
                "max_bandwidth_out": 50,
            },
            "key_ids": ["skey-9pcs2100"],
            "kubelet_args": [
                "allowed-unsafe-sysctls=net.core.somaxconn",
                "root-dir=/var/lib/test",
            ],
            "lifecycle": {
                "post_init": "ZWNobyBoZWxsb3dvcmxk",
                "pre_init": "ZWNobyBoZWxsb3dvcmxk",
            },
            "management": {
                "hosts": [
                    "192.168.2.42 static.fake.com",
                    "192.168.2.42 static.fake.com2",
                ],
                "kernel_args": [
                    "kernel.pid_max=65535",
                    "fs.file-max=400000",
                ],
                "nameservers": [
                    "183.60.83.19",
                    "183.60.82.98",
                ],
            },
            "replicas": 2,
            "runtime_root_dir": "/var/lib/docker",
            "scaling": {
                "create_policy": "ZoneEquality",
                "max_replicas": 10,
                "min_replicas": 1,
            },
            "security_group_ids": ["sg-7tum9120"],
            "subnet_ids": ["subnet-itb6d123"],
            "system_disk": {
                "disk_size": 50,
                "disk_type": "CLOUD_SSD",
            },
        },
        tags=[{
            "resource_type": "machine",
            "tags": [
                {
                    "key": "keep-test-np1",
                    "value": "test1",
                },
                {
                    "key": "keep-test-np3",
                    "value": "test3",
                },
            ],
        }],
        taints=[{
            "effect": "NoExecute",
            "key": "product",
            "value": "coderider",
        }],
        type="Native",
        unschedulable=False)
    
    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.NewKubernetesNativeNodePool(ctx, "kubernetesNativeNodePool", &tencentcloud.KubernetesNativeNodePoolArgs{
    			Annotations: tencentcloud.KubernetesNativeNodePoolAnnotationArray{
    				&tencentcloud.KubernetesNativeNodePoolAnnotationArgs{
    					Name:  pulumi.String("node.tke.cloud.tencent.com/test-anno"),
    					Value: pulumi.String("test"),
    				},
    				&tencentcloud.KubernetesNativeNodePoolAnnotationArgs{
    					Name:  pulumi.String("node.tke.cloud.tencent.com/test-label"),
    					Value: pulumi.String("test"),
    				},
    			},
    			ClusterId:          pulumi.String("cls-eyier120"),
    			DeletionProtection: pulumi.Bool(false),
    			Labels: tencentcloud.KubernetesNativeNodePoolLabelArray{
    				&tencentcloud.KubernetesNativeNodePoolLabelArgs{
    					Name:  pulumi.String("test11"),
    					Value: pulumi.String("test21"),
    				},
    			},
    			Native: &tencentcloud.KubernetesNativeNodePoolNativeArgs{
    				AutoRepair: pulumi.Bool(false),
    				DataDisks: tencentcloud.KubernetesNativeNodePoolNativeDataDiskArray{
    					&tencentcloud.KubernetesNativeNodePoolNativeDataDiskArgs{
    						AutoFormatAndMount: pulumi.Bool(true),
    						DiskSize:           pulumi.Float64(60),
    						DiskType:           pulumi.String("CLOUD_PREMIUM"),
    						FileSystem:         pulumi.String("ext4"),
    						MountTarget:        pulumi.String("/var/lib/containerd"),
    					},
    				},
    				EnableAutoscaling: pulumi.Bool(true),
    				HostNamePattern:   pulumi.String("aaa{R:3}"),
    				InstanceChargePrepaid: &tencentcloud.KubernetesNativeNodePoolNativeInstanceChargePrepaidArgs{
    					Period:    pulumi.Float64(1),
    					RenewFlag: pulumi.String("NOTIFY_AND_MANUAL_RENEW"),
    				},
    				InstanceChargeType: pulumi.String("PREPAID"),
    				InstanceTypes: pulumi.StringArray{
    					pulumi.String("SA2.MEDIUM2"),
    				},
    				InternetAccessible: &tencentcloud.KubernetesNativeNodePoolNativeInternetAccessibleArgs{
    					ChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    					MaxBandwidthOut: pulumi.Float64(50),
    				},
    				KeyIds: pulumi.StringArray{
    					pulumi.String("skey-9pcs2100"),
    				},
    				KubeletArgs: pulumi.StringArray{
    					pulumi.String("allowed-unsafe-sysctls=net.core.somaxconn"),
    					pulumi.String("root-dir=/var/lib/test"),
    				},
    				Lifecycle: &tencentcloud.KubernetesNativeNodePoolNativeLifecycleArgs{
    					PostInit: pulumi.String("ZWNobyBoZWxsb3dvcmxk"),
    					PreInit:  pulumi.String("ZWNobyBoZWxsb3dvcmxk"),
    				},
    				Management: &tencentcloud.KubernetesNativeNodePoolNativeManagementArgs{
    					Hosts: pulumi.StringArray{
    						pulumi.String("192.168.2.42 static.fake.com"),
    						pulumi.String("192.168.2.42 static.fake.com2"),
    					},
    					KernelArgs: pulumi.StringArray{
    						pulumi.String("kernel.pid_max=65535"),
    						pulumi.String("fs.file-max=400000"),
    					},
    					Nameservers: pulumi.StringArray{
    						pulumi.String("183.60.83.19"),
    						pulumi.String("183.60.82.98"),
    					},
    				},
    				Replicas:       pulumi.Float64(2),
    				RuntimeRootDir: pulumi.String("/var/lib/docker"),
    				Scaling: &tencentcloud.KubernetesNativeNodePoolNativeScalingArgs{
    					CreatePolicy: pulumi.String("ZoneEquality"),
    					MaxReplicas:  pulumi.Float64(10),
    					MinReplicas:  pulumi.Float64(1),
    				},
    				SecurityGroupIds: pulumi.StringArray{
    					pulumi.String("sg-7tum9120"),
    				},
    				SubnetIds: pulumi.StringArray{
    					pulumi.String("subnet-itb6d123"),
    				},
    				SystemDisk: &tencentcloud.KubernetesNativeNodePoolNativeSystemDiskArgs{
    					DiskSize: pulumi.Float64(50),
    					DiskType: pulumi.String("CLOUD_SSD"),
    				},
    			},
    			Tags: tencentcloud.KubernetesNativeNodePoolTagArray{
    				&tencentcloud.KubernetesNativeNodePoolTagArgs{
    					ResourceType: pulumi.String("machine"),
    					Tags: tencentcloud.KubernetesNativeNodePoolTagTagArray{
    						&tencentcloud.KubernetesNativeNodePoolTagTagArgs{
    							Key:   pulumi.String("keep-test-np1"),
    							Value: pulumi.String("test1"),
    						},
    						&tencentcloud.KubernetesNativeNodePoolTagTagArgs{
    							Key:   pulumi.String("keep-test-np3"),
    							Value: pulumi.String("test3"),
    						},
    					},
    				},
    			},
    			Taints: tencentcloud.KubernetesNativeNodePoolTaintArray{
    				&tencentcloud.KubernetesNativeNodePoolTaintArgs{
    					Effect: pulumi.String("NoExecute"),
    					Key:    pulumi.String("product"),
    					Value:  pulumi.String("coderider"),
    				},
    			},
    			Type:          pulumi.String("Native"),
    			Unschedulable: pulumi.Bool(false),
    		})
    		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 kubernetesNativeNodePool = new Tencentcloud.KubernetesNativeNodePool("kubernetesNativeNodePool", new()
        {
            Annotations = new[]
            {
                new Tencentcloud.Inputs.KubernetesNativeNodePoolAnnotationArgs
                {
                    Name = "node.tke.cloud.tencent.com/test-anno",
                    Value = "test",
                },
                new Tencentcloud.Inputs.KubernetesNativeNodePoolAnnotationArgs
                {
                    Name = "node.tke.cloud.tencent.com/test-label",
                    Value = "test",
                },
            },
            ClusterId = "cls-eyier120",
            DeletionProtection = false,
            Labels = new[]
            {
                new Tencentcloud.Inputs.KubernetesNativeNodePoolLabelArgs
                {
                    Name = "test11",
                    Value = "test21",
                },
            },
            Native = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeArgs
            {
                AutoRepair = false,
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeDataDiskArgs
                    {
                        AutoFormatAndMount = true,
                        DiskSize = 60,
                        DiskType = "CLOUD_PREMIUM",
                        FileSystem = "ext4",
                        MountTarget = "/var/lib/containerd",
                    },
                },
                EnableAutoscaling = true,
                HostNamePattern = "aaa{R:3}",
                InstanceChargePrepaid = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeInstanceChargePrepaidArgs
                {
                    Period = 1,
                    RenewFlag = "NOTIFY_AND_MANUAL_RENEW",
                },
                InstanceChargeType = "PREPAID",
                InstanceTypes = new[]
                {
                    "SA2.MEDIUM2",
                },
                InternetAccessible = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeInternetAccessibleArgs
                {
                    ChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                    MaxBandwidthOut = 50,
                },
                KeyIds = new[]
                {
                    "skey-9pcs2100",
                },
                KubeletArgs = new[]
                {
                    "allowed-unsafe-sysctls=net.core.somaxconn",
                    "root-dir=/var/lib/test",
                },
                Lifecycle = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeLifecycleArgs
                {
                    PostInit = "ZWNobyBoZWxsb3dvcmxk",
                    PreInit = "ZWNobyBoZWxsb3dvcmxk",
                },
                Management = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeManagementArgs
                {
                    Hosts = new[]
                    {
                        "192.168.2.42 static.fake.com",
                        "192.168.2.42 static.fake.com2",
                    },
                    KernelArgs = new[]
                    {
                        "kernel.pid_max=65535",
                        "fs.file-max=400000",
                    },
                    Nameservers = new[]
                    {
                        "183.60.83.19",
                        "183.60.82.98",
                    },
                },
                Replicas = 2,
                RuntimeRootDir = "/var/lib/docker",
                Scaling = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeScalingArgs
                {
                    CreatePolicy = "ZoneEquality",
                    MaxReplicas = 10,
                    MinReplicas = 1,
                },
                SecurityGroupIds = new[]
                {
                    "sg-7tum9120",
                },
                SubnetIds = new[]
                {
                    "subnet-itb6d123",
                },
                SystemDisk = new Tencentcloud.Inputs.KubernetesNativeNodePoolNativeSystemDiskArgs
                {
                    DiskSize = 50,
                    DiskType = "CLOUD_SSD",
                },
            },
            Tags = new[]
            {
                new Tencentcloud.Inputs.KubernetesNativeNodePoolTagArgs
                {
                    ResourceType = "machine",
                    Tags = new[]
                    {
                        new Tencentcloud.Inputs.KubernetesNativeNodePoolTagTagArgs
                        {
                            Key = "keep-test-np1",
                            Value = "test1",
                        },
                        new Tencentcloud.Inputs.KubernetesNativeNodePoolTagTagArgs
                        {
                            Key = "keep-test-np3",
                            Value = "test3",
                        },
                    },
                },
            },
            Taints = new[]
            {
                new Tencentcloud.Inputs.KubernetesNativeNodePoolTaintArgs
                {
                    Effect = "NoExecute",
                    Key = "product",
                    Value = "coderider",
                },
            },
            Type = "Native",
            Unschedulable = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesNativeNodePool;
    import com.pulumi.tencentcloud.KubernetesNativeNodePoolArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolAnnotationArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolLabelArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeInstanceChargePrepaidArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeInternetAccessibleArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeLifecycleArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeManagementArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeScalingArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolNativeSystemDiskArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolTagArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesNativeNodePoolTaintArgs;
    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 kubernetesNativeNodePool = new KubernetesNativeNodePool("kubernetesNativeNodePool", KubernetesNativeNodePoolArgs.builder()
                .annotations(            
                    KubernetesNativeNodePoolAnnotationArgs.builder()
                        .name("node.tke.cloud.tencent.com/test-anno")
                        .value("test")
                        .build(),
                    KubernetesNativeNodePoolAnnotationArgs.builder()
                        .name("node.tke.cloud.tencent.com/test-label")
                        .value("test")
                        .build())
                .clusterId("cls-eyier120")
                .deletionProtection(false)
                .labels(KubernetesNativeNodePoolLabelArgs.builder()
                    .name("test11")
                    .value("test21")
                    .build())
                .native_(KubernetesNativeNodePoolNativeArgs.builder()
                    .autoRepair(false)
                    .dataDisks(KubernetesNativeNodePoolNativeDataDiskArgs.builder()
                        .autoFormatAndMount(true)
                        .diskSize(60)
                        .diskType("CLOUD_PREMIUM")
                        .fileSystem("ext4")
                        .mountTarget("/var/lib/containerd")
                        .build())
                    .enableAutoscaling(true)
                    .hostNamePattern("aaa{R:3}")
                    .instanceChargePrepaid(KubernetesNativeNodePoolNativeInstanceChargePrepaidArgs.builder()
                        .period(1)
                        .renewFlag("NOTIFY_AND_MANUAL_RENEW")
                        .build())
                    .instanceChargeType("PREPAID")
                    .instanceTypes("SA2.MEDIUM2")
                    .internetAccessible(KubernetesNativeNodePoolNativeInternetAccessibleArgs.builder()
                        .chargeType("TRAFFIC_POSTPAID_BY_HOUR")
                        .maxBandwidthOut(50)
                        .build())
                    .keyIds("skey-9pcs2100")
                    .kubeletArgs(                
                        "allowed-unsafe-sysctls=net.core.somaxconn",
                        "root-dir=/var/lib/test")
                    .lifecycle(KubernetesNativeNodePoolNativeLifecycleArgs.builder()
                        .postInit("ZWNobyBoZWxsb3dvcmxk")
                        .preInit("ZWNobyBoZWxsb3dvcmxk")
                        .build())
                    .management(KubernetesNativeNodePoolNativeManagementArgs.builder()
                        .hosts(                    
                            "192.168.2.42 static.fake.com",
                            "192.168.2.42 static.fake.com2")
                        .kernelArgs(                    
                            "kernel.pid_max=65535",
                            "fs.file-max=400000")
                        .nameservers(                    
                            "183.60.83.19",
                            "183.60.82.98")
                        .build())
                    .replicas(2)
                    .runtimeRootDir("/var/lib/docker")
                    .scaling(KubernetesNativeNodePoolNativeScalingArgs.builder()
                        .createPolicy("ZoneEquality")
                        .maxReplicas(10)
                        .minReplicas(1)
                        .build())
                    .securityGroupIds("sg-7tum9120")
                    .subnetIds("subnet-itb6d123")
                    .systemDisk(KubernetesNativeNodePoolNativeSystemDiskArgs.builder()
                        .diskSize(50)
                        .diskType("CLOUD_SSD")
                        .build())
                    .build())
                .tags(KubernetesNativeNodePoolTagArgs.builder()
                    .resourceType("machine")
                    .tags(                
                        KubernetesNativeNodePoolTagTagArgs.builder()
                            .key("keep-test-np1")
                            .value("test1")
                            .build(),
                        KubernetesNativeNodePoolTagTagArgs.builder()
                            .key("keep-test-np3")
                            .value("test3")
                            .build())
                    .build())
                .taints(KubernetesNativeNodePoolTaintArgs.builder()
                    .effect("NoExecute")
                    .key("product")
                    .value("coderider")
                    .build())
                .type("Native")
                .unschedulable(false)
                .build());
    
        }
    }
    
    resources:
      kubernetesNativeNodePool:
        type: tencentcloud:KubernetesNativeNodePool
        properties:
          annotations:
            - name: node.tke.cloud.tencent.com/test-anno
              value: test
            - name: node.tke.cloud.tencent.com/test-label
              value: test
          clusterId: cls-eyier120
          deletionProtection: false
          labels:
            - name: test11
              value: test21
          native:
            autoRepair: false
            dataDisks:
              - autoFormatAndMount: true
                diskSize: 60
                diskType: CLOUD_PREMIUM
                fileSystem: ext4
                mountTarget: /var/lib/containerd
            enableAutoscaling: true
            hostNamePattern: aaa{R:3}
            instanceChargePrepaid:
              period: 1
              renewFlag: NOTIFY_AND_MANUAL_RENEW
            instanceChargeType: PREPAID
            instanceTypes:
              - SA2.MEDIUM2
            internetAccessible:
              chargeType: TRAFFIC_POSTPAID_BY_HOUR
              maxBandwidthOut: 50
            keyIds:
              - skey-9pcs2100
            kubeletArgs:
              - allowed-unsafe-sysctls=net.core.somaxconn
              - root-dir=/var/lib/test
            lifecycle:
              postInit: ZWNobyBoZWxsb3dvcmxk
              preInit: ZWNobyBoZWxsb3dvcmxk
            management:
              hosts:
                - 192.168.2.42 static.fake.com
                - 192.168.2.42 static.fake.com2
              kernelArgs:
                - kernel.pid_max=65535
                - fs.file-max=400000
              nameservers:
                - 183.60.83.19
                - 183.60.82.98
            replicas: 2
            runtimeRootDir: /var/lib/docker
            scaling:
              createPolicy: ZoneEquality
              maxReplicas: 10
              minReplicas: 1
            securityGroupIds:
              - sg-7tum9120
            subnetIds:
              - subnet-itb6d123
            systemDisk:
              diskSize: 50
              diskType: CLOUD_SSD
          tags:
            - resourceType: machine
              tags:
                - key: keep-test-np1
                  value: test1
                - key: keep-test-np3
                  value: test3
          taints:
            - effect: NoExecute
              key: product
              value: coderider
          type: Native
          unschedulable: false
    

    Create KubernetesNativeNodePool Resource

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

    Constructor syntax

    new KubernetesNativeNodePool(name: string, args: KubernetesNativeNodePoolArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesNativeNodePool(resource_name: str,
                                 args: KubernetesNativeNodePoolArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesNativeNodePool(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 cluster_id: Optional[str] = None,
                                 native: Optional[KubernetesNativeNodePoolNativeArgs] = None,
                                 type: Optional[str] = None,
                                 annotations: Optional[Sequence[KubernetesNativeNodePoolAnnotationArgs]] = None,
                                 deletion_protection: Optional[bool] = None,
                                 kubernetes_native_node_pool_id: Optional[str] = None,
                                 labels: Optional[Sequence[KubernetesNativeNodePoolLabelArgs]] = None,
                                 name: Optional[str] = None,
                                 tags: Optional[Sequence[KubernetesNativeNodePoolTagArgs]] = None,
                                 taints: Optional[Sequence[KubernetesNativeNodePoolTaintArgs]] = None,
                                 unschedulable: Optional[bool] = None)
    func NewKubernetesNativeNodePool(ctx *Context, name string, args KubernetesNativeNodePoolArgs, opts ...ResourceOption) (*KubernetesNativeNodePool, error)
    public KubernetesNativeNodePool(string name, KubernetesNativeNodePoolArgs args, CustomResourceOptions? opts = null)
    public KubernetesNativeNodePool(String name, KubernetesNativeNodePoolArgs args)
    public KubernetesNativeNodePool(String name, KubernetesNativeNodePoolArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesNativeNodePool
    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 KubernetesNativeNodePoolArgs
    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 KubernetesNativeNodePoolArgs
    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 KubernetesNativeNodePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesNativeNodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesNativeNodePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterId string
    ID of the cluster.
    Native KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    Type string
    Node pool type. Optional value is Native.
    Annotations List<KubernetesNativeNodePoolAnnotation>
    Node Annotation List.
    DeletionProtection bool
    Whether to enable deletion protection.
    KubernetesNativeNodePoolId string
    ID of the resource.
    Labels List<KubernetesNativeNodePoolLabel>
    Node Labels.
    Name string
    Node pool name.
    Tags List<KubernetesNativeNodePoolTag>
    Node tags.
    Taints List<KubernetesNativeNodePoolTaint>
    Node taint.
    Unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    ClusterId string
    ID of the cluster.
    Native KubernetesNativeNodePoolNativeArgs
    Native node pool creation parameters.
    Type string
    Node pool type. Optional value is Native.
    Annotations []KubernetesNativeNodePoolAnnotationArgs
    Node Annotation List.
    DeletionProtection bool
    Whether to enable deletion protection.
    KubernetesNativeNodePoolId string
    ID of the resource.
    Labels []KubernetesNativeNodePoolLabelArgs
    Node Labels.
    Name string
    Node pool name.
    Tags []KubernetesNativeNodePoolTagArgs
    Node tags.
    Taints []KubernetesNativeNodePoolTaintArgs
    Node taint.
    Unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    clusterId String
    ID of the cluster.
    native_ KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    type String
    Node pool type. Optional value is Native.
    annotations List<KubernetesNativeNodePoolAnnotation>
    Node Annotation List.
    deletionProtection Boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId String
    ID of the resource.
    labels List<KubernetesNativeNodePoolLabel>
    Node Labels.
    name String
    Node pool name.
    tags List<KubernetesNativeNodePoolTag>
    Node tags.
    taints List<KubernetesNativeNodePoolTaint>
    Node taint.
    unschedulable Boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    clusterId string
    ID of the cluster.
    native KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    type string
    Node pool type. Optional value is Native.
    annotations KubernetesNativeNodePoolAnnotation[]
    Node Annotation List.
    deletionProtection boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId string
    ID of the resource.
    labels KubernetesNativeNodePoolLabel[]
    Node Labels.
    name string
    Node pool name.
    tags KubernetesNativeNodePoolTag[]
    Node tags.
    taints KubernetesNativeNodePoolTaint[]
    Node taint.
    unschedulable boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    cluster_id str
    ID of the cluster.
    native KubernetesNativeNodePoolNativeArgs
    Native node pool creation parameters.
    type str
    Node pool type. Optional value is Native.
    annotations Sequence[KubernetesNativeNodePoolAnnotationArgs]
    Node Annotation List.
    deletion_protection bool
    Whether to enable deletion protection.
    kubernetes_native_node_pool_id str
    ID of the resource.
    labels Sequence[KubernetesNativeNodePoolLabelArgs]
    Node Labels.
    name str
    Node pool name.
    tags Sequence[KubernetesNativeNodePoolTagArgs]
    Node tags.
    taints Sequence[KubernetesNativeNodePoolTaintArgs]
    Node taint.
    unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    clusterId String
    ID of the cluster.
    native Property Map
    Native node pool creation parameters.
    type String
    Node pool type. Optional value is Native.
    annotations List<Property Map>
    Node Annotation List.
    deletionProtection Boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId String
    ID of the resource.
    labels List<Property Map>
    Node Labels.
    name String
    Node pool name.
    tags List<Property Map>
    Node tags.
    taints List<Property Map>
    Node taint.
    unschedulable Boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.

    Outputs

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

    CreatedAt string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeState string
    Node pool status.
    CreatedAt string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeState string
    Node pool status.
    createdAt String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    lifeState String
    Node pool status.
    createdAt string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    lifeState string
    Node pool status.
    created_at str
    Creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    life_state str
    Node pool status.
    createdAt String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    lifeState String
    Node pool status.

    Look up Existing KubernetesNativeNodePool Resource

    Get an existing KubernetesNativeNodePool 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?: KubernetesNativeNodePoolState, opts?: CustomResourceOptions): KubernetesNativeNodePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Sequence[KubernetesNativeNodePoolAnnotationArgs]] = None,
            cluster_id: Optional[str] = None,
            created_at: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            kubernetes_native_node_pool_id: Optional[str] = None,
            labels: Optional[Sequence[KubernetesNativeNodePoolLabelArgs]] = None,
            life_state: Optional[str] = None,
            name: Optional[str] = None,
            native: Optional[KubernetesNativeNodePoolNativeArgs] = None,
            tags: Optional[Sequence[KubernetesNativeNodePoolTagArgs]] = None,
            taints: Optional[Sequence[KubernetesNativeNodePoolTaintArgs]] = None,
            type: Optional[str] = None,
            unschedulable: Optional[bool] = None) -> KubernetesNativeNodePool
    func GetKubernetesNativeNodePool(ctx *Context, name string, id IDInput, state *KubernetesNativeNodePoolState, opts ...ResourceOption) (*KubernetesNativeNodePool, error)
    public static KubernetesNativeNodePool Get(string name, Input<string> id, KubernetesNativeNodePoolState? state, CustomResourceOptions? opts = null)
    public static KubernetesNativeNodePool get(String name, Output<String> id, KubernetesNativeNodePoolState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesNativeNodePool    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<KubernetesNativeNodePoolAnnotation>
    Node Annotation List.
    ClusterId string
    ID of the cluster.
    CreatedAt string
    Creation time.
    DeletionProtection bool
    Whether to enable deletion protection.
    KubernetesNativeNodePoolId string
    ID of the resource.
    Labels List<KubernetesNativeNodePoolLabel>
    Node Labels.
    LifeState string
    Node pool status.
    Name string
    Node pool name.
    Native KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    Tags List<KubernetesNativeNodePoolTag>
    Node tags.
    Taints List<KubernetesNativeNodePoolTaint>
    Node taint.
    Type string
    Node pool type. Optional value is Native.
    Unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    Annotations []KubernetesNativeNodePoolAnnotationArgs
    Node Annotation List.
    ClusterId string
    ID of the cluster.
    CreatedAt string
    Creation time.
    DeletionProtection bool
    Whether to enable deletion protection.
    KubernetesNativeNodePoolId string
    ID of the resource.
    Labels []KubernetesNativeNodePoolLabelArgs
    Node Labels.
    LifeState string
    Node pool status.
    Name string
    Node pool name.
    Native KubernetesNativeNodePoolNativeArgs
    Native node pool creation parameters.
    Tags []KubernetesNativeNodePoolTagArgs
    Node tags.
    Taints []KubernetesNativeNodePoolTaintArgs
    Node taint.
    Type string
    Node pool type. Optional value is Native.
    Unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    annotations List<KubernetesNativeNodePoolAnnotation>
    Node Annotation List.
    clusterId String
    ID of the cluster.
    createdAt String
    Creation time.
    deletionProtection Boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId String
    ID of the resource.
    labels List<KubernetesNativeNodePoolLabel>
    Node Labels.
    lifeState String
    Node pool status.
    name String
    Node pool name.
    native_ KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    tags List<KubernetesNativeNodePoolTag>
    Node tags.
    taints List<KubernetesNativeNodePoolTaint>
    Node taint.
    type String
    Node pool type. Optional value is Native.
    unschedulable Boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    annotations KubernetesNativeNodePoolAnnotation[]
    Node Annotation List.
    clusterId string
    ID of the cluster.
    createdAt string
    Creation time.
    deletionProtection boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId string
    ID of the resource.
    labels KubernetesNativeNodePoolLabel[]
    Node Labels.
    lifeState string
    Node pool status.
    name string
    Node pool name.
    native KubernetesNativeNodePoolNative
    Native node pool creation parameters.
    tags KubernetesNativeNodePoolTag[]
    Node tags.
    taints KubernetesNativeNodePoolTaint[]
    Node taint.
    type string
    Node pool type. Optional value is Native.
    unschedulable boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    annotations Sequence[KubernetesNativeNodePoolAnnotationArgs]
    Node Annotation List.
    cluster_id str
    ID of the cluster.
    created_at str
    Creation time.
    deletion_protection bool
    Whether to enable deletion protection.
    kubernetes_native_node_pool_id str
    ID of the resource.
    labels Sequence[KubernetesNativeNodePoolLabelArgs]
    Node Labels.
    life_state str
    Node pool status.
    name str
    Node pool name.
    native KubernetesNativeNodePoolNativeArgs
    Native node pool creation parameters.
    tags Sequence[KubernetesNativeNodePoolTagArgs]
    Node tags.
    taints Sequence[KubernetesNativeNodePoolTaintArgs]
    Node taint.
    type str
    Node pool type. Optional value is Native.
    unschedulable bool
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.
    annotations List<Property Map>
    Node Annotation List.
    clusterId String
    ID of the cluster.
    createdAt String
    Creation time.
    deletionProtection Boolean
    Whether to enable deletion protection.
    kubernetesNativeNodePoolId String
    ID of the resource.
    labels List<Property Map>
    Node Labels.
    lifeState String
    Node pool status.
    name String
    Node pool name.
    native Property Map
    Native node pool creation parameters.
    tags List<Property Map>
    Node tags.
    taints List<Property Map>
    Node taint.
    type String
    Node pool type. Optional value is Native.
    unschedulable Boolean
    Whether the node is not schedulable by default. The native node is not aware of it and passes false by default.

    Supporting Types

    KubernetesNativeNodePoolAnnotation, KubernetesNativeNodePoolAnnotationArgs

    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.

    KubernetesNativeNodePoolLabel, KubernetesNativeNodePoolLabelArgs

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

    KubernetesNativeNodePoolNative, KubernetesNativeNodePoolNativeArgs

    InstanceChargeType string
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    InstanceTypes List<string>
    Model list.
    SecurityGroupIds List<string>
    Security group list.
    SubnetIds List<string>
    Subnet list.
    SystemDisk KubernetesNativeNodePoolNativeSystemDisk
    System disk configuration.
    AutoRepair bool
    Whether to enable self-healing ability.
    DataDisks List<KubernetesNativeNodePoolNativeDataDisk>
    Native node pool data disk list.
    EnableAutoscaling bool
    Whether to enable elastic scaling.
    HealthCheckPolicyName string
    Fault self-healing rule name.
    HostNamePattern string
    Native node pool hostName pattern string.
    InstanceChargePrepaid KubernetesNativeNodePoolNativeInstanceChargePrepaid
    Billing configuration for yearly and monthly models.
    InternetAccessible KubernetesNativeNodePoolNativeInternetAccessible
    Public network bandwidth settings.
    KeyIds List<string>
    Node pool ssh public key id array.
    KubeletArgs List<string>
    Kubelet custom parameters.
    Lifecycle KubernetesNativeNodePoolNativeLifecycle
    Predefined scripts.
    MachineType string
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    Management KubernetesNativeNodePoolNativeManagement
    Node pool management parameter settings.
    Replicas double
    Desired number of nodes.
    RuntimeRootDir string
    Runtime root directory.
    Scaling KubernetesNativeNodePoolNativeScaling
    Node pool scaling configuration.
    InstanceChargeType string
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    InstanceTypes []string
    Model list.
    SecurityGroupIds []string
    Security group list.
    SubnetIds []string
    Subnet list.
    SystemDisk KubernetesNativeNodePoolNativeSystemDisk
    System disk configuration.
    AutoRepair bool
    Whether to enable self-healing ability.
    DataDisks []KubernetesNativeNodePoolNativeDataDisk
    Native node pool data disk list.
    EnableAutoscaling bool
    Whether to enable elastic scaling.
    HealthCheckPolicyName string
    Fault self-healing rule name.
    HostNamePattern string
    Native node pool hostName pattern string.
    InstanceChargePrepaid KubernetesNativeNodePoolNativeInstanceChargePrepaid
    Billing configuration for yearly and monthly models.
    InternetAccessible KubernetesNativeNodePoolNativeInternetAccessible
    Public network bandwidth settings.
    KeyIds []string
    Node pool ssh public key id array.
    KubeletArgs []string
    Kubelet custom parameters.
    Lifecycle KubernetesNativeNodePoolNativeLifecycle
    Predefined scripts.
    MachineType string
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    Management KubernetesNativeNodePoolNativeManagement
    Node pool management parameter settings.
    Replicas float64
    Desired number of nodes.
    RuntimeRootDir string
    Runtime root directory.
    Scaling KubernetesNativeNodePoolNativeScaling
    Node pool scaling configuration.
    instanceChargeType String
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    instanceTypes List<String>
    Model list.
    securityGroupIds List<String>
    Security group list.
    subnetIds List<String>
    Subnet list.
    systemDisk KubernetesNativeNodePoolNativeSystemDisk
    System disk configuration.
    autoRepair Boolean
    Whether to enable self-healing ability.
    dataDisks List<KubernetesNativeNodePoolNativeDataDisk>
    Native node pool data disk list.
    enableAutoscaling Boolean
    Whether to enable elastic scaling.
    healthCheckPolicyName String
    Fault self-healing rule name.
    hostNamePattern String
    Native node pool hostName pattern string.
    instanceChargePrepaid KubernetesNativeNodePoolNativeInstanceChargePrepaid
    Billing configuration for yearly and monthly models.
    internetAccessible KubernetesNativeNodePoolNativeInternetAccessible
    Public network bandwidth settings.
    keyIds List<String>
    Node pool ssh public key id array.
    kubeletArgs List<String>
    Kubelet custom parameters.
    lifecycle KubernetesNativeNodePoolNativeLifecycle
    Predefined scripts.
    machineType String
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    management KubernetesNativeNodePoolNativeManagement
    Node pool management parameter settings.
    replicas Double
    Desired number of nodes.
    runtimeRootDir String
    Runtime root directory.
    scaling KubernetesNativeNodePoolNativeScaling
    Node pool scaling configuration.
    instanceChargeType string
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    instanceTypes string[]
    Model list.
    securityGroupIds string[]
    Security group list.
    subnetIds string[]
    Subnet list.
    systemDisk KubernetesNativeNodePoolNativeSystemDisk
    System disk configuration.
    autoRepair boolean
    Whether to enable self-healing ability.
    dataDisks KubernetesNativeNodePoolNativeDataDisk[]
    Native node pool data disk list.
    enableAutoscaling boolean
    Whether to enable elastic scaling.
    healthCheckPolicyName string
    Fault self-healing rule name.
    hostNamePattern string
    Native node pool hostName pattern string.
    instanceChargePrepaid KubernetesNativeNodePoolNativeInstanceChargePrepaid
    Billing configuration for yearly and monthly models.
    internetAccessible KubernetesNativeNodePoolNativeInternetAccessible
    Public network bandwidth settings.
    keyIds string[]
    Node pool ssh public key id array.
    kubeletArgs string[]
    Kubelet custom parameters.
    lifecycle KubernetesNativeNodePoolNativeLifecycle
    Predefined scripts.
    machineType string
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    management KubernetesNativeNodePoolNativeManagement
    Node pool management parameter settings.
    replicas number
    Desired number of nodes.
    runtimeRootDir string
    Runtime root directory.
    scaling KubernetesNativeNodePoolNativeScaling
    Node pool scaling configuration.
    instance_charge_type str
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    instance_types Sequence[str]
    Model list.
    security_group_ids Sequence[str]
    Security group list.
    subnet_ids Sequence[str]
    Subnet list.
    system_disk KubernetesNativeNodePoolNativeSystemDisk
    System disk configuration.
    auto_repair bool
    Whether to enable self-healing ability.
    data_disks Sequence[KubernetesNativeNodePoolNativeDataDisk]
    Native node pool data disk list.
    enable_autoscaling bool
    Whether to enable elastic scaling.
    health_check_policy_name str
    Fault self-healing rule name.
    host_name_pattern str
    Native node pool hostName pattern string.
    instance_charge_prepaid KubernetesNativeNodePoolNativeInstanceChargePrepaid
    Billing configuration for yearly and monthly models.
    internet_accessible KubernetesNativeNodePoolNativeInternetAccessible
    Public network bandwidth settings.
    key_ids Sequence[str]
    Node pool ssh public key id array.
    kubelet_args Sequence[str]
    Kubelet custom parameters.
    lifecycle KubernetesNativeNodePoolNativeLifecycle
    Predefined scripts.
    machine_type str
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    management KubernetesNativeNodePoolNativeManagement
    Node pool management parameter settings.
    replicas float
    Desired number of nodes.
    runtime_root_dir str
    Runtime root directory.
    scaling KubernetesNativeNodePoolNativeScaling
    Node pool scaling configuration.
    instanceChargeType String
    Node billing type. PREPAID is a yearly and monthly subscription, POSTPAID_BY_HOUR is a pay-as-you-go plan. The default is POSTPAID_BY_HOUR.
    instanceTypes List<String>
    Model list.
    securityGroupIds List<String>
    Security group list.
    subnetIds List<String>
    Subnet list.
    systemDisk Property Map
    System disk configuration.
    autoRepair Boolean
    Whether to enable self-healing ability.
    dataDisks List<Property Map>
    Native node pool data disk list.
    enableAutoscaling Boolean
    Whether to enable elastic scaling.
    healthCheckPolicyName String
    Fault self-healing rule name.
    hostNamePattern String
    Native node pool hostName pattern string.
    instanceChargePrepaid Property Map
    Billing configuration for yearly and monthly models.
    internetAccessible Property Map
    Public network bandwidth settings.
    keyIds List<String>
    Node pool ssh public key id array.
    kubeletArgs List<String>
    Kubelet custom parameters.
    lifecycle Property Map
    Predefined scripts.
    machineType String
    Node pool type. Example value: NativeCVM or Native. Default is Native.
    management Property Map
    Node pool management parameter settings.
    replicas Number
    Desired number of nodes.
    runtimeRootDir String
    Runtime root directory.
    scaling Property Map
    Node pool scaling configuration.

    KubernetesNativeNodePoolNativeDataDisk, KubernetesNativeNodePoolNativeDataDiskArgs

    AutoFormatAndMount bool
    Whether to automatically format the disk and mount it.
    DiskSize double
    Cloud disk size (G).
    DiskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    DiskPartition string
    Mount device name or partition name.
    Encrypt string
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    FileSystem string
    File system (ext3/ext4/xfs).
    KmsKeyId string
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    MountTarget string
    Mount directory.
    SnapshotId string
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    ThroughputPerformance double
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
    AutoFormatAndMount bool
    Whether to automatically format the disk and mount it.
    DiskSize float64
    Cloud disk size (G).
    DiskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    DiskPartition string
    Mount device name or partition name.
    Encrypt string
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    FileSystem string
    File system (ext3/ext4/xfs).
    KmsKeyId string
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    MountTarget string
    Mount directory.
    SnapshotId string
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    ThroughputPerformance float64
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
    autoFormatAndMount Boolean
    Whether to automatically format the disk and mount it.
    diskSize Double
    Cloud disk size (G).
    diskType String
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    diskPartition String
    Mount device name or partition name.
    encrypt String
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    fileSystem String
    File system (ext3/ext4/xfs).
    kmsKeyId String
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    mountTarget String
    Mount directory.
    snapshotId String
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    throughputPerformance Double
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
    autoFormatAndMount boolean
    Whether to automatically format the disk and mount it.
    diskSize number
    Cloud disk size (G).
    diskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    diskPartition string
    Mount device name or partition name.
    encrypt string
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    fileSystem string
    File system (ext3/ext4/xfs).
    kmsKeyId string
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    mountTarget string
    Mount directory.
    snapshotId string
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    throughputPerformance number
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
    auto_format_and_mount bool
    Whether to automatically format the disk and mount it.
    disk_size float
    Cloud disk size (G).
    disk_type str
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    disk_partition str
    Mount device name or partition name.
    encrypt str
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    file_system str
    File system (ext3/ext4/xfs).
    kms_key_id str
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    mount_target str
    Mount directory.
    snapshot_id str
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    throughput_performance float
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
    autoFormatAndMount Boolean
    Whether to automatically format the disk and mount it.
    diskSize Number
    Cloud disk size (G).
    diskType String
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD, LOCAL_NVME: local NVME disk.
    diskPartition String
    Mount device name or partition name.
    encrypt String
    Pass in this parameter to create an encrypted cloud disk. The value is fixed to ENCRYPT.
    fileSystem String
    File system (ext3/ext4/xfs).
    kmsKeyId String
    Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
    mountTarget String
    Mount directory.
    snapshotId String
    Snapshot ID. If passed in, the cloud disk will be created based on this snapshot. The snapshot type must be a data disk snapshot.
    throughputPerformance Number
    Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.

    KubernetesNativeNodePoolNativeInstanceChargePrepaid, KubernetesNativeNodePoolNativeInstanceChargePrepaidArgs

    Period double
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    RenewFlag string
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.
    Period float64
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    RenewFlag string
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.
    period Double
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    renewFlag String
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.
    period number
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    renewFlag string
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.
    period float
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    renew_flag str
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.
    period Number
    Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
    renewFlag String
    Prepaid renewal method:

    • NOTIFY_AND_AUTO_RENEW: Notify users of expiration and automatically renew (default).
    • NOTIFY_AND_MANUAL_RENEW: Notify users of expiration, but do not automatically renew.
    • DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify users of expiration and do not automatically renew.

    KubernetesNativeNodePoolNativeInternetAccessible, KubernetesNativeNodePoolNativeInternetAccessibleArgs

    ChargeType string
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    MaxBandwidthOut double
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    BandwidthPackageId string
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
    ChargeType string
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    MaxBandwidthOut float64
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    BandwidthPackageId string
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
    chargeType String
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    maxBandwidthOut Double
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    bandwidthPackageId String
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
    chargeType string
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    maxBandwidthOut number
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    bandwidthPackageId string
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
    charge_type str
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    max_bandwidth_out float
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    bandwidth_package_id str
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
    chargeType String
    Network billing method. Optional value is TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    maxBandwidthOut Number
    Maximum bandwidth output. Note: When chargeType is TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR, the valid range is 1~100. When chargeType is BANDWIDTH_PACKAG, the valid range is 1~2000.
    bandwidthPackageId String
    Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.

    KubernetesNativeNodePoolNativeLifecycle, KubernetesNativeNodePoolNativeLifecycleArgs

    PostInit string
    Custom script after node initialization.
    PreInit string
    Custom script before node initialization.
    PostInit string
    Custom script after node initialization.
    PreInit string
    Custom script before node initialization.
    postInit String
    Custom script after node initialization.
    preInit String
    Custom script before node initialization.
    postInit string
    Custom script after node initialization.
    preInit string
    Custom script before node initialization.
    post_init str
    Custom script after node initialization.
    pre_init str
    Custom script before node initialization.
    postInit String
    Custom script after node initialization.
    preInit String
    Custom script before node initialization.

    KubernetesNativeNodePoolNativeManagement, KubernetesNativeNodePoolNativeManagementArgs

    Hosts List<string>
    Hosts configuration.
    KernelArgs List<string>
    Kernel parameter configuration.
    Nameservers List<string>
    Dns configuration.
    Hosts []string
    Hosts configuration.
    KernelArgs []string
    Kernel parameter configuration.
    Nameservers []string
    Dns configuration.
    hosts List<String>
    Hosts configuration.
    kernelArgs List<String>
    Kernel parameter configuration.
    nameservers List<String>
    Dns configuration.
    hosts string[]
    Hosts configuration.
    kernelArgs string[]
    Kernel parameter configuration.
    nameservers string[]
    Dns configuration.
    hosts Sequence[str]
    Hosts configuration.
    kernel_args Sequence[str]
    Kernel parameter configuration.
    nameservers Sequence[str]
    Dns configuration.
    hosts List<String>
    Hosts configuration.
    kernelArgs List<String>
    Kernel parameter configuration.
    nameservers List<String>
    Dns configuration.

    KubernetesNativeNodePoolNativeScaling, KubernetesNativeNodePoolNativeScalingArgs

    CreatePolicy string
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    MaxReplicas double
    Maximum number of replicas in node pool.
    MinReplicas double
    Minimum number of replicas in node pool.
    CreatePolicy string
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    MaxReplicas float64
    Maximum number of replicas in node pool.
    MinReplicas float64
    Minimum number of replicas in node pool.
    createPolicy String
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    maxReplicas Double
    Maximum number of replicas in node pool.
    minReplicas Double
    Minimum number of replicas in node pool.
    createPolicy string
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    maxReplicas number
    Maximum number of replicas in node pool.
    minReplicas number
    Minimum number of replicas in node pool.
    create_policy str
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    max_replicas float
    Maximum number of replicas in node pool.
    min_replicas float
    Minimum number of replicas in node pool.
    createPolicy String
    Node pool expansion strategy. ZoneEquality: multiple availability zones are broken up; ZonePriority: the preferred availability zone takes precedence.
    maxReplicas Number
    Maximum number of replicas in node pool.
    minReplicas Number
    Minimum number of replicas in node pool.

    KubernetesNativeNodePoolNativeSystemDisk, KubernetesNativeNodePoolNativeSystemDiskArgs

    DiskSize double
    Cloud disk size (G).
    DiskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.
    DiskSize float64
    Cloud disk size (G).
    DiskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.
    diskSize Double
    Cloud disk size (G).
    diskType String
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.
    diskSize number
    Cloud disk size (G).
    diskType string
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.
    disk_size float
    Cloud disk size (G).
    disk_type str
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.
    diskSize Number
    Cloud disk size (G).
    diskType String
    Cloud disk type. Valid values: CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_SSD: cloud SSD disk, CLOUD_BSSD: Basic SSD, CLOUD_HSSD: Enhanced SSD.

    KubernetesNativeNodePoolTag, KubernetesNativeNodePoolTagArgs

    ResourceType string
    The resource type bound to the label.
    Tags List<KubernetesNativeNodePoolTagTag>
    Tag pair list.
    ResourceType string
    The resource type bound to the label.
    Tags []KubernetesNativeNodePoolTagTag
    Tag pair list.
    resourceType String
    The resource type bound to the label.
    tags List<KubernetesNativeNodePoolTagTag>
    Tag pair list.
    resourceType string
    The resource type bound to the label.
    tags KubernetesNativeNodePoolTagTag[]
    Tag pair list.
    resource_type str
    The resource type bound to the label.
    tags Sequence[KubernetesNativeNodePoolTagTag]
    Tag pair list.
    resourceType String
    The resource type bound to the label.
    tags List<Property Map>
    Tag pair list.

    KubernetesNativeNodePoolTagTag, KubernetesNativeNodePoolTagTagArgs

    Key string
    Tag Key.
    Value string
    Tag Value.
    Key string
    Tag Key.
    Value string
    Tag Value.
    key String
    Tag Key.
    value String
    Tag Value.
    key string
    Tag Key.
    value string
    Tag Value.
    key str
    Tag Key.
    value str
    Tag Value.
    key String
    Tag Key.
    value String
    Tag Value.

    KubernetesNativeNodePoolTaint, KubernetesNativeNodePoolTaintArgs

    Effect string
    Effect of the taint.
    Key string
    Key of the taint.
    Value string
    Value of the taint.
    Effect string
    Effect of the taint.
    Key string
    Key of the taint.
    Value string
    Value of the taint.
    effect String
    Effect of the taint.
    key String
    Key of the taint.
    value String
    Value of the taint.
    effect string
    Effect of the taint.
    key string
    Key of the taint.
    value string
    Value of the taint.
    effect str
    Effect of the taint.
    key str
    Key of the taint.
    value str
    Value of the taint.
    effect String
    Effect of the taint.
    key String
    Key of the taint.
    value String
    Value of the taint.

    Import

    tke kubernetes_native_node_pool can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/kubernetesNativeNodePool:KubernetesNativeNodePool kubernetes_native_node_pool cls-xxx#np-xxx
    

    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