opentelekomcloud.CssClusterV1
Explore with Pulumi AI
Up-to-date reference of API arguments for CSS cluster you can get at documentation portal
Manages a CSS cluster resource.
Example Usage
Creating ElasticSearch v7.6.2
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const secgroup = opentelekomcloud.getNetworkingSecgroupV2({
name: _var.security_group,
});
const cluster = new opentelekomcloud.CssClusterV1("cluster", {
expectNodeNum: 1,
nodeConfig: {
flavor: "css.medium.8",
networkInfo: {
securityGroupId: secgroup.then(secgroup => secgroup.id),
networkId: _var.network_id,
vpcId: _var.vpc_id,
},
volume: {
volumeType: "COMMON",
size: 40,
},
availabilityZone: _var.availability_zone,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
secgroup = opentelekomcloud.get_networking_secgroup_v2(name=var["security_group"])
cluster = opentelekomcloud.CssClusterV1("cluster",
expect_node_num=1,
node_config={
"flavor": "css.medium.8",
"network_info": {
"security_group_id": secgroup.id,
"network_id": var["network_id"],
"vpc_id": var["vpc_id"],
},
"volume": {
"volume_type": "COMMON",
"size": 40,
},
"availability_zone": var["availability_zone"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
secgroup, err := opentelekomcloud.LookupNetworkingSecgroupV2(ctx, &opentelekomcloud.LookupNetworkingSecgroupV2Args{
Name: pulumi.StringRef(_var.Security_group),
}, nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewCssClusterV1(ctx, "cluster", &opentelekomcloud.CssClusterV1Args{
ExpectNodeNum: pulumi.Float64(1),
NodeConfig: &opentelekomcloud.CssClusterV1NodeConfigArgs{
Flavor: pulumi.String("css.medium.8"),
NetworkInfo: &opentelekomcloud.CssClusterV1NodeConfigNetworkInfoArgs{
SecurityGroupId: pulumi.String(secgroup.Id),
NetworkId: pulumi.Any(_var.Network_id),
VpcId: pulumi.Any(_var.Vpc_id),
},
Volume: &opentelekomcloud.CssClusterV1NodeConfigVolumeArgs{
VolumeType: pulumi.String("COMMON"),
Size: pulumi.Float64(40),
},
AvailabilityZone: pulumi.Any(_var.Availability_zone),
},
})
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 secgroup = Opentelekomcloud.GetNetworkingSecgroupV2.Invoke(new()
{
Name = @var.Security_group,
});
var cluster = new Opentelekomcloud.CssClusterV1("cluster", new()
{
ExpectNodeNum = 1,
NodeConfig = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigArgs
{
Flavor = "css.medium.8",
NetworkInfo = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigNetworkInfoArgs
{
SecurityGroupId = secgroup.Apply(getNetworkingSecgroupV2Result => getNetworkingSecgroupV2Result.Id),
NetworkId = @var.Network_id,
VpcId = @var.Vpc_id,
},
Volume = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigVolumeArgs
{
VolumeType = "COMMON",
Size = 40,
},
AvailabilityZone = @var.Availability_zone,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetNetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.CssClusterV1;
import com.pulumi.opentelekomcloud.CssClusterV1Args;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigNetworkInfoArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigVolumeArgs;
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 secgroup = OpentelekomcloudFunctions.getNetworkingSecgroupV2(GetNetworkingSecgroupV2Args.builder()
.name(var_.security_group())
.build());
var cluster = new CssClusterV1("cluster", CssClusterV1Args.builder()
.expectNodeNum(1)
.nodeConfig(CssClusterV1NodeConfigArgs.builder()
.flavor("css.medium.8")
.networkInfo(CssClusterV1NodeConfigNetworkInfoArgs.builder()
.securityGroupId(secgroup.applyValue(getNetworkingSecgroupV2Result -> getNetworkingSecgroupV2Result.id()))
.networkId(var_.network_id())
.vpcId(var_.vpc_id())
.build())
.volume(CssClusterV1NodeConfigVolumeArgs.builder()
.volumeType("COMMON")
.size(40)
.build())
.availabilityZone(var_.availability_zone())
.build())
.build());
}
}
resources:
cluster:
type: opentelekomcloud:CssClusterV1
properties:
expectNodeNum: 1
nodeConfig:
flavor: css.medium.8
networkInfo:
securityGroupId: ${secgroup.id}
networkId: ${var.network_id}
vpcId: ${var.vpc_id}
volume:
volumeType: COMMON
size: 40
availabilityZone: ${var.availability_zone}
variables:
secgroup:
fn::invoke:
function: opentelekomcloud:getNetworkingSecgroupV2
arguments:
name: ${var.security_group}
Creating OpenSearch v1.3.6 with backup strategy
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const secgroup = opentelekomcloud.getNetworkingSecgroupV2({
name: _var.security_group,
});
const cluster = new opentelekomcloud.CssClusterV1("cluster", {
expectNodeNum: 1,
datastore: {
version: "1.3.6",
type: "opensearch",
},
enableHttps: true,
enableAuthority: true,
adminPass: "QwertyUI!",
backupStrategy: {
keepDays: 7,
startTime: "00:00 GMT+08:00",
prefix: "snapshot",
},
nodeConfig: {
flavor: "css.medium.8",
networkInfo: {
securityGroupId: secgroup.then(secgroup => secgroup.id),
networkId: _var.network_id,
vpcId: _var.vpc_id,
},
volume: {
volumeType: "COMMON",
size: 40,
},
availabilityZone: _var.availability_zone,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
secgroup = opentelekomcloud.get_networking_secgroup_v2(name=var["security_group"])
cluster = opentelekomcloud.CssClusterV1("cluster",
expect_node_num=1,
datastore={
"version": "1.3.6",
"type": "opensearch",
},
enable_https=True,
enable_authority=True,
admin_pass="QwertyUI!",
backup_strategy={
"keep_days": 7,
"start_time": "00:00 GMT+08:00",
"prefix": "snapshot",
},
node_config={
"flavor": "css.medium.8",
"network_info": {
"security_group_id": secgroup.id,
"network_id": var["network_id"],
"vpc_id": var["vpc_id"],
},
"volume": {
"volume_type": "COMMON",
"size": 40,
},
"availability_zone": var["availability_zone"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
secgroup, err := opentelekomcloud.LookupNetworkingSecgroupV2(ctx, &opentelekomcloud.LookupNetworkingSecgroupV2Args{
Name: pulumi.StringRef(_var.Security_group),
}, nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewCssClusterV1(ctx, "cluster", &opentelekomcloud.CssClusterV1Args{
ExpectNodeNum: pulumi.Float64(1),
Datastore: &opentelekomcloud.CssClusterV1DatastoreArgs{
Version: pulumi.String("1.3.6"),
Type: pulumi.String("opensearch"),
},
EnableHttps: pulumi.Bool(true),
EnableAuthority: pulumi.Bool(true),
AdminPass: pulumi.String("QwertyUI!"),
BackupStrategy: &opentelekomcloud.CssClusterV1BackupStrategyArgs{
KeepDays: pulumi.Float64(7),
StartTime: pulumi.String("00:00 GMT+08:00"),
Prefix: pulumi.String("snapshot"),
},
NodeConfig: &opentelekomcloud.CssClusterV1NodeConfigArgs{
Flavor: pulumi.String("css.medium.8"),
NetworkInfo: &opentelekomcloud.CssClusterV1NodeConfigNetworkInfoArgs{
SecurityGroupId: pulumi.String(secgroup.Id),
NetworkId: pulumi.Any(_var.Network_id),
VpcId: pulumi.Any(_var.Vpc_id),
},
Volume: &opentelekomcloud.CssClusterV1NodeConfigVolumeArgs{
VolumeType: pulumi.String("COMMON"),
Size: pulumi.Float64(40),
},
AvailabilityZone: pulumi.Any(_var.Availability_zone),
},
})
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 secgroup = Opentelekomcloud.GetNetworkingSecgroupV2.Invoke(new()
{
Name = @var.Security_group,
});
var cluster = new Opentelekomcloud.CssClusterV1("cluster", new()
{
ExpectNodeNum = 1,
Datastore = new Opentelekomcloud.Inputs.CssClusterV1DatastoreArgs
{
Version = "1.3.6",
Type = "opensearch",
},
EnableHttps = true,
EnableAuthority = true,
AdminPass = "QwertyUI!",
BackupStrategy = new Opentelekomcloud.Inputs.CssClusterV1BackupStrategyArgs
{
KeepDays = 7,
StartTime = "00:00 GMT+08:00",
Prefix = "snapshot",
},
NodeConfig = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigArgs
{
Flavor = "css.medium.8",
NetworkInfo = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigNetworkInfoArgs
{
SecurityGroupId = secgroup.Apply(getNetworkingSecgroupV2Result => getNetworkingSecgroupV2Result.Id),
NetworkId = @var.Network_id,
VpcId = @var.Vpc_id,
},
Volume = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigVolumeArgs
{
VolumeType = "COMMON",
Size = 40,
},
AvailabilityZone = @var.Availability_zone,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetNetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.CssClusterV1;
import com.pulumi.opentelekomcloud.CssClusterV1Args;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1DatastoreArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1BackupStrategyArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigNetworkInfoArgs;
import com.pulumi.opentelekomcloud.inputs.CssClusterV1NodeConfigVolumeArgs;
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 secgroup = OpentelekomcloudFunctions.getNetworkingSecgroupV2(GetNetworkingSecgroupV2Args.builder()
.name(var_.security_group())
.build());
var cluster = new CssClusterV1("cluster", CssClusterV1Args.builder()
.expectNodeNum(1)
.datastore(CssClusterV1DatastoreArgs.builder()
.version("1.3.6")
.type("opensearch")
.build())
.enableHttps(true)
.enableAuthority(true)
.adminPass("QwertyUI!")
.backupStrategy(CssClusterV1BackupStrategyArgs.builder()
.keepDays(7)
.startTime("00:00 GMT+08:00")
.prefix("snapshot")
.build())
.nodeConfig(CssClusterV1NodeConfigArgs.builder()
.flavor("css.medium.8")
.networkInfo(CssClusterV1NodeConfigNetworkInfoArgs.builder()
.securityGroupId(secgroup.applyValue(getNetworkingSecgroupV2Result -> getNetworkingSecgroupV2Result.id()))
.networkId(var_.network_id())
.vpcId(var_.vpc_id())
.build())
.volume(CssClusterV1NodeConfigVolumeArgs.builder()
.volumeType("COMMON")
.size(40)
.build())
.availabilityZone(var_.availability_zone())
.build())
.build());
}
}
resources:
cluster:
type: opentelekomcloud:CssClusterV1
properties:
expectNodeNum: 1
datastore:
version: 1.3.6
type: opensearch
enableHttps: true
enableAuthority: true
adminPass: QwertyUI!
backupStrategy:
keepDays: 7
startTime: 00:00 GMT+08:00
prefix: snapshot
nodeConfig:
flavor: css.medium.8
networkInfo:
securityGroupId: ${secgroup.id}
networkId: ${var.network_id}
vpcId: ${var.vpc_id}
volume:
volumeType: COMMON
size: 40
availabilityZone: ${var.availability_zone}
variables:
secgroup:
fn::invoke:
function: opentelekomcloud:getNetworkingSecgroupV2
arguments:
name: ${var.security_group}
Create CssClusterV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CssClusterV1(name: string, args: CssClusterV1Args, opts?: CustomResourceOptions);
@overload
def CssClusterV1(resource_name: str,
args: CssClusterV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def CssClusterV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_config: Optional[CssClusterV1NodeConfigArgs] = None,
admin_pass: Optional[str] = None,
backup_strategy: Optional[CssClusterV1BackupStrategyArgs] = None,
css_cluster_v1_id: Optional[str] = None,
datastore: Optional[CssClusterV1DatastoreArgs] = None,
enable_authority: Optional[bool] = None,
enable_https: Optional[bool] = None,
expect_node_num: Optional[float] = None,
name: Optional[str] = None,
public_access: Optional[CssClusterV1PublicAccessArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[CssClusterV1TimeoutsArgs] = None)
func NewCssClusterV1(ctx *Context, name string, args CssClusterV1Args, opts ...ResourceOption) (*CssClusterV1, error)
public CssClusterV1(string name, CssClusterV1Args args, CustomResourceOptions? opts = null)
public CssClusterV1(String name, CssClusterV1Args args)
public CssClusterV1(String name, CssClusterV1Args args, CustomResourceOptions options)
type: opentelekomcloud:CssClusterV1
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 CssClusterV1Args
- 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 CssClusterV1Args
- 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 CssClusterV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CssClusterV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CssClusterV1Args
- 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 cssClusterV1Resource = new Opentelekomcloud.CssClusterV1("cssClusterV1Resource", new()
{
NodeConfig = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigArgs
{
Flavor = "string",
NetworkInfo = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigNetworkInfoArgs
{
NetworkId = "string",
SecurityGroupId = "string",
VpcId = "string",
},
Volume = new Opentelekomcloud.Inputs.CssClusterV1NodeConfigVolumeArgs
{
Size = 0,
VolumeType = "string",
EncryptionKey = "string",
},
AvailabilityZone = "string",
},
AdminPass = "string",
BackupStrategy = new Opentelekomcloud.Inputs.CssClusterV1BackupStrategyArgs
{
KeepDays = 0,
Prefix = "string",
StartTime = "string",
},
CssClusterV1Id = "string",
Datastore = new Opentelekomcloud.Inputs.CssClusterV1DatastoreArgs
{
Type = "string",
Version = "string",
},
EnableAuthority = false,
EnableHttps = false,
ExpectNodeNum = 0,
Name = "string",
PublicAccess = new Opentelekomcloud.Inputs.CssClusterV1PublicAccessArgs
{
Bandwidth = 0,
WhitelistEnabled = false,
PublicIp = "string",
Whitelist = "string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.CssClusterV1TimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewCssClusterV1(ctx, "cssClusterV1Resource", &opentelekomcloud.CssClusterV1Args{
NodeConfig: &opentelekomcloud.CssClusterV1NodeConfigArgs{
Flavor: pulumi.String("string"),
NetworkInfo: &opentelekomcloud.CssClusterV1NodeConfigNetworkInfoArgs{
NetworkId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
Volume: &opentelekomcloud.CssClusterV1NodeConfigVolumeArgs{
Size: pulumi.Float64(0),
VolumeType: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
},
AvailabilityZone: pulumi.String("string"),
},
AdminPass: pulumi.String("string"),
BackupStrategy: &opentelekomcloud.CssClusterV1BackupStrategyArgs{
KeepDays: pulumi.Float64(0),
Prefix: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
CssClusterV1Id: pulumi.String("string"),
Datastore: &opentelekomcloud.CssClusterV1DatastoreArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
EnableAuthority: pulumi.Bool(false),
EnableHttps: pulumi.Bool(false),
ExpectNodeNum: pulumi.Float64(0),
Name: pulumi.String("string"),
PublicAccess: &opentelekomcloud.CssClusterV1PublicAccessArgs{
Bandwidth: pulumi.Float64(0),
WhitelistEnabled: pulumi.Bool(false),
PublicIp: pulumi.String("string"),
Whitelist: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.CssClusterV1TimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var cssClusterV1Resource = new CssClusterV1("cssClusterV1Resource", CssClusterV1Args.builder()
.nodeConfig(CssClusterV1NodeConfigArgs.builder()
.flavor("string")
.networkInfo(CssClusterV1NodeConfigNetworkInfoArgs.builder()
.networkId("string")
.securityGroupId("string")
.vpcId("string")
.build())
.volume(CssClusterV1NodeConfigVolumeArgs.builder()
.size(0)
.volumeType("string")
.encryptionKey("string")
.build())
.availabilityZone("string")
.build())
.adminPass("string")
.backupStrategy(CssClusterV1BackupStrategyArgs.builder()
.keepDays(0)
.prefix("string")
.startTime("string")
.build())
.cssClusterV1Id("string")
.datastore(CssClusterV1DatastoreArgs.builder()
.type("string")
.version("string")
.build())
.enableAuthority(false)
.enableHttps(false)
.expectNodeNum(0)
.name("string")
.publicAccess(CssClusterV1PublicAccessArgs.builder()
.bandwidth(0)
.whitelistEnabled(false)
.publicIp("string")
.whitelist("string")
.build())
.tags(Map.of("string", "string"))
.timeouts(CssClusterV1TimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
css_cluster_v1_resource = opentelekomcloud.CssClusterV1("cssClusterV1Resource",
node_config={
"flavor": "string",
"network_info": {
"network_id": "string",
"security_group_id": "string",
"vpc_id": "string",
},
"volume": {
"size": 0,
"volume_type": "string",
"encryption_key": "string",
},
"availability_zone": "string",
},
admin_pass="string",
backup_strategy={
"keep_days": 0,
"prefix": "string",
"start_time": "string",
},
css_cluster_v1_id="string",
datastore={
"type": "string",
"version": "string",
},
enable_authority=False,
enable_https=False,
expect_node_num=0,
name="string",
public_access={
"bandwidth": 0,
"whitelist_enabled": False,
"public_ip": "string",
"whitelist": "string",
},
tags={
"string": "string",
},
timeouts={
"create": "string",
"update": "string",
})
const cssClusterV1Resource = new opentelekomcloud.CssClusterV1("cssClusterV1Resource", {
nodeConfig: {
flavor: "string",
networkInfo: {
networkId: "string",
securityGroupId: "string",
vpcId: "string",
},
volume: {
size: 0,
volumeType: "string",
encryptionKey: "string",
},
availabilityZone: "string",
},
adminPass: "string",
backupStrategy: {
keepDays: 0,
prefix: "string",
startTime: "string",
},
cssClusterV1Id: "string",
datastore: {
type: "string",
version: "string",
},
enableAuthority: false,
enableHttps: false,
expectNodeNum: 0,
name: "string",
publicAccess: {
bandwidth: 0,
whitelistEnabled: false,
publicIp: "string",
whitelist: "string",
},
tags: {
string: "string",
},
timeouts: {
create: "string",
update: "string",
},
});
type: opentelekomcloud:CssClusterV1
properties:
adminPass: string
backupStrategy:
keepDays: 0
prefix: string
startTime: string
cssClusterV1Id: string
datastore:
type: string
version: string
enableAuthority: false
enableHttps: false
expectNodeNum: 0
name: string
nodeConfig:
availabilityZone: string
flavor: string
networkInfo:
networkId: string
securityGroupId: string
vpcId: string
volume:
encryptionKey: string
size: 0
volumeType: string
publicAccess:
bandwidth: 0
publicIp: string
whitelist: string
whitelistEnabled: false
tags:
string: string
timeouts:
create: string
update: string
CssClusterV1 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 CssClusterV1 resource accepts the following input properties:
- Node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- Backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Css
Cluster stringV1Id - Instance ID.
- Datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - Enable
Https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - Expect
Node doubleNum - Number of cluster instances. The value range is
1
to32
. - Name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - Public
Access CssCluster V1Public Access - Dictionary<string, string>
- Tags key/value pairs to associate with the cluster.
- Timeouts
Css
Cluster V1Timeouts
- Node
Config CssCluster V1Node Config Args - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- Backup
Strategy CssCluster V1Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Css
Cluster stringV1Id - Instance ID.
- Datastore
Css
Cluster V1Datastore Args - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - Enable
Https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - Expect
Node float64Num - Number of cluster instances. The value range is
1
to32
. - Name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - Public
Access CssCluster V1Public Access Args - map[string]string
- Tags key/value pairs to associate with the cluster.
- Timeouts
Css
Cluster V1Timeouts Args
- node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- admin
Pass String Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- css
Cluster StringV1Id - Instance ID.
- datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- Boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https Boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - expect
Node DoubleNum - Number of cluster instances. The value range is
1
to32
. - name String
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - public
Access CssCluster V1Public Access - Map<String,String>
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts
- node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- css
Cluster stringV1Id - Instance ID.
- datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - expect
Node numberNum - Number of cluster instances. The value range is
1
to32
. - name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - public
Access CssCluster V1Public Access - {[key: string]: string}
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts
- node_
config CssCluster V1Node Config Args - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- admin_
pass str Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup_
strategy CssCluster V1Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- css_
cluster_ strv1_ id - Instance ID.
- datastore
Css
Cluster V1Datastore Args - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable_
https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - expect_
node_ floatnum - Number of cluster instances. The value range is
1
to32
. - name str
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - public_
access CssCluster V1Public Access Args - Mapping[str, str]
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts Args
- node
Config Property Map - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- admin
Pass String Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Strategy Property Map - Specifies the advanced backup policy. Structure is documented below.
- css
Cluster StringV1Id - Instance ID.
- datastore Property Map
- Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- Boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https Boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - expect
Node NumberNum - Number of cluster instances. The value range is
1
to32
. - name String
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - public
Access Property Map - Map<String>
- Tags key/value pairs to associate with the cluster.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CssClusterV1 resource produces the following output properties:
- Backup
Available bool - Indicates whether the snapshot function is enabled.
- Created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - Endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
List<Css
Cluster V1Node> - List of node objects. Structure is documented below.
- Updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- Backup
Available bool - Indicates whether the snapshot function is enabled.
- Created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - Endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
[]Css
Cluster V1Node - List of node objects. Structure is documented below.
- Updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- backup
Available Boolean - Indicates whether the snapshot function is enabled.
- created String
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - endpoint String
- Indicates the IP address and port number of the user used to access the VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes
List<Css
Cluster V1Node> - List of node objects. Structure is documented below.
- updated String
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- backup
Available boolean - Indicates whether the snapshot function is enabled.
- created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- id string
- The provider-assigned unique ID for this managed resource.
- nodes
Css
Cluster V1Node[] - List of node objects. Structure is documented below.
- updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- backup_
available bool - Indicates whether the snapshot function is enabled.
- created str
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - endpoint str
- Indicates the IP address and port number of the user used to access the VPC.
- id str
- The provider-assigned unique ID for this managed resource.
- nodes
Sequence[Css
Cluster V1Node] - List of node objects. Structure is documented below.
- updated str
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- backup
Available Boolean - Indicates whether the snapshot function is enabled.
- created String
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - endpoint String
- Indicates the IP address and port number of the user used to access the VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes List<Property Map>
- List of node objects. Structure is documented below.
- updated String
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
Look up Existing CssClusterV1 Resource
Get an existing CssClusterV1 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?: CssClusterV1State, opts?: CustomResourceOptions): CssClusterV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_pass: Optional[str] = None,
backup_available: Optional[bool] = None,
backup_strategy: Optional[CssClusterV1BackupStrategyArgs] = None,
created: Optional[str] = None,
css_cluster_v1_id: Optional[str] = None,
datastore: Optional[CssClusterV1DatastoreArgs] = None,
enable_authority: Optional[bool] = None,
enable_https: Optional[bool] = None,
endpoint: Optional[str] = None,
expect_node_num: Optional[float] = None,
name: Optional[str] = None,
node_config: Optional[CssClusterV1NodeConfigArgs] = None,
nodes: Optional[Sequence[CssClusterV1NodeArgs]] = None,
public_access: Optional[CssClusterV1PublicAccessArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[CssClusterV1TimeoutsArgs] = None,
updated: Optional[str] = None) -> CssClusterV1
func GetCssClusterV1(ctx *Context, name string, id IDInput, state *CssClusterV1State, opts ...ResourceOption) (*CssClusterV1, error)
public static CssClusterV1 Get(string name, Input<string> id, CssClusterV1State? state, CustomResourceOptions? opts = null)
public static CssClusterV1 get(String name, Output<String> id, CssClusterV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CssClusterV1 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.
- Admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- Backup
Available bool - Indicates whether the snapshot function is enabled.
- Backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - Css
Cluster stringV1Id - Instance ID.
- Datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - Enable
Https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - Endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- Expect
Node doubleNum - Number of cluster instances. The value range is
1
to32
. - Name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - Node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Nodes
List<Css
Cluster V1Node> - List of node objects. Structure is documented below.
- Public
Access CssCluster V1Public Access - Dictionary<string, string>
- Tags key/value pairs to associate with the cluster.
- Timeouts
Css
Cluster V1Timeouts - Updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- Admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- Backup
Available bool - Indicates whether the snapshot function is enabled.
- Backup
Strategy CssCluster V1Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - Css
Cluster stringV1Id - Instance ID.
- Datastore
Css
Cluster V1Datastore Args - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - Enable
Https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - Endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- Expect
Node float64Num - Number of cluster instances. The value range is
1
to32
. - Name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - Node
Config CssCluster V1Node Config Args - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Nodes
[]Css
Cluster V1Node Args - List of node objects. Structure is documented below.
- Public
Access CssCluster V1Public Access Args - map[string]string
- Tags key/value pairs to associate with the cluster.
- Timeouts
Css
Cluster V1Timeouts Args - Updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- admin
Pass String Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Available Boolean - Indicates whether the snapshot function is enabled.
- backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- created String
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - css
Cluster StringV1Id - Instance ID.
- datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- Boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https Boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - endpoint String
- Indicates the IP address and port number of the user used to access the VPC.
- expect
Node DoubleNum - Number of cluster instances. The value range is
1
to32
. - name String
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes
List<Css
Cluster V1Node> - List of node objects. Structure is documented below.
- public
Access CssCluster V1Public Access - Map<String,String>
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts - updated String
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- admin
Pass string Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Available boolean - Indicates whether the snapshot function is enabled.
- backup
Strategy CssCluster V1Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- created string
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - css
Cluster stringV1Id - Instance ID.
- datastore
Css
Cluster V1Datastore - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - endpoint string
- Indicates the IP address and port number of the user used to access the VPC.
- expect
Node numberNum - Number of cluster instances. The value range is
1
to32
. - name string
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - node
Config CssCluster V1Node Config - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes
Css
Cluster V1Node[] - List of node objects. Structure is documented below.
- public
Access CssCluster V1Public Access - {[key: string]: string}
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts - updated string
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- admin_
pass str Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup_
available bool - Indicates whether the snapshot function is enabled.
- backup_
strategy CssCluster V1Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- created str
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - css_
cluster_ strv1_ id - Instance ID.
- datastore
Css
Cluster V1Datastore Args - Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- bool
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable_
https bool - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - endpoint str
- Indicates the IP address and port number of the user used to access the VPC.
- expect_
node_ floatnum - Number of cluster instances. The value range is
1
to32
. - name str
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - node_
config CssCluster V1Node Config Args - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes
Sequence[Css
Cluster V1Node Args] - List of node objects. Structure is documented below.
- public_
access CssCluster V1Public Access Args - Mapping[str, str]
- Tags key/value pairs to associate with the cluster.
- timeouts
Css
Cluster V1Timeouts Args - updated str
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
- admin
Pass String Password of the cluster user admin in security mode. This parameter is mandatory only when
enable_authority
is set totrue
.~> The administrator password must meet the following requirements: contain
8
to32
characters, contain at least3
of the following character types: uppercase letters, lowercase letters, numbers, and special characters (~!@#$%^&*()-_=+\\|[{}];:,<.>/?
).- backup
Available Boolean - Indicates whether the snapshot function is enabled.
- backup
Strategy Property Map - Specifies the advanced backup policy. Structure is documented below.
- created String
- Time when a cluster is created. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
. - css
Cluster StringV1Id - Instance ID.
- datastore Property Map
- Type of the data search engine. Structure is documented below. Changing this parameter will create a new resource.
- Boolean
- Whether to enable authentication.
Authentication is disabled by default.
When authentication is enabled,
enable_https
must be set totrue
. Changing this parameter will create a new resource. - enable
Https Boolean - Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value
true
indicates that communication encryption is performed on the cluster. Valuefalse
indicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource. - endpoint String
- Indicates the IP address and port number of the user used to access the VPC.
- expect
Node NumberNum - Number of cluster instances. The value range is
1
to32
. - name String
- Cluster name. It contains
4
to32
characters. Only letters, digits, hyphens (-
), and underscores (_
) are allowed. The value must start with a letter. Changing this parameter will create a new resource. - node
Config Property Map - Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes List<Property Map>
- List of node objects. Structure is documented below.
- public
Access Property Map - Map<String>
- Tags key/value pairs to associate with the cluster.
- timeouts Property Map
- updated String
- Last modification time of a cluster. The format is ISO8601:
CCYY-MM-DDThh:mm:ss
.
Supporting Types
CssClusterV1BackupStrategy, CssClusterV1BackupStrategyArgs
- Keep
Days double - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- Prefix string
- Specifies the prefix of the snapshot that is automatically created.
- Start
Time string - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
- Keep
Days float64 - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- Prefix string
- Specifies the prefix of the snapshot that is automatically created.
- Start
Time string - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
- keep
Days Double - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- prefix String
- Specifies the prefix of the snapshot that is automatically created.
- start
Time String - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
- keep
Days number - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- prefix string
- Specifies the prefix of the snapshot that is automatically created.
- start
Time string - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
- keep_
days float - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- prefix str
- Specifies the prefix of the snapshot that is automatically created.
- start_
time str - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
- keep
Days Number - Specifies the number of days to retain the generated snapshots. Snapshots are reserved for seven days by default.
- prefix String
- Specifies the prefix of the snapshot that is automatically created.
- start
Time String - Specifies the time when a snapshot is automatically created everyday. Snapshots can only be created on the hour. The time format is the time followed by the time zone, specifically, HH:mm z. In the format, HH:mm refers to the hour time and z refers to the time zone. For example, "00:00 GMT+08:00" and "01:00 GMT+08:00".
CssClusterV1Datastore, CssClusterV1DatastoreArgs
CssClusterV1Node, CssClusterV1NodeArgs
CssClusterV1NodeConfig, CssClusterV1NodeConfigArgs
- Flavor string
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- Network
Info CssCluster V1Node Config Network Info - Network information. Structure is documented below. Changing this parameter will create a new resource.
- Volume
Css
Cluster V1Node Config Volume - Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- Availability
Zone string - Availability zone (AZ). Changing this parameter will create a new resource.
- Flavor string
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- Network
Info CssCluster V1Node Config Network Info - Network information. Structure is documented below. Changing this parameter will create a new resource.
- Volume
Css
Cluster V1Node Config Volume - Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- Availability
Zone string - Availability zone (AZ). Changing this parameter will create a new resource.
- flavor String
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- network
Info CssCluster V1Node Config Network Info - Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume
Css
Cluster V1Node Config Volume - Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availability
Zone String - Availability zone (AZ). Changing this parameter will create a new resource.
- flavor string
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- network
Info CssCluster V1Node Config Network Info - Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume
Css
Cluster V1Node Config Volume - Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availability
Zone string - Availability zone (AZ). Changing this parameter will create a new resource.
- flavor str
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- network_
info CssCluster V1Node Config Network Info - Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume
Css
Cluster V1Node Config Volume - Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availability_
zone str - Availability zone (AZ). Changing this parameter will create a new resource.
- flavor String
Instance flavor name.
- Value range of flavor
css.medium.8
: 40 GB to 640 GB - Value range of flavor
css.xlarge.8
: 40 GB to 2560 GB - Value range of flavor
css.2xlarge.8
: 80 GB to 5120 GB - Value range of flavor
css.4xlarge.8
: 160 GB to 10240 GB - Value range of flavor
css.xlarge.4
: 40 GB to 1,600 GB - Value range of flavor
css.2xlarge.4
: 80 GB to 3,200 GB - Value range of flavor
css.4xlarge.4
: 100 GB to 6,400 GB - Value range of flavor
css.8xlarge.4
: 160 GB to 10,240 GB - Value range of flavor
css.xlarge.2
: 40 GB to 800 GB - Value range of flavor
css.2xlarge.2
: 80 GB to 1,600 GB - Value range of flavor
css.4xlarge.2
: 100 GB to 3,200 GB - Value range of flavor
css.8xlarge.2
: 320 GB to 10,240 GB
Changing this parameter will create a new resource.
- Value range of flavor
- network
Info Property Map - Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume Property Map
- Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availability
Zone String - Availability zone (AZ). Changing this parameter will create a new resource.
CssClusterV1NodeConfigNetworkInfo, CssClusterV1NodeConfigNetworkInfoArgs
- Network
Id string - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- Security
Group stringId - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- Network
Id string - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- Security
Group stringId - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- network
Id String - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- security
Group StringId - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- network
Id string - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- security
Group stringId - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- network_
id str - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- security_
group_ strid - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- vpc_
id str - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- network
Id String - Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- security
Group StringId - Security group ID. All instances in a cluster must have the same subnets and security groups. Changing this parameter will create a new resource.
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
CssClusterV1NodeConfigVolume, CssClusterV1NodeConfigVolumeArgs
- Size double
- Volume size, which must be a multiple of
4
and10
. - Volume
Type string COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- Encryption
Key string - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
- Size float64
- Volume size, which must be a multiple of
4
and10
. - Volume
Type string COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- Encryption
Key string - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
- size Double
- Volume size, which must be a multiple of
4
and10
. - volume
Type String COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- encryption
Key String - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
- size number
- Volume size, which must be a multiple of
4
and10
. - volume
Type string COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- encryption
Key string - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
- size float
- Volume size, which must be a multiple of
4
and10
. - volume_
type str COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- encryption_
key str - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
- size Number
- Volume size, which must be a multiple of
4
and10
. - volume
Type String COMMON
: Common I/O. The SATA disk is used.HIGH
: High I/O. The SAS disk is used.ULTRAHIGH
: Ultra-high I/O. The solid-state drive (SSD) is used. Changing this parameter will create a new resource.The
datastore
block contains:- encryption
Key String - Key ID. The Default Master Keys cannot be used to create grants. Specifically, you cannot use Default Master Keys whose aliases end with /default in KMS to create clusters. After a cluster is created, do not delete the key used by the cluster. Otherwise, the cluster will become unavailable. Changing this parameter will create a new resource.
CssClusterV1PublicAccess, CssClusterV1PublicAccessArgs
- Bandwidth double
- Specifies the public network bandwidth.
- Whitelist
Enabled bool - Specifies whether to enable the Kibana access control.
- Public
Ip string - Whitelist string
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
- Bandwidth float64
- Specifies the public network bandwidth.
- Whitelist
Enabled bool - Specifies whether to enable the Kibana access control.
- Public
Ip string - Whitelist string
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
- bandwidth Double
- Specifies the public network bandwidth.
- whitelist
Enabled Boolean - Specifies whether to enable the Kibana access control.
- public
Ip String - whitelist String
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
- bandwidth number
- Specifies the public network bandwidth.
- whitelist
Enabled boolean - Specifies whether to enable the Kibana access control.
- public
Ip string - whitelist string
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
- bandwidth float
- Specifies the public network bandwidth.
- whitelist_
enabled bool - Specifies whether to enable the Kibana access control.
- public_
ip str - whitelist str
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
- bandwidth Number
- Specifies the public network bandwidth.
- whitelist
Enabled Boolean - Specifies whether to enable the Kibana access control.
- public
Ip String - whitelist String
- Specifies the whitelist of Kibana access control. Separate the whitelisted network segments or IP addresses with commas (,), and each of them must be unique.
CssClusterV1Timeouts, CssClusterV1TimeoutsArgs
Import
Backup can be imported using cluster_id
, e.g.
$ pulumi import opentelekomcloud:index/cssClusterV1:CssClusterV1 cluster 5c77b71c-5b35-4f50-8984-76387e42451a
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.