tencentcloud.KubernetesNativeNodePool
Explore with Pulumi AI
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:
- Cluster
Id string - ID of the cluster.
- Native
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- Type string
- Node pool type. Optional value is
Native
. - Annotations
List<Kubernetes
Native Node Pool Annotation> - Node Annotation List.
- Deletion
Protection bool - Whether to enable deletion protection.
- Kubernetes
Native stringNode Pool Id - ID of the resource.
- Labels
List<Kubernetes
Native Node Pool Label> - Node Labels.
- Name string
- Node pool name.
- List<Kubernetes
Native Node Pool Tag> - Node tags.
- Taints
List<Kubernetes
Native Node Pool Taint> - 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.
- Cluster
Id string - ID of the cluster.
- Native
Kubernetes
Native Node Pool Native Args - Native node pool creation parameters.
- Type string
- Node pool type. Optional value is
Native
. - Annotations
[]Kubernetes
Native Node Pool Annotation Args - Node Annotation List.
- Deletion
Protection bool - Whether to enable deletion protection.
- Kubernetes
Native stringNode Pool Id - ID of the resource.
- Labels
[]Kubernetes
Native Node Pool Label Args - Node Labels.
- Name string
- Node pool name.
- []Kubernetes
Native Node Pool Tag Args - Node tags.
- Taints
[]Kubernetes
Native Node Pool Taint Args - 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.
- cluster
Id String - ID of the cluster.
- native_
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- type String
- Node pool type. Optional value is
Native
. - annotations
List<Kubernetes
Native Node Pool Annotation> - Node Annotation List.
- deletion
Protection Boolean - Whether to enable deletion protection.
- kubernetes
Native StringNode Pool Id - ID of the resource.
- labels
List<Kubernetes
Native Node Pool Label> - Node Labels.
- name String
- Node pool name.
- List<Kubernetes
Native Node Pool Tag> - Node tags.
- taints
List<Kubernetes
Native Node Pool Taint> - 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 string - ID of the cluster.
- native
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- type string
- Node pool type. Optional value is
Native
. - annotations
Kubernetes
Native Node Pool Annotation[] - Node Annotation List.
- deletion
Protection boolean - Whether to enable deletion protection.
- kubernetes
Native stringNode Pool Id - ID of the resource.
- labels
Kubernetes
Native Node Pool Label[] - Node Labels.
- name string
- Node pool name.
- Kubernetes
Native Node Pool Tag[] - Node tags.
- taints
Kubernetes
Native Node Pool Taint[] - 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
Kubernetes
Native Node Pool Native Args - Native node pool creation parameters.
- type str
- Node pool type. Optional value is
Native
. - annotations
Sequence[Kubernetes
Native Node Pool Annotation Args] - Node Annotation List.
- deletion_
protection bool - Whether to enable deletion protection.
- kubernetes_
native_ strnode_ pool_ id - ID of the resource.
- labels
Sequence[Kubernetes
Native Node Pool Label Args] - Node Labels.
- name str
- Node pool name.
- Sequence[Kubernetes
Native Node Pool Tag Args] - Node tags.
- taints
Sequence[Kubernetes
Native Node Pool Taint Args] - 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.
- cluster
Id 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.
- deletion
Protection Boolean - Whether to enable deletion protection.
- kubernetes
Native StringNode Pool Id - ID of the resource.
- labels List<Property Map>
- Node Labels.
- name String
- Node pool name.
- 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:
- created_
at str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- life_
state str - 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.
- Annotations
List<Kubernetes
Native Node Pool Annotation> - Node Annotation List.
- Cluster
Id string - ID of the cluster.
- Created
At string - Creation time.
- Deletion
Protection bool - Whether to enable deletion protection.
- Kubernetes
Native stringNode Pool Id - ID of the resource.
- Labels
List<Kubernetes
Native Node Pool Label> - Node Labels.
- Life
State string - Node pool status.
- Name string
- Node pool name.
- Native
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- List<Kubernetes
Native Node Pool Tag> - Node tags.
- Taints
List<Kubernetes
Native Node Pool Taint> - 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
[]Kubernetes
Native Node Pool Annotation Args - Node Annotation List.
- Cluster
Id string - ID of the cluster.
- Created
At string - Creation time.
- Deletion
Protection bool - Whether to enable deletion protection.
- Kubernetes
Native stringNode Pool Id - ID of the resource.
- Labels
[]Kubernetes
Native Node Pool Label Args - Node Labels.
- Life
State string - Node pool status.
- Name string
- Node pool name.
- Native
Kubernetes
Native Node Pool Native Args - Native node pool creation parameters.
- []Kubernetes
Native Node Pool Tag Args - Node tags.
- Taints
[]Kubernetes
Native Node Pool Taint Args - 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<Kubernetes
Native Node Pool Annotation> - Node Annotation List.
- cluster
Id String - ID of the cluster.
- created
At String - Creation time.
- deletion
Protection Boolean - Whether to enable deletion protection.
- kubernetes
Native StringNode Pool Id - ID of the resource.
- labels
List<Kubernetes
Native Node Pool Label> - Node Labels.
- life
State String - Node pool status.
- name String
- Node pool name.
- native_
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- List<Kubernetes
Native Node Pool Tag> - Node tags.
- taints
List<Kubernetes
Native Node Pool Taint> - 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
Kubernetes
Native Node Pool Annotation[] - Node Annotation List.
- cluster
Id string - ID of the cluster.
- created
At string - Creation time.
- deletion
Protection boolean - Whether to enable deletion protection.
- kubernetes
Native stringNode Pool Id - ID of the resource.
- labels
Kubernetes
Native Node Pool Label[] - Node Labels.
- life
State string - Node pool status.
- name string
- Node pool name.
- native
Kubernetes
Native Node Pool Native - Native node pool creation parameters.
- Kubernetes
Native Node Pool Tag[] - Node tags.
- taints
Kubernetes
Native Node Pool Taint[] - 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[Kubernetes
Native Node Pool Annotation Args] - 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_ strnode_ pool_ id - ID of the resource.
- labels
Sequence[Kubernetes
Native Node Pool Label Args] - Node Labels.
- life_
state str - Node pool status.
- name str
- Node pool name.
- native
Kubernetes
Native Node Pool Native Args - Native node pool creation parameters.
- Sequence[Kubernetes
Native Node Pool Tag Args] - Node tags.
- taints
Sequence[Kubernetes
Native Node Pool Taint Args] - 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.
- cluster
Id String - ID of the cluster.
- created
At String - Creation time.
- deletion
Protection Boolean - Whether to enable deletion protection.
- kubernetes
Native StringNode Pool Id - ID of the resource.
- labels List<Property Map>
- Node Labels.
- life
State String - Node pool status.
- name String
- Node pool name.
- native Property Map
- Native node pool creation parameters.
- 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
KubernetesNativeNodePoolLabel, KubernetesNativeNodePoolLabelArgs
KubernetesNativeNodePoolNative, KubernetesNativeNodePoolNativeArgs
- Instance
Charge stringType - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - Instance
Types List<string> - Model list.
- Security
Group List<string>Ids - Security group list.
- Subnet
Ids List<string> - Subnet list.
- System
Disk KubernetesNative Node Pool Native System Disk - System disk configuration.
- Auto
Repair bool - Whether to enable self-healing ability.
- Data
Disks List<KubernetesNative Node Pool Native Data Disk> - Native node pool data disk list.
- Enable
Autoscaling bool - Whether to enable elastic scaling.
- Health
Check stringPolicy Name - Fault self-healing rule name.
- Host
Name stringPattern - Native node pool hostName pattern string.
- Instance
Charge KubernetesPrepaid Native Node Pool Native Instance Charge Prepaid - Billing configuration for yearly and monthly models.
- Internet
Accessible KubernetesNative Node Pool Native Internet Accessible - Public network bandwidth settings.
- Key
Ids List<string> - Node pool ssh public key id array.
- Kubelet
Args List<string> - Kubelet custom parameters.
- Lifecycle
Kubernetes
Native Node Pool Native Lifecycle - Predefined scripts.
- Machine
Type string - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - Management
Kubernetes
Native Node Pool Native Management - Node pool management parameter settings.
- Replicas double
- Desired number of nodes.
- Runtime
Root stringDir - Runtime root directory.
- Scaling
Kubernetes
Native Node Pool Native Scaling - Node pool scaling configuration.
- Instance
Charge stringType - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - Instance
Types []string - Model list.
- Security
Group []stringIds - Security group list.
- Subnet
Ids []string - Subnet list.
- System
Disk KubernetesNative Node Pool Native System Disk - System disk configuration.
- Auto
Repair bool - Whether to enable self-healing ability.
- Data
Disks []KubernetesNative Node Pool Native Data Disk - Native node pool data disk list.
- Enable
Autoscaling bool - Whether to enable elastic scaling.
- Health
Check stringPolicy Name - Fault self-healing rule name.
- Host
Name stringPattern - Native node pool hostName pattern string.
- Instance
Charge KubernetesPrepaid Native Node Pool Native Instance Charge Prepaid - Billing configuration for yearly and monthly models.
- Internet
Accessible KubernetesNative Node Pool Native Internet Accessible - Public network bandwidth settings.
- Key
Ids []string - Node pool ssh public key id array.
- Kubelet
Args []string - Kubelet custom parameters.
- Lifecycle
Kubernetes
Native Node Pool Native Lifecycle - Predefined scripts.
- Machine
Type string - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - Management
Kubernetes
Native Node Pool Native Management - Node pool management parameter settings.
- Replicas float64
- Desired number of nodes.
- Runtime
Root stringDir - Runtime root directory.
- Scaling
Kubernetes
Native Node Pool Native Scaling - Node pool scaling configuration.
- instance
Charge StringType - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - instance
Types List<String> - Model list.
- security
Group List<String>Ids - Security group list.
- subnet
Ids List<String> - Subnet list.
- system
Disk KubernetesNative Node Pool Native System Disk - System disk configuration.
- auto
Repair Boolean - Whether to enable self-healing ability.
- data
Disks List<KubernetesNative Node Pool Native Data Disk> - Native node pool data disk list.
- enable
Autoscaling Boolean - Whether to enable elastic scaling.
- health
Check StringPolicy Name - Fault self-healing rule name.
- host
Name StringPattern - Native node pool hostName pattern string.
- instance
Charge KubernetesPrepaid Native Node Pool Native Instance Charge Prepaid - Billing configuration for yearly and monthly models.
- internet
Accessible KubernetesNative Node Pool Native Internet Accessible - Public network bandwidth settings.
- key
Ids List<String> - Node pool ssh public key id array.
- kubelet
Args List<String> - Kubelet custom parameters.
- lifecycle
Kubernetes
Native Node Pool Native Lifecycle - Predefined scripts.
- machine
Type String - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - management
Kubernetes
Native Node Pool Native Management - Node pool management parameter settings.
- replicas Double
- Desired number of nodes.
- runtime
Root StringDir - Runtime root directory.
- scaling
Kubernetes
Native Node Pool Native Scaling - Node pool scaling configuration.
- instance
Charge stringType - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - instance
Types string[] - Model list.
- security
Group string[]Ids - Security group list.
- subnet
Ids string[] - Subnet list.
- system
Disk KubernetesNative Node Pool Native System Disk - System disk configuration.
- auto
Repair boolean - Whether to enable self-healing ability.
- data
Disks KubernetesNative Node Pool Native Data Disk[] - Native node pool data disk list.
- enable
Autoscaling boolean - Whether to enable elastic scaling.
- health
Check stringPolicy Name - Fault self-healing rule name.
- host
Name stringPattern - Native node pool hostName pattern string.
- instance
Charge KubernetesPrepaid Native Node Pool Native Instance Charge Prepaid - Billing configuration for yearly and monthly models.
- internet
Accessible KubernetesNative Node Pool Native Internet Accessible - Public network bandwidth settings.
- key
Ids string[] - Node pool ssh public key id array.
- kubelet
Args string[] - Kubelet custom parameters.
- lifecycle
Kubernetes
Native Node Pool Native Lifecycle - Predefined scripts.
- machine
Type string - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - management
Kubernetes
Native Node Pool Native Management - Node pool management parameter settings.
- replicas number
- Desired number of nodes.
- runtime
Root stringDir - Runtime root directory.
- scaling
Kubernetes
Native Node Pool Native Scaling - Node pool scaling configuration.
- instance_
charge_ strtype - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - instance_
types Sequence[str] - Model list.
- security_
group_ Sequence[str]ids - Security group list.
- subnet_
ids Sequence[str] - Subnet list.
- system_
disk KubernetesNative Node Pool Native System Disk - System disk configuration.
- auto_
repair bool - Whether to enable self-healing ability.
- data_
disks Sequence[KubernetesNative Node Pool Native Data Disk] - Native node pool data disk list.
- enable_
autoscaling bool - Whether to enable elastic scaling.
- health_
check_ strpolicy_ name - Fault self-healing rule name.
- host_
name_ strpattern - Native node pool hostName pattern string.
- instance_
charge_ Kubernetesprepaid Native Node Pool Native Instance Charge Prepaid - Billing configuration for yearly and monthly models.
- internet_
accessible KubernetesNative Node Pool Native Internet Accessible - Public network bandwidth settings.
- key_
ids Sequence[str] - Node pool ssh public key id array.
- kubelet_
args Sequence[str] - Kubelet custom parameters.
- lifecycle
Kubernetes
Native Node Pool Native Lifecycle - Predefined scripts.
- machine_
type str - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - management
Kubernetes
Native Node Pool Native Management - Node pool management parameter settings.
- replicas float
- Desired number of nodes.
- runtime_
root_ strdir - Runtime root directory.
- scaling
Kubernetes
Native Node Pool Native Scaling - Node pool scaling configuration.
- instance
Charge StringType - Node billing type.
PREPAID
is a yearly and monthly subscription,POSTPAID_BY_HOUR
is a pay-as-you-go plan. The default isPOSTPAID_BY_HOUR
. - instance
Types List<String> - Model list.
- security
Group List<String>Ids - Security group list.
- subnet
Ids List<String> - Subnet list.
- system
Disk Property Map - System disk configuration.
- auto
Repair Boolean - Whether to enable self-healing ability.
- data
Disks List<Property Map> - Native node pool data disk list.
- enable
Autoscaling Boolean - Whether to enable elastic scaling.
- health
Check StringPolicy Name - Fault self-healing rule name.
- host
Name StringPattern - Native node pool hostName pattern string.
- instance
Charge Property MapPrepaid - Billing configuration for yearly and monthly models.
- internet
Accessible Property Map - Public network bandwidth settings.
- key
Ids List<String> - Node pool ssh public key id array.
- kubelet
Args List<String> - Kubelet custom parameters.
- lifecycle Property Map
- Predefined scripts.
- machine
Type String - Node pool type. Example value:
NativeCVM
orNative
. Default isNative
. - management Property Map
- Node pool management parameter settings.
- replicas Number
- Desired number of nodes.
- runtime
Root StringDir - Runtime root directory.
- scaling Property Map
- Node pool scaling configuration.
KubernetesNativeNodePoolNativeDataDisk, KubernetesNativeNodePoolNativeDataDiskArgs
- Auto
Format boolAnd Mount - Whether to automatically format the disk and mount it.
- Disk
Size double - Cloud disk size (G).
- Disk
Type 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. - Disk
Partition 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
. - File
System string - File system (ext3/ext4/xfs).
- Kms
Key stringId - Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
- Mount
Target string - Mount directory.
- Snapshot
Id 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.
- Throughput
Performance double - Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
- Auto
Format boolAnd Mount - Whether to automatically format the disk and mount it.
- Disk
Size float64 - Cloud disk size (G).
- Disk
Type 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. - Disk
Partition 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
. - File
System string - File system (ext3/ext4/xfs).
- Kms
Key stringId - Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
- Mount
Target string - Mount directory.
- Snapshot
Id 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.
- Throughput
Performance float64 - Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
- auto
Format BooleanAnd Mount - Whether to automatically format the disk and mount it.
- disk
Size Double - Cloud disk size (G).
- disk
Type 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. - disk
Partition 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
. - file
System String - File system (ext3/ext4/xfs).
- kms
Key StringId - Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
- mount
Target String - Mount directory.
- snapshot
Id 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.
- throughput
Performance Double - Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
- auto
Format booleanAnd Mount - Whether to automatically format the disk and mount it.
- disk
Size number - Cloud disk size (G).
- disk
Type 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. - disk
Partition 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
. - file
System string - File system (ext3/ext4/xfs).
- kms
Key stringId - Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
- mount
Target string - Mount directory.
- snapshot
Id 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.
- throughput
Performance number - Cloud disk performance, unit: MB/s. Use this parameter to purchase additional performance for the cloud disk.
- auto_
format_ booland_ mount - 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_ strid - 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.
- auto
Format BooleanAnd Mount - Whether to automatically format the disk and mount it.
- disk
Size Number - Cloud disk size (G).
- disk
Type 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. - disk
Partition 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
. - file
System String - File system (ext3/ext4/xfs).
- kms
Key StringId - Customize the key when purchasing an encrypted disk. When this parameter is passed in, the Encrypt parameter is not empty.
- mount
Target String - Mount directory.
- snapshot
Id 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.
- throughput
Performance 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.
- Renew
Flag 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.
- Renew
Flag 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.
- renew
Flag 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.
- renew
Flag 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.
- renew
Flag 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
- Charge
Type string - Network billing method. Optional value is
TRAFFIC_POSTPAID_BY_HOUR
,BANDWIDTH_POSTPAID_BY_HOUR
andBANDWIDTH_PACKAGE
. - Max
Bandwidth doubleOut - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - Bandwidth
Package stringId - Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
- Charge
Type string - Network billing method. Optional value is
TRAFFIC_POSTPAID_BY_HOUR
,BANDWIDTH_POSTPAID_BY_HOUR
andBANDWIDTH_PACKAGE
. - Max
Bandwidth float64Out - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - Bandwidth
Package stringId - Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
- charge
Type String - Network billing method. Optional value is
TRAFFIC_POSTPAID_BY_HOUR
,BANDWIDTH_POSTPAID_BY_HOUR
andBANDWIDTH_PACKAGE
. - max
Bandwidth DoubleOut - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - bandwidth
Package StringId - Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
- charge
Type string - Network billing method. Optional value is
TRAFFIC_POSTPAID_BY_HOUR
,BANDWIDTH_POSTPAID_BY_HOUR
andBANDWIDTH_PACKAGE
. - max
Bandwidth numberOut - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - bandwidth
Package stringId - 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
andBANDWIDTH_PACKAGE
. - max_
bandwidth_ floatout - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - bandwidth_
package_ strid - Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
- charge
Type String - Network billing method. Optional value is
TRAFFIC_POSTPAID_BY_HOUR
,BANDWIDTH_POSTPAID_BY_HOUR
andBANDWIDTH_PACKAGE
. - max
Bandwidth NumberOut - Maximum bandwidth output. Note: When chargeType is
TRAFFIC_POSTPAID_BY_HOUR
andBANDWIDTH_POSTPAID_BY_HOUR
, the valid range is 1~100. When chargeType isBANDWIDTH_PACKAG
, the valid range is 1~2000. - bandwidth
Package StringId - Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
KubernetesNativeNodePoolNativeLifecycle, KubernetesNativeNodePoolNativeLifecycleArgs
KubernetesNativeNodePoolNativeManagement, KubernetesNativeNodePoolNativeManagementArgs
- Hosts List<string>
- Hosts configuration.
- Kernel
Args List<string> - Kernel parameter configuration.
- Nameservers List<string>
- Dns configuration.
- Hosts []string
- Hosts configuration.
- Kernel
Args []string - Kernel parameter configuration.
- Nameservers []string
- Dns configuration.
- hosts List<String>
- Hosts configuration.
- kernel
Args List<String> - Kernel parameter configuration.
- nameservers List<String>
- Dns configuration.
- hosts string[]
- Hosts configuration.
- kernel
Args 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.
- kernel
Args List<String> - Kernel parameter configuration.
- nameservers List<String>
- Dns configuration.
KubernetesNativeNodePoolNativeScaling, KubernetesNativeNodePoolNativeScalingArgs
- Create
Policy string - Node pool expansion strategy.
ZoneEquality
: multiple availability zones are broken up;ZonePriority
: the preferred availability zone takes precedence. - Max
Replicas double - Maximum number of replicas in node pool.
- Min
Replicas double - Minimum number of replicas in node pool.
- Create
Policy string - Node pool expansion strategy.
ZoneEquality
: multiple availability zones are broken up;ZonePriority
: the preferred availability zone takes precedence. - Max
Replicas float64 - Maximum number of replicas in node pool.
- Min
Replicas float64 - Minimum number of replicas in node pool.
- create
Policy String - Node pool expansion strategy.
ZoneEquality
: multiple availability zones are broken up;ZonePriority
: the preferred availability zone takes precedence. - max
Replicas Double - Maximum number of replicas in node pool.
- min
Replicas Double - Minimum number of replicas in node pool.
- create
Policy string - Node pool expansion strategy.
ZoneEquality
: multiple availability zones are broken up;ZonePriority
: the preferred availability zone takes precedence. - max
Replicas number - Maximum number of replicas in node pool.
- min
Replicas 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.
- create
Policy String - Node pool expansion strategy.
ZoneEquality
: multiple availability zones are broken up;ZonePriority
: the preferred availability zone takes precedence. - max
Replicas Number - Maximum number of replicas in node pool.
- min
Replicas Number - Minimum number of replicas in node pool.
KubernetesNativeNodePoolNativeSystemDisk, KubernetesNativeNodePoolNativeSystemDiskArgs
KubernetesNativeNodePoolTag, KubernetesNativeNodePoolTagArgs
- Resource
Type string - The resource type bound to the label.
- List<Kubernetes
Native Node Pool Tag Tag> - Tag pair list.
- Resource
Type string - The resource type bound to the label.
- []Kubernetes
Native Node Pool Tag Tag - Tag pair list.
- resource
Type String - The resource type bound to the label.
- List<Kubernetes
Native Node Pool Tag Tag> - Tag pair list.
- resource
Type string - The resource type bound to the label.
- Kubernetes
Native Node Pool Tag Tag[] - Tag pair list.
- resource_
type str - The resource type bound to the label.
- Sequence[Kubernetes
Native Node Pool Tag Tag] - Tag pair list.
- resource
Type String - The resource type bound to the label.
- List<Property Map>
- Tag pair list.
KubernetesNativeNodePoolTagTag, KubernetesNativeNodePoolTagTagArgs
KubernetesNativeNodePoolTaint, KubernetesNativeNodePoolTaintArgs
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.