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: &.CssClusterV1NodeConfigArgs{
Flavor: pulumi.String("string"),
NetworkInfo: &.CssClusterV1NodeConfigNetworkInfoArgs{
NetworkId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
Volume: &.CssClusterV1NodeConfigVolumeArgs{
Size: pulumi.Float64(0),
VolumeType: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
},
AvailabilityZone: pulumi.String("string"),
},
AdminPass: pulumi.String("string"),
BackupStrategy: &.CssClusterV1BackupStrategyArgs{
KeepDays: pulumi.Float64(0),
Prefix: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
CssClusterV1Id: pulumi.String("string"),
Datastore: &.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: &.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: &.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:
- NodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- AdminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- BackupStrategy CssCluster V1Backup Strategy 
- Specifies the advanced backup policy. Structure is documented below.
- CssCluster stringV1Id 
- Instance ID.
- Datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- EnableHttps bool
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource.
- ExpectNode doubleNum 
- Number of cluster instances. The value range is 1to32.
- Name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- PublicAccess CssCluster V1Public Access 
- Dictionary<string, string>
- Tags key/value pairs to associate with the cluster.
- Timeouts
CssCluster V1Timeouts 
- NodeConfig CssCluster V1Node Config Args 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- AdminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- BackupStrategy CssCluster V1Backup Strategy Args 
- Specifies the advanced backup policy. Structure is documented below.
- CssCluster stringV1Id 
- Instance ID.
- Datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- EnableHttps bool
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource.
- ExpectNode float64Num 
- Number of cluster instances. The value range is 1to32.
- Name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- PublicAccess CssCluster V1Public Access Args 
- map[string]string
- Tags key/value pairs to associate with the cluster.
- Timeouts
CssCluster V1Timeouts Args 
- nodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- adminPass String
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupStrategy CssCluster V1Backup Strategy 
- Specifies the advanced backup policy. Structure is documented below.
- cssCluster StringV1Id 
- Instance ID.
- datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps Boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource.
- expectNode DoubleNum 
- Number of cluster instances. The value range is 1to32.
- name String
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- publicAccess CssCluster V1Public Access 
- Map<String,String>
- Tags key/value pairs to associate with the cluster.
- timeouts
CssCluster V1Timeouts 
- nodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- adminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupStrategy CssCluster V1Backup Strategy 
- Specifies the advanced backup policy. Structure is documented below.
- cssCluster stringV1Id 
- Instance ID.
- datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource.
- expectNode numberNum 
- Number of cluster instances. The value range is 1to32.
- name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- publicAccess CssCluster V1Public Access 
- {[key: string]: string}
- Tags key/value pairs to associate with the cluster.
- timeouts
CssCluster 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_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of 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
CssCluster 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_httpsmust 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 trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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 1to32.
- name str
- Cluster name. It contains 4to32characters. 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
CssCluster V1Timeouts Args 
- nodeConfig Property Map
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- adminPass String
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupStrategy Property Map
- Specifies the advanced backup policy. Structure is documented below.
- cssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps Boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates that communication encryption is not performed on the cluster. Changing this parameter will create a new resource.
- expectNode NumberNum 
- Number of cluster instances. The value range is 1to32.
- name String
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- publicAccess 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:
- BackupAvailable 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<CssCluster 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.
- BackupAvailable 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
[]CssCluster 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.
- backupAvailable 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<CssCluster 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.
- backupAvailable 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
CssCluster 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[CssCluster 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.
- backupAvailable 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) -> CssClusterV1func 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.
- AdminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- BackupAvailable bool
- Indicates whether the snapshot function is enabled.
- BackupStrategy 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.
- CssCluster stringV1Id 
- Instance ID.
- Datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- EnableHttps bool
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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.
- ExpectNode doubleNum 
- Number of cluster instances. The value range is 1to32.
- Name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- NodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Nodes
List<CssCluster V1Node> 
- List of node objects. Structure is documented below.
- PublicAccess CssCluster V1Public Access 
- Dictionary<string, string>
- Tags key/value pairs to associate with the cluster.
- Timeouts
CssCluster V1Timeouts 
- Updated string
- Last modification time of a cluster. The format is ISO8601: CCYY-MM-DDThh:mm:ss.
- AdminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- BackupAvailable bool
- Indicates whether the snapshot function is enabled.
- BackupStrategy 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.
- CssCluster stringV1Id 
- Instance ID.
- Datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- EnableHttps bool
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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.
- ExpectNode float64Num 
- Number of cluster instances. The value range is 1to32.
- Name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- NodeConfig CssCluster V1Node Config Args 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- Nodes
[]CssCluster V1Node Args 
- List of node objects. Structure is documented below.
- PublicAccess CssCluster V1Public Access Args 
- map[string]string
- Tags key/value pairs to associate with the cluster.
- Timeouts
CssCluster V1Timeouts Args 
- Updated string
- Last modification time of a cluster. The format is ISO8601: CCYY-MM-DDThh:mm:ss.
- adminPass String
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupAvailable Boolean
- Indicates whether the snapshot function is enabled.
- backupStrategy 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.
- cssCluster StringV1Id 
- Instance ID.
- datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps Boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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.
- expectNode DoubleNum 
- Number of cluster instances. The value range is 1to32.
- name String
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- nodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes
List<CssCluster V1Node> 
- List of node objects. Structure is documented below.
- publicAccess CssCluster V1Public Access 
- Map<String,String>
- Tags key/value pairs to associate with the cluster.
- timeouts
CssCluster V1Timeouts 
- updated String
- Last modification time of a cluster. The format is ISO8601: CCYY-MM-DDThh:mm:ss.
- adminPass string
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupAvailable boolean
- Indicates whether the snapshot function is enabled.
- backupStrategy 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.
- cssCluster stringV1Id 
- Instance ID.
- datastore
CssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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.
- expectNode numberNum 
- Number of cluster instances. The value range is 1to32.
- name string
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- nodeConfig CssCluster V1Node Config 
- Instance object. Structure is documented below. Changing this parameter will create a new resource.
- nodes
CssCluster V1Node[] 
- List of node objects. Structure is documented below.
- publicAccess CssCluster V1Public Access 
- {[key: string]: string}
- Tags key/value pairs to associate with the cluster.
- timeouts
CssCluster 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_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of 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
CssCluster 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_httpsmust 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 trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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 1to32.
- name str
- Cluster name. It contains 4to32characters. 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[CssCluster 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
CssCluster V1Timeouts Args 
- updated str
- Last modification time of a cluster. The format is ISO8601: CCYY-MM-DDThh:mm:ss.
- adminPass String
- Password of the cluster user admin in security mode. This parameter is mandatory only when - enable_authorityis set to- true.- ~> The administrator password must meet the following requirements: contain - 8to- 32characters, contain at least- 3of the following character types: uppercase letters, lowercase letters, numbers, and special characters (- ~!@#$%^&*()-_=+\\|[{}];:,<.>/?).
- backupAvailable Boolean
- Indicates whether the snapshot function is enabled.
- backupStrategy 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.
- cssCluster 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_httpsmust be set totrue. Changing this parameter will create a new resource.
- enableHttps Boolean
- Whether communication encryption is performed on the cluster.
By default, communication encryption is disabled.
Value trueindicates that communication encryption is performed on the cluster. Valuefalseindicates 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.
- expectNode NumberNum 
- Number of cluster instances. The value range is 1to32.
- name String
- Cluster name. It contains 4to32characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Changing this parameter will create a new resource.
- nodeConfig 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.
- publicAccess 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        
- KeepDays 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.
- StartTime 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".
- KeepDays 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.
- StartTime 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".
- keepDays 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.
- startTime 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".
- keepDays 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.
- startTime 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".
- keepDays 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.
- startTime 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 
- NetworkInfo CssCluster V1Node Config Network Info 
- Network information. Structure is documented below. Changing this parameter will create a new resource.
- Volume
CssCluster V1Node Config Volume 
- Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- AvailabilityZone 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 
- NetworkInfo CssCluster V1Node Config Network Info 
- Network information. Structure is documented below. Changing this parameter will create a new resource.
- Volume
CssCluster V1Node Config Volume 
- Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- AvailabilityZone 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 
- networkInfo CssCluster V1Node Config Network Info 
- Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume
CssCluster V1Node Config Volume 
- Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availabilityZone 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 
- networkInfo CssCluster V1Node Config Network Info 
- Network information. Structure is documented below. Changing this parameter will create a new resource.
- volume
CssCluster V1Node Config Volume 
- Information about the volume. Structure is documented below. Changing this parameter will create a new resource.
- availabilityZone 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
CssCluster 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 
- networkInfo 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.
- availabilityZone String
- Availability zone (AZ). Changing this parameter will create a new resource.
CssClusterV1NodeConfigNetworkInfo, CssClusterV1NodeConfigNetworkInfoArgs            
- NetworkId string
- Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- SecurityGroup 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.
- VpcId string
- VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- NetworkId string
- Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- SecurityGroup 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.
- VpcId string
- VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- networkId String
- Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- securityGroup 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.
- vpcId String
- VPC ID, which is used for configuring cluster network. Changing this parameter will create a new resource.
- networkId string
- Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- securityGroup 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.
- vpcId 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.
- networkId String
- Network ID. All instances in a cluster must have the same networks and security groups. Changing this parameter will create a new resource.
- securityGroup 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.
- vpcId 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 4and10.
- VolumeType 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 - datastoreblock contains:
- EncryptionKey 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 4and10.
- VolumeType 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 - datastoreblock contains:
- EncryptionKey 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 4and10.
- volumeType 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 - datastoreblock contains:
- encryptionKey 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 4and10.
- volumeType 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 - datastoreblock contains:
- encryptionKey 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 4and10.
- 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 - datastoreblock 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 4and10.
- volumeType 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 - datastoreblock contains:
- encryptionKey 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.
- WhitelistEnabled bool
- Specifies whether to enable the Kibana access control.
- PublicIp 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.
- WhitelistEnabled bool
- Specifies whether to enable the Kibana access control.
- PublicIp 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.
- whitelistEnabled Boolean
- Specifies whether to enable the Kibana access control.
- publicIp 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.
- whitelistEnabled boolean
- Specifies whether to enable the Kibana access control.
- publicIp 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.
- whitelistEnabled Boolean
- Specifies whether to enable the Kibana access control.
- publicIp 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 opentelekomcloudTerraform Provider.