opentelekomcloud.CceNodeAttachV3
Explore with Pulumi AI
Up-to-date reference of API arguments for CCE cluster node you can get at documentation portal
Add a node from an existing ECS server to a CCE cluster.
Note: When using the
opentelekomcloud.CceNodeAttachV3
resource with server_id dependent resource, the following attributes should be included in lifecycle.ignore_changes:name
,image_id
,password
,key_name
,tags
, andnics
. These attributes are subject to modification during instance lifecycle and should be ignored to prevent undesired resource recreation.
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const clusterId = config.requireObject("clusterId");
const serverName = config.requireObject("serverName");
const serverId = config.requireObject("serverId");
const keypairName = config.requireObject("keypairName");
const flavorId = config.requireObject("flavorId");
const imageId = config.requireObject("imageId");
const instance1 = new opentelekomcloud.EcsInstanceV1("instance1", {
imageId: imageId,
flavor: flavorId,
vpcId: data.opentelekomcloud_vpc_subnet_v1.shared_subnet.vpc_id,
nics: [{
networkId: data.opentelekomcloud_vpc_subnet_v1.shared_subnet.network_id,
}],
availabilityZone: "eu-de-01",
dataDisks: [{
type: "SSD",
size: 60,
}],
password: "Password@123",
deleteDisksOnTermination: true,
});
const test = new opentelekomcloud.CceNodeAttachV3("test", {
clusterId: clusterId,
serverId: instance1.ecsInstanceV1Id,
keyPair: keypairName,
os: "EulerOS 2.5",
tags: {
foo: "bar",
key: "value",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
cluster_id = config.require_object("clusterId")
server_name = config.require_object("serverName")
server_id = config.require_object("serverId")
keypair_name = config.require_object("keypairName")
flavor_id = config.require_object("flavorId")
image_id = config.require_object("imageId")
instance1 = opentelekomcloud.EcsInstanceV1("instance1",
image_id=image_id,
flavor=flavor_id,
vpc_id=data["opentelekomcloud_vpc_subnet_v1"]["shared_subnet"]["vpc_id"],
nics=[{
"network_id": data["opentelekomcloud_vpc_subnet_v1"]["shared_subnet"]["network_id"],
}],
availability_zone="eu-de-01",
data_disks=[{
"type": "SSD",
"size": 60,
}],
password="Password@123",
delete_disks_on_termination=True)
test = opentelekomcloud.CceNodeAttachV3("test",
cluster_id=cluster_id,
server_id=instance1.ecs_instance_v1_id,
key_pair=keypair_name,
os="EulerOS 2.5",
tags={
"foo": "bar",
"key": "value",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"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")
serverName := cfg.RequireObject("serverName")
serverId := cfg.RequireObject("serverId")
keypairName := cfg.RequireObject("keypairName")
flavorId := cfg.RequireObject("flavorId")
imageId := cfg.RequireObject("imageId")
instance1, err := opentelekomcloud.NewEcsInstanceV1(ctx, "instance1", &opentelekomcloud.EcsInstanceV1Args{
ImageId: pulumi.Any(imageId),
Flavor: pulumi.Any(flavorId),
VpcId: pulumi.Any(data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Vpc_id),
Nics: opentelekomcloud.EcsInstanceV1NicArray{
&opentelekomcloud.EcsInstanceV1NicArgs{
NetworkId: pulumi.Any(data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Network_id),
},
},
AvailabilityZone: pulumi.String("eu-de-01"),
DataDisks: opentelekomcloud.EcsInstanceV1DataDiskArray{
&opentelekomcloud.EcsInstanceV1DataDiskArgs{
Type: pulumi.String("SSD"),
Size: pulumi.Float64(60),
},
},
Password: pulumi.String("Password@123"),
DeleteDisksOnTermination: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = opentelekomcloud.NewCceNodeAttachV3(ctx, "test", &opentelekomcloud.CceNodeAttachV3Args{
ClusterId: pulumi.Any(clusterId),
ServerId: instance1.EcsInstanceV1Id,
KeyPair: pulumi.Any(keypairName),
Os: pulumi.String("EulerOS 2.5"),
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
"key": pulumi.String("value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var clusterId = config.RequireObject<dynamic>("clusterId");
var serverName = config.RequireObject<dynamic>("serverName");
var serverId = config.RequireObject<dynamic>("serverId");
var keypairName = config.RequireObject<dynamic>("keypairName");
var flavorId = config.RequireObject<dynamic>("flavorId");
var imageId = config.RequireObject<dynamic>("imageId");
var instance1 = new Opentelekomcloud.EcsInstanceV1("instance1", new()
{
ImageId = imageId,
Flavor = flavorId,
VpcId = data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Vpc_id,
Nics = new[]
{
new Opentelekomcloud.Inputs.EcsInstanceV1NicArgs
{
NetworkId = data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Network_id,
},
},
AvailabilityZone = "eu-de-01",
DataDisks = new[]
{
new Opentelekomcloud.Inputs.EcsInstanceV1DataDiskArgs
{
Type = "SSD",
Size = 60,
},
},
Password = "Password@123",
DeleteDisksOnTermination = true,
});
var test = new Opentelekomcloud.CceNodeAttachV3("test", new()
{
ClusterId = clusterId,
ServerId = instance1.EcsInstanceV1Id,
KeyPair = keypairName,
Os = "EulerOS 2.5",
Tags =
{
{ "foo", "bar" },
{ "key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.EcsInstanceV1;
import com.pulumi.opentelekomcloud.EcsInstanceV1Args;
import com.pulumi.opentelekomcloud.inputs.EcsInstanceV1NicArgs;
import com.pulumi.opentelekomcloud.inputs.EcsInstanceV1DataDiskArgs;
import com.pulumi.opentelekomcloud.CceNodeAttachV3;
import com.pulumi.opentelekomcloud.CceNodeAttachV3Args;
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 serverName = config.get("serverName");
final var serverId = config.get("serverId");
final var keypairName = config.get("keypairName");
final var flavorId = config.get("flavorId");
final var imageId = config.get("imageId");
var instance1 = new EcsInstanceV1("instance1", EcsInstanceV1Args.builder()
.imageId(imageId)
.flavor(flavorId)
.vpcId(data.opentelekomcloud_vpc_subnet_v1().shared_subnet().vpc_id())
.nics(EcsInstanceV1NicArgs.builder()
.networkId(data.opentelekomcloud_vpc_subnet_v1().shared_subnet().network_id())
.build())
.availabilityZone("eu-de-01")
.dataDisks(EcsInstanceV1DataDiskArgs.builder()
.type("SSD")
.size(60)
.build())
.password("Password@123")
.deleteDisksOnTermination(true)
.build());
var test = new CceNodeAttachV3("test", CceNodeAttachV3Args.builder()
.clusterId(clusterId)
.serverId(instance1.ecsInstanceV1Id())
.keyPair(keypairName)
.os("EulerOS 2.5")
.tags(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("key", "value")
))
.build());
}
}
configuration:
clusterId:
type: dynamic
serverName:
type: dynamic
serverId:
type: dynamic
keypairName:
type: dynamic
flavorId:
type: dynamic
imageId:
type: dynamic
resources:
instance1:
type: opentelekomcloud:EcsInstanceV1
properties:
imageId: ${imageId}
flavor: ${flavorId}
vpcId: ${data.opentelekomcloud_vpc_subnet_v1.shared_subnet.vpc_id}
nics:
- networkId: ${data.opentelekomcloud_vpc_subnet_v1.shared_subnet.network_id}
availabilityZone: eu-de-01
dataDisks:
- type: SSD
size: 60
password: Password@123
deleteDisksOnTermination: true
test:
type: opentelekomcloud:CceNodeAttachV3
properties:
clusterId: ${clusterId}
serverId: ${instance1.ecsInstanceV1Id}
keyPair: ${keypairName}
os: EulerOS 2.5
tags:
foo: bar
key: value
Create CceNodeAttachV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CceNodeAttachV3(name: string, args: CceNodeAttachV3Args, opts?: CustomResourceOptions);
@overload
def CceNodeAttachV3(resource_name: str,
args: CceNodeAttachV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CceNodeAttachV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
os: Optional[str] = None,
cluster_id: Optional[str] = None,
server_id: Optional[str] = None,
postinstall: Optional[str] = None,
private_key: Optional[str] = None,
lvm_config: Optional[str] = None,
max_pods: Optional[float] = None,
name: Optional[str] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
password: Optional[str] = None,
cce_node_attach_v3_id: Optional[str] = None,
preinstall: Optional[str] = None,
key_pair: Optional[str] = None,
runtime: Optional[str] = None,
docker_base_size: Optional[float] = None,
storage: Optional[CceNodeAttachV3StorageArgs] = None,
system_disk_kms_key_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeAttachV3TaintArgs]] = None,
timeouts: Optional[CceNodeAttachV3TimeoutsArgs] = None)
func NewCceNodeAttachV3(ctx *Context, name string, args CceNodeAttachV3Args, opts ...ResourceOption) (*CceNodeAttachV3, error)
public CceNodeAttachV3(string name, CceNodeAttachV3Args args, CustomResourceOptions? opts = null)
public CceNodeAttachV3(String name, CceNodeAttachV3Args args)
public CceNodeAttachV3(String name, CceNodeAttachV3Args args, CustomResourceOptions options)
type: opentelekomcloud:CceNodeAttachV3
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 CceNodeAttachV3Args
- 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 CceNodeAttachV3Args
- 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 CceNodeAttachV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CceNodeAttachV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CceNodeAttachV3Args
- 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 cceNodeAttachV3Resource = new Opentelekomcloud.CceNodeAttachV3("cceNodeAttachV3Resource", new()
{
Os = "string",
ClusterId = "string",
ServerId = "string",
Postinstall = "string",
PrivateKey = "string",
LvmConfig = "string",
MaxPods = 0,
Name = "string",
K8sTags =
{
{ "string", "string" },
},
Password = "string",
CceNodeAttachV3Id = "string",
Preinstall = "string",
KeyPair = "string",
Runtime = "string",
DockerBaseSize = 0,
Storage = new Opentelekomcloud.Inputs.CceNodeAttachV3StorageArgs
{
Groups = new[]
{
new Opentelekomcloud.Inputs.CceNodeAttachV3StorageGroupArgs
{
Name = "string",
SelectorNames = new[]
{
"string",
},
VirtualSpaces = new[]
{
new Opentelekomcloud.Inputs.CceNodeAttachV3StorageGroupVirtualSpaceArgs
{
Name = "string",
Size = "string",
LvmLvType = "string",
LvmPath = "string",
RuntimeLvType = "string",
},
},
CceManaged = false,
},
},
Selectors = new[]
{
new Opentelekomcloud.Inputs.CceNodeAttachV3StorageSelectorArgs
{
Name = "string",
MatchLabelCount = "string",
MatchLabelMetadataCmkid = "string",
MatchLabelMetadataEncrypted = "string",
MatchLabelSize = "string",
MatchLabelVolumeType = "string",
Type = "string",
},
},
},
SystemDiskKmsKeyId = "string",
Tags =
{
{ "string", "string" },
},
Taints = new[]
{
new Opentelekomcloud.Inputs.CceNodeAttachV3TaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Timeouts = new Opentelekomcloud.Inputs.CceNodeAttachV3TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewCceNodeAttachV3(ctx, "cceNodeAttachV3Resource", &opentelekomcloud.CceNodeAttachV3Args{
Os: pulumi.String("string"),
ClusterId: pulumi.String("string"),
ServerId: pulumi.String("string"),
Postinstall: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
LvmConfig: pulumi.String("string"),
MaxPods: pulumi.Float64(0),
Name: pulumi.String("string"),
K8sTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Password: pulumi.String("string"),
CceNodeAttachV3Id: pulumi.String("string"),
Preinstall: pulumi.String("string"),
KeyPair: pulumi.String("string"),
Runtime: pulumi.String("string"),
DockerBaseSize: pulumi.Float64(0),
Storage: &opentelekomcloud.CceNodeAttachV3StorageArgs{
Groups: opentelekomcloud.CceNodeAttachV3StorageGroupArray{
&opentelekomcloud.CceNodeAttachV3StorageGroupArgs{
Name: pulumi.String("string"),
SelectorNames: pulumi.StringArray{
pulumi.String("string"),
},
VirtualSpaces: opentelekomcloud.CceNodeAttachV3StorageGroupVirtualSpaceArray{
&opentelekomcloud.CceNodeAttachV3StorageGroupVirtualSpaceArgs{
Name: pulumi.String("string"),
Size: pulumi.String("string"),
LvmLvType: pulumi.String("string"),
LvmPath: pulumi.String("string"),
RuntimeLvType: pulumi.String("string"),
},
},
CceManaged: pulumi.Bool(false),
},
},
Selectors: opentelekomcloud.CceNodeAttachV3StorageSelectorArray{
&opentelekomcloud.CceNodeAttachV3StorageSelectorArgs{
Name: pulumi.String("string"),
MatchLabelCount: pulumi.String("string"),
MatchLabelMetadataCmkid: pulumi.String("string"),
MatchLabelMetadataEncrypted: pulumi.String("string"),
MatchLabelSize: pulumi.String("string"),
MatchLabelVolumeType: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
SystemDiskKmsKeyId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: opentelekomcloud.CceNodeAttachV3TaintArray{
&opentelekomcloud.CceNodeAttachV3TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &opentelekomcloud.CceNodeAttachV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var cceNodeAttachV3Resource = new CceNodeAttachV3("cceNodeAttachV3Resource", CceNodeAttachV3Args.builder()
.os("string")
.clusterId("string")
.serverId("string")
.postinstall("string")
.privateKey("string")
.lvmConfig("string")
.maxPods(0)
.name("string")
.k8sTags(Map.of("string", "string"))
.password("string")
.cceNodeAttachV3Id("string")
.preinstall("string")
.keyPair("string")
.runtime("string")
.dockerBaseSize(0)
.storage(CceNodeAttachV3StorageArgs.builder()
.groups(CceNodeAttachV3StorageGroupArgs.builder()
.name("string")
.selectorNames("string")
.virtualSpaces(CceNodeAttachV3StorageGroupVirtualSpaceArgs.builder()
.name("string")
.size("string")
.lvmLvType("string")
.lvmPath("string")
.runtimeLvType("string")
.build())
.cceManaged(false)
.build())
.selectors(CceNodeAttachV3StorageSelectorArgs.builder()
.name("string")
.matchLabelCount("string")
.matchLabelMetadataCmkid("string")
.matchLabelMetadataEncrypted("string")
.matchLabelSize("string")
.matchLabelVolumeType("string")
.type("string")
.build())
.build())
.systemDiskKmsKeyId("string")
.tags(Map.of("string", "string"))
.taints(CceNodeAttachV3TaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.timeouts(CceNodeAttachV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cce_node_attach_v3_resource = opentelekomcloud.CceNodeAttachV3("cceNodeAttachV3Resource",
os="string",
cluster_id="string",
server_id="string",
postinstall="string",
private_key="string",
lvm_config="string",
max_pods=0,
name="string",
k8s_tags={
"string": "string",
},
password="string",
cce_node_attach_v3_id="string",
preinstall="string",
key_pair="string",
runtime="string",
docker_base_size=0,
storage={
"groups": [{
"name": "string",
"selector_names": ["string"],
"virtual_spaces": [{
"name": "string",
"size": "string",
"lvm_lv_type": "string",
"lvm_path": "string",
"runtime_lv_type": "string",
}],
"cce_managed": False,
}],
"selectors": [{
"name": "string",
"match_label_count": "string",
"match_label_metadata_cmkid": "string",
"match_label_metadata_encrypted": "string",
"match_label_size": "string",
"match_label_volume_type": "string",
"type": "string",
}],
},
system_disk_kms_key_id="string",
tags={
"string": "string",
},
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const cceNodeAttachV3Resource = new opentelekomcloud.CceNodeAttachV3("cceNodeAttachV3Resource", {
os: "string",
clusterId: "string",
serverId: "string",
postinstall: "string",
privateKey: "string",
lvmConfig: "string",
maxPods: 0,
name: "string",
k8sTags: {
string: "string",
},
password: "string",
cceNodeAttachV3Id: "string",
preinstall: "string",
keyPair: "string",
runtime: "string",
dockerBaseSize: 0,
storage: {
groups: [{
name: "string",
selectorNames: ["string"],
virtualSpaces: [{
name: "string",
size: "string",
lvmLvType: "string",
lvmPath: "string",
runtimeLvType: "string",
}],
cceManaged: false,
}],
selectors: [{
name: "string",
matchLabelCount: "string",
matchLabelMetadataCmkid: "string",
matchLabelMetadataEncrypted: "string",
matchLabelSize: "string",
matchLabelVolumeType: "string",
type: "string",
}],
},
systemDiskKmsKeyId: "string",
tags: {
string: "string",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: opentelekomcloud:CceNodeAttachV3
properties:
cceNodeAttachV3Id: string
clusterId: string
dockerBaseSize: 0
k8sTags:
string: string
keyPair: string
lvmConfig: string
maxPods: 0
name: string
os: string
password: string
postinstall: string
preinstall: string
privateKey: string
runtime: string
serverId: string
storage:
groups:
- cceManaged: false
name: string
selectorNames:
- string
virtualSpaces:
- lvmLvType: string
lvmPath: string
name: string
runtimeLvType: string
size: string
selectors:
- matchLabelCount: string
matchLabelMetadataCmkid: string
matchLabelMetadataEncrypted: string
matchLabelSize: string
matchLabelVolumeType: string
name: string
type: string
systemDiskKmsKeyId: string
tags:
string: string
taints:
- effect: string
key: string
value: string
timeouts:
create: string
delete: string
update: string
CceNodeAttachV3 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 CceNodeAttachV3 resource accepts the following input properties:
- Cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- Os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- Server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- Cce
Node stringAttach V3Id - The resource ID in UUID format.
- Docker
Base doubleSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Dictionary<string, string>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- Key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - Lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- Max
Pods double - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- Name string
- Specifies the Node Name.
- Password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - Postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- Storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - System
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Dictionary<string, string>
- Specifies the tags of a VM node, key/value pair format.
- Taints
List<Cce
Node Attach V3Taint> - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- Timeouts
Cce
Node Attach V3Timeouts
- Cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- Os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- Server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- Cce
Node stringAttach V3Id - The resource ID in UUID format.
- Docker
Base float64Size - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- map[string]string
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- Key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - Lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- Max
Pods float64 - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- Name string
- Specifies the Node Name.
- Password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - Postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- Storage
Cce
Node Attach V3Storage Args - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - System
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- map[string]string
- Specifies the tags of a VM node, key/value pair format.
- Taints
[]Cce
Node Attach V3Taint Args - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- Timeouts
Cce
Node Attach V3Timeouts Args
- cluster
Id String - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- os String
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- server
Id String - Specifies the ecs server ID. Changing this parameter will create a new resource.
- cce
Node StringAttach V3Id - The resource ID in UUID format.
- docker
Base DoubleSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Map<String,String>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair String - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config String Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods Double - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name String
- Specifies the Node Name.
- password String
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall String
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall String
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Key String - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - system
Disk StringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Map<String,String>
- Specifies the tags of a VM node, key/value pair format.
- taints
List<Cce
Node Attach V3Taint> - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts
- cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- cce
Node stringAttach V3Id - The resource ID in UUID format.
- docker
Base numberSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- {[key: string]: string}
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods number - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name string
- Specifies the Node Name.
- password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - system
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- {[key: string]: string}
- Specifies the tags of a VM node, key/value pair format.
- taints
Cce
Node Attach V3Taint[] - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts
- cluster_
id str - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- os str
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- server_
id str - Specifies the ecs server ID. Changing this parameter will create a new resource.
- cce_
node_ strattach_ v3_ id - The resource ID in UUID format.
- docker_
base_ floatsize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Mapping[str, str]
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key_
pair str - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm_
config str Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max_
pods float - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name str
- Specifies the Node Name.
- password str
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall str
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall str
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private_
key str - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - runtime str
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- storage
Cce
Node Attach V3Storage Args - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - system_
disk_ strkms_ key_ id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Mapping[str, str]
- Specifies the tags of a VM node, key/value pair format.
- taints
Sequence[Cce
Node Attach V3Taint Args] - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts Args
- cluster
Id String - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- os String
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- server
Id String - Specifies the ecs server ID. Changing this parameter will create a new resource.
- cce
Node StringAttach V3Id - The resource ID in UUID format.
- docker
Base NumberSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Map<String>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair String - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config String Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods Number - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name String
- Specifies the Node Name.
- password String
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall String
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall String
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Key String - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- storage Property Map
- Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - system
Disk StringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Map<String>
- Specifies the tags of a VM node, key/value pair format.
- taints List<Property Map>
- Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CceNodeAttachV3 resource produces the following output properties:
- Availability
Zone string - The name of the available partition (AZ).
- Billing
Mode double - Data
Volumes List<CceNode Attach V3Data Volume> - The configurations of the data disk.
- Flavor
Id string - The flavor ID of the CCE node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip string - Private IP of the CCE node.
- Public
Ip string - Public IP of the CCE node.
- Region string
- The region in which nodes is created.
- Root
Volumes List<CceNode Attach V3Root Volume> - The configuration of the system disk.
- Status string
- Node status information.
- Subnet
Id string - The ID of the subnet to which the NIC belongs.
- Availability
Zone string - The name of the available partition (AZ).
- Billing
Mode float64 - Data
Volumes []CceNode Attach V3Data Volume - The configurations of the data disk.
- Flavor
Id string - The flavor ID of the CCE node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip string - Private IP of the CCE node.
- Public
Ip string - Public IP of the CCE node.
- Region string
- The region in which nodes is created.
- Root
Volumes []CceNode Attach V3Root Volume - The configuration of the system disk.
- Status string
- Node status information.
- Subnet
Id string - The ID of the subnet to which the NIC belongs.
- availability
Zone String - The name of the available partition (AZ).
- billing
Mode Double - data
Volumes List<CceNode Attach V3Data Volume> - The configurations of the data disk.
- flavor
Id String - The flavor ID of the CCE node.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ip String - Private IP of the CCE node.
- public
Ip String - Public IP of the CCE node.
- region String
- The region in which nodes is created.
- root
Volumes List<CceNode Attach V3Root Volume> - The configuration of the system disk.
- status String
- Node status information.
- subnet
Id String - The ID of the subnet to which the NIC belongs.
- availability
Zone string - The name of the available partition (AZ).
- billing
Mode number - data
Volumes CceNode Attach V3Data Volume[] - The configurations of the data disk.
- flavor
Id string - The flavor ID of the CCE node.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Ip string - Private IP of the CCE node.
- public
Ip string - Public IP of the CCE node.
- region string
- The region in which nodes is created.
- root
Volumes CceNode Attach V3Root Volume[] - The configuration of the system disk.
- status string
- Node status information.
- subnet
Id string - The ID of the subnet to which the NIC belongs.
- availability_
zone str - The name of the available partition (AZ).
- billing_
mode float - data_
volumes Sequence[CceNode Attach V3Data Volume] - The configurations of the data disk.
- flavor_
id str - The flavor ID of the CCE node.
- 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.
- region str
- The region in which nodes is created.
- root_
volumes Sequence[CceNode Attach V3Root Volume] - The configuration of the system disk.
- status str
- Node status information.
- subnet_
id str - The ID of the subnet to which the NIC belongs.
- availability
Zone String - The name of the available partition (AZ).
- billing
Mode Number - data
Volumes List<Property Map> - The configurations of the data disk.
- flavor
Id String - The flavor ID of the CCE node.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ip String - Private IP of the CCE node.
- public
Ip String - Public IP of the CCE node.
- region String
- The region in which nodes is created.
- root
Volumes List<Property Map> - The configuration of the system disk.
- status String
- Node status information.
- subnet
Id String - The ID of the subnet to which the NIC belongs.
Look up Existing CceNodeAttachV3 Resource
Get an existing CceNodeAttachV3 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?: CceNodeAttachV3State, opts?: CustomResourceOptions): CceNodeAttachV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
billing_mode: Optional[float] = None,
cce_node_attach_v3_id: Optional[str] = None,
cluster_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodeAttachV3DataVolumeArgs]] = None,
docker_base_size: Optional[float] = None,
flavor_id: Optional[str] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
key_pair: Optional[str] = None,
lvm_config: Optional[str] = None,
max_pods: Optional[float] = None,
name: Optional[str] = None,
os: Optional[str] = None,
password: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
private_ip: Optional[str] = None,
private_key: Optional[str] = None,
public_ip: Optional[str] = None,
region: Optional[str] = None,
root_volumes: Optional[Sequence[CceNodeAttachV3RootVolumeArgs]] = None,
runtime: Optional[str] = None,
server_id: Optional[str] = None,
status: Optional[str] = None,
storage: Optional[CceNodeAttachV3StorageArgs] = None,
subnet_id: Optional[str] = None,
system_disk_kms_key_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeAttachV3TaintArgs]] = None,
timeouts: Optional[CceNodeAttachV3TimeoutsArgs] = None) -> CceNodeAttachV3
func GetCceNodeAttachV3(ctx *Context, name string, id IDInput, state *CceNodeAttachV3State, opts ...ResourceOption) (*CceNodeAttachV3, error)
public static CceNodeAttachV3 Get(string name, Input<string> id, CceNodeAttachV3State? state, CustomResourceOptions? opts = null)
public static CceNodeAttachV3 get(String name, Output<String> id, CceNodeAttachV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CceNodeAttachV3 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.
- Availability
Zone string - The name of the available partition (AZ).
- Billing
Mode double - Cce
Node stringAttach V3Id - The resource ID in UUID format.
- Cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode Attach V3Data Volume> - The configurations of the data disk.
- Docker
Base doubleSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Flavor
Id string - The flavor ID of the CCE node.
- Dictionary<string, string>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- Key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - Lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- Max
Pods double - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- Name string
- Specifies the Node Name.
- Os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- Password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - Postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Private
Ip string - Private IP of the CCE node.
- Private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - Public
Ip string - Public IP of the CCE node.
- Region string
- The region in which nodes is created.
- Root
Volumes List<CceNode Attach V3Root Volume> - The configuration of the system disk.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- Server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- Status string
- Node status information.
- Storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - Subnet
Id string - The ID of the subnet to which the NIC belongs.
- System
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Dictionary<string, string>
- Specifies the tags of a VM node, key/value pair format.
- Taints
List<Cce
Node Attach V3Taint> - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- Timeouts
Cce
Node Attach V3Timeouts
- Availability
Zone string - The name of the available partition (AZ).
- Billing
Mode float64 - Cce
Node stringAttach V3Id - The resource ID in UUID format.
- Cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode Attach V3Data Volume Args - The configurations of the data disk.
- Docker
Base float64Size - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- Flavor
Id string - The flavor ID of the CCE node.
- map[string]string
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- Key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - Lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- Max
Pods float64 - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- Name string
- Specifies the Node Name.
- Os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- Password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - Postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- Private
Ip string - Private IP of the CCE node.
- Private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - Public
Ip string - Public IP of the CCE node.
- Region string
- The region in which nodes is created.
- Root
Volumes []CceNode Attach V3Root Volume Args - The configuration of the system disk.
- Runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- Server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- Status string
- Node status information.
- Storage
Cce
Node Attach V3Storage Args - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - Subnet
Id string - The ID of the subnet to which the NIC belongs.
- System
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- map[string]string
- Specifies the tags of a VM node, key/value pair format.
- Taints
[]Cce
Node Attach V3Taint Args - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- Timeouts
Cce
Node Attach V3Timeouts Args
- availability
Zone String - The name of the available partition (AZ).
- billing
Mode Double - cce
Node StringAttach V3Id - The resource ID in UUID format.
- cluster
Id String - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode Attach V3Data Volume> - The configurations of the data disk.
- docker
Base DoubleSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- flavor
Id String - The flavor ID of the CCE node.
- Map<String,String>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair String - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config String Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods Double - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name String
- Specifies the Node Name.
- os String
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- password String
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall String
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall String
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Ip String - Private IP of the CCE node.
- private
Key String - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - public
Ip String - Public IP of the CCE node.
- region String
- The region in which nodes is created.
- root
Volumes List<CceNode Attach V3Root Volume> - The configuration of the system disk.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- server
Id String - Specifies the ecs server ID. Changing this parameter will create a new resource.
- status String
- Node status information.
- storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - subnet
Id String - The ID of the subnet to which the NIC belongs.
- system
Disk StringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Map<String,String>
- Specifies the tags of a VM node, key/value pair format.
- taints
List<Cce
Node Attach V3Taint> - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts
- availability
Zone string - The name of the available partition (AZ).
- billing
Mode number - cce
Node stringAttach V3Id - The resource ID in UUID format.
- cluster
Id string - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode Attach V3Data Volume[] - The configurations of the data disk.
- docker
Base numberSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- flavor
Id string - The flavor ID of the CCE node.
- {[key: string]: string}
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair string - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config string Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods number - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name string
- Specifies the Node Name.
- os string
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- password string
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall string
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall string
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Ip string - Private IP of the CCE node.
- private
Key string - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - public
Ip string - Public IP of the CCE node.
- region string
- The region in which nodes is created.
- root
Volumes CceNode Attach V3Root Volume[] - The configuration of the system disk.
- runtime string
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- server
Id string - Specifies the ecs server ID. Changing this parameter will create a new resource.
- status string
- Node status information.
- storage
Cce
Node Attach V3Storage - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - subnet
Id string - The ID of the subnet to which the NIC belongs.
- system
Disk stringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- {[key: string]: string}
- Specifies the tags of a VM node, key/value pair format.
- taints
Cce
Node Attach V3Taint[] - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts
- availability_
zone str - The name of the available partition (AZ).
- billing_
mode float - cce_
node_ strattach_ v3_ id - The resource ID in UUID format.
- cluster_
id str - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode Attach V3Data Volume Args] - The configurations of the data disk.
- docker_
base_ floatsize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- flavor_
id str - The flavor ID of the CCE node.
- Mapping[str, str]
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key_
pair str - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm_
config str Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max_
pods float - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name str
- Specifies the Node Name.
- os str
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- password str
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall str
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall str
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private_
ip str - Private IP of the CCE node.
- private_
key str - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - public_
ip str - Public IP of the CCE node.
- region str
- The region in which nodes is created.
- root_
volumes Sequence[CceNode Attach V3Root Volume Args] - The configuration of the system disk.
- runtime str
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- server_
id str - Specifies the ecs server ID. Changing this parameter will create a new resource.
- status str
- Node status information.
- storage
Cce
Node Attach V3Storage Args - Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - subnet_
id str - The ID of the subnet to which the NIC belongs.
- system_
disk_ strkms_ key_ id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Mapping[str, str]
- Specifies the tags of a VM node, key/value pair format.
- taints
Sequence[Cce
Node Attach V3Taint Args] - Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts
Cce
Node Attach V3Timeouts Args
- availability
Zone String - The name of the available partition (AZ).
- billing
Mode Number - cce
Node StringAttach V3Id - The resource ID in UUID format.
- cluster
Id String - Specifies the ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<Property Map> - The configurations of the data disk.
- docker
Base NumberSize - Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will reset the node.
- flavor
Id String - The flavor ID of the CCE node.
- Map<String>
- Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will reset the node.
- key
Pair String - Specifies the key pair name when logging in to select the key pair mode.
This parameter and
password
are alternative. - lvm
Config String Specifies the docker data disk configurations. This parameter is alternative to
storage
, and it's recommended to usestorage
. The following is an example:import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; 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) { } }
{}
Changing this parameter will reset the node.
- max
Pods Number - Specifies the maximum number of instances a node is allowed to create. Changing this parameter will reset the node.
- name String
- Specifies the Node Name.
- os String
- Specifies the operating System of the node. Changing this parameter will reset the node. The value can be EulerOS 2.5, EulerOS 2.9, Ubuntu 22.04, or HCE OS 2.0. For more details, please see documentation.
- password String
- Specifies the root password when logging in to select the password mode.
The password consists of 8 to 26 characters and must contain at least three of following: uppercase letters,
lowercase letters, digits, special characters(!@$%^-_=+[{}]:,./?~#*).
This parameter can be plain or salted and is alternative to
key_pair
. - postinstall String
- Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- preinstall String
- Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will reset the node.
- private
Ip String - Private IP of the CCE node.
- private
Key String - Specifies the private key of the in used
key_pair
. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in Active state. - public
Ip String - Public IP of the CCE node.
- region String
- The region in which nodes is created.
- root
Volumes List<Property Map> - The configuration of the system disk.
- runtime String
- Specifies the runtime of the CCE node. Valid values are docker and containerd. Changing this parameter will reset the node.
- server
Id String - Specifies the ecs server ID. Changing this parameter will create a new resource.
- status String
- Node status information.
- storage Property Map
- Specifies the disk initialization management parameter.
This parameter is alternative to
lvm_config
and supported for clusters of v1.15.11 and later. Changing this parameter will reset the node. - subnet
Id String - The ID of the subnet to which the NIC belongs.
- system
Disk StringKms Key Id - Specifies the KMS key ID. This is used to encrypt the root volume. Changing this parameter will reset the node.
- Map<String>
- Specifies the tags of a VM node, key/value pair format.
- taints List<Property Map>
- Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will reset the node. Each taint contains the following parameters:
- timeouts Property Map
Supporting Types
CceNodeAttachV3DataVolume, CceNodeAttachV3DataVolumeArgs
- Dss
Pool stringId - Extend
Param string - Extend
Params Dictionary<string, string> - The disk expansion parameters.
- Hw
Passthrough bool - Kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- Size double
- The disk size in GB.
- Volumetype string
- The disk type.
- Dss
Pool stringId - Extend
Param string - Extend
Params map[string]string - The disk expansion parameters.
- Hw
Passthrough bool - Kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- Size float64
- The disk size in GB.
- Volumetype string
- The disk type.
- dss
Pool StringId - extend
Param String - extend
Params Map<String,String> - The disk expansion parameters.
- hw
Passthrough Boolean - kms
Id String - The ID of a KMS key. This is used to encrypt the volume.
- size Double
- The disk size in GB.
- volumetype String
- The disk type.
- dss
Pool stringId - extend
Param string - extend
Params {[key: string]: string} - The disk expansion parameters.
- hw
Passthrough boolean - kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- size number
- The disk size in GB.
- volumetype string
- The disk type.
- dss_
pool_ strid - extend_
param str - extend_
params Mapping[str, str] - The disk expansion parameters.
- hw_
passthrough bool - kms_
id str - The ID of a KMS key. This is used to encrypt the volume.
- size float
- The disk size in GB.
- volumetype str
- The disk type.
- dss
Pool StringId - extend
Param String - extend
Params Map<String> - The disk expansion parameters.
- hw
Passthrough Boolean - kms
Id String - The ID of a KMS key. This is used to encrypt the volume.
- size Number
- The disk size in GB.
- volumetype String
- The disk type.
CceNodeAttachV3RootVolume, CceNodeAttachV3RootVolumeArgs
- Extend
Param string - Extend
Params Dictionary<string, string> - The disk expansion parameters.
- Kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- Size double
- The disk size in GB.
- Volumetype string
- The disk type.
- Extend
Param string - Extend
Params map[string]string - The disk expansion parameters.
- Kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- Size float64
- The disk size in GB.
- Volumetype string
- The disk type.
- extend
Param String - extend
Params Map<String,String> - The disk expansion parameters.
- kms
Id String - The ID of a KMS key. This is used to encrypt the volume.
- size Double
- The disk size in GB.
- volumetype String
- The disk type.
- extend
Param string - extend
Params {[key: string]: string} - The disk expansion parameters.
- kms
Id string - The ID of a KMS key. This is used to encrypt the volume.
- size number
- The disk size in GB.
- volumetype string
- The disk type.
- extend_
param str - extend_
params Mapping[str, str] - The disk expansion parameters.
- kms_
id str - The ID of a KMS key. This is used to encrypt the volume.
- size float
- The disk size in GB.
- volumetype str
- The disk type.
- extend
Param String - extend
Params Map<String> - The disk expansion parameters.
- kms
Id String - The ID of a KMS key. This is used to encrypt the volume.
- size Number
- The disk size in GB.
- volumetype String
- The disk type.
CceNodeAttachV3Storage, CceNodeAttachV3StorageArgs
- Groups
List<Cce
Node Attach V3Storage Group> - Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- Selectors
List<Cce
Node Attach V3Storage Selector> - Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
- Groups
[]Cce
Node Attach V3Storage Group - Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- Selectors
[]Cce
Node Attach V3Storage Selector - Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
- groups
List<Cce
Node Attach V3Storage Group> - Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- selectors
List<Cce
Node Attach V3Storage Selector> - Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
- groups
Cce
Node Attach V3Storage Group[] - Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- selectors
Cce
Node Attach V3Storage Selector[] - Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
- groups
Sequence[Cce
Node Attach V3Storage Group] - Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- selectors
Sequence[Cce
Node Attach V3Storage Selector] - Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
- groups List<Property Map>
- Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will reset the node.
- selectors List<Property Map>
- Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will reset the node.
CceNodeAttachV3StorageGroup, CceNodeAttachV3StorageGroupArgs
- Name string
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- Selector
Names List<string> - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - Virtual
Spaces List<CceNode Attach V3Storage Group Virtual Space> - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- Cce
Managed bool - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
- Name string
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- Selector
Names []string - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - Virtual
Spaces []CceNode Attach V3Storage Group Virtual Space - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- Cce
Managed bool - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
- name String
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- selector
Names List<String> - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - virtual
Spaces List<CceNode Attach V3Storage Group Virtual Space> - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- cce
Managed Boolean - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
- name string
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- selector
Names string[] - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - virtual
Spaces CceNode Attach V3Storage Group Virtual Space[] - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- cce
Managed boolean - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
- name str
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- selector_
names Sequence[str] - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - virtual_
spaces Sequence[CceNode Attach V3Storage Group Virtual Space] - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- cce_
managed bool - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
- name String
- Specifies the name of a virtual storage group. Each group name must be unique. Changing this parameter will reset the node.
- selector
Names List<String> - Specifies the list of names of selectors to match.
This parameter corresponds to name in
selectors
. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will reset the node. - virtual
Spaces List<Property Map> - Specifies the detailed management of space configuration in a group. Changing this parameter will reset the node.
- cce
Managed Boolean - Specifies the whether the storage space is for kubernetes and runtime components. Only one group can be set to true. The default value is false. Changing this parameter will reset the node.
CceNodeAttachV3StorageGroupVirtualSpace, CceNodeAttachV3StorageGroupVirtualSpaceArgs
- Name string
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- Size string
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- Lvm
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- Lvm
Path string - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- Runtime
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
- Name string
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- Size string
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- Lvm
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- Lvm
Path string - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- Runtime
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
- name String
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- size String
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- lvm
Lv StringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- lvm
Path String - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- runtime
Lv StringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
- name string
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- size string
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- lvm
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- lvm
Path string - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- runtime
Lv stringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
- name str
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- size str
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- lvm_
lv_ strtype - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- lvm_
path str - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- runtime_
lv_ strtype - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
- name String
- Specifies the virtual space name. Currently, only kubernetes, runtime, and user are supported. Changing this parameter will reset the node.
- size String
- Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will reset the node.
- lvm
Lv StringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in kubernetes and user configuration. Changing this parameter will create a new resource.
- lvm
Path String - Specifies the absolute path to which the disk is attached. This parameter takes effect only in user configuration. Changing this parameter will reset the node.
- runtime
Lv StringType - Specifies the LVM write mode, values can be linear and striped. This parameter takes effect only in runtime configuration. Changing this parameter will reset the node.
CceNodeAttachV3StorageSelector, CceNodeAttachV3StorageSelectorArgs
- Name string
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - Match
Label stringCount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- Match
Label stringMetadata Cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- Match
Label stringMetadata Encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- Match
Label stringSize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- Match
Label stringVolume Type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- Type string
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
- Name string
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - Match
Label stringCount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- Match
Label stringMetadata Cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- Match
Label stringMetadata Encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- Match
Label stringSize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- Match
Label stringVolume Type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- Type string
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
- name String
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - match
Label StringCount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- match
Label StringMetadata Cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- match
Label StringMetadata Encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- match
Label StringSize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- match
Label StringVolume Type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- type String
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
- name string
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - match
Label stringCount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- match
Label stringMetadata Cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- match
Label stringMetadata Encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- match
Label stringSize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- match
Label stringVolume Type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- type string
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
- name str
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - match_
label_ strcount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- match_
label_ strmetadata_ cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- match_
label_ strmetadata_ encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- match_
label_ strsize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- match_
label_ strvolume_ type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- type str
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
- name String
- Specifies the selector name, used as the index of
selector_names
in storage group. The name of each selector must be unique. Changing this parameter will reset the node. - match
Label StringCount - Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will reset the node.
- match
Label StringMetadata Cmkid - Specifies the customer master key ID of an encrypted disk. Changing this parameter will reset the node.
- match
Label StringMetadata Encrypted - Specifies the disk encryption identifier. Values can be: 0 indicates that the disk is not encrypted and 1 indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will reset the node.
- match
Label StringSize - Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will reset the node.
- match
Label StringVolume Type - Specifies the EVS disk type. Currently, SSD, GPSSD, and SAS are supported. If omitted, the disk type is not limited. Changing this parameter will reset the node.
- type String
- Specifies the storage type. Currently, only evs (EVS volumes) is supported. The default value is evs. Changing this parameter will reset the node.
CceNodeAttachV3Taint, CceNodeAttachV3TaintArgs
- Effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
- Effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
- effect String
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
- effect string
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
- effect str
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
- effect String
- Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will reset the node.
- 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 reset the node.
- 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 reset the node.
CceNodeAttachV3Timeouts, CceNodeAttachV3TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.