flexibleengine.CceNodeV3
Explore with Pulumi AI
Add a node to a container cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const clusterId = config.requireObject("clusterId");
const sshKey = config.requireObject("sshKey");
const availabilityZone = config.requireObject("availabilityZone");
const node1 = new flexibleengine.CceNodeV3("node1", {
clusterId: clusterId,
flavorId: "s1.medium",
availabilityZone: availabilityZone,
keyPair: sshKey,
iptype: "5_bgp",
sharetype: "PER",
bandwidthSize: 100,
rootVolume: {
size: 40,
volumetype: "SATA",
},
dataVolumes: [{
size: 100,
volumetype: "SATA",
}],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
cluster_id = config.require_object("clusterId")
ssh_key = config.require_object("sshKey")
availability_zone = config.require_object("availabilityZone")
node1 = flexibleengine.CceNodeV3("node1",
cluster_id=cluster_id,
flavor_id="s1.medium",
availability_zone=availability_zone,
key_pair=ssh_key,
iptype="5_bgp",
sharetype="PER",
bandwidth_size=100,
root_volume={
"size": 40,
"volumetype": "SATA",
},
data_volumes=[{
"size": 100,
"volumetype": "SATA",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
clusterId := cfg.RequireObject("clusterId")
sshKey := cfg.RequireObject("sshKey")
availabilityZone := cfg.RequireObject("availabilityZone")
_, err := flexibleengine.NewCceNodeV3(ctx, "node1", &flexibleengine.CceNodeV3Args{
ClusterId: pulumi.Any(clusterId),
FlavorId: pulumi.String("s1.medium"),
AvailabilityZone: pulumi.Any(availabilityZone),
KeyPair: pulumi.Any(sshKey),
Iptype: pulumi.String("5_bgp"),
Sharetype: pulumi.String("PER"),
BandwidthSize: pulumi.Float64(100),
RootVolume: &flexibleengine.CceNodeV3RootVolumeArgs{
Size: pulumi.Float64(40),
Volumetype: pulumi.String("SATA"),
},
DataVolumes: flexibleengine.CceNodeV3DataVolumeArray{
&flexibleengine.CceNodeV3DataVolumeArgs{
Size: pulumi.Float64(100),
Volumetype: pulumi.String("SATA"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var clusterId = config.RequireObject<dynamic>("clusterId");
var sshKey = config.RequireObject<dynamic>("sshKey");
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var node1 = new Flexibleengine.CceNodeV3("node1", new()
{
ClusterId = clusterId,
FlavorId = "s1.medium",
AvailabilityZone = availabilityZone,
KeyPair = sshKey,
Iptype = "5_bgp",
Sharetype = "PER",
BandwidthSize = 100,
RootVolume = new Flexibleengine.Inputs.CceNodeV3RootVolumeArgs
{
Size = 40,
Volumetype = "SATA",
},
DataVolumes = new[]
{
new Flexibleengine.Inputs.CceNodeV3DataVolumeArgs
{
Size = 100,
Volumetype = "SATA",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.CceNodeV3;
import com.pulumi.flexibleengine.CceNodeV3Args;
import com.pulumi.flexibleengine.inputs.CceNodeV3RootVolumeArgs;
import com.pulumi.flexibleengine.inputs.CceNodeV3DataVolumeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var clusterId = config.get("clusterId");
final var sshKey = config.get("sshKey");
final var availabilityZone = config.get("availabilityZone");
var node1 = new CceNodeV3("node1", CceNodeV3Args.builder()
.clusterId(clusterId)
.flavorId("s1.medium")
.availabilityZone(availabilityZone)
.keyPair(sshKey)
.iptype("5_bgp")
.sharetype("PER")
.bandwidthSize(100)
.rootVolume(CceNodeV3RootVolumeArgs.builder()
.size(40)
.volumetype("SATA")
.build())
.dataVolumes(CceNodeV3DataVolumeArgs.builder()
.size(100)
.volumetype("SATA")
.build())
.build());
}
}
configuration:
clusterId:
type: dynamic
sshKey:
type: dynamic
availabilityZone:
type: dynamic
resources:
node1:
type: flexibleengine:CceNodeV3
properties:
clusterId: ${clusterId}
flavorId: s1.medium
availabilityZone: ${availabilityZone}
keyPair: ${sshKey}
iptype: 5_bgp
sharetype: PER
bandwidthSize: 100
rootVolume:
size: 40
volumetype: SATA
dataVolumes:
- size: 100
volumetype: SATA
Create CceNodeV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CceNodeV3(name: string, args: CceNodeV3Args, opts?: CustomResourceOptions);
@overload
def CceNodeV3(resource_name: str,
args: CceNodeV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CceNodeV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
availability_zone: Optional[str] = None,
root_volume: Optional[CceNodeV3RootVolumeArgs] = None,
key_pair: Optional[str] = None,
flavor_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodeV3DataVolumeArgs]] = None,
ecs_group_id: Optional[str] = None,
name: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
ecs_performance_type: Optional[str] = None,
eip_count: Optional[float] = None,
eip_ids: Optional[Sequence[str]] = None,
extend_param: Optional[Mapping[str, str]] = None,
extend_param_charging_mode: Optional[float] = None,
billing_mode: Optional[float] = None,
iptype: Optional[str] = None,
bandwidth_size: Optional[float] = None,
labels: Optional[Mapping[str, str]] = None,
max_pods: Optional[float] = None,
cce_node_v3_id: Optional[str] = None,
order_id: Optional[str] = None,
os: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
product_id: Optional[str] = None,
public_key: Optional[str] = None,
region: Optional[str] = None,
bandwidth_charge_mode: Optional[str] = None,
runtime: Optional[str] = None,
sharetype: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeV3TaintArgs]] = None,
timeouts: Optional[CceNodeV3TimeoutsArgs] = None)
func NewCceNodeV3(ctx *Context, name string, args CceNodeV3Args, opts ...ResourceOption) (*CceNodeV3, error)
public CceNodeV3(string name, CceNodeV3Args args, CustomResourceOptions? opts = null)
public CceNodeV3(String name, CceNodeV3Args args)
public CceNodeV3(String name, CceNodeV3Args args, CustomResourceOptions options)
type: flexibleengine:CceNodeV3
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 CceNodeV3Args
- 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 CceNodeV3Args
- 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 CceNodeV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CceNodeV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CceNodeV3Args
- 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 cceNodeV3Resource = new Flexibleengine.CceNodeV3("cceNodeV3Resource", new()
{
ClusterId = "string",
AvailabilityZone = "string",
RootVolume = new Flexibleengine.Inputs.CceNodeV3RootVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsKeyId = "string",
},
KeyPair = "string",
FlavorId = "string",
DataVolumes = new[]
{
new Flexibleengine.Inputs.CceNodeV3DataVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsKeyId = "string",
},
},
EcsGroupId = "string",
Name = "string",
Annotations =
{
{ "string", "string" },
},
EcsPerformanceType = "string",
EipCount = 0,
EipIds = new[]
{
"string",
},
ExtendParam =
{
{ "string", "string" },
},
Iptype = "string",
BandwidthSize = 0,
Labels =
{
{ "string", "string" },
},
MaxPods = 0,
CceNodeV3Id = "string",
Os = "string",
Postinstall = "string",
Preinstall = "string",
ProductId = "string",
PublicKey = "string",
Region = "string",
BandwidthChargeMode = "string",
Runtime = "string",
Sharetype = "string",
SubnetId = "string",
Tags =
{
{ "string", "string" },
},
Taints = new[]
{
new Flexibleengine.Inputs.CceNodeV3TaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Timeouts = new Flexibleengine.Inputs.CceNodeV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := flexibleengine.NewCceNodeV3(ctx, "cceNodeV3Resource", &flexibleengine.CceNodeV3Args{
ClusterId: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
RootVolume: &flexibleengine.CceNodeV3RootVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
KeyPair: pulumi.String("string"),
FlavorId: pulumi.String("string"),
DataVolumes: flexibleengine.CceNodeV3DataVolumeArray{
&flexibleengine.CceNodeV3DataVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
},
EcsGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
EcsPerformanceType: pulumi.String("string"),
EipCount: pulumi.Float64(0),
EipIds: pulumi.StringArray{
pulumi.String("string"),
},
ExtendParam: pulumi.StringMap{
"string": pulumi.String("string"),
},
Iptype: pulumi.String("string"),
BandwidthSize: pulumi.Float64(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxPods: pulumi.Float64(0),
CceNodeV3Id: pulumi.String("string"),
Os: pulumi.String("string"),
Postinstall: pulumi.String("string"),
Preinstall: pulumi.String("string"),
ProductId: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Region: pulumi.String("string"),
BandwidthChargeMode: pulumi.String("string"),
Runtime: pulumi.String("string"),
Sharetype: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: flexibleengine.CceNodeV3TaintArray{
&flexibleengine.CceNodeV3TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &flexibleengine.CceNodeV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var cceNodeV3Resource = new CceNodeV3("cceNodeV3Resource", CceNodeV3Args.builder()
.clusterId("string")
.availabilityZone("string")
.rootVolume(CceNodeV3RootVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsKeyId("string")
.build())
.keyPair("string")
.flavorId("string")
.dataVolumes(CceNodeV3DataVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsKeyId("string")
.build())
.ecsGroupId("string")
.name("string")
.annotations(Map.of("string", "string"))
.ecsPerformanceType("string")
.eipCount(0)
.eipIds("string")
.extendParam(Map.of("string", "string"))
.iptype("string")
.bandwidthSize(0)
.labels(Map.of("string", "string"))
.maxPods(0)
.cceNodeV3Id("string")
.os("string")
.postinstall("string")
.preinstall("string")
.productId("string")
.publicKey("string")
.region("string")
.bandwidthChargeMode("string")
.runtime("string")
.sharetype("string")
.subnetId("string")
.tags(Map.of("string", "string"))
.taints(CceNodeV3TaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.timeouts(CceNodeV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
cce_node_v3_resource = flexibleengine.CceNodeV3("cceNodeV3Resource",
cluster_id="string",
availability_zone="string",
root_volume={
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_key_id": "string",
},
key_pair="string",
flavor_id="string",
data_volumes=[{
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_key_id": "string",
}],
ecs_group_id="string",
name="string",
annotations={
"string": "string",
},
ecs_performance_type="string",
eip_count=0,
eip_ids=["string"],
extend_param={
"string": "string",
},
iptype="string",
bandwidth_size=0,
labels={
"string": "string",
},
max_pods=0,
cce_node_v3_id="string",
os="string",
postinstall="string",
preinstall="string",
product_id="string",
public_key="string",
region="string",
bandwidth_charge_mode="string",
runtime="string",
sharetype="string",
subnet_id="string",
tags={
"string": "string",
},
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"delete": "string",
})
const cceNodeV3Resource = new flexibleengine.CceNodeV3("cceNodeV3Resource", {
clusterId: "string",
availabilityZone: "string",
rootVolume: {
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsKeyId: "string",
},
keyPair: "string",
flavorId: "string",
dataVolumes: [{
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsKeyId: "string",
}],
ecsGroupId: "string",
name: "string",
annotations: {
string: "string",
},
ecsPerformanceType: "string",
eipCount: 0,
eipIds: ["string"],
extendParam: {
string: "string",
},
iptype: "string",
bandwidthSize: 0,
labels: {
string: "string",
},
maxPods: 0,
cceNodeV3Id: "string",
os: "string",
postinstall: "string",
preinstall: "string",
productId: "string",
publicKey: "string",
region: "string",
bandwidthChargeMode: "string",
runtime: "string",
sharetype: "string",
subnetId: "string",
tags: {
string: "string",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
},
});
type: flexibleengine:CceNodeV3
properties:
annotations:
string: string
availabilityZone: string
bandwidthChargeMode: string
bandwidthSize: 0
cceNodeV3Id: string
clusterId: string
dataVolumes:
- extendParams:
string: string
kmsKeyId: string
size: 0
volumetype: string
ecsGroupId: string
ecsPerformanceType: string
eipCount: 0
eipIds:
- string
extendParam:
string: string
flavorId: string
iptype: string
keyPair: string
labels:
string: string
maxPods: 0
name: string
os: string
postinstall: string
preinstall: string
productId: string
publicKey: string
region: string
rootVolume:
extendParams:
string: string
kmsKeyId: string
size: 0
volumetype: string
runtime: string
sharetype: string
subnetId: string
tags:
string: string
taints:
- effect: string
key: string
value: string
timeouts:
create: string
delete: string
CceNodeV3 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 CceNodeV3 resource accepts the following input properties:
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Annotations Dictionary<string, string>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- Bandwidth
Size double - Bandwidth size. Changing this parameter will create a new resource.
- Billing
Mode double - Cce
Node stringV3Id - The resource ID in UUID format.
- Ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- Eip
Count double - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- Eip
Ids List<string> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- Extend
Param doubleCharging Mode - Iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- Labels Dictionary<string, string>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- Name string
- Node Name.
- Order
Id string - Os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new resource.
- Public
Key string - The Public key. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- Subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Dictionary<string, string>
- VM tag, key/value pair format.
- Taints
List<Cce
Node V3Taint> - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- Timeouts
Cce
Node V3Timeouts
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Root
Volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Annotations map[string]string
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- Bandwidth
Size float64 - Bandwidth size. Changing this parameter will create a new resource.
- Billing
Mode float64 - Cce
Node stringV3Id - The resource ID in UUID format.
- Ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- Eip
Count float64 - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- Eip
Ids []string List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- Extend
Param float64Charging Mode - Iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- Labels map[string]string
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- Name string
- Node Name.
- Order
Id string - Os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new resource.
- Public
Key string - The Public key. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- Subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- map[string]string
- VM tag, key/value pair format.
- Taints
[]Cce
Node V3Taint Args - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- Timeouts
Cce
Node V3Timeouts Args
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id String - Specifies the flavor id.Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- annotations Map<String,String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size Double - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode Double - cce
Node StringV3Id - The resource ID in UUID format.
- ecs
Group StringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count Double - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids List<String> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param DoubleCharging Mode - iptype String
- Elastic IP type. Changing this parameter will create a new resource.
- labels Map<String,String>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name String
- Node Name.
- order
Id String - os String
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new resource.
- public
Key String - The Public key. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- String
- Bandwidth sharing type. Changing this parameter will create a new resource.
- subnet
Id String - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String,String>
- VM tag, key/value pair format.
- taints
List<Cce
Node V3Taint> - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts
- availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- annotations {[key: string]: string}
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size number - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode number - cce
Node stringV3Id - The resource ID in UUID format.
- ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count number - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids string[] List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param numberCharging Mode - iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- labels {[key: string]: string}
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name string
- Node Name.
- order
Id string - os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- product
Id string - The Product ID. Changing this parameter will create a new resource.
- public
Key string - The Public key. Changing this parameter will create a new resource.
- region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- {[key: string]: string}
- VM tag, key/value pair format.
- taints
Cce
Node V3Taint[] - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts
- availability_
zone str - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster_
id str - ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor_
id str - Specifies the flavor id.Changing this parameter will create a new resource.
- key_
pair str - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root_
volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- annotations Mapping[str, str]
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- bandwidth_
charge_ strmode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth_
size float - Bandwidth size. Changing this parameter will create a new resource.
- billing_
mode float - cce_
node_ strv3_ id - The resource ID in UUID format.
- ecs_
group_ strid - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs_
performance_ strtype - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip_
count float - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip_
ids Sequence[str] List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend_
param_ floatcharging_ mode - iptype str
- Elastic IP type. Changing this parameter will create a new resource.
- labels Mapping[str, str]
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name str
- Node Name.
- order_
id str - os str
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall str
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall str
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- product_
id str - The Product ID. Changing this parameter will create a new resource.
- public_
key str - The Public key. Changing this parameter will create a new resource.
- region str
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- runtime str
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- str
- Bandwidth sharing type. Changing this parameter will create a new resource.
- subnet_
id str - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Mapping[str, str]
- VM tag, key/value pair format.
- taints
Sequence[Cce
Node V3Taint Args] - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts Args
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<Property Map> - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id String - Specifies the flavor id.Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume Property Map - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- annotations Map<String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size Number - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode Number - cce
Node StringV3Id - The resource ID in UUID format.
- ecs
Group StringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count Number - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids List<String> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param NumberCharging Mode - iptype String
- Elastic IP type. Changing this parameter will create a new resource.
- labels Map<String>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name String
- Node Name.
- order
Id String - os String
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new resource.
- public
Key String - The Public key. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- String
- Bandwidth sharing type. Changing this parameter will create a new resource.
- subnet
Id String - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String>
- VM tag, key/value pair format.
- taints List<Property Map>
- You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CceNodeV3 resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- private_
ip str - Private IP of the CCE node.
- public_
ip str - Public IP of the CCE node.
- server_
id str - ID of the ECS instance associated with the node.
- status str
- Node status information.
Look up Existing CceNodeV3 Resource
Get an existing CceNodeV3 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?: CceNodeV3State, opts?: CustomResourceOptions): CceNodeV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
availability_zone: Optional[str] = None,
bandwidth_charge_mode: Optional[str] = None,
bandwidth_size: Optional[float] = None,
billing_mode: Optional[float] = None,
cce_node_v3_id: Optional[str] = None,
cluster_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodeV3DataVolumeArgs]] = None,
ecs_group_id: Optional[str] = None,
ecs_performance_type: Optional[str] = None,
eip_count: Optional[float] = None,
eip_ids: Optional[Sequence[str]] = None,
extend_param: Optional[Mapping[str, str]] = None,
extend_param_charging_mode: Optional[float] = None,
flavor_id: Optional[str] = None,
iptype: Optional[str] = None,
key_pair: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
max_pods: Optional[float] = None,
name: Optional[str] = None,
order_id: Optional[str] = None,
os: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
private_ip: Optional[str] = None,
product_id: Optional[str] = None,
public_ip: Optional[str] = None,
public_key: Optional[str] = None,
region: Optional[str] = None,
root_volume: Optional[CceNodeV3RootVolumeArgs] = None,
runtime: Optional[str] = None,
server_id: Optional[str] = None,
sharetype: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeV3TaintArgs]] = None,
timeouts: Optional[CceNodeV3TimeoutsArgs] = None) -> CceNodeV3
func GetCceNodeV3(ctx *Context, name string, id IDInput, state *CceNodeV3State, opts ...ResourceOption) (*CceNodeV3, error)
public static CceNodeV3 Get(string name, Input<string> id, CceNodeV3State? state, CustomResourceOptions? opts = null)
public static CceNodeV3 get(String name, Output<String> id, CceNodeV3State state, CustomResourceOptions options)
resources: _: type: flexibleengine:CceNodeV3 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.
- Annotations Dictionary<string, string>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- Bandwidth
Size double - Bandwidth size. Changing this parameter will create a new resource.
- Billing
Mode double - Cce
Node stringV3Id - The resource ID in UUID format.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- Ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- Eip
Count double - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- Eip
Ids List<string> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- Extend
Param doubleCharging Mode - Flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- Iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Labels Dictionary<string, string>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- Name string
- Node Name.
- Order
Id string - Os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node.
- Product
Id string - The Product ID. Changing this parameter will create a new resource.
- Public
Ip string - Public IP of the CCE node.
- Public
Key string - The Public key. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- Root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- Server
Id string - ID of the ECS instance associated with the node.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- Status string
- Node status information.
- Subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Dictionary<string, string>
- VM tag, key/value pair format.
- Taints
List<Cce
Node V3Taint> - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- Timeouts
Cce
Node V3Timeouts
- Annotations map[string]string
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- Bandwidth
Size float64 - Bandwidth size. Changing this parameter will create a new resource.
- Billing
Mode float64 - Cce
Node stringV3Id - The resource ID in UUID format.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- Ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- Eip
Count float64 - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- Eip
Ids []string List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- Extend
Param float64Charging Mode - Flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- Iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Labels map[string]string
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- Name string
- Node Name.
- Order
Id string - Os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node.
- Product
Id string - The Product ID. Changing this parameter will create a new resource.
- Public
Ip string - Public IP of the CCE node.
- Public
Key string - The Public key. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- Root
Volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- Server
Id string - ID of the ECS instance associated with the node.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- Status string
- Node status information.
- Subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- map[string]string
- VM tag, key/value pair format.
- Taints
[]Cce
Node V3Taint Args - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- Timeouts
Cce
Node V3Timeouts Args
- annotations Map<String,String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size Double - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode Double - cce
Node StringV3Id - The resource ID in UUID format.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- ecs
Group StringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count Double - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids List<String> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param DoubleCharging Mode - flavor
Id String - Specifies the flavor id.Changing this parameter will create a new resource.
- iptype String
- Elastic IP type. Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Map<String,String>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name String
- Node Name.
- order
Id String - os String
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node.
- product
Id String - The Product ID. Changing this parameter will create a new resource.
- public
Ip String - Public IP of the CCE node.
- public
Key String - The Public key. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- server
Id String - ID of the ECS instance associated with the node.
- String
- Bandwidth sharing type. Changing this parameter will create a new resource.
- status String
- Node status information.
- subnet
Id String - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String,String>
- VM tag, key/value pair format.
- taints
List<Cce
Node V3Taint> - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts
- annotations {[key: string]: string}
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge stringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size number - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode number - cce
Node stringV3Id - The resource ID in UUID format.
- cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- ecs
Group stringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count number - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids string[] List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param numberCharging Mode - flavor
Id string - Specifies the flavor id.Changing this parameter will create a new resource.
- iptype string
- Elastic IP type. Changing this parameter will create a new resource.
- key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels {[key: string]: string}
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name string
- Node Name.
- order
Id string - os string
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip string - Private IP of the CCE node.
- product
Id string - The Product ID. Changing this parameter will create a new resource.
- public
Ip string - Public IP of the CCE node.
- public
Key string - The Public key. Changing this parameter will create a new resource.
- region string
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- server
Id string - ID of the ECS instance associated with the node.
- string
- Bandwidth sharing type. Changing this parameter will create a new resource.
- status string
- Node status information.
- subnet
Id string - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- {[key: string]: string}
- VM tag, key/value pair format.
- taints
Cce
Node V3Taint[] - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts
- annotations Mapping[str, str]
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- availability_
zone str - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth_
charge_ strmode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth_
size float - Bandwidth size. Changing this parameter will create a new resource.
- billing_
mode float - cce_
node_ strv3_ id - The resource ID in UUID format.
- cluster_
id str - ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- ecs_
group_ strid - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs_
performance_ strtype - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip_
count float - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip_
ids Sequence[str] List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend_
param_ floatcharging_ mode - flavor_
id str - Specifies the flavor id.Changing this parameter will create a new resource.
- iptype str
- Elastic IP type. Changing this parameter will create a new resource.
- key_
pair str - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Mapping[str, str]
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name str
- Node Name.
- order_
id str - os str
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall str
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall str
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private_
ip str - Private IP of the CCE node.
- product_
id str - The Product ID. Changing this parameter will create a new resource.
- public_
ip str - Public IP of the CCE node.
- public_
key str - The Public key. Changing this parameter will create a new resource.
- region str
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- root_
volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime str
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- server_
id str - ID of the ECS instance associated with the node.
- str
- Bandwidth sharing type. Changing this parameter will create a new resource.
- status str
- Node status information.
- subnet_
id str - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Mapping[str, str]
- VM tag, key/value pair format.
- taints
Sequence[Cce
Node V3Taint Args] - You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts
Cce
Node V3Timeouts Args
- annotations Map<String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource.
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type. Changing this parameter will create a new resource.
- bandwidth
Size Number - Bandwidth size. Changing this parameter will create a new resource.
- billing
Mode Number - cce
Node StringV3Id - The resource ID in UUID format.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<Property Map> - Represents the data disk to be created. Changing this parameter will create a new resource.
- ecs
Group StringId - Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new resource.
- eip
Count Number - Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
- eip
Ids List<String> List of existing elastic IP IDs. Changing this parameter will create a new resource.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
and bandwidth parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new resource. Availiable keys:
- extend
Param NumberCharging Mode - flavor
Id String - Specifies the flavor id.Changing this parameter will create a new resource.
- iptype String
- Elastic IP type. Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Map<String>
- Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
- name String
- Node Name.
- order
Id String - os String
- Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2. Changing this parameter will create a new resource.
- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node.
- product
Id String - The Product ID. Changing this parameter will create a new resource.
- public
Ip String - Public IP of the CCE node.
- public
Key String - The Public key. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node resource.
- root
Volume Property Map - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this creates a new resource.
- server
Id String - ID of the ECS instance associated with the node.
- String
- Bandwidth sharing type. Changing this parameter will create a new resource.
- status String
- Node status information.
- subnet
Id String - Specifies the ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String>
- VM tag, key/value pair format.
- taints List<Property Map>
- You can add taints to created nodes to configure anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:
- timeouts Property Map
Supporting Types
CceNodeV3DataVolume, CceNodeV3DataVolumeArgs
- Size double
- Specifies the disk size in GB.Changing this will create a new resource.
- Volumetype string
- Specifies the disk type.Changing this will create a new resource.
- Extend
Params Dictionary<string, string> - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- Kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- Size float64
- Specifies the disk size in GB.Changing this will create a new resource.
- Volumetype string
- Specifies the disk type.Changing this will create a new resource.
- Extend
Params map[string]string - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- Kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size Double
- Specifies the disk size in GB.Changing this will create a new resource.
- volumetype String
- Specifies the disk type.Changing this will create a new resource.
- extend
Params Map<String,String> - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- kms
Key StringId Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size number
- Specifies the disk size in GB.Changing this will create a new resource.
- volumetype string
- Specifies the disk type.Changing this will create a new resource.
- extend
Params {[key: string]: string} - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size float
- Specifies the disk size in GB.Changing this will create a new resource.
- volumetype str
- Specifies the disk type.Changing this will create a new resource.
- extend_
params Mapping[str, str] - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- kms_
key_ strid Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size Number
- Specifies the disk size in GB.Changing this will create a new resource.
- volumetype String
- Specifies the disk type.Changing this will create a new resource.
- extend
Params Map<String> - Specifies the disk expansion parameters in key/value pair format. Changing this will create a new resource.
- kms
Key StringId Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this will create a new resource.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
CceNodeV3RootVolume, CceNodeV3RootVolumeArgs
- Size double
- Specifies the disk size in GB.
- Volumetype string
- Specifies the disk type.
- Extend
Params Dictionary<string, string> - Specifies the disk expansion parameters in key/value pair format.
- Kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- Size float64
- Specifies the disk size in GB.
- Volumetype string
- Specifies the disk type.
- Extend
Params map[string]string - Specifies the disk expansion parameters in key/value pair format.
- Kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size Double
- Specifies the disk size in GB.
- volumetype String
- Specifies the disk type.
- extend
Params Map<String,String> - Specifies the disk expansion parameters in key/value pair format.
- kms
Key StringId Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size number
- Specifies the disk size in GB.
- volumetype string
- Specifies the disk type.
- extend
Params {[key: string]: string} - Specifies the disk expansion parameters in key/value pair format.
- kms
Key stringId Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size float
- Specifies the disk size in GB.
- volumetype str
- Specifies the disk type.
- extend_
params Mapping[str, str] - Specifies the disk expansion parameters in key/value pair format.
- kms_
key_ strid Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
- size Number
- Specifies the disk size in GB.
- volumetype String
- Specifies the disk type.
- extend
Params Map<String> - Specifies the disk expansion parameters in key/value pair format.
- kms
Key StringId Specifies the ID of a KMS key. This is used to encrypt the volume.
You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are
op_svc_evs
and KMS Administrator, respectively.
CceNodeV3Taint, CceNodeV3TaintArgs
- Effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- Key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- Value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
- Effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- Key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- Value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
- effect String
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- key String
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- value String
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
- effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
- effect str
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- key str
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- value str
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
- effect String
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.
- key String
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.
- value String
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).Changing this parameter will create a new resource.
CceNodeV3Timeouts, CceNodeV3TimeoutsArgs
Import
CCE node can be imported using the cluster_id
and the id
of the node separated by /
, e.g.
$ pulumi import flexibleengine:index/cceNodeV3:CceNodeV3 node_1 1c4a7f7c-5b8f-11e8-9c2d-525400bd8000/1c4a7f7c-5b8f-11e8-9c2d-525400bd8000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.