1. Packages
  2. Volcengine
  3. API Docs
  4. veecp
  5. getNodePools
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.veecp.getNodePools

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of veecp 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.getZones({});
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-project1",
        cidrBlock: "172.16.0.0/16",
    });
    const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
        subnetName: "acc-subnet-test-2",
        cidrBlock: "172.16.0.0/24",
        zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        vpcId: fooVpc.id,
    });
    const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
        vpcId: fooVpc.id,
        securityGroupName: "acc-test-security-group2",
    });
    const fooCluster = new volcengine.veecp.Cluster("fooCluster", {
        description: "created by terraform",
        deleteProtectionEnabled: false,
        profile: "Edge",
        clusterConfig: {
            subnetIds: [fooSubnet.id],
            apiServerPublicAccessEnabled: true,
            apiServerPublicAccessConfig: {
                publicAccessNetworkConfig: {
                    billingType: "PostPaidByBandwidth",
                    bandwidth: 1,
                },
            },
            resourcePublicAccessDefaultEnabled: true,
        },
        podsConfig: {
            podNetworkMode: "Flannel",
            flannelConfig: {
                podCidrs: ["172.22.224.0/20"],
                maxPodsPerNode: 64,
            },
        },
        servicesConfig: {
            serviceCidrsv4s: ["172.30.0.0/18"],
        },
    });
    const fooNodePool = new volcengine.veecp.NodePool("fooNodePool", {
        clusterId: fooCluster.id,
        clientToken: "FGAHIxa23412FGAIOHioj",
        autoScaling: {
            enabled: true,
            minReplicas: 0,
            maxReplicas: 5,
            desiredReplicas: 0,
            priority: 5,
            subnetPolicy: "ZoneBalance",
        },
        nodeConfig: {
            instanceTypeIds: ["ecs.c1ie.xlarge"],
            subnetIds: [fooSubnet.id],
            imageId: "",
            systemVolume: {
                type: "ESSD_PL0",
                size: 80,
            },
            dataVolumes: [
                {
                    type: "ESSD_PL0",
                    size: 80,
                    mountPoint: "/tf1",
                },
                {
                    type: "ESSD_PL0",
                    size: 60,
                    mountPoint: "/tf2",
                },
            ],
            initializeScript: "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
            security: {
                login: {
                    password: "UHdkMTIzNDU2",
                },
                securityStrategies: ["Hids"],
                securityGroupIds: [fooSecurityGroup.id],
            },
            additionalContainerStorageEnabled: false,
            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,
        },
    });
    const fooNodePools = volcengine.veecp.getNodePoolsOutput({
        ids: [fooNodePool.id],
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_zones = volcengine.ecs.get_zones()
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-project1",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-subnet-test-2",
        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",
        vpc_id=foo_vpc.id,
        security_group_name="acc-test-security-group2")
    foo_cluster = volcengine.veecp.Cluster("fooCluster",
        description="created by terraform",
        delete_protection_enabled=False,
        profile="Edge",
        cluster_config=volcengine.veecp.ClusterClusterConfigArgs(
            subnet_ids=[foo_subnet.id],
            api_server_public_access_enabled=True,
            api_server_public_access_config=volcengine.veecp.ClusterClusterConfigApiServerPublicAccessConfigArgs(
                public_access_network_config=volcengine.veecp.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
                    billing_type="PostPaidByBandwidth",
                    bandwidth=1,
                ),
            ),
            resource_public_access_default_enabled=True,
        ),
        pods_config=volcengine.veecp.ClusterPodsConfigArgs(
            pod_network_mode="Flannel",
            flannel_config=volcengine.veecp.ClusterPodsConfigFlannelConfigArgs(
                pod_cidrs=["172.22.224.0/20"],
                max_pods_per_node=64,
            ),
        ),
        services_config=volcengine.veecp.ClusterServicesConfigArgs(
            service_cidrsv4s=["172.30.0.0/18"],
        ))
    foo_node_pool = volcengine.veecp.NodePool("fooNodePool",
        cluster_id=foo_cluster.id,
        client_token="FGAHIxa23412FGAIOHioj",
        auto_scaling=volcengine.veecp.NodePoolAutoScalingArgs(
            enabled=True,
            min_replicas=0,
            max_replicas=5,
            desired_replicas=0,
            priority=5,
            subnet_policy="ZoneBalance",
        ),
        node_config=volcengine.veecp.NodePoolNodeConfigArgs(
            instance_type_ids=["ecs.c1ie.xlarge"],
            subnet_ids=[foo_subnet.id],
            image_id="",
            system_volume=volcengine.veecp.NodePoolNodeConfigSystemVolumeArgs(
                type="ESSD_PL0",
                size=80,
            ),
            data_volumes=[
                volcengine.veecp.NodePoolNodeConfigDataVolumeArgs(
                    type="ESSD_PL0",
                    size=80,
                    mount_point="/tf1",
                ),
                volcengine.veecp.NodePoolNodeConfigDataVolumeArgs(
                    type="ESSD_PL0",
                    size=60,
                    mount_point="/tf2",
                ),
            ],
            initialize_script="ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
            security=volcengine.veecp.NodePoolNodeConfigSecurityArgs(
                login=volcengine.veecp.NodePoolNodeConfigSecurityLoginArgs(
                    password="UHdkMTIzNDU2",
                ),
                security_strategies=["Hids"],
                security_group_ids=[foo_security_group.id],
            ),
            additional_container_storage_enabled=False,
            instance_charge_type="PostPaid",
            name_prefix="acc-test",
            ecs_tags=[volcengine.veecp.NodePoolNodeConfigEcsTagArgs(
                key="ecs_k1",
                value="ecs_v1",
            )],
        ),
        kubernetes_config=volcengine.veecp.NodePoolKubernetesConfigArgs(
            labels=[volcengine.veecp.NodePoolKubernetesConfigLabelArgs(
                key="label1",
                value="value1",
            )],
            taints=[volcengine.veecp.NodePoolKubernetesConfigTaintArgs(
                key="taint-key/node-type",
                value="taint-value",
                effect="NoSchedule",
            )],
            cordon=True,
        ))
    foo_node_pools = volcengine.veecp.get_node_pools_output(ids=[foo_node_pool.id])
    
    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/veecp"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooZones, err := ecs.GetZones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-project1"),
    			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-subnet-test-2"),
    			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{
    			VpcId:             fooVpc.ID(),
    			SecurityGroupName: pulumi.String("acc-test-security-group2"),
    		})
    		if err != nil {
    			return err
    		}
    		fooCluster, err := veecp.NewCluster(ctx, "fooCluster", &veecp.ClusterArgs{
    			Description:             pulumi.String("created by terraform"),
    			DeleteProtectionEnabled: pulumi.Bool(false),
    			Profile:                 pulumi.String("Edge"),
    			ClusterConfig: &veecp.ClusterClusterConfigArgs{
    				SubnetIds: pulumi.StringArray{
    					fooSubnet.ID(),
    				},
    				ApiServerPublicAccessEnabled: pulumi.Bool(true),
    				ApiServerPublicAccessConfig: &veecp.ClusterClusterConfigApiServerPublicAccessConfigArgs{
    					PublicAccessNetworkConfig: &veecp.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
    						BillingType: pulumi.String("PostPaidByBandwidth"),
    						Bandwidth:   pulumi.Int(1),
    					},
    				},
    				ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
    			},
    			PodsConfig: &veecp.ClusterPodsConfigArgs{
    				PodNetworkMode: pulumi.String("Flannel"),
    				FlannelConfig: &veecp.ClusterPodsConfigFlannelConfigArgs{
    					PodCidrs: pulumi.StringArray{
    						pulumi.String("172.22.224.0/20"),
    					},
    					MaxPodsPerNode: pulumi.Int(64),
    				},
    			},
    			ServicesConfig: &veecp.ClusterServicesConfigArgs{
    				ServiceCidrsv4s: pulumi.StringArray{
    					pulumi.String("172.30.0.0/18"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fooNodePool, err := veecp.NewNodePool(ctx, "fooNodePool", &veecp.NodePoolArgs{
    			ClusterId:   fooCluster.ID(),
    			ClientToken: pulumi.String("FGAHIxa23412FGAIOHioj"),
    			AutoScaling: &veecp.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: &veecp.NodePoolNodeConfigArgs{
    				InstanceTypeIds: pulumi.StringArray{
    					pulumi.String("ecs.c1ie.xlarge"),
    				},
    				SubnetIds: pulumi.StringArray{
    					fooSubnet.ID(),
    				},
    				ImageId: pulumi.String(""),
    				SystemVolume: &veecp.NodePoolNodeConfigSystemVolumeArgs{
    					Type: pulumi.String("ESSD_PL0"),
    					Size: pulumi.Int(80),
    				},
    				DataVolumes: veecp.NodePoolNodeConfigDataVolumeArray{
    					&veecp.NodePoolNodeConfigDataVolumeArgs{
    						Type:       pulumi.String("ESSD_PL0"),
    						Size:       pulumi.Int(80),
    						MountPoint: pulumi.String("/tf1"),
    					},
    					&veecp.NodePoolNodeConfigDataVolumeArgs{
    						Type:       pulumi.String("ESSD_PL0"),
    						Size:       pulumi.Int(60),
    						MountPoint: pulumi.String("/tf2"),
    					},
    				},
    				InitializeScript: pulumi.String("ZWNobyBoZWxsbyB0ZXJyYWZvcm0h"),
    				Security: &veecp.NodePoolNodeConfigSecurityArgs{
    					Login: &veecp.NodePoolNodeConfigSecurityLoginArgs{
    						Password: pulumi.String("UHdkMTIzNDU2"),
    					},
    					SecurityStrategies: pulumi.StringArray{
    						pulumi.String("Hids"),
    					},
    					SecurityGroupIds: pulumi.StringArray{
    						fooSecurityGroup.ID(),
    					},
    				},
    				AdditionalContainerStorageEnabled: pulumi.Bool(false),
    				InstanceChargeType:                pulumi.String("PostPaid"),
    				NamePrefix:                        pulumi.String("acc-test"),
    				EcsTags: veecp.NodePoolNodeConfigEcsTagArray{
    					&veecp.NodePoolNodeConfigEcsTagArgs{
    						Key:   pulumi.String("ecs_k1"),
    						Value: pulumi.String("ecs_v1"),
    					},
    				},
    			},
    			KubernetesConfig: &veecp.NodePoolKubernetesConfigArgs{
    				Labels: veecp.NodePoolKubernetesConfigLabelArray{
    					&veecp.NodePoolKubernetesConfigLabelArgs{
    						Key:   pulumi.String("label1"),
    						Value: pulumi.String("value1"),
    					},
    				},
    				Taints: veecp.NodePoolKubernetesConfigTaintArray{
    					&veecp.NodePoolKubernetesConfigTaintArgs{
    						Key:    pulumi.String("taint-key/node-type"),
    						Value:  pulumi.String("taint-value"),
    						Effect: pulumi.String("NoSchedule"),
    					},
    				},
    				Cordon: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = veecp.GetNodePoolsOutput(ctx, veecp.GetNodePoolsOutputArgs{
    			Ids: pulumi.StringArray{
    				fooNodePool.ID(),
    			},
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooZones = Volcengine.Ecs.GetZones.Invoke();
    
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-project1",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-subnet-test-2",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
            VpcId = fooVpc.Id,
        });
    
        var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
        {
            VpcId = fooVpc.Id,
            SecurityGroupName = "acc-test-security-group2",
        });
    
        var fooCluster = new Volcengine.Veecp.Cluster("fooCluster", new()
        {
            Description = "created by terraform",
            DeleteProtectionEnabled = false,
            Profile = "Edge",
            ClusterConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigArgs
            {
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
                ApiServerPublicAccessEnabled = true,
                ApiServerPublicAccessConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
                {
                    PublicAccessNetworkConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
                    {
                        BillingType = "PostPaidByBandwidth",
                        Bandwidth = 1,
                    },
                },
                ResourcePublicAccessDefaultEnabled = true,
            },
            PodsConfig = new Volcengine.Veecp.Inputs.ClusterPodsConfigArgs
            {
                PodNetworkMode = "Flannel",
                FlannelConfig = new Volcengine.Veecp.Inputs.ClusterPodsConfigFlannelConfigArgs
                {
                    PodCidrs = new[]
                    {
                        "172.22.224.0/20",
                    },
                    MaxPodsPerNode = 64,
                },
            },
            ServicesConfig = new Volcengine.Veecp.Inputs.ClusterServicesConfigArgs
            {
                ServiceCidrsv4s = new[]
                {
                    "172.30.0.0/18",
                },
            },
        });
    
        var fooNodePool = new Volcengine.Veecp.NodePool("fooNodePool", new()
        {
            ClusterId = fooCluster.Id,
            ClientToken = "FGAHIxa23412FGAIOHioj",
            AutoScaling = new Volcengine.Veecp.Inputs.NodePoolAutoScalingArgs
            {
                Enabled = true,
                MinReplicas = 0,
                MaxReplicas = 5,
                DesiredReplicas = 0,
                Priority = 5,
                SubnetPolicy = "ZoneBalance",
            },
            NodeConfig = new Volcengine.Veecp.Inputs.NodePoolNodeConfigArgs
            {
                InstanceTypeIds = new[]
                {
                    "ecs.c1ie.xlarge",
                },
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
                ImageId = "",
                SystemVolume = new Volcengine.Veecp.Inputs.NodePoolNodeConfigSystemVolumeArgs
                {
                    Type = "ESSD_PL0",
                    Size = 80,
                },
                DataVolumes = new[]
                {
                    new Volcengine.Veecp.Inputs.NodePoolNodeConfigDataVolumeArgs
                    {
                        Type = "ESSD_PL0",
                        Size = 80,
                        MountPoint = "/tf1",
                    },
                    new Volcengine.Veecp.Inputs.NodePoolNodeConfigDataVolumeArgs
                    {
                        Type = "ESSD_PL0",
                        Size = 60,
                        MountPoint = "/tf2",
                    },
                },
                InitializeScript = "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
                Security = new Volcengine.Veecp.Inputs.NodePoolNodeConfigSecurityArgs
                {
                    Login = new Volcengine.Veecp.Inputs.NodePoolNodeConfigSecurityLoginArgs
                    {
                        Password = "UHdkMTIzNDU2",
                    },
                    SecurityStrategies = new[]
                    {
                        "Hids",
                    },
                    SecurityGroupIds = new[]
                    {
                        fooSecurityGroup.Id,
                    },
                },
                AdditionalContainerStorageEnabled = false,
                InstanceChargeType = "PostPaid",
                NamePrefix = "acc-test",
                EcsTags = new[]
                {
                    new Volcengine.Veecp.Inputs.NodePoolNodeConfigEcsTagArgs
                    {
                        Key = "ecs_k1",
                        Value = "ecs_v1",
                    },
                },
            },
            KubernetesConfig = new Volcengine.Veecp.Inputs.NodePoolKubernetesConfigArgs
            {
                Labels = new[]
                {
                    new Volcengine.Veecp.Inputs.NodePoolKubernetesConfigLabelArgs
                    {
                        Key = "label1",
                        Value = "value1",
                    },
                },
                Taints = new[]
                {
                    new Volcengine.Veecp.Inputs.NodePoolKubernetesConfigTaintArgs
                    {
                        Key = "taint-key/node-type",
                        Value = "taint-value",
                        Effect = "NoSchedule",
                    },
                },
                Cordon = true,
            },
        });
    
        var fooNodePools = Volcengine.Veecp.GetNodePools.Invoke(new()
        {
            Ids = new[]
            {
                fooNodePool.Id,
            },
        });
    
    });
    
    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.GetZonesArgs;
    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.veecp.Cluster;
    import com.pulumi.volcengine.veecp.ClusterArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterPodsConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterPodsConfigFlannelConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.ClusterServicesConfigArgs;
    import com.pulumi.volcengine.veecp.NodePool;
    import com.pulumi.volcengine.veecp.NodePoolArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolAutoScalingArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolNodeConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolNodeConfigSystemVolumeArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolNodeConfigSecurityArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolNodeConfigSecurityLoginArgs;
    import com.pulumi.volcengine.veecp.inputs.NodePoolKubernetesConfigArgs;
    import com.pulumi.volcengine.veecp.VeecpFunctions;
    import com.pulumi.volcengine.veecp.inputs.GetNodePoolsArgs;
    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.getZones();
    
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-project1")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-subnet-test-2")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .vpcId(fooVpc.id())
                .build());
    
            var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
                .vpcId(fooVpc.id())
                .securityGroupName("acc-test-security-group2")
                .build());
    
            var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()        
                .description("created by terraform")
                .deleteProtectionEnabled(false)
                .profile("Edge")
                .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("Flannel")
                    .flannelConfig(ClusterPodsConfigFlannelConfigArgs.builder()
                        .podCidrs("172.22.224.0/20")
                        .maxPodsPerNode(64)
                        .build())
                    .build())
                .servicesConfig(ClusterServicesConfigArgs.builder()
                    .serviceCidrsv4s("172.30.0.0/18")
                    .build())
                .build());
    
            var fooNodePool = new NodePool("fooNodePool", NodePoolArgs.builder()        
                .clusterId(fooCluster.id())
                .clientToken("FGAHIxa23412FGAIOHioj")
                .autoScaling(NodePoolAutoScalingArgs.builder()
                    .enabled(true)
                    .minReplicas(0)
                    .maxReplicas(5)
                    .desiredReplicas(0)
                    .priority(5)
                    .subnetPolicy("ZoneBalance")
                    .build())
                .nodeConfig(NodePoolNodeConfigArgs.builder()
                    .instanceTypeIds("ecs.c1ie.xlarge")
                    .subnetIds(fooSubnet.id())
                    .imageId("")
                    .systemVolume(NodePoolNodeConfigSystemVolumeArgs.builder()
                        .type("ESSD_PL0")
                        .size(80)
                        .build())
                    .dataVolumes(                
                        NodePoolNodeConfigDataVolumeArgs.builder()
                            .type("ESSD_PL0")
                            .size(80)
                            .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(false)
                    .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())
                .build());
    
            final var fooNodePools = VeecpFunctions.getNodePools(GetNodePoolsArgs.builder()
                .ids(fooNodePool.id())
                .build());
    
        }
    }
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-project1
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-subnet-test-2
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      fooSecurityGroup:
        type: volcengine:vpc:SecurityGroup
        properties:
          vpcId: ${fooVpc.id}
          securityGroupName: acc-test-security-group2
      fooCluster:
        type: volcengine:veecp:Cluster
        properties:
          description: created by terraform
          deleteProtectionEnabled: false
          profile: Edge
          clusterConfig:
            subnetIds:
              - ${fooSubnet.id}
            apiServerPublicAccessEnabled: true
            apiServerPublicAccessConfig:
              publicAccessNetworkConfig:
                billingType: PostPaidByBandwidth
                bandwidth: 1
            resourcePublicAccessDefaultEnabled: true
          podsConfig:
            podNetworkMode: Flannel
            flannelConfig:
              podCidrs:
                - 172.22.224.0/20
              maxPodsPerNode: 64
          servicesConfig:
            serviceCidrsv4s:
              - 172.30.0.0/18
      fooNodePool:
        type: volcengine:veecp:NodePool
        properties:
          clusterId: ${fooCluster.id}
          clientToken: FGAHIxa23412FGAIOHioj
          autoScaling:
            enabled: true
            minReplicas: 0
            maxReplicas: 5
            desiredReplicas: 0
            priority: 5
            subnetPolicy: ZoneBalance
          nodeConfig:
            instanceTypeIds:
              - ecs.c1ie.xlarge
            subnetIds:
              - ${fooSubnet.id}
            imageId:
            systemVolume:
              type: ESSD_PL0
              size: 80
            dataVolumes:
              - type: ESSD_PL0
                size: 80
                mountPoint: /tf1
              - type: ESSD_PL0
                size: 60
                mountPoint: /tf2
            initializeScript: ZWNobyBoZWxsbyB0ZXJyYWZvcm0h
            security:
              login:
                password: UHdkMTIzNDU2
              securityStrategies:
                - Hids
              securityGroupIds:
                - ${fooSecurityGroup.id}
            additionalContainerStorageEnabled: false
            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
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:getZones
          Arguments: {}
      fooNodePools:
        fn::invoke:
          Function: volcengine:veecp:getNodePools
          Arguments:
            ids:
              - ${fooNodePool.id}
    

    Using getNodePools

    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 getNodePools(args: GetNodePoolsArgs, opts?: InvokeOptions): Promise<GetNodePoolsResult>
    function getNodePoolsOutput(args: GetNodePoolsOutputArgs, opts?: InvokeOptions): Output<GetNodePoolsResult>
    def get_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[GetNodePoolsStatus]] = None,
                       update_client_token: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetNodePoolsResult
    def get_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[GetNodePoolsStatusArgs]]]] = None,
                       update_client_token: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetNodePoolsResult]
    func GetNodePools(ctx *Context, args *GetNodePoolsArgs, opts ...InvokeOption) (*GetNodePoolsResult, error)
    func GetNodePoolsOutput(ctx *Context, args *GetNodePoolsOutputArgs, opts ...InvokeOption) GetNodePoolsResultOutput

    > Note: This function is named GetNodePools in the Go SDK.

    public static class GetNodePools 
    {
        public static Task<GetNodePoolsResult> InvokeAsync(GetNodePoolsArgs args, InvokeOptions? opts = null)
        public static Output<GetNodePoolsResult> Invoke(GetNodePoolsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNodePoolsResult> getNodePools(GetNodePoolsArgs args, InvokeOptions options)
    public static Output<GetNodePoolsResult> getNodePools(GetNodePoolsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:veecp/getNodePools:getNodePools
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutoScalingEnabled bool
    Is enabled of AutoScaling.
    ClusterId string
    The ClusterId of NodePool.
    ClusterIds List<string>
    The ClusterIds of NodePool IDs.
    CreateClientToken string
    The ClientToken when successfully created.
    Ids List<string>
    The IDs of NodePool.
    Name string
    The Name of NodePool.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Statuses List<GetNodePoolsStatus>
    The Status of NodePool.
    UpdateClientToken string
    The ClientToken when last update was successful.
    AutoScalingEnabled bool
    Is enabled of AutoScaling.
    ClusterId string
    The ClusterId of NodePool.
    ClusterIds []string
    The ClusterIds of NodePool IDs.
    CreateClientToken string
    The ClientToken when successfully created.
    Ids []string
    The IDs of NodePool.
    Name string
    The Name of NodePool.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Statuses []GetNodePoolsStatus
    The Status of NodePool.
    UpdateClientToken string
    The ClientToken when last update was successful.
    autoScalingEnabled Boolean
    Is enabled of AutoScaling.
    clusterId String
    The ClusterId of NodePool.
    clusterIds List<String>
    The ClusterIds of NodePool IDs.
    createClientToken String
    The ClientToken when successfully created.
    ids List<String>
    The IDs of NodePool.
    name String
    The Name of NodePool.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    statuses List<GetNodePoolsStatus>
    The Status of NodePool.
    updateClientToken String
    The ClientToken when last update was successful.
    autoScalingEnabled boolean
    Is enabled of AutoScaling.
    clusterId string
    The ClusterId of NodePool.
    clusterIds string[]
    The ClusterIds of NodePool IDs.
    createClientToken string
    The ClientToken when successfully created.
    ids string[]
    The IDs of NodePool.
    name string
    The Name of NodePool.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    statuses GetNodePoolsStatus[]
    The Status of NodePool.
    updateClientToken string
    The ClientToken when last update was successful.
    auto_scaling_enabled bool
    Is enabled of AutoScaling.
    cluster_id str
    The ClusterId of NodePool.
    cluster_ids Sequence[str]
    The ClusterIds of NodePool IDs.
    create_client_token str
    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 Resource.
    output_file str
    File name where to save data source results.
    statuses Sequence[GetNodePoolsStatus]
    The Status of NodePool.
    update_client_token str
    The ClientToken when last update was successful.
    autoScalingEnabled Boolean
    Is enabled of AutoScaling.
    clusterId String
    The ClusterId of NodePool.
    clusterIds List<String>
    The ClusterIds of NodePool IDs.
    createClientToken String
    The ClientToken when successfully created.
    ids List<String>
    The IDs of NodePool.
    name String
    The Name of NodePool.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    statuses List<Property Map>
    The Status of NodePool.
    updateClientToken String
    The ClientToken when last update was successful.

    getNodePools Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NodePools List<GetNodePoolsNodePool>
    The collection of NodePools query.
    TotalCount int
    The total count of query.
    AutoScalingEnabled bool
    ClusterId string
    The ClusterId of NodePool.
    ClusterIds List<string>
    CreateClientToken string
    The ClientToken when successfully created.
    Ids List<string>
    Name string
    The Name of NodePool.
    NameRegex string
    OutputFile string
    Statuses List<GetNodePoolsStatus>
    UpdateClientToken string
    The ClientToken when last update was successful.
    Id string
    The provider-assigned unique ID for this managed resource.
    NodePools []GetNodePoolsNodePool
    The collection of NodePools query.
    TotalCount int
    The total count of query.
    AutoScalingEnabled bool
    ClusterId string
    The ClusterId of NodePool.
    ClusterIds []string
    CreateClientToken string
    The ClientToken when successfully created.
    Ids []string
    Name string
    The Name of NodePool.
    NameRegex string
    OutputFile string
    Statuses []GetNodePoolsStatus
    UpdateClientToken string
    The ClientToken when last update was successful.
    id String
    The provider-assigned unique ID for this managed resource.
    nodePools List<GetNodePoolsNodePool>
    The collection of NodePools query.
    totalCount Integer
    The total count of query.
    autoScalingEnabled Boolean
    clusterId String
    The ClusterId of NodePool.
    clusterIds List<String>
    createClientToken String
    The ClientToken when successfully created.
    ids List<String>
    name String
    The Name of NodePool.
    nameRegex String
    outputFile String
    statuses List<GetNodePoolsStatus>
    updateClientToken String
    The ClientToken when last update was successful.
    id string
    The provider-assigned unique ID for this managed resource.
    nodePools GetNodePoolsNodePool[]
    The collection of NodePools query.
    totalCount number
    The total count of query.
    autoScalingEnabled boolean
    clusterId string
    The ClusterId of NodePool.
    clusterIds string[]
    createClientToken string
    The ClientToken when successfully created.
    ids string[]
    name string
    The Name of NodePool.
    nameRegex string
    outputFile string
    statuses GetNodePoolsStatus[]
    updateClientToken string
    The ClientToken when last update was successful.
    id str
    The provider-assigned unique ID for this managed resource.
    node_pools Sequence[GetNodePoolsNodePool]
    The collection of NodePools query.
    total_count int
    The total count of query.
    auto_scaling_enabled bool
    cluster_id str
    The ClusterId of NodePool.
    cluster_ids Sequence[str]
    create_client_token str
    The ClientToken when successfully created.
    ids Sequence[str]
    name str
    The Name of NodePool.
    name_regex str
    output_file str
    statuses Sequence[GetNodePoolsStatus]
    update_client_token str
    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
    The total count of query.
    autoScalingEnabled Boolean
    clusterId String
    The ClusterId of NodePool.
    clusterIds List<String>
    createClientToken String
    The ClientToken when successfully created.
    ids List<String>
    name String
    The Name of NodePool.
    nameRegex String
    outputFile String
    statuses List<Property Map>
    updateClientToken String
    The ClientToken when last update was successful.

    Supporting Types

    GetNodePoolsNodePool

    AdditionalContainerStorageEnabled bool
    Is AdditionalContainerStorageEnabled of NodeConfig.
    AutoRenew bool
    Is auto renew of the PrePaid instance of NodeConfig.
    AutoRenewPeriod int
    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.
    CreateClientToken string
    The ClientToken when successfully created.
    CreateTime string
    The CreateTime of NodePool.
    DataVolumes List<GetNodePoolsNodePoolDataVolume>
    The DataVolume of NodeConfig.
    DesiredReplicas int
    The DesiredReplicas of AutoScaling.
    EcsTags List<GetNodePoolsNodePoolEcsTag>
    Tags for Ecs.
    Enabled bool
    Is Enabled of AutoScaling.
    HpcClusterIds List<string>
    The IDs of HpcCluster.
    Id string
    The Id of NodePool.
    ImageId string
    The ImageId of NodeConfig.
    InitializeScript string
    The InitializeScript of NodeConfig.
    InstanceChargeType string
    The InstanceChargeType of NodeConfig.
    InstanceTypeIds List<string>
    The InstanceTypeIds of NodeConfig.
    KubeConfigNamePrefix string
    The NamePrefix of node metadata.
    LabelContents List<GetNodePoolsNodePoolLabelContent>
    The LabelContent of KubernetesConfig.
    LoginKeyPairName string
    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<GetNodePoolsNodePoolNodeStatistic>
    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.
    SecurityGroupIds List<string>
    The SecurityGroupIds of NodeConfig.
    SecurityStrategies List<string>
    The SecurityStrategies of NodeConfig.
    SecurityStrategyEnabled bool
    The SecurityStrategyEnabled of NodeConfig.
    SubnetIds List<string>
    The SubnetId of NodeConfig.
    SubnetPolicy string
    Multi-subnet scheduling strategy for nodes. The value can be ZoneBalance or Priority.
    SystemVolumes List<GetNodePoolsNodePoolSystemVolume>
    The SystemVolume of NodeConfig.
    Tags List<GetNodePoolsNodePoolTag>
    Tags of the NodePool.
    TaintContents List<GetNodePoolsNodePoolTaintContent>
    The TaintContent of NodeConfig.
    UpdateClientToken string
    The ClientToken when last update was successful.
    UpdateTime string
    The UpdateTime time of NodePool.
    AdditionalContainerStorageEnabled bool
    Is AdditionalContainerStorageEnabled of NodeConfig.
    AutoRenew bool
    Is auto renew of the PrePaid instance of NodeConfig.
    AutoRenewPeriod int
    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.
    CreateClientToken string
    The ClientToken when successfully created.
    CreateTime string
    The CreateTime of NodePool.
    DataVolumes []GetNodePoolsNodePoolDataVolume
    The DataVolume of NodeConfig.
    DesiredReplicas int
    The DesiredReplicas of AutoScaling.
    EcsTags []GetNodePoolsNodePoolEcsTag
    Tags for Ecs.
    Enabled bool
    Is Enabled of AutoScaling.
    HpcClusterIds []string
    The IDs of HpcCluster.
    Id string
    The Id of NodePool.
    ImageId string
    The ImageId of NodeConfig.
    InitializeScript string
    The InitializeScript of NodeConfig.
    InstanceChargeType string
    The InstanceChargeType of NodeConfig.
    InstanceTypeIds []string
    The InstanceTypeIds of NodeConfig.
    KubeConfigNamePrefix string
    The NamePrefix of node metadata.
    LabelContents []GetNodePoolsNodePoolLabelContent
    The LabelContent of KubernetesConfig.
    LoginKeyPairName string
    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 []GetNodePoolsNodePoolNodeStatistic
    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.
    SecurityGroupIds []string
    The SecurityGroupIds of NodeConfig.
    SecurityStrategies []string
    The SecurityStrategies of NodeConfig.
    SecurityStrategyEnabled bool
    The SecurityStrategyEnabled of NodeConfig.
    SubnetIds []string
    The SubnetId of NodeConfig.
    SubnetPolicy string
    Multi-subnet scheduling strategy for nodes. The value can be ZoneBalance or Priority.
    SystemVolumes []GetNodePoolsNodePoolSystemVolume
    The SystemVolume of NodeConfig.
    Tags []GetNodePoolsNodePoolTag
    Tags of the NodePool.
    TaintContents []GetNodePoolsNodePoolTaintContent
    The TaintContent of NodeConfig.
    UpdateClientToken string
    The ClientToken when last update was successful.
    UpdateTime string
    The UpdateTime time of NodePool.
    additionalContainerStorageEnabled Boolean
    Is AdditionalContainerStorageEnabled of NodeConfig.
    autoRenew Boolean
    Is auto renew of the PrePaid instance of NodeConfig.
    autoRenewPeriod Integer
    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.
    createClientToken String
    The ClientToken when successfully created.
    createTime String
    The CreateTime of NodePool.
    dataVolumes List<GetNodePoolsNodePoolDataVolume>
    The DataVolume of NodeConfig.
    desiredReplicas Integer
    The DesiredReplicas of AutoScaling.
    ecsTags List<GetNodePoolsNodePoolEcsTag>
    Tags for Ecs.
    enabled Boolean
    Is Enabled of AutoScaling.
    hpcClusterIds List<String>
    The IDs of HpcCluster.
    id String
    The Id of NodePool.
    imageId String
    The ImageId of NodeConfig.
    initializeScript String
    The InitializeScript of NodeConfig.
    instanceChargeType String
    The InstanceChargeType of NodeConfig.
    instanceTypeIds List<String>
    The InstanceTypeIds of NodeConfig.
    kubeConfigNamePrefix String
    The NamePrefix of node metadata.
    labelContents List<GetNodePoolsNodePoolLabelContent>
    The LabelContent of KubernetesConfig.
    loginKeyPairName String
    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<GetNodePoolsNodePoolNodeStatistic>
    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.
    securityGroupIds List<String>
    The SecurityGroupIds of NodeConfig.
    securityStrategies List<String>
    The SecurityStrategies of NodeConfig.
    securityStrategyEnabled Boolean
    The SecurityStrategyEnabled of NodeConfig.
    subnetIds List<String>
    The SubnetId of NodeConfig.
    subnetPolicy String
    Multi-subnet scheduling strategy for nodes. The value can be ZoneBalance or Priority.
    systemVolumes List<GetNodePoolsNodePoolSystemVolume>
    The SystemVolume of NodeConfig.
    tags List<GetNodePoolsNodePoolTag>
    Tags of the NodePool.
    taintContents List<GetNodePoolsNodePoolTaintContent>
    The TaintContent of NodeConfig.
    updateClientToken String
    The ClientToken when last update was successful.
    updateTime String
    The UpdateTime time of NodePool.
    additionalContainerStorageEnabled boolean
    Is AdditionalContainerStorageEnabled of NodeConfig.
    autoRenew boolean
    Is auto renew of the PrePaid instance of NodeConfig.
    autoRenewPeriod number
    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.
    createClientToken string
    The ClientToken when successfully created.
    createTime string
    The CreateTime of NodePool.
    dataVolumes GetNodePoolsNodePoolDataVolume[]
    The DataVolume of NodeConfig.
    desiredReplicas number
    The DesiredReplicas of AutoScaling.
    ecsTags GetNodePoolsNodePoolEcsTag[]
    Tags for Ecs.
    enabled boolean
    Is Enabled of AutoScaling.
    hpcClusterIds string[]
    The IDs of HpcCluster.
    id string
    The Id of NodePool.
    imageId string
    The ImageId of NodeConfig.
    initializeScript string
    The InitializeScript of NodeConfig.
    instanceChargeType string
    The InstanceChargeType of NodeConfig.
    instanceTypeIds string[]
    The InstanceTypeIds of NodeConfig.
    kubeConfigNamePrefix string
    The NamePrefix of node metadata.
    labelContents GetNodePoolsNodePoolLabelContent[]
    The LabelContent of KubernetesConfig.
    loginKeyPairName string
    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 GetNodePoolsNodePoolNodeStatistic[]
    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.
    securityGroupIds string[]
    The SecurityGroupIds of NodeConfig.
    securityStrategies string[]
    The SecurityStrategies of NodeConfig.
    securityStrategyEnabled boolean
    The SecurityStrategyEnabled of NodeConfig.
    subnetIds string[]
    The SubnetId of NodeConfig.
    subnetPolicy string
    Multi-subnet scheduling strategy for nodes. The value can be ZoneBalance or Priority.
    systemVolumes GetNodePoolsNodePoolSystemVolume[]
    The SystemVolume of NodeConfig.
    tags GetNodePoolsNodePoolTag[]
    Tags of the NodePool.
    taintContents GetNodePoolsNodePoolTaintContent[]
    The TaintContent of NodeConfig.
    updateClientToken string
    The ClientToken when last update was successful.
    updateTime string
    The UpdateTime time of NodePool.
    additional_container_storage_enabled bool
    Is AdditionalContainerStorageEnabled of NodeConfig.
    auto_renew bool
    Is auto renew of the PrePaid instance of NodeConfig.
    auto_renew_period int
    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_token str
    The ClientToken when successfully created.
    create_time str
    The CreateTime of NodePool.
    data_volumes Sequence[GetNodePoolsNodePoolDataVolume]
    The DataVolume of NodeConfig.
    desired_replicas int
    The DesiredReplicas of AutoScaling.
    ecs_tags Sequence[GetNodePoolsNodePoolEcsTag]
    Tags for Ecs.
    enabled bool
    Is Enabled of AutoScaling.
    hpc_cluster_ids Sequence[str]
    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_type str
    The InstanceChargeType of NodeConfig.
    instance_type_ids Sequence[str]
    The InstanceTypeIds of NodeConfig.
    kube_config_name_prefix str
    The NamePrefix of node metadata.
    label_contents Sequence[GetNodePoolsNodePoolLabelContent]
    The LabelContent of KubernetesConfig.
    login_key_pair_name str
    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[GetNodePoolsNodePoolNodeStatistic]
    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_ids Sequence[str]
    The SecurityGroupIds of NodeConfig.
    security_strategies Sequence[str]
    The SecurityStrategies of NodeConfig.
    security_strategy_enabled bool
    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 ZoneBalance or Priority.
    system_volumes Sequence[GetNodePoolsNodePoolSystemVolume]
    The SystemVolume of NodeConfig.
    tags Sequence[GetNodePoolsNodePoolTag]
    Tags of the NodePool.
    taint_contents Sequence[GetNodePoolsNodePoolTaintContent]
    The TaintContent of NodeConfig.
    update_client_token str
    The ClientToken when last update was successful.
    update_time str
    The UpdateTime time of NodePool.
    additionalContainerStorageEnabled Boolean
    Is AdditionalContainerStorageEnabled of NodeConfig.
    autoRenew Boolean
    Is auto renew of the PrePaid instance of NodeConfig.
    autoRenewPeriod Number
    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.
    createClientToken String
    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.
    ecsTags List<Property Map>
    Tags for Ecs.
    enabled Boolean
    Is Enabled of AutoScaling.
    hpcClusterIds List<String>
    The IDs of HpcCluster.
    id String
    The Id of NodePool.
    imageId String
    The ImageId of NodeConfig.
    initializeScript String
    The InitializeScript of NodeConfig.
    instanceChargeType String
    The InstanceChargeType of NodeConfig.
    instanceTypeIds List<String>
    The InstanceTypeIds of NodeConfig.
    kubeConfigNamePrefix String
    The NamePrefix of node metadata.
    labelContents List<Property Map>
    The LabelContent of KubernetesConfig.
    loginKeyPairName String
    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.
    securityGroupIds List<String>
    The SecurityGroupIds of NodeConfig.
    securityStrategies List<String>
    The SecurityStrategies of NodeConfig.
    securityStrategyEnabled Boolean
    The SecurityStrategyEnabled of NodeConfig.
    subnetIds List<String>
    The SubnetId of NodeConfig.
    subnetPolicy String
    Multi-subnet scheduling strategy for nodes. The value can be ZoneBalance or Priority.
    systemVolumes List<Property Map>
    The SystemVolume of NodeConfig.
    tags List<Property Map>
    Tags of the NodePool.
    taintContents List<Property Map>
    The TaintContent of NodeConfig.
    updateClientToken String
    The ClientToken when last update was successful.
    updateTime String
    The UpdateTime time of NodePool.

    GetNodePoolsNodePoolDataVolume

    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.

    GetNodePoolsNodePoolEcsTag

    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.
    key string
    The Key of Taint.
    value string
    The Value of Taint.
    key str
    The Key of Taint.
    value str
    The Value of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.

    GetNodePoolsNodePoolLabelContent

    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.
    key string
    The Key of Taint.
    value string
    The Value of Taint.
    key str
    The Key of Taint.
    value str
    The Value of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.

    GetNodePoolsNodePoolNodeStatistic

    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    StoppedCount int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    StoppingCount int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    TotalCount int
    The total count of query.
    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    StoppedCount int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    StoppingCount int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    TotalCount int
    The total count of query.
    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppedCount Integer
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppingCount Integer
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    totalCount Integer
    The total count of query.
    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppedCount number
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppingCount number
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    totalCount number
    The total count of query.
    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    stopped_count int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    stopping_count int
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    total_count int
    The total count of query.
    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.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppedCount Number
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    stoppingCount Number
    (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.

    Deprecated: This field has been deprecated and is not recommended for use.

    totalCount Number
    The total count of query.
    updatingCount Number
    The UpdatingCount of Node.

    GetNodePoolsNodePoolSystemVolume

    Size string
    The Size of SystemVolume.
    Type string
    The Type of Tags.
    Size string
    The Size of SystemVolume.
    Type string
    The Type of Tags.
    size String
    The Size of SystemVolume.
    type String
    The Type of Tags.
    size string
    The Size of SystemVolume.
    type string
    The Type of Tags.
    size str
    The Size of SystemVolume.
    type str
    The Type of Tags.
    size String
    The Size of SystemVolume.
    type String
    The Type of Tags.

    GetNodePoolsNodePoolTag

    Key string
    The Key of Taint.
    Type string
    The Type of Tags.
    Value string
    The Value of Taint.
    Key string
    The Key of Taint.
    Type string
    The Type of Tags.
    Value string
    The Value of Taint.
    key String
    The Key of Taint.
    type String
    The Type of Tags.
    value String
    The Value of Taint.
    key string
    The Key of Taint.
    type string
    The Type of Tags.
    value string
    The Value of Taint.
    key str
    The Key of Taint.
    type str
    The Type of Tags.
    value str
    The Value of Taint.
    key String
    The Key of Taint.
    type String
    The Type of Tags.
    value String
    The Value of Taint.

    GetNodePoolsNodePoolTaintContent

    Effect string
    The Effect of Taint.
    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    Effect string
    The Effect of Taint.
    Key string
    The Key of Taint.
    Value string
    The Value of Taint.
    effect String
    The Effect of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.
    effect string
    The Effect of Taint.
    key string
    The Key of Taint.
    value string
    The Value of Taint.
    effect str
    The Effect of Taint.
    key str
    The Key of Taint.
    value str
    The Value of Taint.
    effect String
    The Effect of Taint.
    key String
    The Key of Taint.
    value String
    The Value of Taint.

    GetNodePoolsStatus

    ConditionsType string
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    Phase string
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.
    ConditionsType string
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    Phase string
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.
    conditionsType String
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    phase String
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.
    conditionsType string
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    phase string
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.
    conditions_type str
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    phase str
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.
    conditionsType String
    Indicates the status condition of the node pool in the active state. The value can be Progressing or Ok or VersionPartlyUpgraded or StockOut or LimitedByQuota or Balance or Degraded or ClusterVersionUpgrading or Cluster or ResourceCleanupFailed or Unknown or ClusterNotRunning or SetByProvider.
    phase String
    The Phase of Status. The value can be Creating or Running or Updating or Deleting or Failed or Scaling.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine