1. Packages
  2. Volcengine
  3. API Docs
  4. vke
  5. Nodes
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.vke.Nodes

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of vke nodes

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";

const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
    securityGroupName: "acc-test-security-group",
    vpcId: fooVpc.id,
});
const fooImages = volcengine.ecs.Images({
    nameRegex: "veLinux 1.0 CentOS兼容版 64位",
});
const fooCluster = new volcengine.vke.Cluster("fooCluster", {
    description: "created by terraform",
    deleteProtectionEnabled: false,
    clusterConfig: {
        subnetIds: [fooSubnet.id],
        apiServerPublicAccessEnabled: true,
        apiServerPublicAccessConfig: {
            publicAccessNetworkConfig: {
                billingType: "PostPaidByBandwidth",
                bandwidth: 1,
            },
        },
        resourcePublicAccessDefaultEnabled: true,
    },
    podsConfig: {
        podNetworkMode: "VpcCniShared",
        vpcCniConfig: {
            subnetIds: [fooSubnet.id],
        },
    },
    servicesConfig: {
        serviceCidrsv4s: ["172.30.0.0/18"],
    },
    tags: [{
        key: "tf-k1",
        value: "tf-v1",
    }],
});
const fooNodePool = new volcengine.vke.NodePool("fooNodePool", {
    clusterId: fooCluster.id,
    autoScaling: {
        enabled: false,
    },
    nodeConfig: {
        instanceTypeIds: ["ecs.g1ie.xlarge"],
        subnetIds: [fooSubnet.id],
        imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
        systemVolume: {
            type: "ESSD_PL0",
            size: 50,
        },
        dataVolumes: [{
            type: "ESSD_PL0",
            size: 50,
            mountPoint: "/tf",
        }],
        initializeScript: "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
        security: {
            login: {
                password: "UHdkMTIzNDU2",
            },
            securityStrategies: ["Hids"],
            securityGroupIds: [fooSecurityGroup.id],
        },
        additionalContainerStorageEnabled: true,
        instanceChargeType: "PostPaid",
        namePrefix: "acc-test",
        ecsTags: [{
            key: "ecs_k1",
            value: "ecs_v1",
        }],
    },
    kubernetesConfig: {
        labels: [{
            key: "label1",
            value: "value1",
        }],
        taints: [{
            key: "taint-key/node-type",
            value: "taint-value",
            effect: "NoSchedule",
        }],
        cordon: true,
    },
    tags: [{
        key: "node-pool-k1",
        value: "node-pool-v1",
    }],
});
const fooInstance: volcengine.ecs.Instance[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
    fooInstance.push(new volcengine.ecs.Instance(`fooInstance-${range.value}`, {
        instanceName: `acc-test-ecs-${range.value}`,
        hostName: "tf-acc-test",
        imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
        instanceType: "ecs.g1ie.xlarge",
        password: "93f0cb0614Aab12",
        instanceChargeType: "PostPaid",
        systemVolumeType: "ESSD_PL0",
        systemVolumeSize: 50,
        dataVolumes: [{
            volumeType: "ESSD_PL0",
            size: 50,
            deleteWithInstance: true,
        }],
        subnetId: fooSubnet.id,
        securityGroupIds: [fooSecurityGroup.id],
        projectName: "default",
        tags: [{
            key: "k1",
            value: "v1",
        }],
    }));
}
const fooNode: volcengine.vke.Node[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
    fooNode.push(new volcengine.vke.Node(`fooNode-${range.value}`, {
        clusterId: fooCluster.id,
        instanceId: fooInstance[range.value].id,
        nodePoolId: fooNodePool.id,
    }));
}
const fooNodes = volcengine.vke.NodesOutput({
    ids: fooNode.map(__item => __item.id),
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
    security_group_name="acc-test-security-group",
    vpc_id=foo_vpc.id)
foo_images = volcengine.ecs.images(name_regex="veLinux 1.0 CentOS兼容版 64位")
foo_cluster = volcengine.vke.Cluster("fooCluster",
    description="created by terraform",
    delete_protection_enabled=False,
    cluster_config=volcengine.vke.ClusterClusterConfigArgs(
        subnet_ids=[foo_subnet.id],
        api_server_public_access_enabled=True,
        api_server_public_access_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigArgs(
            public_access_network_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
                billing_type="PostPaidByBandwidth",
                bandwidth=1,
            ),
        ),
        resource_public_access_default_enabled=True,
    ),
    pods_config=volcengine.vke.ClusterPodsConfigArgs(
        pod_network_mode="VpcCniShared",
        vpc_cni_config=volcengine.vke.ClusterPodsConfigVpcCniConfigArgs(
            subnet_ids=[foo_subnet.id],
        ),
    ),
    services_config=volcengine.vke.ClusterServicesConfigArgs(
        service_cidrsv4s=["172.30.0.0/18"],
    ),
    tags=[volcengine.vke.ClusterTagArgs(
        key="tf-k1",
        value="tf-v1",
    )])
