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

volcengine.veecp.EdgeNodePool

Explore with Pulumi AI

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

    Provides a resource to manage veecp edge node pool

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.veecp.EdgeNodePool("foo", {
        clusterId: "ccvmb0c66t101fnob3dhg",
        elasticConfig: {
            autoScaleConfig: {
                desiredReplicas: 0,
                enabled: true,
                maxReplicas: 2,
                minReplicas: 0,
                priority: 10,
            },
            cloudServerIdentity: "cloudserver-47vz7k929cp9xqb",
            instanceArea: {
                clusterName: "bdcdn-zzcu02",
                vpcIdentity: "vpc-l9sz9qlf2t",
            },
        },
        nodePoolType: "edge-machine-pool",
        vpcId: "vpc-l9sz9qlf2t",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.veecp.EdgeNodePool("foo",
        cluster_id="ccvmb0c66t101fnob3dhg",
        elastic_config=volcengine.veecp.EdgeNodePoolElasticConfigArgs(
            auto_scale_config=volcengine.veecp.EdgeNodePoolElasticConfigAutoScaleConfigArgs(
                desired_replicas=0,
                enabled=True,
                max_replicas=2,
                min_replicas=0,
                priority=10,
            ),
            cloud_server_identity="cloudserver-47vz7k929cp9xqb",
            instance_area=volcengine.veecp.EdgeNodePoolElasticConfigInstanceAreaArgs(
                cluster_name="bdcdn-zzcu02",
                vpc_identity="vpc-l9sz9qlf2t",
            ),
        ),
        node_pool_type="edge-machine-pool",
        vpc_id="vpc-l9sz9qlf2t")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/veecp"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := veecp.NewEdgeNodePool(ctx, "foo", &veecp.EdgeNodePoolArgs{
    			ClusterId: pulumi.String("ccvmb0c66t101fnob3dhg"),
    			ElasticConfig: &veecp.EdgeNodePoolElasticConfigArgs{
    				AutoScaleConfig: &veecp.EdgeNodePoolElasticConfigAutoScaleConfigArgs{
    					DesiredReplicas: pulumi.Int(0),
    					Enabled:         pulumi.Bool(true),
    					MaxReplicas:     pulumi.Int(2),
    					MinReplicas:     pulumi.Int(0),
    					Priority:        pulumi.Int(10),
    				},
    				CloudServerIdentity: pulumi.String("cloudserver-47vz7k929cp9xqb"),
    				InstanceArea: &veecp.EdgeNodePoolElasticConfigInstanceAreaArgs{
    					ClusterName: pulumi.String("bdcdn-zzcu02"),
    					VpcIdentity: pulumi.String("vpc-l9sz9qlf2t"),
    				},
    			},
    			NodePoolType: pulumi.String("edge-machine-pool"),
    			VpcId:        pulumi.String("vpc-l9sz9qlf2t"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Veecp.EdgeNodePool("foo", new()
        {
            ClusterId = "ccvmb0c66t101fnob3dhg",
            ElasticConfig = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigArgs
            {
                AutoScaleConfig = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigAutoScaleConfigArgs
                {
                    DesiredReplicas = 0,
                    Enabled = true,
                    MaxReplicas = 2,
                    MinReplicas = 0,
                    Priority = 10,
                },
                CloudServerIdentity = "cloudserver-47vz7k929cp9xqb",
                InstanceArea = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigInstanceAreaArgs
                {
                    ClusterName = "bdcdn-zzcu02",
                    VpcIdentity = "vpc-l9sz9qlf2t",
                },
            },
            NodePoolType = "edge-machine-pool",
            VpcId = "vpc-l9sz9qlf2t",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.veecp.EdgeNodePool;
    import com.pulumi.volcengine.veecp.EdgeNodePoolArgs;
    import com.pulumi.volcengine.veecp.inputs.EdgeNodePoolElasticConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.EdgeNodePoolElasticConfigAutoScaleConfigArgs;
    import com.pulumi.volcengine.veecp.inputs.EdgeNodePoolElasticConfigInstanceAreaArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new EdgeNodePool("foo", EdgeNodePoolArgs.builder()        
                .clusterId("ccvmb0c66t101fnob3dhg")
                .elasticConfig(EdgeNodePoolElasticConfigArgs.builder()
                    .autoScaleConfig(EdgeNodePoolElasticConfigAutoScaleConfigArgs.builder()
                        .desiredReplicas(0)
                        .enabled(true)
                        .maxReplicas(2)
                        .minReplicas(0)
                        .priority(10)
                        .build())
                    .cloudServerIdentity("cloudserver-47vz7k929cp9xqb")
                    .instanceArea(EdgeNodePoolElasticConfigInstanceAreaArgs.builder()
                        .clusterName("bdcdn-zzcu02")
                        .vpcIdentity("vpc-l9sz9qlf2t")
                        .build())
                    .build())
                .nodePoolType("edge-machine-pool")
                .vpcId("vpc-l9sz9qlf2t")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: volcengine:veecp:EdgeNodePool
        properties:
          clusterId: ccvmb0c66t101fnob3dhg
          elasticConfig:
            autoScaleConfig:
              desiredReplicas: 0
              enabled: true
              maxReplicas: 2
              minReplicas: 0
              priority: 10
            cloudServerIdentity: cloudserver-47vz7k929cp9xqb
            instanceArea:
              clusterName: bdcdn-zzcu02
              vpcIdentity: vpc-l9sz9qlf2t
          nodePoolType: edge-machine-pool
          vpcId: vpc-l9sz9qlf2t
    

    Create EdgeNodePool Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EdgeNodePool(name: string, args: EdgeNodePoolArgs, opts?: CustomResourceOptions);
    @overload
    def EdgeNodePool(resource_name: str,
                     args: EdgeNodePoolArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EdgeNodePool(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     cluster_id: Optional[str] = None,
                     billing_configs: Optional[EdgeNodePoolBillingConfigsArgs] = None,
                     client_token: Optional[str] = None,
                     elastic_config: Optional[EdgeNodePoolElasticConfigArgs] = None,
                     kubernetes_config: Optional[EdgeNodePoolKubernetesConfigArgs] = None,
                     name: Optional[str] = None,
                     node_pool_type: Optional[str] = None,
                     vpc_id: Optional[str] = None)
    func NewEdgeNodePool(ctx *Context, name string, args EdgeNodePoolArgs, opts ...ResourceOption) (*EdgeNodePool, error)
    public EdgeNodePool(string name, EdgeNodePoolArgs args, CustomResourceOptions? opts = null)
    public EdgeNodePool(String name, EdgeNodePoolArgs args)
    public EdgeNodePool(String name, EdgeNodePoolArgs args, CustomResourceOptions options)
    
    type: volcengine:veecp:EdgeNodePool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EdgeNodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EdgeNodePoolArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EdgeNodePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EdgeNodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EdgeNodePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var edgeNodePoolResource = new Volcengine.Veecp.EdgeNodePool("edgeNodePoolResource", new()
    {
        ClusterId = "string",
        BillingConfigs = new Volcengine.Veecp.Inputs.EdgeNodePoolBillingConfigsArgs
        {
            PrePaidPeriod = 0,
            PrePaidPeriodNumber = 0,
            AutoRenew = false,
        },
        ClientToken = "string",
        ElasticConfig = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigArgs
        {
            CloudServerIdentity = "string",
            AutoScaleConfig = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigAutoScaleConfigArgs
            {
                DesiredReplicas = 0,
                Enabled = false,
                MaxReplicas = 0,
                MinReplicas = 0,
                Priority = 0,
            },
            InstanceArea = new Volcengine.Veecp.Inputs.EdgeNodePoolElasticConfigInstanceAreaArgs
            {
                AreaName = "string",
                ClusterName = "string",
                DefaultIsp = "string",
                ExternalNetworkMode = "string",
                Isp = "string",
                SubnetId = "string",
                VpcIdentity = "string",
            },
        },
        KubernetesConfig = new Volcengine.Veecp.Inputs.EdgeNodePoolKubernetesConfigArgs
        {
            Labels = new[]
            {
                new Volcengine.Veecp.Inputs.EdgeNodePoolKubernetesConfigLabelArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            Taints = new[]
            {
                new Volcengine.Veecp.Inputs.EdgeNodePoolKubernetesConfigTaintArgs
                {
                    Effect = "string",
                    Key = "string",
                    Value = "string",
                },
            },
        },
        Name = "string",
        NodePoolType = "string",
        VpcId = "string",
    });
    
    example, err := veecp.NewEdgeNodePool(ctx, "edgeNodePoolResource", &veecp.EdgeNodePoolArgs{
    	ClusterId: pulumi.String("string"),
    	BillingConfigs: &veecp.EdgeNodePoolBillingConfigsArgs{
    		PrePaidPeriod:       pulumi.Int(0),
    		PrePaidPeriodNumber: pulumi.Int(0),
    		AutoRenew:           pulumi.Bool(false),
    	},
    	ClientToken: pulumi.String("string"),
    	ElasticConfig: &veecp.EdgeNodePoolElasticConfigArgs{
    		CloudServerIdentity: pulumi.String("string"),
    		AutoScaleConfig: &veecp.EdgeNodePoolElasticConfigAutoScaleConfigArgs{
    			DesiredReplicas: pulumi.Int(0),
    			Enabled:         pulumi.Bool(false),
    			MaxReplicas:     pulumi.Int(0),
    			MinReplicas:     pulumi.Int(0),
    			Priority:        pulumi.Int(0),
    		},
    		InstanceArea: &veecp.EdgeNodePoolElasticConfigInstanceAreaArgs{
    			AreaName:            pulumi.String("string"),
    			ClusterName:         pulumi.String("string"),
    			DefaultIsp:          pulumi.String("string"),
    			ExternalNetworkMode: pulumi.String("string"),
    			Isp:                 pulumi.String("string"),
    			SubnetId:            pulumi.String("string"),
    			VpcIdentity:         pulumi.String("string"),
    		},
    	},
    	KubernetesConfig: &veecp.EdgeNodePoolKubernetesConfigArgs{
    		Labels: veecp.EdgeNodePoolKubernetesConfigLabelArray{
    			&veecp.EdgeNodePoolKubernetesConfigLabelArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		Taints: veecp.EdgeNodePoolKubernetesConfigTaintArray{
    			&veecp.EdgeNodePoolKubernetesConfigTaintArgs{
    				Effect: pulumi.String("string"),
    				Key:    pulumi.String("string"),
    				Value:  pulumi.String("string"),
    			},
    		},
    	},
    	Name:         pulumi.String("string"),
    	NodePoolType: pulumi.String("string"),
    	VpcId:        pulumi.String("string"),
    })
    
    var edgeNodePoolResource = new EdgeNodePool("edgeNodePoolResource", EdgeNodePoolArgs.builder()
        .clusterId("string")
        .billingConfigs(EdgeNodePoolBillingConfigsArgs.builder()
            .prePaidPeriod(0)
            .prePaidPeriodNumber(0)
            .autoRenew(false)
            .build())
        .clientToken("string")
        .elasticConfig(EdgeNodePoolElasticConfigArgs.builder()
            .cloudServerIdentity("string")
            .autoScaleConfig(EdgeNodePoolElasticConfigAutoScaleConfigArgs.builder()
                .desiredReplicas(0)
                .enabled(false)
                .maxReplicas(0)
                .minReplicas(0)
                .priority(0)
                .build())
            .instanceArea(EdgeNodePoolElasticConfigInstanceAreaArgs.builder()
                .areaName("string")
                .clusterName("string")
                .defaultIsp("string")
                .externalNetworkMode("string")
                .isp("string")
                .subnetId("string")
                .vpcIdentity("string")
                .build())
            .build())
        .kubernetesConfig(EdgeNodePoolKubernetesConfigArgs.builder()
            .labels(EdgeNodePoolKubernetesConfigLabelArgs.builder()
                .key("string")
                .value("string")
                .build())
            .taints(EdgeNodePoolKubernetesConfigTaintArgs.builder()
                .effect("string")
                .key("string")
                .value("string")
                .build())
            .build())
        .name("string")
        .nodePoolType("string")
        .vpcId("string")
        .build());
    
    edge_node_pool_resource = volcengine.veecp.EdgeNodePool("edgeNodePoolResource",
        cluster_id="string",
        billing_configs={
            "pre_paid_period": 0,
            "pre_paid_period_number": 0,
            "auto_renew": False,
        },
        client_token="string",
        elastic_config={
            "cloud_server_identity": "string",
            "auto_scale_config": {
                "desired_replicas": 0,
                "enabled": False,
                "max_replicas": 0,
                "min_replicas": 0,
                "priority": 0,
            },
            "instance_area": {
                "area_name": "string",
                "cluster_name": "string",
                "default_isp": "string",
                "external_network_mode": "string",
                "isp": "string",
                "subnet_id": "string",
                "vpc_identity": "string",
            },
        },
        kubernetes_config={
            "labels": [{
                "key": "string",
                "value": "string",
            }],
            "taints": [{
                "effect": "string",
                "key": "string",
                "value": "string",
            }],
        },
        name="string",
        node_pool_type="string",
        vpc_id="string")
    
    const edgeNodePoolResource = new volcengine.veecp.EdgeNodePool("edgeNodePoolResource", {
        clusterId: "string",
        billingConfigs: {
            prePaidPeriod: 0,
            prePaidPeriodNumber: 0,
            autoRenew: false,
        },
        clientToken: "string",
        elasticConfig: {
            cloudServerIdentity: "string",
            autoScaleConfig: {
                desiredReplicas: 0,
                enabled: false,
                maxReplicas: 0,
                minReplicas: 0,
                priority: 0,
            },
            instanceArea: {
                areaName: "string",
                clusterName: "string",
                defaultIsp: "string",
                externalNetworkMode: "string",
                isp: "string",
                subnetId: "string",
                vpcIdentity: "string",
            },
        },
        kubernetesConfig: {
            labels: [{
                key: "string",
                value: "string",
            }],
            taints: [{
                effect: "string",
                key: "string",
                value: "string",
            }],
        },
        name: "string",
        nodePoolType: "string",
        vpcId: "string",
    });
    
    type: volcengine:veecp:EdgeNodePool
    properties:
        billingConfigs:
            autoRenew: false
            prePaidPeriod: 0
            prePaidPeriodNumber: 0
        clientToken: string
        clusterId: string
        elasticConfig:
            autoScaleConfig:
                desiredReplicas: 0
                enabled: false
                maxReplicas: 0
                minReplicas: 0
                priority: 0
            cloudServerIdentity: string
            instanceArea:
                areaName: string
                clusterName: string
                defaultIsp: string
                externalNetworkMode: string
                isp: string
                subnetId: string
                vpcIdentity: string
        kubernetesConfig:
            labels:
                - key: string
                  value: string
            taints:
                - effect: string
                  key: string
                  value: string
        name: string
        nodePoolType: string
        vpcId: string
    

    EdgeNodePool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EdgeNodePool resource accepts the following input properties:

    ClusterId string
    The ClusterId of NodePool.
    BillingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    ClientToken string
    The ClientToken of NodePool.
    ElasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    KubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    Name string
    The Name of NodePool.
    NodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    VpcId string
    The VpcId of NodePool.
    ClusterId string
    The ClusterId of NodePool.
    BillingConfigs EdgeNodePoolBillingConfigsArgs
    The billing configuration of the node pool.
    ClientToken string
    The ClientToken of NodePool.
    ElasticConfig EdgeNodePoolElasticConfigArgs
    Elastic scaling configuration.
    KubernetesConfig EdgeNodePoolKubernetesConfigArgs
    The KubernetesConfig of NodeConfig.
    Name string
    The Name of NodePool.
    NodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    VpcId string
    The VpcId of NodePool.
    clusterId String
    The ClusterId of NodePool.
    billingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    clientToken String
    The ClientToken of NodePool.
    elasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    kubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    name String
    The Name of NodePool.
    nodePoolType String
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId String
    The VpcId of NodePool.
    clusterId string
    The ClusterId of NodePool.
    billingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    clientToken string
    The ClientToken of NodePool.
    elasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    kubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    name string
    The Name of NodePool.
    nodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId string
    The VpcId of NodePool.
    cluster_id str
    The ClusterId of NodePool.
    billing_configs EdgeNodePoolBillingConfigsArgs
    The billing configuration of the node pool.
    client_token str
    The ClientToken of NodePool.
    elastic_config EdgeNodePoolElasticConfigArgs
    Elastic scaling configuration.
    kubernetes_config EdgeNodePoolKubernetesConfigArgs
    The KubernetesConfig of NodeConfig.
    name str
    The Name of NodePool.
    node_pool_type str
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpc_id str
    The VpcId of NodePool.
    clusterId String
    The ClusterId of NodePool.
    billingConfigs Property Map
    The billing configuration of the node pool.
    clientToken String
    The ClientToken of NodePool.
    elasticConfig Property Map
    Elastic scaling configuration.
    kubernetesConfig Property Map
    The KubernetesConfig of NodeConfig.
    name String
    The Name of NodePool.
    nodePoolType String
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId String
    The VpcId of NodePool.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EdgeNodePool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EdgeNodePool Resource

    Get an existing EdgeNodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EdgeNodePoolState, opts?: CustomResourceOptions): EdgeNodePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            billing_configs: Optional[EdgeNodePoolBillingConfigsArgs] = None,
            client_token: Optional[str] = None,
            cluster_id: Optional[str] = None,
            elastic_config: Optional[EdgeNodePoolElasticConfigArgs] = None,
            kubernetes_config: Optional[EdgeNodePoolKubernetesConfigArgs] = None,
            name: Optional[str] = None,
            node_pool_type: Optional[str] = None,
            vpc_id: Optional[str] = None) -> EdgeNodePool
    func GetEdgeNodePool(ctx *Context, name string, id IDInput, state *EdgeNodePoolState, opts ...ResourceOption) (*EdgeNodePool, error)
    public static EdgeNodePool Get(string name, Input<string> id, EdgeNodePoolState? state, CustomResourceOptions? opts = null)
    public static EdgeNodePool get(String name, Output<String> id, EdgeNodePoolState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:veecp:EdgeNodePool    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BillingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    ClientToken string
    The ClientToken of NodePool.
    ClusterId string
    The ClusterId of NodePool.
    ElasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    KubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    Name string
    The Name of NodePool.
    NodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    VpcId string
    The VpcId of NodePool.
    BillingConfigs EdgeNodePoolBillingConfigsArgs
    The billing configuration of the node pool.
    ClientToken string
    The ClientToken of NodePool.
    ClusterId string
    The ClusterId of NodePool.
    ElasticConfig EdgeNodePoolElasticConfigArgs
    Elastic scaling configuration.
    KubernetesConfig EdgeNodePoolKubernetesConfigArgs
    The KubernetesConfig of NodeConfig.
    Name string
    The Name of NodePool.
    NodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    VpcId string
    The VpcId of NodePool.
    billingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    clientToken String
    The ClientToken of NodePool.
    clusterId String
    The ClusterId of NodePool.
    elasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    kubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    name String
    The Name of NodePool.
    nodePoolType String
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId String
    The VpcId of NodePool.
    billingConfigs EdgeNodePoolBillingConfigs
    The billing configuration of the node pool.
    clientToken string
    The ClientToken of NodePool.
    clusterId string
    The ClusterId of NodePool.
    elasticConfig EdgeNodePoolElasticConfig
    Elastic scaling configuration.
    kubernetesConfig EdgeNodePoolKubernetesConfig
    The KubernetesConfig of NodeConfig.
    name string
    The Name of NodePool.
    nodePoolType string
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId string
    The VpcId of NodePool.
    billing_configs EdgeNodePoolBillingConfigsArgs
    The billing configuration of the node pool.
    client_token str
    The ClientToken of NodePool.
    cluster_id str
    The ClusterId of NodePool.
    elastic_config EdgeNodePoolElasticConfigArgs
    Elastic scaling configuration.
    kubernetes_config EdgeNodePoolKubernetesConfigArgs
    The KubernetesConfig of NodeConfig.
    name str
    The Name of NodePool.
    node_pool_type str
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpc_id str
    The VpcId of NodePool.
    billingConfigs Property Map
    The billing configuration of the node pool.
    clientToken String
    The ClientToken of NodePool.
    clusterId String
    The ClusterId of NodePool.
    elasticConfig Property Map
    Elastic scaling configuration.
    kubernetesConfig Property Map
    The KubernetesConfig of NodeConfig.
    name String
    The Name of NodePool.
    nodePoolType String
    Node pool type, with the default being a static node pool. edge-machine-set: Static node pool. edge-machine-pool: Elastic node poolNode pool type, which is static node pool by default. edge-machine-set: static node pool edge-machine-pool: elastic node pool.
    vpcId String
    The VpcId of NodePool.

    Supporting Types

    EdgeNodePoolBillingConfigs, EdgeNodePoolBillingConfigsArgs

    PrePaidPeriod int
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    PrePaidPeriodNumber int
    Prepaid period number.
    AutoRenew bool
    Whether to automatically renew the node pool.
    PrePaidPeriod int
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    PrePaidPeriodNumber int
    Prepaid period number.
    AutoRenew bool
    Whether to automatically renew the node pool.
    prePaidPeriod Integer
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    prePaidPeriodNumber Integer
    Prepaid period number.
    autoRenew Boolean
    Whether to automatically renew the node pool.
    prePaidPeriod number
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    prePaidPeriodNumber number
    Prepaid period number.
    autoRenew boolean
    Whether to automatically renew the node pool.
    pre_paid_period int
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    pre_paid_period_number int
    Prepaid period number.
    auto_renew bool
    Whether to automatically renew the node pool.
    prePaidPeriod Number
    The pre-paid period of the node pool, in months. The value range is 1-9. This parameter takes effect only when the billing_type is PrePaid.
    prePaidPeriodNumber Number
    Prepaid period number.
    autoRenew Boolean
    Whether to automatically renew the node pool.

    EdgeNodePoolElasticConfig, EdgeNodePoolElasticConfigArgs

    CloudServerIdentity string
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    AutoScaleConfig EdgeNodePoolElasticConfigAutoScaleConfig
    The node pool elastic scaling configuration information.
    InstanceArea EdgeNodePoolElasticConfigInstanceArea
    CloudServerIdentity string
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    AutoScaleConfig EdgeNodePoolElasticConfigAutoScaleConfig
    The node pool elastic scaling configuration information.
    InstanceArea EdgeNodePoolElasticConfigInstanceArea
    cloudServerIdentity String
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    autoScaleConfig EdgeNodePoolElasticConfigAutoScaleConfig
    The node pool elastic scaling configuration information.
    instanceArea EdgeNodePoolElasticConfigInstanceArea
    cloudServerIdentity string
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    autoScaleConfig EdgeNodePoolElasticConfigAutoScaleConfig
    The node pool elastic scaling configuration information.
    instanceArea EdgeNodePoolElasticConfigInstanceArea
    cloud_server_identity str
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    auto_scale_config EdgeNodePoolElasticConfigAutoScaleConfig
    The node pool elastic scaling configuration information.
    instance_area EdgeNodePoolElasticConfigInstanceArea
    cloudServerIdentity String
    The ID of the edge service corresponding to the elastic node. On the edge computing node's edge service page, obtain the edge service ID.
    autoScaleConfig Property Map
    The node pool elastic scaling configuration information.
    instanceArea Property Map

    EdgeNodePoolElasticConfigAutoScaleConfig, EdgeNodePoolElasticConfigAutoScaleConfigArgs

    DesiredReplicas int
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    Enabled bool
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    MaxReplicas int
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    MinReplicas int
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    Priority int
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.
    DesiredReplicas int
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    Enabled bool
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    MaxReplicas int
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    MinReplicas int
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    Priority int
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.
    desiredReplicas Integer
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    enabled Boolean
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    maxReplicas Integer
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    minReplicas Integer
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    priority Integer
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.
    desiredReplicas number
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    enabled boolean
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    maxReplicas number
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    minReplicas number
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    priority number
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.
    desired_replicas int
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    enabled bool
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    max_replicas int
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    min_replicas int
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    priority int
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.
    desiredReplicas Number
    The DesiredReplicas of AutoScaling, default 0, range in min_replicas to max_replicas.
    enabled Boolean
    Whether to enable the auto scaling function of the node pool. When a node needs to be manually added to the node pool, the value of this field must be false.
    maxReplicas Number
    The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of enabled is true.
    minReplicas Number
    The MinReplicas of AutoScaling, default 0. This field is valid when the value of enabled is true.
    priority Number
    The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of enabled is true and the value of subnet_policy is Priority.

    EdgeNodePoolElasticConfigInstanceArea, EdgeNodePoolElasticConfigInstanceAreaArgs

    AreaName string
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    ClusterName string
    The cluster name.
    DefaultIsp string
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    ExternalNetworkMode string
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    Isp string
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    SubnetId string
    The subnet id.
    VpcIdentity string
    The vpc id.
    AreaName string
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    ClusterName string
    The cluster name.
    DefaultIsp string
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    ExternalNetworkMode string
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    Isp string
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    SubnetId string
    The subnet id.
    VpcIdentity string
    The vpc id.
    areaName String
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    clusterName String
    The cluster name.
    defaultIsp String
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    externalNetworkMode String
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    isp String
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    subnetId String
    The subnet id.
    vpcIdentity String
    The vpc id.
    areaName string
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    clusterName string
    The cluster name.
    defaultIsp string
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    externalNetworkMode string
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    isp string
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    subnetId string
    The subnet id.
    vpcIdentity string
    The vpc id.
    area_name str
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    cluster_name str
    The cluster name.
    default_isp str
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    external_network_mode str
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    isp str
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    subnet_id str
    The subnet id.
    vpc_identity str
    The vpc id.
    areaName String
    Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    clusterName String
    The cluster name.
    defaultIsp String
    Default operator. When using three-line nodes, this parameter can be configured. After configuration, this operator will be used as the default export.
    externalNetworkMode String
    Public network configuration of three-line nodes. If it is a single-line node, this parameter will be ignored. Value range: single_interface_multi_ip: Single network card with multiple IPs. single_interface_cmcc_ip: Single network card with China Mobile IP. Relevant permissions need to be opened by submitting a work order. single_interface_cucc_ip: Single network card with China Unicom IP. Relevant permissions need to be opened by submitting a work order. single_interface_ctcc_ip: Single network card with China Telecom IP. Relevant permissions need to be opened by submitting a work order. multi_interface_multi_ip: Multiple network cards with multiple IPs. Relevant permissions need to be opened by submitting a work order. no_interface: No public network network card. Relevant permissions need to be opened by submitting a work order. If this parameter is not configured: When there is a public network network card, single_interface_multi_ip is used by default. When there is no public network network card, no_interface is used by default.
    isp String
    Operator. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
    subnetId String
    The subnet id.
    vpcIdentity String
    The vpc id.

    EdgeNodePoolKubernetesConfig, EdgeNodePoolKubernetesConfigArgs

    Labels List<EdgeNodePoolKubernetesConfigLabel>
    The Labels of KubernetesConfig.
    Taints List<EdgeNodePoolKubernetesConfigTaint>
    The Taints of KubernetesConfig.
    Labels []EdgeNodePoolKubernetesConfigLabel
    The Labels of KubernetesConfig.
    Taints []EdgeNodePoolKubernetesConfigTaint
    The Taints of KubernetesConfig.
    labels List<EdgeNodePoolKubernetesConfigLabel>
    The Labels of KubernetesConfig.
    taints List<EdgeNodePoolKubernetesConfigTaint>
    The Taints of KubernetesConfig.
    labels EdgeNodePoolKubernetesConfigLabel[]
    The Labels of KubernetesConfig.
    taints EdgeNodePoolKubernetesConfigTaint[]
    The Taints of KubernetesConfig.
    labels List<Property Map>
    The Labels of KubernetesConfig.
    taints List<Property Map>
    The Taints of KubernetesConfig.

    EdgeNodePoolKubernetesConfigLabel, EdgeNodePoolKubernetesConfigLabelArgs

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

    EdgeNodePoolKubernetesConfigTaint, EdgeNodePoolKubernetesConfigTaintArgs

    Effect string
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    Key string
    The Key of Taints.
    Value string
    The Value of Taints.
    Effect string
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    Key string
    The Key of Taints.
    Value string
    The Value of Taints.
    effect String
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    key String
    The Key of Taints.
    value String
    The Value of Taints.
    effect string
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    key string
    The Key of Taints.
    value string
    The Value of Taints.
    effect str
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    key str
    The Key of Taints.
    value str
    The Value of Taints.
    effect String
    The Effect of Taints, the value can be NoSchedule or NoExecute or PreferNoSchedule.
    key String
    The Key of Taints.
    value String
    The Value of Taints.

    Import

    VeecpNodePool can be imported using the id, e.g.

    $ pulumi import volcengine:veecp/edgeNodePool:EdgeNodePool default resource_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

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