Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vke.NodePools
Explore with Pulumi AI
Use this data source to query detailed information of vke node pools
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
    securityGroupName: "acc-test-security-group",
    vpcId: fooVpc.id,
});
const fooImages = volcengine.ecs.Images({
    nameRegex: "veLinux 1.0 CentOS兼容版 64位",
});
const fooCluster = new volcengine.vke.Cluster("fooCluster", {
    description: "created by terraform",
    deleteProtectionEnabled: false,
    clusterConfig: {
        subnetIds: [fooSubnet.id],
        apiServerPublicAccessEnabled: true,
        apiServerPublicAccessConfig: {
            publicAccessNetworkConfig: {
                billingType: "PostPaidByBandwidth",
                bandwidth: 1,
            },
        },
        resourcePublicAccessDefaultEnabled: true,
    },
    podsConfig: {
        podNetworkMode: "VpcCniShared",
        vpcCniConfig: {
            subnetIds: [fooSubnet.id],
        },
    },
    servicesConfig: {
        serviceCidrsv4s: ["172.30.0.0/18"],
    },
    tags: [{
        key: "tf-k1",
        value: "tf-v1",
    }],
});
const fooNodePool: volcengine.vke.NodePool[] = [];
for (const range = {value: 0}; range.value < 3; range.value++) {
    fooNodePool.push(new volcengine.vke.NodePool(`fooNodePool-${range.value}`, {
        clusterId: fooCluster.id,
        autoScaling: {
            enabled: true,
            minReplicas: 0,
            maxReplicas: 5,
            desiredReplicas: 0,
            priority: 5,
            subnetPolicy: "ZoneBalance",
        },
        nodeConfig: {
            instanceTypeIds: ["ecs.g1ie.xlarge"],
            subnetIds: [fooSubnet.id],
            imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
            systemVolume: {
                type: "ESSD_PL0",
                size: 60,
            },
            dataVolumes: [
                {
                    type: "ESSD_PL0",
                    size: 60,
                    mountPoint: "/tf1",
                },
                {
                    type: "ESSD_PL0",
                    size: 60,
                    mountPoint: "/tf2",
                },
            ],
            initializeScript: "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
            security: {
                login: {
                    password: "UHdkMTIzNDU2",
                },
                securityStrategies: ["Hids"],
                securityGroupIds: [fooSecurityGroup.id],
            },
            additionalContainerStorageEnabled: true,
            instanceChargeType: "PostPaid",
            namePrefix: "acc-test",
            ecsTags: [{
                key: "ecs_k1",
                value: "ecs_v1",
            }],
        },
        kubernetesConfig: {
            labels: [{
                key: "label1",
                value: "value1",
            }],
            taints: [{
                key: "taint-key/node-type",
                value: "taint-value",
                effect: "NoSchedule",
            }],
            cordon: true,
        },
        tags: [{
            key: "node-pool-k1",
            value: "node-pool-v1",
        }],
    }));
}
const fooNodePools = volcengine.vke.NodePoolsOutput({
    ids: fooNodePool.map(__item => __item.id),
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
    security_group_name="acc-test-security-group",
    vpc_id=foo_vpc.id)
foo_images = volcengine.ecs.images(name_regex="veLinux 1.0 CentOS兼容版 64位")
foo_cluster = volcengine.vke.Cluster("fooCluster",
    description="created by terraform",
    delete_protection_enabled=False,
    cluster_config=volcengine.vke.ClusterClusterConfigArgs(
        subnet_ids=[foo_subnet.id],
        api_server_public_access_enabled=True,
        api_server_public_access_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigArgs(
            public_access_network_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
                billing_type="PostPaidByBandwidth",
                bandwidth=1,
            ),
        ),
        resource_public_access_default_enabled=True,
    ),
    pods_config=volcengine.vke.ClusterPodsConfigArgs(
        pod_network_mode="VpcCniShared",
        vpc_cni_config=volcengine.vke.ClusterPodsConfigVpcCniConfigArgs(
            subnet_ids=[foo_subnet.id],
        ),
    ),
    services_config=volcengine.vke.ClusterServicesConfigArgs(
        service_cidrsv4s=["172.30.0.0/18"],
    ),
    tags=[volcengine.vke.ClusterTagArgs(
        key="tf-k1",
        value="tf-v1",
    )])
foo_node_pool = []
for range in [{"value": i} for i in range(0, 3)]:
    foo_node_pool.append(volcengine.vke.NodePool(f"fooNodePool-{range['value']}",
        cluster_id=foo_cluster.id,
        auto_scaling=volcengine.vke.NodePoolAutoScalingArgs(
            enabled=True,
            min_replicas=0,
            max_replicas=5,
            desired_replicas=0,
            priority=5,
            subnet_policy="ZoneBalance",
        ),
        node_config=volcengine.vke.NodePoolNodeConfigArgs(
            instance_type_ids=["ecs.g1ie.xlarge"],
            subnet_ids=[foo_subnet.id],
            image_id=[image.image_id for image in foo_images.images if image.image_name == "veLinux 1.0 CentOS兼容版 64位"][0],
            system_volume=volcengine.vke.NodePoolNodeConfigSystemVolumeArgs(
                type="ESSD_PL0",
                size=60,
            ),
            data_volumes=[
                volcengine.vke.NodePoolNodeConfigDataVolumeArgs(
                    type="ESSD_PL0",
                    size=60,
                    mount_point="/tf1",
                ),
                volcengine.vke.NodePoolNodeConfigDataVolumeArgs(
                    type="ESSD_PL0",
                    size=60,
                    mount_point="/tf2",
                ),
            ],
            initialize_script="ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
            security=volcengine.vke.NodePoolNodeConfigSecurityArgs(
                login=volcengine.vke.NodePoolNodeConfigSecurityLoginArgs(
                    password="UHdkMTIzNDU2",
                ),
                security_strategies=["Hids"],
                security_group_ids=[foo_security_group.id],
            ),
            additional_container_storage_enabled=True,
            instance_charge_type="PostPaid",
            name_prefix="acc-test",
            ecs_tags=[volcengine.vke.NodePoolNodeConfigEcsTagArgs(
                key="ecs_k1",
                value="ecs_v1",
            )],
        ),
        kubernetes_config=volcengine.vke.NodePoolKubernetesConfigArgs(
            labels=[volcengine.vke.NodePoolKubernetesConfigLabelArgs(
                key="label1",
                value="value1",
            )],
            taints=[volcengine.vke.NodePoolKubernetesConfigTaintArgs(
                key="taint-key/node-type",
                value="taint-value",
                effect="NoSchedule",
            )],
            cordon=True,
        ),
        tags=[volcengine.vke.NodePoolTagArgs(
            key="node-pool-k1",
            value="node-pool-v1",
        )]))