foo_node_pool = volcengine.vke.NodePool("fooNodePool",
    cluster_id=foo_cluster.id,
    auto_scaling=volcengine.vke.NodePoolAutoScalingArgs(
        enabled=False,
    ),
    node_config=volcengine.vke.NodePoolNodeConfigArgs(
        instance_type_ids=["ecs.g1ie.xlarge"],
        subnet_ids=[foo_subnet.id],
        image_id=[image.image_id for image in foo_images.images if image.image_name == "veLinux 1.0 CentOS兼容版 64位"][0],
        system_volume=volcengine.vke.NodePoolNodeConfigSystemVolumeArgs(
            type="ESSD_PL0",
            size=50,
        ),
        data_volumes=[volcengine.vke.NodePoolNodeConfigDataVolumeArgs(
            type="ESSD_PL0",
            size=50,
            mount_point="/tf",
        )],
        initialize_script="ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
        security=volcengine.vke.NodePoolNodeConfigSecurityArgs(
            login=volcengine.vke.NodePoolNodeConfigSecurityLoginArgs(
                password="UHdkMTIzNDU2",
            ),
            security_strategies=["Hids"],
            security_group_ids=[foo_security_group.id],
        ),
        additional_container_storage_enabled=True,
        instance_charge_type="PostPaid",
        name_prefix="acc-test",
        ecs_tags=[volcengine.vke.NodePoolNodeConfigEcsTagArgs(
            key="ecs_k1",
            value="ecs_v1",
        )],
    ),
    kubernetes_config=volcengine.vke.NodePoolKubernetesConfigArgs(
        labels=[volcengine.vke.NodePoolKubernetesConfigLabelArgs(
            key="label1",
            value="value1",
        )],
        taints=[volcengine.vke.NodePoolKubernetesConfigTaintArgs(
            key="taint-key/node-type",
            value="taint-value",
            effect="NoSchedule",
        )],
        cordon=True,
    ),
    tags=[volcengine.vke.NodePoolTagArgs(
        key="node-pool-k1",
        value="node-pool-v1",
    )])
foo_instance = []
for range in [{"value": i} for i in range(0, 2)]:
    foo_instance.append(volcengine.ecs.Instance(f"fooInstance-{range['value']}",
        instance_name=f"acc-test-ecs-{range['value']}",
        host_name="tf-acc-test",
        image_id=[image.image_id for image in foo_images.images if image.image_name == "veLinux 1.0 CentOS兼容版 64位"][0],
        instance_type="ecs.g1ie.xlarge",
        password="93f0cb0614Aab12",
        instance_charge_type="PostPaid",
        system_volume_type="ESSD_PL0",
        system_volume_size=50,
        data_volumes=[volcengine.ecs.InstanceDataVolumeArgs(
            volume_type="ESSD_PL0",
            size=50,
            delete_with_instance=True,
        )],
        subnet_id=foo_subnet.id,
        security_group_ids=[foo_security_group.id],
        project_name="default",
        tags=[volcengine.ecs.InstanceTagArgs(
            key="k1",
            value="v1",
        )]))
foo_node = []
for range in [{"value": i} for i in range(0, 2)]:
    foo_node.append(volcengine.vke.Node(f"fooNode-{range['value']}",
        cluster_id=foo_cluster.id,
        instance_id=foo_instance[range["value"]].id,
        node_pool_id=foo_node_pool.id))
