Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 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 dictionaryThe following arguments are supported:
- Auto
Scaling boolEnabled - Is enabled of AutoScaling.
- Cluster
Id string - The ClusterId of NodePool.
- Cluster
Ids List<string> - The ClusterIds of NodePool IDs.
- Create
Client stringToken - The ClientToken when successfully created.
- Ids List<string>
- The IDs of NodePool.
- Name string
- The Name of NodePool.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Statuses
List<Get
Node Pools Status> - The Status of NodePool.
- Update
Client stringToken - The ClientToken when last update was successful.
- Auto
Scaling boolEnabled - Is enabled of AutoScaling.
- Cluster
Id string - The ClusterId of NodePool.
- Cluster
Ids []string - The ClusterIds of NodePool IDs.
- Create
Client stringToken - The ClientToken when successfully created.
- Ids []string
- The IDs of NodePool.
- Name string
- The Name of NodePool.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Statuses
[]Get
Node Pools Status - The Status of NodePool.
- Update
Client stringToken - The ClientToken when last update was successful.
- auto
Scaling BooleanEnabled - Is enabled of AutoScaling.
- cluster
Id String - The ClusterId of NodePool.
- cluster
Ids List<String> - The ClusterIds of NodePool IDs.
- create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- The IDs of NodePool.
- name String
- The Name of NodePool.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- statuses
List<Get
Node Pools Status> - The Status of NodePool.
- update
Client StringToken - The ClientToken when last update was successful.
- auto
Scaling booleanEnabled - Is enabled of AutoScaling.
- cluster
Id string - The ClusterId of NodePool.
- cluster
Ids string[] - The ClusterIds of NodePool IDs.
- create
Client stringToken - The ClientToken when successfully created.
- ids string[]
- The IDs of NodePool.
- name string
- The Name of NodePool.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- statuses
Get
Node Pools Status[] - The Status of NodePool.
- update
Client 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 Resource.
- output_
file str - File name where to save data source results.
- statuses
Sequence[Get
Node Pools Status] - The Status of NodePool.
- update_
client_ strtoken - The ClientToken when last update was successful.
- auto
Scaling BooleanEnabled - Is enabled of AutoScaling.
- cluster
Id String - The ClusterId of NodePool.
- cluster
Ids List<String> - The ClusterIds of NodePool IDs.
- create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- The IDs of NodePool.
- name String
- The Name of NodePool.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- statuses List<Property Map>
- The Status of NodePool.
- update
Client StringToken - 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.
- Node
Pools List<GetNode Pools Node Pool> - The collection of NodePools query.
- Total
Count int - The total count of query.
- Auto
Scaling boolEnabled - Cluster
Id string - The ClusterId of NodePool.
- Cluster
Ids List<string> - Create
Client stringToken - The ClientToken when successfully created.
- Ids List<string>
- Name string
- The Name of NodePool.
- Name
Regex string - Output
File string - Statuses
List<Get
Node Pools Status> - Update
Client stringToken - The ClientToken when last update was successful.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Pools []GetNode Pools Node Pool - The collection of NodePools query.
- Total
Count int - The total count of query.
- Auto
Scaling boolEnabled - Cluster
Id string - The ClusterId of NodePool.
- Cluster
Ids []string - Create
Client stringToken - The ClientToken when successfully created.
- Ids []string
- Name string
- The Name of NodePool.
- Name
Regex string - Output
File string - Statuses
[]Get
Node Pools Status - Update
Client stringToken - The ClientToken when last update was successful.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pools List<GetNode Pools Node Pool> - The collection of NodePools query.
- total
Count Integer - The total count of query.
- auto
Scaling BooleanEnabled - cluster
Id String - The ClusterId of NodePool.
- cluster
Ids List<String> - create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- name String
- The Name of NodePool.
- name
Regex String - output
File String - statuses
List<Get
Node Pools Status> - update
Client StringToken - The ClientToken when last update was successful.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Pools GetNode Pools Node Pool[] - The collection of NodePools query.
- total
Count number - The total count of query.
- auto
Scaling booleanEnabled - cluster
Id string - The ClusterId of NodePool.
- cluster
Ids string[] - create
Client stringToken - The ClientToken when successfully created.
- ids string[]
- name string
- The Name of NodePool.
- name
Regex string - output
File string - statuses
Get
Node Pools Status[] - update
Client stringToken - The ClientToken when last update was successful.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
pools Sequence[GetNode Pools Node Pool] - The collection of NodePools query.
- total_
count int - The total count of query.
- 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[Get
Node Pools Status] - update_
client_ strtoken - The ClientToken when last update was successful.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pools List<Property Map> - The collection of NodePools query.
- total
Count Number - The total count of query.
- auto
Scaling BooleanEnabled - cluster
Id String - The ClusterId of NodePool.
- cluster
Ids List<String> - create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- name String
- The Name of NodePool.
- name
Regex String - output
File String - statuses List<Property Map>
- update
Client StringToken - The ClientToken when last update was successful.
Supporting Types
GetNodePoolsNodePool
- 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 string - The ClusterId of NodePool.
- Condition
Types List<string> - The Condition of Status.
- Cordon bool
- The Cordon of KubernetesConfig.
- Create
Client stringToken - The ClientToken when successfully created.
- Create
Time string - The CreateTime of NodePool.
- Data
Volumes List<GetNode Pools Node Pool Data Volume> - The DataVolume of NodeConfig.
- Desired
Replicas int - The DesiredReplicas of AutoScaling.
-
List<Get
Node Pools Node Pool Ecs Tag> - Tags for Ecs.
- Enabled bool
- Is Enabled of AutoScaling.
- Hpc
Cluster List<string>Ids - The IDs of HpcCluster.
- Id string
- The Id of NodePool.
- Image
Id string - The ImageId of NodeConfig.
- Initialize
Script string - The InitializeScript of NodeConfig.
- Instance
Charge stringType - The InstanceChargeType of NodeConfig.
- Instance
Type List<string>Ids - The InstanceTypeIds of NodeConfig.
- Kube
Config stringName Prefix - The NamePrefix of node metadata.
- Label
Contents List<GetNode Pools Node Pool Label Content> - The LabelContent of KubernetesConfig.
- Login
Key stringPair Name - The login SshKeyPairName of NodeConfig.
- Login
Type string - The login type of NodeConfig.
- Max
Replicas int - The MaxReplicas of AutoScaling.
- Min
Replicas int - The MinReplicas of AutoScaling.
- Name string
- The Name of NodePool.
- Name
Prefix string - The NamePrefix of NodeConfig.
- Node
Statistics List<GetNode Pools 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.
- Security
Group List<string>Ids - The SecurityGroupIds of NodeConfig.
- Security
Strategies List<string> - The SecurityStrategies of NodeConfig.
- Security
Strategy boolEnabled - The SecurityStrategyEnabled of NodeConfig.
- Subnet
Ids List<string> - The SubnetId of NodeConfig.
- Subnet
Policy string - Multi-subnet scheduling strategy for nodes. The value can be
ZoneBalanceorPriority. - System
Volumes List<GetNode Pools Node Pool System Volume> - The SystemVolume of NodeConfig.
-
List<Get
Node Pools Node Pool Tag> - Tags of the NodePool.
- Taint
Contents List<GetNode Pools Node Pool Taint Content> - The TaintContent of NodeConfig.
- Update
Client stringToken - The ClientToken when last update was successful.
- Update
Time 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 string - The ClusterId of NodePool.
- Condition
Types []string - The Condition of Status.
- Cordon bool
- The Cordon of KubernetesConfig.
- Create
Client stringToken - The ClientToken when successfully created.
- Create
Time string - The CreateTime of NodePool.
- Data
Volumes []GetNode Pools Node Pool Data Volume - The DataVolume of NodeConfig.
- Desired
Replicas int - The DesiredReplicas of AutoScaling.
-
[]Get
Node Pools Node Pool Ecs Tag - Tags for Ecs.
- Enabled bool
- Is Enabled of AutoScaling.
- Hpc
Cluster []stringIds - The IDs of HpcCluster.
- Id string
- The Id of NodePool.
- Image
Id string - The ImageId of NodeConfig.
- Initialize
Script string - The InitializeScript of NodeConfig.
- Instance
Charge stringType - The InstanceChargeType of NodeConfig.
- Instance
Type []stringIds - The InstanceTypeIds of NodeConfig.
- Kube
Config stringName Prefix - The NamePrefix of node metadata.
- Label
Contents []GetNode Pools Node Pool Label Content - The LabelContent of KubernetesConfig.
- Login
Key stringPair Name - The login SshKeyPairName of NodeConfig.
- Login
Type string - The login type of NodeConfig.
- Max
Replicas int - The MaxReplicas of AutoScaling.
- Min
Replicas int - The MinReplicas of AutoScaling.
- Name string
- The Name of NodePool.
- Name
Prefix string - The NamePrefix of NodeConfig.
- Node
Statistics []GetNode Pools 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.
- Security
Group []stringIds - The SecurityGroupIds of NodeConfig.
- Security
Strategies []string - The SecurityStrategies of NodeConfig.
- Security
Strategy boolEnabled - The SecurityStrategyEnabled of NodeConfig.
- Subnet
Ids []string - The SubnetId of NodeConfig.
- Subnet
Policy string - Multi-subnet scheduling strategy for nodes. The value can be
ZoneBalanceorPriority. - System
Volumes []GetNode Pools Node Pool System Volume - The SystemVolume of NodeConfig.
-
[]Get
Node Pools Node Pool Tag - Tags of the NodePool.
- Taint
Contents []GetNode Pools Node Pool Taint Content - The TaintContent of NodeConfig.
- Update
Client stringToken - The ClientToken when last update was successful.
- Update
Time string - The UpdateTime time of NodePool.
- additional
Container BooleanStorage Enabled - Is AdditionalContainerStorageEnabled of NodeConfig.
- auto
Renew Boolean - Is auto renew of the PrePaid instance of NodeConfig.
- auto
Renew IntegerPeriod - The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- cluster
Id String - The ClusterId of NodePool.
- condition
Types List<String> - The Condition of Status.
- cordon Boolean
- The Cordon of KubernetesConfig.
- create
Client StringToken - The ClientToken when successfully created.
- create
Time String - The CreateTime of NodePool.
- data
Volumes List<GetNode Pools Node Pool Data Volume> - The DataVolume of NodeConfig.
- desired
Replicas Integer - The DesiredReplicas of AutoScaling.
-
List<Get
Node Pools Node Pool Ecs Tag> - Tags for Ecs.
- enabled Boolean
- Is Enabled of AutoScaling.
- hpc
Cluster List<String>Ids - The IDs of HpcCluster.
- id String
- The Id of NodePool.
- image
Id String - The ImageId of NodeConfig.
- initialize
Script String - The InitializeScript of NodeConfig.
- instance
Charge StringType - The InstanceChargeType of NodeConfig.
- instance
Type List<String>Ids - The InstanceTypeIds of NodeConfig.
- kube
Config StringName Prefix - The NamePrefix of node metadata.
- label
Contents List<GetNode Pools Node Pool Label Content> - The LabelContent of KubernetesConfig.
- login
Key StringPair Name - The login SshKeyPairName of NodeConfig.
- login
Type String - The login type of NodeConfig.
- max
Replicas Integer - The MaxReplicas of AutoScaling.
- min
Replicas Integer - The MinReplicas of AutoScaling.
- name String
- The Name of NodePool.
- name
Prefix String - The NamePrefix of NodeConfig.
- node
Statistics List<GetNode Pools 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.
- security
Group List<String>Ids - The SecurityGroupIds of NodeConfig.
- security
Strategies List<String> - The SecurityStrategies of NodeConfig.
- security
Strategy BooleanEnabled - The SecurityStrategyEnabled of NodeConfig.
- subnet
Ids List<String> - The SubnetId of NodeConfig.
- subnet
Policy String - Multi-subnet scheduling strategy for nodes. The value can be
ZoneBalanceorPriority. - system
Volumes List<GetNode Pools Node Pool System Volume> - The SystemVolume of NodeConfig.
-
List<Get
Node Pools Node Pool Tag> - Tags of the NodePool.
- taint
Contents List<GetNode Pools Node Pool Taint Content> - The TaintContent of NodeConfig.
- update
Client StringToken - The ClientToken when last update was successful.
- update
Time String - The UpdateTime time of NodePool.
- additional
Container booleanStorage Enabled - Is AdditionalContainerStorageEnabled of NodeConfig.
- auto
Renew boolean - Is auto renew of the PrePaid instance of NodeConfig.
- auto
Renew numberPeriod - The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- cluster
Id string - The ClusterId of NodePool.
- condition
Types string[] - The Condition of Status.
- cordon boolean
- The Cordon of KubernetesConfig.
- create
Client stringToken - The ClientToken when successfully created.
- create
Time string - The CreateTime of NodePool.
- data
Volumes GetNode Pools Node Pool Data Volume[] - The DataVolume of NodeConfig.
- desired
Replicas number - The DesiredReplicas of AutoScaling.
-
Get
Node Pools Node Pool Ecs Tag[] - Tags for Ecs.
- enabled boolean
- Is Enabled of AutoScaling.
- hpc
Cluster string[]Ids - The IDs of HpcCluster.
- id string
- The Id of NodePool.
- image
Id string - The ImageId of NodeConfig.
- initialize
Script string - The InitializeScript of NodeConfig.
- instance
Charge stringType - The InstanceChargeType of NodeConfig.
- instance
Type string[]Ids - The InstanceTypeIds of NodeConfig.
- kube
Config stringName Prefix - The NamePrefix of node metadata.
- label
Contents GetNode Pools Node Pool Label Content[] - The LabelContent of KubernetesConfig.
- login
Key stringPair Name - The login SshKeyPairName of NodeConfig.
- login
Type string - The login type of NodeConfig.
- max
Replicas number - The MaxReplicas of AutoScaling.
- min
Replicas number - The MinReplicas of AutoScaling.
- name string
- The Name of NodePool.
- name
Prefix string - The NamePrefix of NodeConfig.
- node
Statistics GetNode Pools 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.
- security
Group string[]Ids - The SecurityGroupIds of NodeConfig.
- security
Strategies string[] - The SecurityStrategies of NodeConfig.
- security
Strategy booleanEnabled - The SecurityStrategyEnabled of NodeConfig.
- subnet
Ids string[] - The SubnetId of NodeConfig.
- subnet
Policy string - Multi-subnet scheduling strategy for nodes. The value can be
ZoneBalanceorPriority. - system
Volumes GetNode Pools Node Pool System Volume[] - The SystemVolume of NodeConfig.
-
Get
Node Pools Node Pool Tag[] - Tags of the NodePool.
- taint
Contents GetNode Pools Node Pool Taint Content[] - The TaintContent of NodeConfig.
- update
Client stringToken - The ClientToken when last update was successful.
- update
Time 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[GetNode Pools Node Pool Data Volume] - The DataVolume of NodeConfig.
- desired_
replicas int - The DesiredReplicas of AutoScaling.
-
Sequence[Get
Node Pools 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[GetNode Pools 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[GetNode Pools 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[GetNode Pools Node Pool System Volume] - The SystemVolume of NodeConfig.
-
Sequence[Get
Node Pools Node Pool Tag] - Tags of the NodePool.
- taint_
contents Sequence[GetNode Pools 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.
- additional
Container BooleanStorage Enabled - Is AdditionalContainerStorageEnabled of NodeConfig.
- auto
Renew Boolean - Is auto renew of the PrePaid instance of NodeConfig.
- auto
Renew NumberPeriod - The AutoRenewPeriod of the PrePaid instance of NodeConfig.
- cluster
Id String - The ClusterId of NodePool.
- condition
Types List<String> - The Condition of Status.
- cordon Boolean
- The Cordon of KubernetesConfig.
- create
Client StringToken - The ClientToken when successfully created.
- create
Time String - The CreateTime of NodePool.
- data
Volumes List<Property Map> - The DataVolume of NodeConfig.
- desired
Replicas Number - The DesiredReplicas of AutoScaling.
- List<Property Map>
- Tags for Ecs.
- enabled Boolean
- Is Enabled of AutoScaling.
- hpc
Cluster List<String>Ids - The IDs of HpcCluster.
- id String
- The Id of NodePool.
- image
Id String - The ImageId of NodeConfig.
- initialize
Script String - The InitializeScript of NodeConfig.
- instance
Charge StringType - The InstanceChargeType of NodeConfig.
- instance
Type List<String>Ids - The InstanceTypeIds of NodeConfig.
- kube
Config StringName Prefix - The NamePrefix of node metadata.
- label
Contents List<Property Map> - The LabelContent of KubernetesConfig.
- login
Key StringPair Name - The login SshKeyPairName of NodeConfig.
- login
Type String - The login type of NodeConfig.
- max
Replicas Number - The MaxReplicas of AutoScaling.
- min
Replicas Number - The MinReplicas of AutoScaling.
- name String
- The Name of NodePool.
- name
Prefix String - The NamePrefix of NodeConfig.
- node
Statistics 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.
- security
Group List<String>Ids - The SecurityGroupIds of NodeConfig.
- security
Strategies List<String> - The SecurityStrategies of NodeConfig.
- security
Strategy BooleanEnabled - The SecurityStrategyEnabled of NodeConfig.
- subnet
Ids List<String> - The SubnetId of NodeConfig.
- subnet
Policy String - Multi-subnet scheduling strategy for nodes. The value can be
ZoneBalanceorPriority. - system
Volumes List<Property Map> - The SystemVolume of NodeConfig.
- List<Property Map>
- Tags of the NodePool.
- taint
Contents List<Property Map> - The TaintContent of NodeConfig.
- update
Client StringToken - The ClientToken when last update was successful.
- update
Time String - The UpdateTime time of NodePool.
GetNodePoolsNodePoolDataVolume
- Mount
Point string - The target mount directory of the disk.
- Size string
- The Size of SystemVolume.
- Type string
- The Type of Tags.
- Mount
Point string - The target mount directory of the disk.
- Size string
- The Size of SystemVolume.
- Type string
- The Type of Tags.
- mount
Point String - The target mount directory of the disk.
- size String
- The Size of SystemVolume.
- type String
- The Type of Tags.
- mount
Point 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.
- mount
Point String - The target mount directory of the disk.
- size String
- The Size of SystemVolume.
- type String
- The Type of Tags.
GetNodePoolsNodePoolEcsTag
GetNodePoolsNodePoolLabelContent
GetNodePoolsNodePoolNodeStatistic
- 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 - The total count of query.
- Updating
Count int - 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 - The total count of query.
- Updating
Count int - The UpdatingCount of Node.
- creating
Count Integer - The CreatingCount of Node.
- deleting
Count Integer - The DeletingCount of Node.
- failed
Count Integer - The FailedCount of Node.
- running
Count Integer - The RunningCount of Node.
- starting
Count Integer - (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stopped
Count Integer - (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stopping
Count Integer - (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- total
Count Integer - The total count of query.
- updating
Count Integer - The UpdatingCount of Node.
- creating
Count number - The CreatingCount of Node.
- deleting
Count number - The DeletingCount of Node.
- failed
Count number - The FailedCount of Node.
- running
Count number - The RunningCount of Node.
- starting
Count number - (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stopped
Count number - (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stopping
Count number - (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- total
Count number - The total count of query.
- updating
Count 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 - The total count of query.
- updating_
count int - The UpdatingCount of Node.
- creating
Count Number - The CreatingCount of Node.
- deleting
Count Number - The DeletingCount of Node.
- failed
Count Number - The FailedCount of Node.
- running
Count Number - The RunningCount of Node.
- starting
Count Number - (Deprecated) This field has been deprecated and is not recommended for use. The StartingCount of Node.
- stopped
Count Number - (Deprecated) This field has been deprecated and is not recommended for use. The StoppedCount of Node.
- stopping
Count Number - (Deprecated) This field has been deprecated and is not recommended for use. The StoppingCount of Node.
- total
Count Number - The total count of query.
- updating
Count Number - The UpdatingCount of Node.
GetNodePoolsNodePoolSystemVolume
GetNodePoolsNodePoolTag
GetNodePoolsNodePoolTaintContent
GetNodePoolsStatus
- Conditions
Type 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 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 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 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.
- conditions
Type 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.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