foo_node_pools = volcengine.vke.node_pools_output(ids=[__item.id for __item in foo_node_pool])
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil);
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
SecurityGroupName: pulumi.String("acc-test-security-group"),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
NameRegex: pulumi.StringRef("veLinux 1.0 CentOS兼容版 64位"),
}, nil);
if err != nil {
return err
}
fooCluster, err := vke.NewCluster(ctx, "fooCluster", &vke.ClusterArgs{
Description: pulumi.String("created by terraform"),
DeleteProtectionEnabled: pulumi.Bool(false),
ClusterConfig: &vke.ClusterClusterConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ApiServerPublicAccessEnabled: pulumi.Bool(true),
ApiServerPublicAccessConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigArgs{
PublicAccessNetworkConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
},
ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
},
PodsConfig: &vke.ClusterPodsConfigArgs{
PodNetworkMode: pulumi.String("VpcCniShared"),
VpcCniConfig: &vke.ClusterPodsConfigVpcCniConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
},
},
ServicesConfig: &vke.ClusterServicesConfigArgs{
ServiceCidrsv4s: pulumi.StringArray{
pulumi.String("172.30.0.0/18"),
},
},
Tags: vke.ClusterTagArray{
&vke.ClusterTagArgs{
Key: pulumi.String("tf-k1"),
Value: pulumi.String("tf-v1"),
},
},
})
if err != nil {
return err
}
var fooNodePool []*vke.NodePool
for index := 0; index < 3; index++ {
    key0 := index
    _ := index
__res, err := vke.NewNodePool(ctx, fmt.Sprintf("fooNodePool-%v", key0), &vke.NodePoolArgs{
ClusterId: fooCluster.ID(),
AutoScaling: &vke.NodePoolAutoScalingArgs{
Enabled: pulumi.Bool(true),
MinReplicas: pulumi.Int(0),
MaxReplicas: pulumi.Int(5),
DesiredReplicas: pulumi.Int(0),
Priority: pulumi.Int(5),
SubnetPolicy: pulumi.String("ZoneBalance"),
},
NodeConfig: &vke.NodePoolNodeConfigArgs{
InstanceTypeIds: pulumi.StringArray{
pulumi.String("ecs.g1ie.xlarge"),
},
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ImageId: "TODO: For expression"[0],
SystemVolume: &vke.NodePoolNodeConfigSystemVolumeArgs{
Type: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(60),
},
DataVolumes: vke.NodePoolNodeConfigDataVolumeArray{
&vke.NodePoolNodeConfigDataVolumeArgs{
Type: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(60),
MountPoint: pulumi.String("/tf1"),
},
&vke.NodePoolNodeConfigDataVolumeArgs{
Type: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(60),
MountPoint: pulumi.String("/tf2"),
},
},
InitializeScript: pulumi.String("ZWNobyBoZWxsbyB0ZXJyYWZvcm0h"),
Security: &vke.NodePoolNodeConfigSecurityArgs{
Login: &vke.NodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("UHdkMTIzNDU2"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("Hids"),
},
SecurityGroupIds: pulumi.StringArray{
fooSecurityGroup.ID(),
},
},
AdditionalContainerStorageEnabled: pulumi.Bool(true),
InstanceChargeType: pulumi.String("PostPaid"),
NamePrefix: pulumi.String("acc-test"),
EcsTags: vke.NodePoolNodeConfigEcsTagArray{
&vke.NodePoolNodeConfigEcsTagArgs{
Key: pulumi.String("ecs_k1"),
Value: pulumi.String("ecs_v1"),
},
},
},
KubernetesConfig: &vke.NodePoolKubernetesConfigArgs{
Labels: vke.NodePoolKubernetesConfigLabelArray{
&vke.NodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("label1"),
Value: pulumi.String("value1"),
},
},
Taints: vke.NodePoolKubernetesConfigTaintArray{
&vke.NodePoolKubernetesConfigTaintArgs{
Key: pulumi.String("taint-key/node-type"),
Value: pulumi.String("taint-value"),
Effect: pulumi.String("NoSchedule"),
},
},
Cordon: pulumi.Bool(true),
},
Tags: vke.NodePoolTagArray{
&vke.NodePoolTagArgs{
Key: pulumi.String("node-pool-k1"),
Value: pulumi.String("node-pool-v1"),
},
},
})
if err != nil {
return err
}
fooNodePool = append(fooNodePool, __res)
}
_ = vke.NodePoolsOutput(ctx, vke.NodePoolsOutputArgs{
Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:vke-nodePools:NodePools.pp:113,9-26),
}, nil);
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();
    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });
    var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
    {
        SecurityGroupName = "acc-test-security-group",
        VpcId = fooVpc.Id,
    });
    var fooImages = Volcengine.Ecs.Images.Invoke(new()
    {
        NameRegex = "veLinux 1.0 CentOS兼容版 64位",
    });
    var fooCluster = new Volcengine.Vke.Cluster("fooCluster", new()
    {
        Description = "created by terraform",
        DeleteProtectionEnabled = false,
        ClusterConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigArgs
        {
            SubnetIds = new[]
            {
                fooSubnet.Id,
            },
            ApiServerPublicAccessEnabled = true,
            ApiServerPublicAccessConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
            {
                PublicAccessNetworkConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
                {
                    BillingType = "PostPaidByBandwidth",
                    Bandwidth = 1,
                },
            },
            ResourcePublicAccessDefaultEnabled = true,
        },
        PodsConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigArgs
        {
            PodNetworkMode = "VpcCniShared",
            VpcCniConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigVpcCniConfigArgs
            {
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
            },
        },
        ServicesConfig = new Volcengine.Vke.Inputs.ClusterServicesConfigArgs
        {
            ServiceCidrsv4s = new[]
            {
                "172.30.0.0/18",
            },
        },
        Tags = new[]
        {
            new Volcengine.Vke.Inputs.ClusterTagArgs
            {
                Key = "tf-k1",
                Value = "tf-v1",
            },
        },
    });
    var fooNodePool = new List<Volcengine.Vke.NodePool>();
    for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
    {
        var range = new { Value = rangeIndex };
        fooNodePool.Add(new Volcengine.Vke.NodePool($"fooNodePool-{range.Value}", new()
        {
            ClusterId = fooCluster.Id,
            AutoScaling = new Volcengine.Vke.Inputs.NodePoolAutoScalingArgs
            {
                Enabled = true,
                MinReplicas = 0,
                MaxReplicas = 5,
                DesiredReplicas = 0,
                Priority = 5,
                SubnetPolicy = "ZoneBalance",
            },
            NodeConfig = new Volcengine.Vke.Inputs.NodePoolNodeConfigArgs
            {
                InstanceTypeIds = new[]
                {
                    "ecs.g1ie.xlarge",
                },
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
                ImageId = .Where(image => image.ImageName == "veLinux 1.0 CentOS兼容版 64位").Select(image => 
                {
                    return image.ImageId;
                }).ToList()[0],
                SystemVolume = new Volcengine.Vke.Inputs.NodePoolNodeConfigSystemVolumeArgs
                {
                    Type = "ESSD_PL0",
                    Size = 60,
                },
                DataVolumes = new[]
                {
                    new Volcengine.Vke.Inputs.NodePoolNodeConfigDataVolumeArgs
                    {
                        Type = "ESSD_PL0",
                        Size = 60,
                        MountPoint = "/tf1",
                    },
                    new Volcengine.Vke.Inputs.NodePoolNodeConfigDataVolumeArgs
                    {
                        Type = "ESSD_PL0",
                        Size = 60,
                        MountPoint = "/tf2",
                    },
                },
                InitializeScript = "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
                Security = new Volcengine.Vke.Inputs.NodePoolNodeConfigSecurityArgs
                {
                    Login = new Volcengine.Vke.Inputs.NodePoolNodeConfigSecurityLoginArgs
                    {
                        Password = "UHdkMTIzNDU2",
                    },
                    SecurityStrategies = new[]
                    {
                        "Hids",
                    },
                    SecurityGroupIds = new[]
                    {
                        fooSecurityGroup.Id,
                    },
                },
                AdditionalContainerStorageEnabled = true,
                InstanceChargeType = "PostPaid",
                NamePrefix = "acc-test",
                EcsTags = new[]
                {
                    new Volcengine.Vke.Inputs.NodePoolNodeConfigEcsTagArgs
                    {
                        Key = "ecs_k1",
                        Value = "ecs_v1",
                    },
                },
            },
            KubernetesConfig = new Volcengine.Vke.Inputs.NodePoolKubernetesConfigArgs
            {
                Labels = new[]
                {
                    new Volcengine.Vke.Inputs.NodePoolKubernetesConfigLabelArgs
                    {
                        Key = "label1",
                        Value = "value1",
                    },
                },
                Taints = new[]
                {
                    new Volcengine.Vke.Inputs.NodePoolKubernetesConfigTaintArgs
                    {
                        Key = "taint-key/node-type",
                        Value = "taint-value",
                        Effect = "NoSchedule",
                    },
                },
                Cordon = true,
            },
            Tags = new[]
            {
                new Volcengine.Vke.Inputs.NodePoolTagArgs
                {
                    Key = "node-pool-k1",
                    Value = "node-pool-v1",
                },
            },
        }));
    }
    var fooNodePools = Volcengine.Vke.NodePools.Invoke(new()
    {
        Ids = fooNodePool.Select(__item => __item.Id).ToList(),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.SecurityGroup;
import com.pulumi.volcengine.vpc.SecurityGroupArgs;
import com.pulumi.volcengine.ecs.inputs.ImagesArgs;
import com.pulumi.volcengine.vke.Cluster;
import com.pulumi.volcengine.vke.ClusterArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigVpcCniConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterServicesConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterTagArgs;
import com.pulumi.volcengine.vke.NodePool;
import com.pulumi.volcengine.vke.NodePoolArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolAutoScalingArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSystemVolumeArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSecurityArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSecurityLoginArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolKubernetesConfigArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolTagArgs;
import com.pulumi.volcengine.vke.VkeFunctions;
import com.pulumi.volcengine.vke.inputs.NodePoolsArgs;
import com.pulumi.codegen.internal.KeyedValue;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var fooZones = EcsFunctions.Zones();
        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());
        var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
            .securityGroupName("acc-test-security-group")
            .vpcId(fooVpc.id())
            .build());
        final var fooImages = EcsFunctions.Images(ImagesArgs.builder()
            .nameRegex("veLinux 1.0 CentOS兼容版 64位")
            .build());
        var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()        
            .description("created by terraform")
            .deleteProtectionEnabled(false)
            .clusterConfig(ClusterClusterConfigArgs.builder()
                .subnetIds(fooSubnet.id())
                .apiServerPublicAccessEnabled(true)
                .apiServerPublicAccessConfig(ClusterClusterConfigApiServerPublicAccessConfigArgs.builder()
                    .publicAccessNetworkConfig(ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs.builder()
                        .billingType("PostPaidByBandwidth")
                        .bandwidth(1)
                        .build())
                    .build())
                .resourcePublicAccessDefaultEnabled(true)
                .build())
            .podsConfig(ClusterPodsConfigArgs.builder()
                .podNetworkMode("VpcCniShared")
                .vpcCniConfig(ClusterPodsConfigVpcCniConfigArgs.builder()
                    .subnetIds(fooSubnet.id())
                    .build())
                .build())
            .servicesConfig(ClusterServicesConfigArgs.builder()
                .serviceCidrsv4s("172.30.0.0/18")
                .build())
            .tags(ClusterTagArgs.builder()
                .key("tf-k1")
                .value("tf-v1")
                .build())
            .build());
        for (var i = 0; i < 3; i++) {
            new NodePool("fooNodePool-" + i, NodePoolArgs.builder()            
                .clusterId(fooCluster.id())
                .autoScaling(NodePoolAutoScalingArgs.builder()
                    .enabled(true)
                    .minReplicas(0)
                    .maxReplicas(5)
                    .desiredReplicas(0)
                    .priority(5)
                    .subnetPolicy("ZoneBalance")
                    .build())
                .nodeConfig(NodePoolNodeConfigArgs.builder()
                    .instanceTypeIds("ecs.g1ie.xlarge")
                    .subnetIds(fooSubnet.id())
                    .imageId("TODO: ForExpression"[0])
                    .systemVolume(NodePoolNodeConfigSystemVolumeArgs.builder()
                        .type("ESSD_PL0")
                        .size("60")
                        .build())
                    .dataVolumes(                    
                        NodePoolNodeConfigDataVolumeArgs.builder()
                            .type("ESSD_PL0")
                            .size("60")
                            .mountPoint("/tf1")
                            .build(),
                        NodePoolNodeConfigDataVolumeArgs.builder()
                            .type("ESSD_PL0")
                            .size("60")
                            .mountPoint("/tf2")
                            .build())
                    .initializeScript("ZWNobyBoZWxsbyB0ZXJyYWZvcm0h")
                    .security(NodePoolNodeConfigSecurityArgs.builder()
                        .login(NodePoolNodeConfigSecurityLoginArgs.builder()
                            .password("UHdkMTIzNDU2")
                            .build())
                        .securityStrategies("Hids")
                        .securityGroupIds(fooSecurityGroup.id())
                        .build())
                    .additionalContainerStorageEnabled(true)
                    .instanceChargeType("PostPaid")
                    .namePrefix("acc-test")
                    .ecsTags(NodePoolNodeConfigEcsTagArgs.builder()
                        .key("ecs_k1")
                        .value("ecs_v1")
                        .build())
                    .build())
                .kubernetesConfig(NodePoolKubernetesConfigArgs.builder()
                    .labels(NodePoolKubernetesConfigLabelArgs.builder()
                        .key("label1")
                        .value("value1")
                        .build())
                    .taints(NodePoolKubernetesConfigTaintArgs.builder()
                        .key("taint-key/node-type")
                        .value("taint-value")
                        .effect("NoSchedule")
                        .build())
                    .cordon(true)
                    .build())
                .tags(NodePoolTagArgs.builder()
                    .key("node-pool-k1")
                    .value("node-pool-v1")
                    .build())
                .build());
        
}
        final var fooNodePools = VkeFunctions.NodePools(NodePoolsArgs.builder()
            .ids(fooNodePool.stream().map(element -> element.id()).collect(toList()))
            .build());
    }
}
Coming soon!
Using NodePools
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function nodePools(args: NodePoolsArgs, opts?: InvokeOptions): Promise<NodePoolsResult>
function nodePoolsOutput(args: NodePoolsOutputArgs, opts?: InvokeOptions): Output<NodePoolsResult>def node_pools(auto_scaling_enabled: Optional[bool] = None,
               cluster_id: Optional[str] = None,
               cluster_ids: Optional[Sequence[str]] = None,
               create_client_token: Optional[str] = None,
               ids: Optional[Sequence[str]] = None,
               name: Optional[str] = None,
               name_regex: Optional[str] = None,
               output_file: Optional[str] = None,
               statuses: Optional[Sequence[NodePoolsStatus]] = None,
               tags: Optional[Sequence[NodePoolsTag]] = None,
               update_client_token: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> NodePoolsResult
def node_pools_output(auto_scaling_enabled: Optional[pulumi.Input[bool]] = None,
               cluster_id: Optional[pulumi.Input[str]] = None,
               cluster_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
               create_client_token: Optional[pulumi.Input[str]] = None,
               ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
               name: Optional[pulumi.Input[str]] = None,
               name_regex: Optional[pulumi.Input[str]] = None,
               output_file: Optional[pulumi.Input[str]] = None,
               statuses: Optional[pulumi.Input[Sequence[pulumi.Input[NodePoolsStatusArgs]]]] = None,
               tags: Optional[pulumi.Input[Sequence[pulumi.Input[NodePoolsTagArgs]]]] = None,
               update_client_token: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[NodePoolsResult]func NodePools(ctx *Context, args *NodePoolsArgs, opts ...InvokeOption) (*NodePoolsResult, error)
func NodePoolsOutput(ctx *Context, args *NodePoolsOutputArgs, opts ...InvokeOption) NodePoolsResultOutputpublic static class NodePools 
{
    public static Task<NodePoolsResult> InvokeAsync(NodePoolsArgs args, InvokeOptions? opts = null)
    public static Output<NodePoolsResult> Invoke(NodePoolsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<NodePoolsResult> nodePools(NodePoolsArgs args, InvokeOptions options)
public static Output<NodePoolsResult> nodePools(NodePoolsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vke:NodePools
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AutoScaling boolEnabled 
- Is enabled of AutoScaling.
- ClusterId string
- The ClusterId of NodePool.
- ClusterIds List<string>
- The ClusterIds of NodePool IDs.
- CreateClient stringToken 
- The ClientToken when successfully created.
- Ids List<string>
- The IDs of NodePool.
- Name string
- The Name of NodePool.
- NameRegex string
- A Name Regex of NodePool.
- OutputFile string
- File name where to save data source results.
- Statuses
List<NodePools Status> 
- The Status of NodePool.
- 
List<NodePools Tag> 
- Tags.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- AutoScaling boolEnabled 
- Is enabled of AutoScaling.
- ClusterId string
- The ClusterId of NodePool.
- ClusterIds []string
- The ClusterIds of NodePool IDs.
- CreateClient stringToken 
- The ClientToken when successfully created.
- Ids []string
- The IDs of NodePool.
- Name string
- The Name of NodePool.
- NameRegex string
- A Name Regex of NodePool.
- OutputFile string
- File name where to save data source results.
- Statuses
[]NodePools Status 
- The Status of NodePool.
- 
[]NodePools Tag 
- Tags.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- autoScaling BooleanEnabled 
- Is enabled of AutoScaling.
- clusterId String
- The ClusterId of NodePool.
- clusterIds List<String>
- The ClusterIds of NodePool IDs.
- createClient StringToken 
- The ClientToken when successfully created.
- ids List<String>
- The IDs of NodePool.
- name String
- The Name of NodePool.
- nameRegex String
- A Name Regex of NodePool.
- outputFile String
- File name where to save data source results.
- statuses
List<NodePools Status> 
- The Status of NodePool.
- 
List<NodePools Tag> 
- Tags.
- updateClient StringToken 
- The ClientToken when last update was successful.
- autoScaling booleanEnabled 
- Is enabled of AutoScaling.
- clusterId string
- The ClusterId of NodePool.
- clusterIds string[]
- The ClusterIds of NodePool IDs.
- createClient stringToken 
- The ClientToken when successfully created.
- ids string[]
- The IDs of NodePool.
- name string
- The Name of NodePool.
- nameRegex string
- A Name Regex of NodePool.
- outputFile string
- File name where to save data source results.
- statuses
NodePools Status[] 
- The Status of NodePool.
- 
NodePools Tag[] 
- Tags.
- updateClient stringToken 
- The ClientToken when last update was successful.
- auto_scaling_ boolenabled 
- Is enabled of AutoScaling.
- cluster_id str
- The ClusterId of NodePool.
- cluster_ids Sequence[str]
- The ClusterIds of NodePool IDs.
- create_client_ strtoken 
- The ClientToken when successfully created.
- ids Sequence[str]
- The IDs of NodePool.
- name str
- The Name of NodePool.
- name_regex str
- A Name Regex of NodePool.
- output_file str
- File name where to save data source results.
- statuses
Sequence[NodePools Status] 
- The Status of NodePool.
- 
Sequence[NodePools Tag] 
- Tags.
- update_client_ strtoken 
- The ClientToken when last update was successful.
- autoScaling BooleanEnabled 
- Is enabled of AutoScaling.
- clusterId String
- The ClusterId of NodePool.
- clusterIds List<String>
- The ClusterIds of NodePool IDs.
- createClient StringToken 
- The ClientToken when successfully created.
- ids List<String>
- The IDs of NodePool.
- name String
- The Name of NodePool.
- nameRegex String
- A Name Regex of NodePool.
- outputFile String
- File name where to save data source results.
- statuses List<Property Map>
- The Status of NodePool.
- List<Property Map>
- Tags.
- updateClient StringToken 
- The ClientToken when last update was successful.
NodePools Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- NodePools List<NodePools Node Pool> 
- The collection of NodePools query.
- TotalCount int
- Returns the total amount of the data list.
- AutoScaling boolEnabled 
- ClusterId string
- The ClusterId of NodePool.
- ClusterIds List<string>
- CreateClient stringToken 
- The ClientToken when successfully created.
- Ids List<string>
- Name string
- The Name of NodePool.
- NameRegex string
- OutputFile string
- Statuses
List<NodePools Status> 
- 
List<NodePools Tag> 
- Tags of the NodePool.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- Id string
- The provider-assigned unique ID for this managed resource.
- NodePools []NodePools Node Pool 
- The collection of NodePools query.
- TotalCount int
- Returns the total amount of the data list.
- AutoScaling boolEnabled 
- ClusterId string
- The ClusterId of NodePool.
- ClusterIds []string
- CreateClient stringToken 
- The ClientToken when successfully created.
- Ids []string
- Name string
- The Name of NodePool.
- NameRegex string
- OutputFile string
- Statuses
[]NodePools Status 
- 
[]NodePools Tag 
- Tags of the NodePool.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- id String
- The provider-assigned unique ID for this managed resource.
- nodePools List<NodePools Node Pool> 
- The collection of NodePools query.
- totalCount Integer
- Returns the total amount of the data list.
- autoScaling BooleanEnabled 
- clusterId String
- The ClusterId of NodePool.
- clusterIds List<String>
- createClient StringToken 
- The ClientToken when successfully created.
- ids List<String>
- name String
- The Name of NodePool.
- nameRegex String
- outputFile String
- statuses
List<NodePools Status> 
- 
List<NodePools Tag> 
- Tags of the NodePool.
- updateClient StringToken 
- The ClientToken when last update was successful.
- id string
- The provider-assigned unique ID for this managed resource.
- nodePools NodePools Node Pool[] 
- The collection of NodePools query.
- totalCount number
- Returns the total amount of the data list.
- autoScaling booleanEnabled 
- clusterId string
- The ClusterId of NodePool.
- clusterIds string[]
- createClient stringToken 
- The ClientToken when successfully created.
- ids string[]
- name string
- The Name of NodePool.
- nameRegex string
- outputFile string
- statuses
NodePools Status[] 
- 
NodePools Tag[] 
- Tags of the NodePool.
- updateClient stringToken 
- The ClientToken when last update was successful.
- id str
- The provider-assigned unique ID for this managed resource.
- node_pools Sequence[NodePools Node Pool] 
- The collection of NodePools query.
- total_count int
- Returns the total amount of the data list.
- auto_scaling_ boolenabled 
- cluster_id str
- The ClusterId of NodePool.
- cluster_ids Sequence[str]
- create_client_ strtoken 
- The ClientToken when successfully created.
- ids Sequence[str]
- name str
- The Name of NodePool.
- name_regex str
- output_file str
- statuses
Sequence[NodePools Status] 
- 
Sequence[NodePools Tag] 
- Tags of the NodePool.
- update_client_ strtoken 
- The ClientToken when last update was successful.
- id String
- The provider-assigned unique ID for this managed resource.
- nodePools List<Property Map>
- The collection of NodePools query.
- totalCount Number
- Returns the total amount of the data list.
- autoScaling BooleanEnabled 
- clusterId String
- The ClusterId of NodePool.
- clusterIds List<String>
- createClient StringToken 
- The ClientToken when successfully created.
- ids List<String>
- name String
- The Name of NodePool.
- nameRegex String
- outputFile String
- statuses List<Property Map>
- List<Property Map>
- Tags of the NodePool.
- updateClient StringToken 
- The ClientToken when last update was successful.
Supporting Types
NodePoolsNodePool   
- AdditionalContainer boolStorage Enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- AutoRenew bool
- Is auto renew of the PrePaid instance of NodeConfig.
- AutoRenew intPeriod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- ClusterId string
- The ClusterId of NodePool.
- ConditionTypes List<string>
- The Condition of Status.
- Cordon bool
- The Cordon of KubernetesConfig.
- CreateClient stringToken 
- The ClientToken when successfully created.
- CreateTime string
- The CreateTime of NodePool.
- DataVolumes List<NodePools Node Pool Data Volume> 
- The DataVolume of NodeConfig.
- DesiredReplicas int
- The DesiredReplicas of AutoScaling.
- 
List<NodePools Node Pool Ecs Tag> 
- Tags for Ecs.
- Enabled bool
- Is Enabled of AutoScaling.
- HpcCluster List<string>Ids 
- The IDs of HpcCluster.
- Id string
- The Id of NodePool.
- ImageId string
- The ImageId of NodeConfig.
- InitializeScript string
- The InitializeScript of NodeConfig.
- InstanceCharge stringType 
- The InstanceChargeType of NodeConfig.
- InstanceType List<string>Ids 
- The InstanceTypeIds of NodeConfig.
- KubeConfig stringName Prefix 
- The NamePrefix of node metadata.
- LabelContents List<NodePools Node Pool Label Content> 
- The LabelContent of KubernetesConfig.
- LoginKey stringPair Name 
- The login SshKeyPairName of NodeConfig.
- LoginType string
- The login type of NodeConfig.
- MaxReplicas int
- The MaxReplicas of AutoScaling.
- MinReplicas int
- The MinReplicas of AutoScaling.
- Name string
- The Name of NodePool.
- NamePrefix string
- The NamePrefix of NodeConfig.
- NodeStatistics List<NodePools Node Pool Node Statistic> 
- The NodeStatistics of NodeConfig.
- Period int
- The period of the PrePaid instance of NodeConfig.
- Phase string
- The Phase of Status.
- Priority int
- The Priority of AutoScaling.
- SecurityGroup List<string>Ids 
- The SecurityGroupIds of NodeConfig.
- SecurityStrategies List<string>
- The SecurityStrategies of NodeConfig.
- SecurityStrategy boolEnabled 
- The SecurityStrategyEnabled of NodeConfig.
- SubnetIds List<string>
- The SubnetId of NodeConfig.
- SubnetPolicy string
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- SystemVolumes List<NodePools Node Pool System Volume> 
- The SystemVolume of NodeConfig.
- 
List<NodePools Node Pool Tag> 
- Tags.
- TaintContents List<NodePools Node Pool Taint Content> 
- The TaintContent of NodeConfig.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- UpdateTime string
- The UpdateTime time of NodePool.
- AdditionalContainer boolStorage Enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- AutoRenew bool
- Is auto renew of the PrePaid instance of NodeConfig.
- AutoRenew intPeriod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- ClusterId string
- The ClusterId of NodePool.
- ConditionTypes []string
- The Condition of Status.
- Cordon bool
- The Cordon of KubernetesConfig.
- CreateClient stringToken 
- The ClientToken when successfully created.
- CreateTime string
- The CreateTime of NodePool.
- DataVolumes []NodePools Node Pool Data Volume 
- The DataVolume of NodeConfig.
- DesiredReplicas int
- The DesiredReplicas of AutoScaling.
- 
[]NodePools Node Pool Ecs Tag 
- Tags for Ecs.
- Enabled bool
- Is Enabled of AutoScaling.
- HpcCluster []stringIds 
- The IDs of HpcCluster.
- Id string
- The Id of NodePool.
- ImageId string
- The ImageId of NodeConfig.
- InitializeScript string
- The InitializeScript of NodeConfig.
- InstanceCharge stringType 
- The InstanceChargeType of NodeConfig.
- InstanceType []stringIds 
- The InstanceTypeIds of NodeConfig.
- KubeConfig stringName Prefix 
- The NamePrefix of node metadata.
- LabelContents []NodePools Node Pool Label Content 
- The LabelContent of KubernetesConfig.
- LoginKey stringPair Name 
- The login SshKeyPairName of NodeConfig.
- LoginType string
- The login type of NodeConfig.
- MaxReplicas int
- The MaxReplicas of AutoScaling.
- MinReplicas int
- The MinReplicas of AutoScaling.
- Name string
- The Name of NodePool.
- NamePrefix string
- The NamePrefix of NodeConfig.
- NodeStatistics []NodePools Node Pool Node Statistic 
- The NodeStatistics of NodeConfig.
- Period int
- The period of the PrePaid instance of NodeConfig.
- Phase string
- The Phase of Status.
- Priority int
- The Priority of AutoScaling.
- SecurityGroup []stringIds 
- The SecurityGroupIds of NodeConfig.
- SecurityStrategies []string
- The SecurityStrategies of NodeConfig.
- SecurityStrategy boolEnabled 
- The SecurityStrategyEnabled of NodeConfig.
- SubnetIds []string
- The SubnetId of NodeConfig.
- SubnetPolicy string
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- SystemVolumes []NodePools Node Pool System Volume 
- The SystemVolume of NodeConfig.
- 
[]NodePools Node Pool Tag 
- Tags.
- TaintContents []NodePools Node Pool Taint Content 
- The TaintContent of NodeConfig.
- UpdateClient stringToken 
- The ClientToken when last update was successful.
- UpdateTime string
- The UpdateTime time of NodePool.
- additionalContainer BooleanStorage Enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- autoRenew Boolean
- Is auto renew of the PrePaid instance of NodeConfig.
- autoRenew IntegerPeriod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- clusterId String
- The ClusterId of NodePool.
- conditionTypes List<String>
- The Condition of Status.
- cordon Boolean
- The Cordon of KubernetesConfig.
- createClient StringToken 
- The ClientToken when successfully created.
- createTime String
- The CreateTime of NodePool.
- dataVolumes List<NodePools Node Pool Data Volume> 
- The DataVolume of NodeConfig.
- desiredReplicas Integer
- The DesiredReplicas of AutoScaling.
- 
List<NodePools Node Pool Ecs Tag> 
- Tags for Ecs.
- enabled Boolean
- Is Enabled of AutoScaling.
- hpcCluster List<String>Ids 
- The IDs of HpcCluster.
- id String
- The Id of NodePool.
- imageId String
- The ImageId of NodeConfig.
- initializeScript String
- The InitializeScript of NodeConfig.
- instanceCharge StringType 
- The InstanceChargeType of NodeConfig.
- instanceType List<String>Ids 
- The InstanceTypeIds of NodeConfig.
- kubeConfig StringName Prefix 
- The NamePrefix of node metadata.
- labelContents List<NodePools Node Pool Label Content> 
- The LabelContent of KubernetesConfig.
- loginKey StringPair Name 
- The login SshKeyPairName of NodeConfig.
- loginType String
- The login type of NodeConfig.
- maxReplicas Integer
- The MaxReplicas of AutoScaling.
- minReplicas Integer
- The MinReplicas of AutoScaling.
- name String
- The Name of NodePool.
- namePrefix String
- The NamePrefix of NodeConfig.
- nodeStatistics List<NodePools Node Pool Node Statistic> 
- The NodeStatistics of NodeConfig.
- period Integer
- The period of the PrePaid instance of NodeConfig.
- phase String
- The Phase of Status.
- priority Integer
- The Priority of AutoScaling.
- securityGroup List<String>Ids 
- The SecurityGroupIds of NodeConfig.
- securityStrategies List<String>
- The SecurityStrategies of NodeConfig.
- securityStrategy BooleanEnabled 
- The SecurityStrategyEnabled of NodeConfig.
- subnetIds List<String>
- The SubnetId of NodeConfig.
- subnetPolicy String
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- systemVolumes List<NodePools Node Pool System Volume> 
- The SystemVolume of NodeConfig.
- 
List<NodePools Node Pool Tag> 
- Tags.
- taintContents List<NodePools Node Pool Taint Content> 
- The TaintContent of NodeConfig.
- updateClient StringToken 
- The ClientToken when last update was successful.
- updateTime String
- The UpdateTime time of NodePool.
- additionalContainer booleanStorage Enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- autoRenew boolean
- Is auto renew of the PrePaid instance of NodeConfig.
- autoRenew numberPeriod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- clusterId string
- The ClusterId of NodePool.
- conditionTypes string[]
- The Condition of Status.
- cordon boolean
- The Cordon of KubernetesConfig.
- createClient stringToken 
- The ClientToken when successfully created.
- createTime string
- The CreateTime of NodePool.
- dataVolumes NodePools Node Pool Data Volume[] 
- The DataVolume of NodeConfig.
- desiredReplicas number
- The DesiredReplicas of AutoScaling.
- 
NodePools Node Pool Ecs Tag[] 
- Tags for Ecs.
- enabled boolean
- Is Enabled of AutoScaling.
- hpcCluster string[]Ids 
- The IDs of HpcCluster.
- id string
- The Id of NodePool.
- imageId string
- The ImageId of NodeConfig.
- initializeScript string
- The InitializeScript of NodeConfig.
- instanceCharge stringType 
- The InstanceChargeType of NodeConfig.
- instanceType string[]Ids 
- The InstanceTypeIds of NodeConfig.
- kubeConfig stringName Prefix 
- The NamePrefix of node metadata.
- labelContents NodePools Node Pool Label Content[] 
- The LabelContent of KubernetesConfig.
- loginKey stringPair Name 
- The login SshKeyPairName of NodeConfig.
- loginType string
- The login type of NodeConfig.
- maxReplicas number
- The MaxReplicas of AutoScaling.
- minReplicas number
- The MinReplicas of AutoScaling.
- name string
- The Name of NodePool.
- namePrefix string
- The NamePrefix of NodeConfig.
- nodeStatistics NodePools Node Pool Node Statistic[] 
- The NodeStatistics of NodeConfig.
- period number
- The period of the PrePaid instance of NodeConfig.
- phase string
- The Phase of Status.
- priority number
- The Priority of AutoScaling.
- securityGroup string[]Ids 
- The SecurityGroupIds of NodeConfig.
- securityStrategies string[]
- The SecurityStrategies of NodeConfig.
- securityStrategy booleanEnabled 
- The SecurityStrategyEnabled of NodeConfig.
- subnetIds string[]
- The SubnetId of NodeConfig.
- subnetPolicy string
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- systemVolumes NodePools Node Pool System Volume[] 
- The SystemVolume of NodeConfig.
- 
NodePools Node Pool Tag[] 
- Tags.
- taintContents NodePools Node Pool Taint Content[] 
- The TaintContent of NodeConfig.
- updateClient stringToken 
- The ClientToken when last update was successful.
- updateTime string
- The UpdateTime time of NodePool.
- additional_container_ boolstorage_ enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- auto_renew bool
- Is auto renew of the PrePaid instance of NodeConfig.
- auto_renew_ intperiod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- cluster_id str
- The ClusterId of NodePool.
- condition_types Sequence[str]
- The Condition of Status.
- cordon bool
- The Cordon of KubernetesConfig.
- create_client_ strtoken 
- The ClientToken when successfully created.
- create_time str
- The CreateTime of NodePool.
- data_volumes Sequence[NodePools Node Pool Data Volume] 
- The DataVolume of NodeConfig.
- desired_replicas int
- The DesiredReplicas of AutoScaling.
- 
Sequence[NodePools Node Pool Ecs Tag] 
- Tags for Ecs.
- enabled bool
- Is Enabled of AutoScaling.
- hpc_cluster_ Sequence[str]ids 
- The IDs of HpcCluster.
- id str
- The Id of NodePool.
- image_id str
- The ImageId of NodeConfig.
- initialize_script str
- The InitializeScript of NodeConfig.
- instance_charge_ strtype 
- The InstanceChargeType of NodeConfig.
- instance_type_ Sequence[str]ids 
- The InstanceTypeIds of NodeConfig.
- kube_config_ strname_ prefix 
- The NamePrefix of node metadata.
- label_contents Sequence[NodePools Node Pool Label Content] 
- The LabelContent of KubernetesConfig.
- login_key_ strpair_ name 
- The login SshKeyPairName of NodeConfig.
- login_type str
- The login type of NodeConfig.
- max_replicas int
- The MaxReplicas of AutoScaling.
- min_replicas int
- The MinReplicas of AutoScaling.
- name str
- The Name of NodePool.
- name_prefix str
- The NamePrefix of NodeConfig.
- node_statistics Sequence[NodePools Node Pool Node Statistic] 
- The NodeStatistics of NodeConfig.
- period int
- The period of the PrePaid instance of NodeConfig.
- phase str
- The Phase of Status.
- priority int
- The Priority of AutoScaling.
- security_group_ Sequence[str]ids 
- The SecurityGroupIds of NodeConfig.
- security_strategies Sequence[str]
- The SecurityStrategies of NodeConfig.
- security_strategy_ boolenabled 
- The SecurityStrategyEnabled of NodeConfig.
- subnet_ids Sequence[str]
- The SubnetId of NodeConfig.
- subnet_policy str
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- system_volumes Sequence[NodePools Node Pool System Volume] 
- The SystemVolume of NodeConfig.
- 
Sequence[NodePools Node Pool Tag] 
- Tags.
- taint_contents Sequence[NodePools Node Pool Taint Content] 
- The TaintContent of NodeConfig.
- update_client_ strtoken 
- The ClientToken when last update was successful.
- update_time str
- The UpdateTime time of NodePool.
- additionalContainer BooleanStorage Enabled 
- Is AdditionalContainerStorageEnabled of NodeConfig.
- autoRenew Boolean
- Is auto renew of the PrePaid instance of NodeConfig.
- autoRenew NumberPeriod 
- The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- clusterId String
- The ClusterId of NodePool.
- conditionTypes List<String>
- The Condition of Status.
- cordon Boolean
- The Cordon of KubernetesConfig.
- createClient StringToken 
- The ClientToken when successfully created.
- createTime String
- The CreateTime of NodePool.
- dataVolumes List<Property Map>
- The DataVolume of NodeConfig.
- desiredReplicas Number
- The DesiredReplicas of AutoScaling.
- List<Property Map>
- Tags for Ecs.
- enabled Boolean
- Is Enabled of AutoScaling.
- hpcCluster List<String>Ids 
- The IDs of HpcCluster.
- id String
- The Id of NodePool.
- imageId String
- The ImageId of NodeConfig.
- initializeScript String
- The InitializeScript of NodeConfig.
- instanceCharge StringType 
- The InstanceChargeType of NodeConfig.
- instanceType List<String>Ids 
- The InstanceTypeIds of NodeConfig.
- kubeConfig StringName Prefix 
- The NamePrefix of node metadata.
- labelContents List<Property Map>
- The LabelContent of KubernetesConfig.
- loginKey StringPair Name 
- The login SshKeyPairName of NodeConfig.
- loginType String
- The login type of NodeConfig.
- maxReplicas Number
- The MaxReplicas of AutoScaling.
- minReplicas Number
- The MinReplicas of AutoScaling.
- name String
- The Name of NodePool.
- namePrefix String
- The NamePrefix of NodeConfig.
- nodeStatistics List<Property Map>
- The NodeStatistics of NodeConfig.
- period Number
- The period of the PrePaid instance of NodeConfig.
- phase String
- The Phase of Status.
- priority Number
- The Priority of AutoScaling.
- securityGroup List<String>Ids 
- The SecurityGroupIds of NodeConfig.
- securityStrategies List<String>
- The SecurityStrategies of NodeConfig.
- securityStrategy BooleanEnabled 
- The SecurityStrategyEnabled of NodeConfig.
- subnetIds List<String>
- The SubnetId of NodeConfig.
- subnetPolicy String
- Multi-subnet scheduling strategy for nodes. The value can be ZoneBalanceorPriority.
- systemVolumes List<Property Map>
- The SystemVolume of NodeConfig.
- List<Property Map>
- Tags.
- taintContents List<Property Map>
- The TaintContent of NodeConfig.
- updateClient StringToken 
- The ClientToken when last update was successful.
- updateTime String
- The UpdateTime time of NodePool.
NodePoolsNodePoolDataVolume     
- MountPoint string
- The target mount directory of the disk.
- Size string
- The Size of SystemVolume.
- Type string
- The Type of Tags.
- MountPoint string
- The target mount directory of the disk.
- Size string
- The Size of SystemVolume.
- Type string
- The Type of Tags.
- mountPoint String
- The target mount directory of the disk.
- size String
- The Size of SystemVolume.
- type String
- The Type of Tags.
- mountPoint string
- The target mount directory of the disk.
- size string
- The Size of SystemVolume.
- type string
- The Type of Tags.
- mount_point str
- The target mount directory of the disk.
- size str
- The Size of SystemVolume.
- type str
- The Type of Tags.
- mountPoint String
- The target mount directory of the disk.
- size String
- The Size of SystemVolume.
- type String
- The Type of Tags.
NodePoolsNodePoolEcsTag     
NodePoolsNodePoolLabelContent     
NodePoolsNodePoolNodeStatistic     
- CreatingCount int
- The CreatingCount of Node.
- DeletingCount int
- The DeletingCount of Node.
- FailedCount int
- The FailedCount of Node.
- RunningCount int
- The RunningCount of Node.
- StartingCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- StoppedCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- StoppingCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- TotalCount int
- Returns the total amount of the data list.
- UpdatingCount int
- The UpdatingCount of Node.
- CreatingCount int
- The CreatingCount of Node.
- DeletingCount int
- The DeletingCount of Node.
- FailedCount int
- The FailedCount of Node.
- RunningCount int
- The RunningCount of Node.
- StartingCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- StoppedCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- StoppingCount int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- TotalCount int
- Returns the total amount of the data list.
- UpdatingCount int
- The UpdatingCount of Node.
- creatingCount Integer
- The CreatingCount of Node.
- deletingCount Integer
- The DeletingCount of Node.
- failedCount Integer
- The FailedCount of Node.
- runningCount Integer
- The RunningCount of Node.
- startingCount Integer
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stoppedCount Integer
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stoppingCount Integer
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- totalCount Integer
- Returns the total amount of the data list.
- updatingCount Integer
- The UpdatingCount of Node.
- creatingCount number
- The CreatingCount of Node.
- deletingCount number
- The DeletingCount of Node.
- failedCount number
- The FailedCount of Node.
- runningCount number
- The RunningCount of Node.
- startingCount number
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stoppedCount number
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stoppingCount number
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- totalCount number
- Returns the total amount of the data list.
- updatingCount number
- The UpdatingCount of Node.
- creating_count int
- The CreatingCount of Node.
- deleting_count int
- The DeletingCount of Node.
- failed_count int
- The FailedCount of Node.
- running_count int
- The RunningCount of Node.
- starting_count int
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stopped_count int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stopping_count int
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- total_count int
- Returns the total amount of the data list.
- updating_count int
- The UpdatingCount of Node.
- creatingCount Number
- The CreatingCount of Node.
- deletingCount Number
- The DeletingCount of Node.
- failedCount Number
- The FailedCount of Node.
- runningCount Number
- The RunningCount of Node.
- startingCount Number
- (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stoppedCount Number
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stoppingCount Number
- (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- totalCount Number
- Returns the total amount of the data list.
- updatingCount Number
- The UpdatingCount of Node.
NodePoolsNodePoolSystemVolume     
NodePoolsNodePoolTag    
NodePoolsNodePoolTaintContent     
NodePoolsStatus  
- ConditionsType string
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- Phase string
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
- ConditionsType string
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- Phase string
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
- conditionsType String
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- phase String
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
- conditionsType string
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- phase string
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
- conditions_type str
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- phase str
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
- conditionsType String
- Indicates the status condition of the node pool in the active state. The value can be ProgressingorOkorVersionPartlyUpgradedorStockOutorLimitedByQuotaorBalanceorDegradedorClusterVersionUpgradingorClusterorResourceCleanupFailedorUnknownorClusterNotRunningorSetByProvider.
- phase String
- The Phase of Status. The value can be CreatingorRunningorUpdatingorDeletingorFailedorScaling.
NodePoolsTag  
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.