foo_nodes = volcengine.vke.nodes_output(ids=[__item.id for __item in foo_node])
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil);
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
SecurityGroupName: pulumi.String("acc-test-security-group"),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
NameRegex: pulumi.StringRef("veLinux 1.0 CentOS兼容版 64位"),
}, nil);
if err != nil {
return err
}
fooCluster, err := vke.NewCluster(ctx, "fooCluster", &vke.ClusterArgs{
Description: pulumi.String("created by terraform"),
DeleteProtectionEnabled: pulumi.Bool(false),
ClusterConfig: &vke.ClusterClusterConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ApiServerPublicAccessEnabled: pulumi.Bool(true),
ApiServerPublicAccessConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigArgs{
PublicAccessNetworkConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
},
ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
},
PodsConfig: &vke.ClusterPodsConfigArgs{
PodNetworkMode: pulumi.String("VpcCniShared"),
VpcCniConfig: &vke.ClusterPodsConfigVpcCniConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
},
},
ServicesConfig: &vke.ClusterServicesConfigArgs{
ServiceCidrsv4s: pulumi.StringArray{
pulumi.String("172.30.0.0/18"),
},
},
Tags: vke.ClusterTagArray{
&vke.ClusterTagArgs{
Key: pulumi.String("tf-k1"),
Value: pulumi.String("tf-v1"),
},
},
})
if err != nil {
return err
}
fooNodePool, err := vke.NewNodePool(ctx, "fooNodePool", &vke.NodePoolArgs{
ClusterId: fooCluster.ID(),
AutoScaling: &vke.NodePoolAutoScalingArgs{
Enabled: pulumi.Bool(false),
},
NodeConfig: &vke.NodePoolNodeConfigArgs{
InstanceTypeIds: pulumi.StringArray{
pulumi.String("ecs.g1ie.xlarge"),
},
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ImageId: "TODO: For expression"[0],
SystemVolume: &vke.NodePoolNodeConfigSystemVolumeArgs{
Type: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(50),
},
DataVolumes: vke.NodePoolNodeConfigDataVolumeArray{
&vke.NodePoolNodeConfigDataVolumeArgs{
Type: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(50),
MountPoint: pulumi.String("/tf"),
},
},
InitializeScript: pulumi.String("ZWNobyBoZWxsbyB0ZXJyYWZvcm0h"),
Security: &vke.NodePoolNodeConfigSecurityArgs{
Login: &vke.NodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("UHdkMTIzNDU2"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("Hids"),
},
SecurityGroupIds: pulumi.StringArray{
fooSecurityGroup.ID(),
},
},
AdditionalContainerStorageEnabled: pulumi.Bool(true),
InstanceChargeType: pulumi.String("PostPaid"),
NamePrefix: pulumi.String("acc-test"),
EcsTags: vke.NodePoolNodeConfigEcsTagArray{
&vke.NodePoolNodeConfigEcsTagArgs{
Key: pulumi.String("ecs_k1"),
Value: pulumi.String("ecs_v1"),
},
},
},
KubernetesConfig: &vke.NodePoolKubernetesConfigArgs{
Labels: vke.NodePoolKubernetesConfigLabelArray{
&vke.NodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("label1"),
Value: pulumi.String("value1"),
},
},
Taints: vke.NodePoolKubernetesConfigTaintArray{
&vke.NodePoolKubernetesConfigTaintArgs{
Key: pulumi.String("taint-key/node-type"),
Value: pulumi.String("taint-value"),
Effect: pulumi.String("NoSchedule"),
},
},
Cordon: pulumi.Bool(true),
},
Tags: vke.NodePoolTagArray{
&vke.NodePoolTagArgs{
Key: pulumi.String("node-pool-k1"),
Value: pulumi.String("node-pool-v1"),
},
},
})
if err != nil {
return err
}
var fooInstance []*ecs.Instance
for index := 0; index < 2; index++ {
    key0 := index
    val0 := index
__res, err := ecs.NewInstance(ctx, fmt.Sprintf("fooInstance-%v", key0), &ecs.InstanceArgs{
InstanceName: pulumi.String(fmt.Sprintf("acc-test-ecs-%v", val0)),
HostName: pulumi.String("tf-acc-test"),
ImageId: "TODO: For expression"[0],
InstanceType: pulumi.String("ecs.g1ie.xlarge"),
Password: pulumi.String("93f0cb0614Aab12"),
InstanceChargeType: pulumi.String("PostPaid"),
SystemVolumeType: pulumi.String("ESSD_PL0"),
SystemVolumeSize: pulumi.Int(50),
DataVolumes: ecs.InstanceDataVolumeArray{
&ecs.InstanceDataVolumeArgs{
VolumeType: pulumi.String("ESSD_PL0"),
Size: pulumi.Int(50),
DeleteWithInstance: pulumi.Bool(true),
},
},
SubnetId: fooSubnet.ID(),
SecurityGroupIds: pulumi.StringArray{
fooSecurityGroup.ID(),
},
ProjectName: pulumi.String("default"),
Tags: ecs.InstanceTagArray{
&ecs.InstanceTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
fooInstance = append(fooInstance, __res)
}
var fooNode []*vke.Node
for index := 0; index < 2; index++ {
    key0 := index
    val0 := index
__res, err := vke.NewNode(ctx, fmt.Sprintf("fooNode-%v", key0), &vke.NodeArgs{
ClusterId: fooCluster.ID(),
InstanceId: fooInstance[val0].ID(),
NodePoolId: fooNodePool.ID(),
})
if err != nil {
return err
}
fooNode = append(fooNode, __res)
}
_ = vke.NodesOutput(ctx, vke.NodesOutputArgs{
Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:vke-nodes:Nodes.pp:134,9-22),
}, nil);
return nil
})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();

    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });

    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });

    var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
    {
        SecurityGroupName = "acc-test-security-group",
        VpcId = fooVpc.Id,
    });

    var fooImages = Volcengine.Ecs.Images.Invoke(new()
    {
        NameRegex = "veLinux 1.0 CentOS兼容版 64位",
    });

    var fooCluster = new Volcengine.Vke.Cluster("fooCluster", new()
    {
        Description = "created by terraform",
        DeleteProtectionEnabled = false,
        ClusterConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigArgs
        {
            SubnetIds = new[]
            {
                fooSubnet.Id,
            },
            ApiServerPublicAccessEnabled = true,
            ApiServerPublicAccessConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
            {
                PublicAccessNetworkConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
                {
                    BillingType = "PostPaidByBandwidth",
                    Bandwidth = 1,
                },
            },
            ResourcePublicAccessDefaultEnabled = true,
        },
        PodsConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigArgs
        {
            PodNetworkMode = "VpcCniShared",
            VpcCniConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigVpcCniConfigArgs
            {
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
            },
        },
        ServicesConfig = new Volcengine.Vke.Inputs.ClusterServicesConfigArgs
        {
            ServiceCidrsv4s = new[]
            {
                "172.30.0.0/18",
            },
        },
        Tags = new[]
        {
            new Volcengine.Vke.Inputs.ClusterTagArgs
            {
                Key = "tf-k1",
                Value = "tf-v1",
            },
        },
    });

    var fooNodePool = new Volcengine.Vke.NodePool("fooNodePool", new()
    {
        ClusterId = fooCluster.Id,
        AutoScaling = new Volcengine.Vke.Inputs.NodePoolAutoScalingArgs
        {
            Enabled = false,
        },
        NodeConfig = new Volcengine.Vke.Inputs.NodePoolNodeConfigArgs
        {
            InstanceTypeIds = new[]
            {
                "ecs.g1ie.xlarge",
            },
            SubnetIds = new[]
            {
                fooSubnet.Id,
            },
            ImageId = .Where(image => image.ImageName == "veLinux 1.0 CentOS兼容版 64位").Select(image => 
            {
                return image.ImageId;
            }).ToList()[0],
            SystemVolume = new Volcengine.Vke.Inputs.NodePoolNodeConfigSystemVolumeArgs
            {
                Type = "ESSD_PL0",
                Size = 50,
            },
            DataVolumes = new[]
            {
                new Volcengine.Vke.Inputs.NodePoolNodeConfigDataVolumeArgs
                {
                    Type = "ESSD_PL0",
                    Size = 50,
                    MountPoint = "/tf",
                },
            },
            InitializeScript = "ZWNobyBoZWxsbyB0ZXJyYWZvcm0h",
            Security = new Volcengine.Vke.Inputs.NodePoolNodeConfigSecurityArgs
            {
                Login = new Volcengine.Vke.Inputs.NodePoolNodeConfigSecurityLoginArgs
                {
                    Password = "UHdkMTIzNDU2",
                },
                SecurityStrategies = new[]
                {
                    "Hids",
                },
                SecurityGroupIds = new[]
                {
                    fooSecurityGroup.Id,
                },
            },
            AdditionalContainerStorageEnabled = true,
            InstanceChargeType = "PostPaid",
            NamePrefix = "acc-test",
            EcsTags = new[]
            {
                new Volcengine.Vke.Inputs.NodePoolNodeConfigEcsTagArgs
                {
                    Key = "ecs_k1",
                    Value = "ecs_v1",
                },
            },
        },
        KubernetesConfig = new Volcengine.Vke.Inputs.NodePoolKubernetesConfigArgs
        {
            Labels = new[]
            {
                new Volcengine.Vke.Inputs.NodePoolKubernetesConfigLabelArgs
                {
                    Key = "label1",
                    Value = "value1",
                },
            },
            Taints = new[]
            {
                new Volcengine.Vke.Inputs.NodePoolKubernetesConfigTaintArgs
                {
                    Key = "taint-key/node-type",
                    Value = "taint-value",
                    Effect = "NoSchedule",
                },
            },
            Cordon = true,
        },
        Tags = new[]
        {
            new Volcengine.Vke.Inputs.NodePoolTagArgs
            {
                Key = "node-pool-k1",
                Value = "node-pool-v1",
            },
        },
    });

    var fooInstance = new List<Volcengine.Ecs.Instance>();
    for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
    {
        var range = new { Value = rangeIndex };
        fooInstance.Add(new Volcengine.Ecs.Instance($"fooInstance-{range.Value}", new()
        {
            InstanceName = $"acc-test-ecs-{range.Value}",
            HostName = "tf-acc-test",
            ImageId = .Where(image => image.ImageName == "veLinux 1.0 CentOS兼容版 64位").Select(image => 
            {
                return image.ImageId;
            }).ToList()[0],
            InstanceType = "ecs.g1ie.xlarge",
            Password = "93f0cb0614Aab12",
            InstanceChargeType = "PostPaid",
            SystemVolumeType = "ESSD_PL0",
            SystemVolumeSize = 50,
            DataVolumes = new[]
            {
                new Volcengine.Ecs.Inputs.InstanceDataVolumeArgs
                {
                    VolumeType = "ESSD_PL0",
                    Size = 50,
                    DeleteWithInstance = true,
                },
            },
            SubnetId = fooSubnet.Id,
            SecurityGroupIds = new[]
            {
                fooSecurityGroup.Id,
            },
            ProjectName = "default",
            Tags = new[]
            {
                new Volcengine.Ecs.Inputs.InstanceTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        }));
    }
    var fooNode = new List<Volcengine.Vke.Node>();
    for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
    {
        var range = new { Value = rangeIndex };
        fooNode.Add(new Volcengine.Vke.Node($"fooNode-{range.Value}", new()
        {
            ClusterId = fooCluster.Id,
            InstanceId = fooInstance[range.Value].Id,
            NodePoolId = fooNodePool.Id,
        }));
    }
    var fooNodes = Volcengine.Vke.Nodes.Invoke(new()
    {
        Ids = fooNode.Select(__item => __item.Id).ToList(),
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.SecurityGroup;
import com.pulumi.volcengine.vpc.SecurityGroupArgs;
import com.pulumi.volcengine.ecs.inputs.ImagesArgs;
import com.pulumi.volcengine.vke.Cluster;
import com.pulumi.volcengine.vke.ClusterArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigVpcCniConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterServicesConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterTagArgs;
import com.pulumi.volcengine.vke.NodePool;
import com.pulumi.volcengine.vke.NodePoolArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolAutoScalingArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSystemVolumeArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSecurityArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolNodeConfigSecurityLoginArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolKubernetesConfigArgs;
import com.pulumi.volcengine.vke.inputs.NodePoolTagArgs;
import com.pulumi.volcengine.ecs.Instance;
import com.pulumi.volcengine.ecs.InstanceArgs;
import com.pulumi.volcengine.ecs.inputs.InstanceDataVolumeArgs;
import com.pulumi.volcengine.ecs.inputs.InstanceTagArgs;
import com.pulumi.volcengine.vke.Node;
import com.pulumi.volcengine.vke.NodeArgs;
import com.pulumi.volcengine.vke.VkeFunctions;
import com.pulumi.volcengine.vke.inputs.NodesArgs;
import com.pulumi.codegen.internal.KeyedValue;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var fooZones = EcsFunctions.Zones();

        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());

        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());

        var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
            .securityGroupName("acc-test-security-group")
            .vpcId(fooVpc.id())
            .build());

        final var fooImages = EcsFunctions.Images(ImagesArgs.builder()
            .nameRegex("veLinux 1.0 CentOS兼容版 64位")
            .build());

        var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()        
            .description("created by terraform")
            .deleteProtectionEnabled(false)
            .clusterConfig(ClusterClusterConfigArgs.builder()
                .subnetIds(fooSubnet.id())
                .apiServerPublicAccessEnabled(true)
                .apiServerPublicAccessConfig(ClusterClusterConfigApiServerPublicAccessConfigArgs.builder()
                    .publicAccessNetworkConfig(ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs.builder()
                        .billingType("PostPaidByBandwidth")
                        .bandwidth(1)
                        .build())
                    .build())
                .resourcePublicAccessDefaultEnabled(true)
                .build())
            .podsConfig(ClusterPodsConfigArgs.builder()
                .podNetworkMode("VpcCniShared")
                .vpcCniConfig(ClusterPodsConfigVpcCniConfigArgs.builder()
                    .subnetIds(fooSubnet.id())
                    .build())
                .build())
            .servicesConfig(ClusterServicesConfigArgs.builder()
                .serviceCidrsv4s("172.30.0.0/18")
                .build())
            .tags(ClusterTagArgs.builder()
                .key("tf-k1")
                .value("tf-v1")
                .build())
            .build());

        var fooNodePool = new NodePool("fooNodePool", NodePoolArgs.builder()        
            .clusterId(fooCluster.id())
            .autoScaling(NodePoolAutoScalingArgs.builder()
                .enabled(false)
                .build())
            .nodeConfig(NodePoolNodeConfigArgs.builder()
                .instanceTypeIds("ecs.g1ie.xlarge")
                .subnetIds(fooSubnet.id())
                .imageId("TODO: ForExpression"[0])
                .systemVolume(NodePoolNodeConfigSystemVolumeArgs.builder()
                    .type("ESSD_PL0")
                    .size("50")
                    .build())
                .dataVolumes(NodePoolNodeConfigDataVolumeArgs.builder()
                    .type("ESSD_PL0")
                    .size("50")
                    .mountPoint("/tf")
                    .build())
                .initializeScript("ZWNobyBoZWxsbyB0ZXJyYWZvcm0h")
                .security(NodePoolNodeConfigSecurityArgs.builder()
                    .login(NodePoolNodeConfigSecurityLoginArgs.builder()
                        .password("UHdkMTIzNDU2")
                        .build())
                    .securityStrategies("Hids")
                    .securityGroupIds(fooSecurityGroup.id())
                    .build())
                .additionalContainerStorageEnabled(true)
                .instanceChargeType("PostPaid")
                .namePrefix("acc-test")
                .ecsTags(NodePoolNodeConfigEcsTagArgs.builder()
                    .key("ecs_k1")
                    .value("ecs_v1")
                    .build())
                .build())
            .kubernetesConfig(NodePoolKubernetesConfigArgs.builder()
                .labels(NodePoolKubernetesConfigLabelArgs.builder()
                    .key("label1")
                    .value("value1")
                    .build())
                .taints(NodePoolKubernetesConfigTaintArgs.builder()
                    .key("taint-key/node-type")
                    .value("taint-value")
                    .effect("NoSchedule")
                    .build())
                .cordon(true)
                .build())
            .tags(NodePoolTagArgs.builder()
                .key("node-pool-k1")
                .value("node-pool-v1")
                .build())
            .build());

        for (var i = 0; i < 2; i++) {
            new Instance("fooInstance-" + i, InstanceArgs.builder()            
                .instanceName(String.format("acc-test-ecs-%s", range.value()))
                .hostName("tf-acc-test")
                .imageId("TODO: ForExpression"[0])
                .instanceType("ecs.g1ie.xlarge")
                .password("93f0cb0614Aab12")
                .instanceChargeType("PostPaid")
                .systemVolumeType("ESSD_PL0")
                .systemVolumeSize(50)
                .dataVolumes(InstanceDataVolumeArgs.builder()
                    .volumeType("ESSD_PL0")
                    .size(50)
                    .deleteWithInstance(true)
                    .build())
                .subnetId(fooSubnet.id())
                .securityGroupIds(fooSecurityGroup.id())
                .projectName("default")
                .tags(InstanceTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());

        
}
        for (var i = 0; i < 2; i++) {
            new Node("fooNode-" + i, NodeArgs.builder()            
                .clusterId(fooCluster.id())
                .instanceId(fooInstance[range.value()].id())
                .nodePoolId(fooNodePool.id())
                .build());

        
}
        final var fooNodes = VkeFunctions.Nodes(NodesArgs.builder()
            .ids(fooNode.stream().map(element -> element.id()).collect(toList()))
            .build());

    }
}
Copy
Coming soon!

