volcengine.veecp.EdgeNodePool
Explore with Pulumi AI
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:
- Cluster
Id string - The ClusterId of NodePool.
- Billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- Client
Token string - The ClientToken of NodePool.
- Elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- Kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- Name string
- The Name of NodePool.
- Node
Pool stringType - 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 string - The VpcId of NodePool.
- Cluster
Id string - The ClusterId of NodePool.
- Billing
Configs EdgeNode Pool Billing Configs Args - The billing configuration of the node pool.
- Client
Token string - The ClientToken of NodePool.
- Elastic
Config EdgeNode Pool Elastic Config Args - Elastic scaling configuration.
- Kubernetes
Config EdgeNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- Name string
- The Name of NodePool.
- Node
Pool stringType - 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 string - The VpcId of NodePool.
- cluster
Id String - The ClusterId of NodePool.
- billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- client
Token String - The ClientToken of NodePool.
- elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- name String
- The Name of NodePool.
- node
Pool StringType - 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 String - The VpcId of NodePool.
- cluster
Id string - The ClusterId of NodePool.
- billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- client
Token string - The ClientToken of NodePool.
- elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- name string
- The Name of NodePool.
- node
Pool stringType - 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 string - The VpcId of NodePool.
- cluster_
id str - The ClusterId of NodePool.
- billing_
configs EdgeNode Pool Billing Configs Args - The billing configuration of the node pool.
- client_
token str - The ClientToken of NodePool.
- elastic_
config EdgeNode Pool Elastic Config Args - Elastic scaling configuration.
- kubernetes_
config EdgeNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- name str
- The Name of NodePool.
- node_
pool_ strtype - 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.
- cluster
Id String - The ClusterId of NodePool.
- billing
Configs Property Map - The billing configuration of the node pool.
- client
Token String - The ClientToken of NodePool.
- elastic
Config Property Map - Elastic scaling configuration.
- kubernetes
Config Property Map - The KubernetesConfig of NodeConfig.
- name String
- The Name of NodePool.
- node
Pool StringType - 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 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.
- Billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- Client
Token string - The ClientToken of NodePool.
- Cluster
Id string - The ClusterId of NodePool.
- Elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- Kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- Name string
- The Name of NodePool.
- Node
Pool stringType - 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 string - The VpcId of NodePool.
- Billing
Configs EdgeNode Pool Billing Configs Args - The billing configuration of the node pool.
- Client
Token string - The ClientToken of NodePool.
- Cluster
Id string - The ClusterId of NodePool.
- Elastic
Config EdgeNode Pool Elastic Config Args - Elastic scaling configuration.
- Kubernetes
Config EdgeNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- Name string
- The Name of NodePool.
- Node
Pool stringType - 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 string - The VpcId of NodePool.
- billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- client
Token String - The ClientToken of NodePool.
- cluster
Id String - The ClusterId of NodePool.
- elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- name String
- The Name of NodePool.
- node
Pool StringType - 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 String - The VpcId of NodePool.
- billing
Configs EdgeNode Pool Billing Configs - The billing configuration of the node pool.
- client
Token string - The ClientToken of NodePool.
- cluster
Id string - The ClusterId of NodePool.
- elastic
Config EdgeNode Pool Elastic Config - Elastic scaling configuration.
- kubernetes
Config EdgeNode Pool Kubernetes Config - The KubernetesConfig of NodeConfig.
- name string
- The Name of NodePool.
- node
Pool stringType - 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 string - The VpcId of NodePool.
- billing_
configs EdgeNode Pool Billing Configs Args - The billing configuration of the node pool.
- client_
token str - The ClientToken of NodePool.
- cluster_
id str - The ClusterId of NodePool.
- elastic_
config EdgeNode Pool Elastic Config Args - Elastic scaling configuration.
- kubernetes_
config EdgeNode Pool Kubernetes Config Args - The KubernetesConfig of NodeConfig.
- name str
- The Name of NodePool.
- node_
pool_ strtype - 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.
- billing
Configs Property Map - The billing configuration of the node pool.
- client
Token String - The ClientToken of NodePool.
- cluster
Id String - The ClusterId of NodePool.
- elastic
Config Property Map - Elastic scaling configuration.
- kubernetes
Config Property Map - The KubernetesConfig of NodeConfig.
- name String
- The Name of NodePool.
- node
Pool StringType - 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 String - The VpcId of NodePool.
Supporting Types
EdgeNodePoolBillingConfigs, EdgeNodePoolBillingConfigsArgs
- Pre
Paid intPeriod - 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 intPeriod Number - Prepaid period number.
- Auto
Renew bool - Whether to automatically renew the node pool.
- Pre
Paid intPeriod - 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 intPeriod Number - Prepaid period number.
- Auto
Renew bool - Whether to automatically renew the node pool.
- pre
Paid IntegerPeriod - 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 IntegerPeriod Number - Prepaid period number.
- auto
Renew Boolean - Whether to automatically renew the node pool.
- pre
Paid numberPeriod - 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 numberPeriod Number - Prepaid period number.
- auto
Renew boolean - Whether to automatically renew the node pool.
- pre_
paid_ intperiod - 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_ intperiod_ number - Prepaid period number.
- auto_
renew bool - Whether to automatically renew the node pool.
- pre
Paid NumberPeriod - 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 NumberPeriod Number - Prepaid period number.
- auto
Renew Boolean - Whether to automatically renew the node pool.
EdgeNodePoolElasticConfig, EdgeNodePoolElasticConfigArgs
- Cloud
Server stringIdentity - 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 EdgeConfig Node Pool Elastic Config Auto Scale Config - The node pool elastic scaling configuration information.
- Instance
Area EdgeNode Pool Elastic Config Instance Area
- Cloud
Server stringIdentity - 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 EdgeConfig Node Pool Elastic Config Auto Scale Config - The node pool elastic scaling configuration information.
- Instance
Area EdgeNode Pool Elastic Config Instance Area
- cloud
Server StringIdentity - 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 EdgeConfig Node Pool Elastic Config Auto Scale Config - The node pool elastic scaling configuration information.
- instance
Area EdgeNode Pool Elastic Config Instance Area
- cloud
Server stringIdentity - 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 EdgeConfig Node Pool Elastic Config Auto Scale Config - The node pool elastic scaling configuration information.
- instance
Area EdgeNode Pool Elastic Config Instance Area
- cloud_
server_ stridentity - 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_ Edgeconfig Node Pool Elastic Config Auto Scale Config - The node pool elastic scaling configuration information.
- instance_
area EdgeNode Pool Elastic Config Instance Area
- cloud
Server StringIdentity - 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 Property MapConfig - The node pool elastic scaling configuration information.
- instance
Area Property Map
EdgeNodePoolElasticConfigAutoScaleConfig, EdgeNodePoolElasticConfigAutoScaleConfigArgs
- 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
istrue
. - Min
Replicas int - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - Priority int
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
- 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
istrue
. - Min
Replicas int - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - Priority int
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
- desired
Replicas 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
. - max
Replicas Integer - The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of
enabled
istrue
. - min
Replicas Integer - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - priority Integer
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
- desired
Replicas 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
. - max
Replicas number - The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of
enabled
istrue
. - min
Replicas number - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - priority number
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
- 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
istrue
. - min_
replicas int - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - priority int
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
- desired
Replicas 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
. - max
Replicas Number - The MaxReplicas of AutoScaling, default 10, range in 1~2000. This field is valid when the value of
enabled
istrue
. - min
Replicas Number - The MinReplicas of AutoScaling, default 0. This field is valid when the value of
enabled
istrue
. - priority Number
- The Priority of AutoScaling, default 10, rang in 0~100. This field is valid when the value of
enabled
istrue
and the value ofsubnet_policy
isPriority
.
EdgeNodePoolElasticConfigInstanceArea, EdgeNodePoolElasticConfigInstanceAreaArgs
- Area
Name string - Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
- Cluster
Name string - The cluster name.
- Default
Isp string - 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 stringMode - 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.
- Subnet
Id string - The subnet id.
- Vpc
Identity string - The vpc id.
- Area
Name string - Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
- Cluster
Name string - The cluster name.
- Default
Isp string - 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 stringMode - 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.
- Subnet
Id string - The subnet id.
- Vpc
Identity string - The vpc id.
- area
Name String - Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
- cluster
Name String - The cluster name.
- default
Isp String - 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 StringMode - 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.
- subnet
Id String - The subnet id.
- vpc
Identity String - The vpc id.
- area
Name string - Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
- cluster
Name string - The cluster name.
- default
Isp string - 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 stringMode - 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.
- subnet
Id string - The subnet id.
- vpc
Identity 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_ strmode - 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.
- area
Name String - Region name. You can obtain the regions and operators supported by instance specifications through the ListAvailableResourceInfo interface.
- cluster
Name String - The cluster name.
- default
Isp String - 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 StringMode - 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.
- subnet
Id String - The subnet id.
- vpc
Identity String - The vpc id.
EdgeNodePoolKubernetesConfig, EdgeNodePoolKubernetesConfigArgs
- Labels
List<Edge
Node Pool Kubernetes Config Label> - The Labels of KubernetesConfig.
- Taints
List<Edge
Node Pool Kubernetes Config Taint> - The Taints of KubernetesConfig.
- Labels
[]Edge
Node Pool Kubernetes Config Label - The Labels of KubernetesConfig.
- Taints
[]Edge
Node Pool Kubernetes Config Taint - The Taints of KubernetesConfig.
- labels
List<Edge
Node Pool Kubernetes Config Label> - The Labels of KubernetesConfig.
- taints
List<Edge
Node Pool Kubernetes Config Taint> - The Taints of KubernetesConfig.
- labels
Edge
Node Pool Kubernetes Config Label[] - The Labels of KubernetesConfig.
- taints
Edge
Node Pool Kubernetes Config Taint[] - The Taints of KubernetesConfig.
- labels
Sequence[Edge
Node Pool Kubernetes Config Label] - The Labels of KubernetesConfig.
- taints
Sequence[Edge
Node Pool Kubernetes Config Taint] - The Taints of KubernetesConfig.
- labels List<Property Map>
- The Labels of KubernetesConfig.
- taints List<Property Map>
- The Taints of KubernetesConfig.
EdgeNodePoolKubernetesConfigLabel, EdgeNodePoolKubernetesConfigLabelArgs
EdgeNodePoolKubernetesConfigTaint, EdgeNodePoolKubernetesConfigTaintArgs
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.