Using Nodes

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 nodes(args: NodesArgs, opts?: InvokeOptions): Promise<NodesResult>
function nodesOutput(args: NodesOutputArgs, opts?: InvokeOptions): Output<NodesResult>
Copy
def nodes(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,
          node_pool_ids: Optional[Sequence[str]] = None,
          output_file: Optional[str] = None,
          statuses: Optional[Sequence[NodesStatus]] = None,
          zone_ids: Optional[Sequence[str]] = None,
          opts: Optional[InvokeOptions] = None) -> NodesResult
def nodes_output(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,
          node_pool_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
          output_file: Optional[pulumi.Input[str]] = None,
          statuses: Optional[pulumi.Input[Sequence[pulumi.Input[NodesStatusArgs]]]] = None,
          zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
          opts: Optional[InvokeOptions] = None) -> Output[NodesResult]
Copy
func Nodes(ctx *Context, args *NodesArgs, opts ...InvokeOption) (*NodesResult, error)
func NodesOutput(ctx *Context, args *NodesOutputArgs, opts ...InvokeOption) NodesResultOutput
Copy
public static class Nodes 
{
    public static Task<NodesResult> InvokeAsync(NodesArgs args, InvokeOptions? opts = null)
    public static Output<NodesResult> Invoke(NodesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<NodesResult> nodes(NodesArgs args, InvokeOptions options)
public static Output<NodesResult> nodes(NodesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:vke:Nodes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterIds List<string>
A list of Cluster IDs.
CreateClientToken string
The Create Client Token.
Ids List<string>
A list of Node IDs.
Name string
The Name of Node.
NameRegex string
A Name Regex of Node.
NodePoolIds List<string>
The Node Pool IDs.
OutputFile string
File name where to save data source results.
Statuses List<NodesStatus>
The Status of filter.
ZoneIds List<string>
The Zone IDs.
ClusterIds []string
A list of Cluster IDs.
CreateClientToken string
The Create Client Token.
Ids []string
A list of Node IDs.
Name string
The Name of Node.
NameRegex string
A Name Regex of Node.
NodePoolIds []string
The Node Pool IDs.
OutputFile string
File name where to save data source results.
Statuses []NodesStatus
The Status of filter.
ZoneIds []string
The Zone IDs.
clusterIds List<String>
A list of Cluster IDs.
createClientToken String
The Create Client Token.
ids List<String>
A list of Node IDs.
name String
The Name of Node.
nameRegex String
A Name Regex of Node.
nodePoolIds List<String>
The Node Pool IDs.
outputFile String
File name where to save data source results.
statuses List<NodesStatus>
The Status of filter.
zoneIds List<String>
The Zone IDs.
clusterIds string[]
A list of Cluster IDs.
createClientToken string
The Create Client Token.
ids string[]
A list of Node IDs.
name string
The Name of Node.
nameRegex string
A Name Regex of Node.
nodePoolIds string[]
The Node Pool IDs.
outputFile string
File name where to save data source results.
statuses NodesStatus[]
The Status of filter.
zoneIds string[]
The Zone IDs.
cluster_ids Sequence[str]
A list of Cluster IDs.
create_client_token str
The Create Client Token.
ids Sequence[str]
A list of Node IDs.
name str
The Name of Node.
name_regex str
A Name Regex of Node.
node_pool_ids Sequence[str]
The Node Pool IDs.
output_file str
File name where to save data source results.
statuses Sequence[NodesStatus]
The Status of filter.
zone_ids Sequence[str]
The Zone IDs.
clusterIds List<String>
A list of Cluster IDs.
createClientToken String
The Create Client Token.
ids List<String>
A list of Node IDs.
name String
The Name of Node.
nameRegex String
A Name Regex of Node.
nodePoolIds List<String>
The Node Pool IDs.
outputFile String
File name where to save data source results.
statuses List<Property Map>
The Status of filter.
zoneIds List<String>
The Zone IDs.

Nodes Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Nodes List<NodesNode>
The collection of Node query.
TotalCount int
The total count of Node query.
ClusterIds List<string>
CreateClientToken string
The create client token of node.
Ids List<string>
Name string
The name of Node.
NameRegex string
NodePoolIds List<string>
OutputFile string
Statuses List<NodesStatus>
ZoneIds List<string>
Id string
The provider-assigned unique ID for this managed resource.
Nodes []NodesNode
The collection of Node query.
TotalCount int
The total count of Node query.
ClusterIds []string
CreateClientToken string
The create client token of node.
Ids []string
Name string
The name of Node.
NameRegex string
NodePoolIds []string
OutputFile string
Statuses []NodesStatus
ZoneIds []string
id String
The provider-assigned unique ID for this managed resource.
nodes List<NodesNode>
The collection of Node query.
totalCount Integer
The total count of Node query.
clusterIds List<String>
createClientToken String
The create client token of node.
ids List<String>
name String
The name of Node.
nameRegex String
nodePoolIds List<String>
outputFile String
statuses List<NodesStatus>
zoneIds List<String>
id string
The provider-assigned unique ID for this managed resource.
nodes NodesNode[]
The collection of Node query.
totalCount number
The total count of Node query.
clusterIds string[]
createClientToken string
The create client token of node.
ids string[]
name string
The name of Node.
nameRegex string
nodePoolIds string[]
outputFile string
statuses NodesStatus[]
zoneIds string[]
id str
The provider-assigned unique ID for this managed resource.
nodes Sequence[NodesNode]
The collection of Node query.
total_count int
The total count of Node query.
cluster_ids Sequence[str]
create_client_token str
The create client token of node.
ids Sequence[str]
name str
The name of Node.
name_regex str
node_pool_ids Sequence[str]
output_file str
statuses Sequence[NodesStatus]
zone_ids Sequence[str]
id String
The provider-assigned unique ID for this managed resource.
nodes List<Property Map>
The collection of Node query.
totalCount Number
The total count of Node query.
clusterIds List<String>
createClientToken String
The create client token of node.
ids List<String>
name String
The name of Node.
nameRegex String
nodePoolIds List<String>
outputFile String
statuses List<Property Map>
zoneIds List<String>

Supporting Types

NodesNode

AdditionalContainerStorageEnabled This property is required. bool
Is Additional Container storage enables.
ClusterId This property is required. string
The cluster id of node.
ConditionTypes This property is required. List<string>
The Condition of Node.
ContainerStoragePath This property is required. string
The Storage Path.
Cordon This property is required. bool
The Cordon of KubernetesConfig.
CreateClientToken This property is required. string
The Create Client Token.
CreateTime This property is required. string
The create time of Node.
Id This property is required. string
The ID of Node.
ImageId This property is required. string
The ImageId of NodeConfig.
InitializeScript This property is required. string
The InitializeScript of NodeConfig.
InstanceId This property is required. string
The instance id of node.
IsVirtual This property is required. bool
Is virtual node.
Labels This property is required. List<NodesNodeLabel>
The Label of KubernetesConfig.
Name This property is required. string
The Name of Node.
NodePoolId This property is required. string
The node pool id.
Phase This property is required. string
The Phase of Node.
Roles This property is required. List<string>
The roles of node.
Taints This property is required. List<NodesNodeTaint>
The Taint of KubernetesConfig.
UpdateTime This property is required. string
The update time of Node.
ZoneId This property is required. string
The zone id.
AdditionalContainerStorageEnabled This property is required. bool
Is Additional Container storage enables.
ClusterId This property is required. string
The cluster id of node.
ConditionTypes This property is required. []string
The Condition of Node.
ContainerStoragePath This property is required. string
The Storage Path.
Cordon This property is required. bool
The Cordon of KubernetesConfig.
CreateClientToken This property is required. string
The Create Client Token.
CreateTime This property is required. string
The create time of Node.
Id This property is required. string
The ID of Node.
ImageId This property is required. string
The ImageId of NodeConfig.
InitializeScript This property is required. string
The InitializeScript of NodeConfig.
InstanceId This property is required. string
The instance id of node.
IsVirtual This property is required. bool
Is virtual node.
Labels This property is required. []NodesNodeLabel
The Label of KubernetesConfig.
Name This property is required. string
The Name of Node.
NodePoolId This property is required. string
The node pool id.
Phase This property is required. string
The Phase of Node.
Roles This property is required. []string
The roles of node.
Taints This property is required. []NodesNodeTaint
The Taint of KubernetesConfig.
UpdateTime This property is required. string
The update time of Node.
ZoneId This property is required. string
The zone id.
additionalContainerStorageEnabled This property is required. Boolean
Is Additional Container storage enables.
clusterId This property is required. String
The cluster id of node.
conditionTypes This property is required. List<String>
The Condition of Node.
containerStoragePath This property is required. String
The Storage Path.
cordon This property is required. Boolean
The Cordon of KubernetesConfig.
createClientToken This property is required. String
The Create Client Token.
createTime This property is required. String
The create time of Node.
id This property is required. String
The ID of Node.
imageId This property is required. String
The ImageId of NodeConfig.
initializeScript This property is required. String
The InitializeScript of NodeConfig.
instanceId This property is required. String
The instance id of node.
isVirtual This property is required. Boolean
Is virtual node.
labels This property is required. List<NodesNodeLabel>
The Label of KubernetesConfig.
name This property is required. String
The Name of Node.
nodePoolId This property is required. String
The node pool id.
phase This property is required. String
The Phase of Node.
roles This property is required. List<String>
The roles of node.
taints This property is required. List<NodesNodeTaint>
The Taint of KubernetesConfig.
updateTime This property is required. String
The update time of Node.
zoneId This property is required. String
The zone id.
additionalContainerStorageEnabled This property is required. boolean
Is Additional Container storage enables.
clusterId This property is required. string
The cluster id of node.
conditionTypes This property is required. string[]
The Condition of Node.
containerStoragePath This property is required. string
The Storage Path.
cordon This property is required. boolean
The Cordon of KubernetesConfig.
createClientToken This property is required. string
The Create Client Token.
createTime This property is required. string
The create time of Node.
id This property is required. string
The ID of Node.
imageId This property is required. string
The ImageId of NodeConfig.
initializeScript This property is required. string
The InitializeScript of NodeConfig.
instanceId This property is required. string
The instance id of node.
isVirtual This property is required. boolean
Is virtual node.
labels This property is required. NodesNodeLabel[]
The Label of KubernetesConfig.
name This property is required. string
The Name of Node.
nodePoolId This property is required. string
The node pool id.
phase This property is required. string
The Phase of Node.
roles This property is required. string[]
The roles of node.
taints This property is required. NodesNodeTaint[]
The Taint of KubernetesConfig.
updateTime This property is required. string
The update time of Node.
zoneId This property is required. string
The zone id.
additional_container_storage_enabled This property is required. bool
Is Additional Container storage enables.
cluster_id This property is required. str
The cluster id of node.
condition_types This property is required. Sequence[str]
The Condition of Node.
container_storage_path This property is required. str
The Storage Path.
cordon This property is required. bool
The Cordon of KubernetesConfig.
create_client_token This property is required. str
The Create Client Token.
create_time This property is required. str
The create time of Node.
id This property is required. str
The ID of Node.
image_id This property is required. str
The ImageId of NodeConfig.
initialize_script This property is required. str
The InitializeScript of NodeConfig.
instance_id This property is required. str
The instance id of node.
is_virtual This property is required. bool
Is virtual node.
labels This property is required. Sequence[NodesNodeLabel]
The Label of KubernetesConfig.
name This property is required. str
The Name of Node.
node_pool_id This property is required. str
The node pool id.
phase This property is required. str
The Phase of Node.
roles This property is required. Sequence[str]
The roles of node.
taints This property is required. Sequence[NodesNodeTaint]
The Taint of KubernetesConfig.
update_time This property is required. str
The update time of Node.
zone_id This property is required. str
The zone id.
additionalContainerStorageEnabled This property is required. Boolean
Is Additional Container storage enables.
clusterId This property is required. String
The cluster id of node.
conditionTypes This property is required. List<String>
The Condition of Node.
containerStoragePath This property is required. String
The Storage Path.
cordon This property is required. Boolean
The Cordon of KubernetesConfig.
createClientToken This property is required. String
The Create Client Token.
createTime This property is required. String
The create time of Node.
id This property is required. String
The ID of Node.
imageId This property is required. String
The ImageId of NodeConfig.
initializeScript This property is required. String
The InitializeScript of NodeConfig.
instanceId This property is required. String
The instance id of node.
isVirtual This property is required. Boolean
Is virtual node.
labels This property is required. List<Property Map>
The Label of KubernetesConfig.
name This property is required. String
The Name of Node.
nodePoolId This property is required. String
The node pool id.
phase This property is required. String
The Phase of Node.
roles This property is required. List<String>
The roles of node.
taints This property is required. List<Property Map>
The Taint of KubernetesConfig.
updateTime This property is required. String
The update time of Node.
zoneId This property is required. String
The zone id.

NodesNodeLabel

Key This property is required. string
The Key of Taint.
Value This property is required. string
The Value of Taint.
Key This property is required. string
The Key of Taint.
Value This property is required. string
The Value of Taint.
key This property is required. String
The Key of Taint.
value This property is required. String
The Value of Taint.
key This property is required. string
The Key of Taint.
value This property is required. string
The Value of Taint.
key This property is required. str
The Key of Taint.
value This property is required. str
The Value of Taint.
key This property is required. String
The Key of Taint.
value This property is required. String
The Value of Taint.

NodesNodeTaint

Effect This property is required. string
The Effect of Taint.
Key This property is required. string
The Key of Taint.
Value This property is required. string
The Value of Taint.
Effect This property is required. string
The Effect of Taint.
Key This property is required. string
The Key of Taint.
Value This property is required. string
The Value of Taint.
effect This property is required. String
The Effect of Taint.
key This property is required. String
The Key of Taint.
value This property is required. String
The Value of Taint.
effect This property is required. string
The Effect of Taint.
key This property is required. string
The Key of Taint.
value This property is required. string
The Value of Taint.
effect This property is required. str
The Effect of Taint.
key This property is required. str
The Key of Taint.
value This property is required. str
The Value of Taint.
effect This property is required. String
The Effect of Taint.
key This property is required. String
The Key of Taint.
value This property is required. String
The Value of Taint.

NodesStatus

ConditionsType string
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
Phase string
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
ConditionsType string
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
Phase string
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
conditionsType String
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
phase String
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
conditionsType string
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
phase string
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
conditions_type str
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
phase str
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
conditionsType String
The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
phase String
The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine