1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. GaussdbCassandraInstance
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.GaussdbCassandraInstance

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    GaussDB for Cassandra instance management within FlexibleEngine.

    Example Usage

    create a gaussdb for cassandra instance with tags

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const instance1 = new flexibleengine.GaussdbCassandraInstance("instance1", {
        password: _var.password,
        flavor: "geminidb.cassandra.xlarge.4",
        volumeSize: 100,
        vpcId: _var.vpc_id,
        subnetId: _var.subnet_id,
        securityGroupId: _var.secgroup_id,
        availabilityZone: _var.availability_zone,
        tags: {
            foo: "bar",
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    instance1 = flexibleengine.GaussdbCassandraInstance("instance1",
        password=var["password"],
        flavor="geminidb.cassandra.xlarge.4",
        volume_size=100,
        vpc_id=var["vpc_id"],
        subnet_id=var["subnet_id"],
        security_group_id=var["secgroup_id"],
        availability_zone=var["availability_zone"],
        tags={
            "foo": "bar",
            "key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewGaussdbCassandraInstance(ctx, "instance1", &flexibleengine.GaussdbCassandraInstanceArgs{
    			Password:         pulumi.Any(_var.Password),
    			Flavor:           pulumi.String("geminidb.cassandra.xlarge.4"),
    			VolumeSize:       pulumi.Float64(100),
    			VpcId:            pulumi.Any(_var.Vpc_id),
    			SubnetId:         pulumi.Any(_var.Subnet_id),
    			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
    			AvailabilityZone: pulumi.Any(_var.Availability_zone),
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var instance1 = new Flexibleengine.GaussdbCassandraInstance("instance1", new()
        {
            Password = @var.Password,
            Flavor = "geminidb.cassandra.xlarge.4",
            VolumeSize = 100,
            VpcId = @var.Vpc_id,
            SubnetId = @var.Subnet_id,
            SecurityGroupId = @var.Secgroup_id,
            AvailabilityZone = @var.Availability_zone,
            Tags = 
            {
                { "foo", "bar" },
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.GaussdbCassandraInstance;
    import com.pulumi.flexibleengine.GaussdbCassandraInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var instance1 = new GaussdbCassandraInstance("instance1", GaussdbCassandraInstanceArgs.builder()
                .password(var_.password())
                .flavor("geminidb.cassandra.xlarge.4")
                .volumeSize(100)
                .vpcId(var_.vpc_id())
                .subnetId(var_.subnet_id())
                .securityGroupId(var_.secgroup_id())
                .availabilityZone(var_.availability_zone())
                .tags(Map.ofEntries(
                    Map.entry("foo", "bar"),
                    Map.entry("key", "value")
                ))
                .build());
    
        }
    }
    
    resources:
      instance1:
        type: flexibleengine:GaussdbCassandraInstance
        properties:
          password: ${var.password}
          flavor: geminidb.cassandra.xlarge.4
          volumeSize: 100
          vpcId: ${var.vpc_id}
          subnetId: ${var.subnet_id}
          securityGroupId: ${var.secgroup_id}
          availabilityZone: ${var.availability_zone}
          tags:
            foo: bar
            key: value
    

    create a gaussdb cassandra instance with backup strategy

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const instance1 = new flexibleengine.GaussdbCassandraInstance("instance1", {
        password: _var.password,
        flavor: "geminidb.cassandra.xlarge.4",
        volumeSize: 100,
        vpcId: _var.vpc_id,
        subnetId: _var.subnet_id,
        securityGroupId: _var.secgroup_id,
        availabilityZone: _var.availability_zone,
        backupStrategy: {
            startTime: "03:00-04:00",
            keepDays: 14,
        },
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    instance1 = flexibleengine.GaussdbCassandraInstance("instance1",
        password=var["password"],
        flavor="geminidb.cassandra.xlarge.4",
        volume_size=100,
        vpc_id=var["vpc_id"],
        subnet_id=var["subnet_id"],
        security_group_id=var["secgroup_id"],
        availability_zone=var["availability_zone"],
        backup_strategy={
            "start_time": "03:00-04:00",
            "keep_days": 14,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewGaussdbCassandraInstance(ctx, "instance1", &flexibleengine.GaussdbCassandraInstanceArgs{
    			Password:         pulumi.Any(_var.Password),
    			Flavor:           pulumi.String("geminidb.cassandra.xlarge.4"),
    			VolumeSize:       pulumi.Float64(100),
    			VpcId:            pulumi.Any(_var.Vpc_id),
    			SubnetId:         pulumi.Any(_var.Subnet_id),
    			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
    			AvailabilityZone: pulumi.Any(_var.Availability_zone),
    			BackupStrategy: &flexibleengine.GaussdbCassandraInstanceBackupStrategyArgs{
    				StartTime: pulumi.String("03:00-04:00"),
    				KeepDays:  pulumi.Float64(14),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var instance1 = new Flexibleengine.GaussdbCassandraInstance("instance1", new()
        {
            Password = @var.Password,
            Flavor = "geminidb.cassandra.xlarge.4",
            VolumeSize = 100,
            VpcId = @var.Vpc_id,
            SubnetId = @var.Subnet_id,
            SecurityGroupId = @var.Secgroup_id,
            AvailabilityZone = @var.Availability_zone,
            BackupStrategy = new Flexibleengine.Inputs.GaussdbCassandraInstanceBackupStrategyArgs
            {
                StartTime = "03:00-04:00",
                KeepDays = 14,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.GaussdbCassandraInstance;
    import com.pulumi.flexibleengine.GaussdbCassandraInstanceArgs;
    import com.pulumi.flexibleengine.inputs.GaussdbCassandraInstanceBackupStrategyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var instance1 = new GaussdbCassandraInstance("instance1", GaussdbCassandraInstanceArgs.builder()
                .password(var_.password())
                .flavor("geminidb.cassandra.xlarge.4")
                .volumeSize(100)
                .vpcId(var_.vpc_id())
                .subnetId(var_.subnet_id())
                .securityGroupId(var_.secgroup_id())
                .availabilityZone(var_.availability_zone())
                .backupStrategy(GaussdbCassandraInstanceBackupStrategyArgs.builder()
                    .startTime("03:00-04:00")
                    .keepDays(14)
                    .build())
                .build());
    
        }
    }
    
    resources:
      instance1:
        type: flexibleengine:GaussdbCassandraInstance
        properties:
          password: ${var.password}
          flavor: geminidb.cassandra.xlarge.4
          volumeSize: 100
          vpcId: ${var.vpc_id}
          subnetId: ${var.subnet_id}
          securityGroupId: ${var.secgroup_id}
          availabilityZone: ${var.availability_zone}
          backupStrategy:
            startTime: 03:00-04:00
            keepDays: 14
    

    Create GaussdbCassandraInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GaussdbCassandraInstance(name: string, args: GaussdbCassandraInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def GaussdbCassandraInstance(resource_name: str,
                                 args: GaussdbCassandraInstanceArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def GaussdbCassandraInstance(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 flavor: Optional[str] = None,
                                 availability_zone: Optional[str] = None,
                                 vpc_id: Optional[str] = None,
                                 volume_size: Optional[float] = None,
                                 subnet_id: Optional[str] = None,
                                 password: Optional[str] = None,
                                 name: Optional[str] = None,
                                 period: Optional[float] = None,
                                 enterprise_project_id: Optional[str] = None,
                                 dedicated_resource_id: Optional[str] = None,
                                 force_import: Optional[bool] = None,
                                 gaussdb_cassandra_instance_id: Optional[str] = None,
                                 auto_renew: Optional[str] = None,
                                 node_num: Optional[float] = None,
                                 datastore: Optional[GaussdbCassandraInstanceDatastoreArgs] = None,
                                 dedicated_resource_name: Optional[str] = None,
                                 period_unit: Optional[str] = None,
                                 region: Optional[str] = None,
                                 security_group_id: Optional[str] = None,
                                 ssl: Optional[bool] = None,
                                 configuration_id: Optional[str] = None,
                                 tags: Optional[Mapping[str, str]] = None,
                                 timeouts: Optional[GaussdbCassandraInstanceTimeoutsArgs] = None,
                                 charging_mode: Optional[str] = None,
                                 backup_strategy: Optional[GaussdbCassandraInstanceBackupStrategyArgs] = None)
    func NewGaussdbCassandraInstance(ctx *Context, name string, args GaussdbCassandraInstanceArgs, opts ...ResourceOption) (*GaussdbCassandraInstance, error)
    public GaussdbCassandraInstance(string name, GaussdbCassandraInstanceArgs args, CustomResourceOptions? opts = null)
    public GaussdbCassandraInstance(String name, GaussdbCassandraInstanceArgs args)
    public GaussdbCassandraInstance(String name, GaussdbCassandraInstanceArgs args, CustomResourceOptions options)
    
    type: flexibleengine:GaussdbCassandraInstance
    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 GaussdbCassandraInstanceArgs
    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 GaussdbCassandraInstanceArgs
    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 GaussdbCassandraInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GaussdbCassandraInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GaussdbCassandraInstanceArgs
    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 gaussdbCassandraInstanceResource = new Flexibleengine.GaussdbCassandraInstance("gaussdbCassandraInstanceResource", new()
    {
        Flavor = "string",
        AvailabilityZone = "string",
        VpcId = "string",
        VolumeSize = 0,
        SubnetId = "string",
        Password = "string",
        Name = "string",
        Period = 0,
        EnterpriseProjectId = "string",
        DedicatedResourceId = "string",
        ForceImport = false,
        GaussdbCassandraInstanceId = "string",
        AutoRenew = "string",
        NodeNum = 0,
        Datastore = new Flexibleengine.Inputs.GaussdbCassandraInstanceDatastoreArgs
        {
            Engine = "string",
            StorageEngine = "string",
            Version = "string",
        },
        DedicatedResourceName = "string",
        PeriodUnit = "string",
        Region = "string",
        SecurityGroupId = "string",
        Ssl = false,
        ConfigurationId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Flexibleengine.Inputs.GaussdbCassandraInstanceTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        ChargingMode = "string",
        BackupStrategy = new Flexibleengine.Inputs.GaussdbCassandraInstanceBackupStrategyArgs
        {
            StartTime = "string",
            KeepDays = 0,
        },
    });
    
    example, err := flexibleengine.NewGaussdbCassandraInstance(ctx, "gaussdbCassandraInstanceResource", &flexibleengine.GaussdbCassandraInstanceArgs{
    	Flavor:                     pulumi.String("string"),
    	AvailabilityZone:           pulumi.String("string"),
    	VpcId:                      pulumi.String("string"),
    	VolumeSize:                 pulumi.Float64(0),
    	SubnetId:                   pulumi.String("string"),
    	Password:                   pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	Period:                     pulumi.Float64(0),
    	EnterpriseProjectId:        pulumi.String("string"),
    	DedicatedResourceId:        pulumi.String("string"),
    	ForceImport:                pulumi.Bool(false),
    	GaussdbCassandraInstanceId: pulumi.String("string"),
    	AutoRenew:                  pulumi.String("string"),
    	NodeNum:                    pulumi.Float64(0),
    	Datastore: &flexibleengine.GaussdbCassandraInstanceDatastoreArgs{
    		Engine:        pulumi.String("string"),
    		StorageEngine: pulumi.String("string"),
    		Version:       pulumi.String("string"),
    	},
    	DedicatedResourceName: pulumi.String("string"),
    	PeriodUnit:            pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	SecurityGroupId:       pulumi.String("string"),
    	Ssl:                   pulumi.Bool(false),
    	ConfigurationId:       pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &flexibleengine.GaussdbCassandraInstanceTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	ChargingMode: pulumi.String("string"),
    	BackupStrategy: &flexibleengine.GaussdbCassandraInstanceBackupStrategyArgs{
    		StartTime: pulumi.String("string"),
    		KeepDays:  pulumi.Float64(0),
    	},
    })
    
    var gaussdbCassandraInstanceResource = new GaussdbCassandraInstance("gaussdbCassandraInstanceResource", GaussdbCassandraInstanceArgs.builder()
        .flavor("string")
        .availabilityZone("string")
        .vpcId("string")
        .volumeSize(0)
        .subnetId("string")
        .password("string")
        .name("string")
        .period(0)
        .enterpriseProjectId("string")
        .dedicatedResourceId("string")
        .forceImport(false)
        .gaussdbCassandraInstanceId("string")
        .autoRenew("string")
        .nodeNum(0)
        .datastore(GaussdbCassandraInstanceDatastoreArgs.builder()
            .engine("string")
            .storageEngine("string")
            .version("string")
            .build())
        .dedicatedResourceName("string")
        .periodUnit("string")
        .region("string")
        .securityGroupId("string")
        .ssl(false)
        .configurationId("string")
        .tags(Map.of("string", "string"))
        .timeouts(GaussdbCassandraInstanceTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .chargingMode("string")
        .backupStrategy(GaussdbCassandraInstanceBackupStrategyArgs.builder()
            .startTime("string")
            .keepDays(0)
            .build())
        .build());
    
    gaussdb_cassandra_instance_resource = flexibleengine.GaussdbCassandraInstance("gaussdbCassandraInstanceResource",
        flavor="string",
        availability_zone="string",
        vpc_id="string",
        volume_size=0,
        subnet_id="string",
        password="string",
        name="string",
        period=0,
        enterprise_project_id="string",
        dedicated_resource_id="string",
        force_import=False,
        gaussdb_cassandra_instance_id="string",
        auto_renew="string",
        node_num=0,
        datastore={
            "engine": "string",
            "storage_engine": "string",
            "version": "string",
        },
        dedicated_resource_name="string",
        period_unit="string",
        region="string",
        security_group_id="string",
        ssl=False,
        configuration_id="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        charging_mode="string",
        backup_strategy={
            "start_time": "string",
            "keep_days": 0,
        })
    
    const gaussdbCassandraInstanceResource = new flexibleengine.GaussdbCassandraInstance("gaussdbCassandraInstanceResource", {
        flavor: "string",
        availabilityZone: "string",
        vpcId: "string",
        volumeSize: 0,
        subnetId: "string",
        password: "string",
        name: "string",
        period: 0,
        enterpriseProjectId: "string",
        dedicatedResourceId: "string",
        forceImport: false,
        gaussdbCassandraInstanceId: "string",
        autoRenew: "string",
        nodeNum: 0,
        datastore: {
            engine: "string",
            storageEngine: "string",
            version: "string",
        },
        dedicatedResourceName: "string",
        periodUnit: "string",
        region: "string",
        securityGroupId: "string",
        ssl: false,
        configurationId: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        chargingMode: "string",
        backupStrategy: {
            startTime: "string",
            keepDays: 0,
        },
    });
    
    type: flexibleengine:GaussdbCassandraInstance
    properties:
        autoRenew: string
        availabilityZone: string
        backupStrategy:
            keepDays: 0
            startTime: string
        chargingMode: string
        configurationId: string
        datastore:
            engine: string
            storageEngine: string
            version: string
        dedicatedResourceId: string
        dedicatedResourceName: string
        enterpriseProjectId: string
        flavor: string
        forceImport: false
        gaussdbCassandraInstanceId: string
        name: string
        nodeNum: 0
        password: string
        period: 0
        periodUnit: string
        region: string
        securityGroupId: string
        ssl: false
        subnetId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        volumeSize: 0
        vpcId: string
    

    GaussdbCassandraInstance 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 GaussdbCassandraInstance resource accepts the following input properties:

    AvailabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    Flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    VolumeSize double
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AutoRenew string
    BackupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    ChargingMode string
    ConfigurationId string
    Specifies the Parameter Template ID.
    Datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    DedicatedResourceId string
    DedicatedResourceName string
    EnterpriseProjectId string
    ForceImport bool
    If specified, try to import the instance instead of creating if the name already existed.
    GaussdbCassandraInstanceId string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    NodeNum double
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    Period double
    PeriodUnit string
    Region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    Timeouts GaussdbCassandraInstanceTimeouts
    AvailabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    Flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    VolumeSize float64
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AutoRenew string
    BackupStrategy GaussdbCassandraInstanceBackupStrategyArgs
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    ChargingMode string
    ConfigurationId string
    Specifies the Parameter Template ID.
    Datastore GaussdbCassandraInstanceDatastoreArgs
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    DedicatedResourceId string
    DedicatedResourceName string
    EnterpriseProjectId string
    ForceImport bool
    If specified, try to import the instance instead of creating if the name already existed.
    GaussdbCassandraInstanceId string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    NodeNum float64
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    Period float64
    PeriodUnit string
    Region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    Tags map[string]string

    The key/value pairs to associate with the instance.

    The datastore block supports:

    Timeouts GaussdbCassandraInstanceTimeoutsArgs
    availabilityZone String
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    flavor String
    Specifies the instance specifications. For details, see DB Instance Specifications
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    volumeSize Double
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew String
    backupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode String
    configurationId String
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId String
    dedicatedResourceName String
    enterpriseProjectId String
    forceImport Boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum Double
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    period Double
    periodUnit String
    region String
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl Boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    tags Map<String,String>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeouts
    availabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    subnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    volumeSize number
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew string
    backupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode string
    configurationId string
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId string
    dedicatedResourceName string
    enterpriseProjectId string
    forceImport boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId string
    Indicates the node ID.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum number
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    period number
    periodUnit string
    region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    tags {[key: string]: string}

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeouts
    availability_zone str
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    flavor str
    Specifies the instance specifications. For details, see DB Instance Specifications
    password str
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    subnet_id str
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    volume_size float
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpc_id str
    Specifies the VPC ID. Changing this parameter will create a new resource.
    auto_renew str
    backup_strategy GaussdbCassandraInstanceBackupStrategyArgs
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    charging_mode str
    configuration_id str
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastoreArgs
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dedicated_resource_id str
    dedicated_resource_name str
    enterprise_project_id str
    force_import bool
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdb_cassandra_instance_id str
    Indicates the node ID.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    node_num float
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    period float
    period_unit str
    region str
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    security_group_id str
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    tags Mapping[str, str]

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeoutsArgs
    availabilityZone String
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    flavor String
    Specifies the instance specifications. For details, see DB Instance Specifications
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    volumeSize Number
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew String
    backupStrategy Property Map
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode String
    configurationId String
    Specifies the Parameter Template ID.
    datastore Property Map
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dedicatedResourceId String
    dedicatedResourceName String
    enterpriseProjectId String
    forceImport Boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum Number
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    period Number
    periodUnit String
    region String
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl Boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    tags Map<String>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GaussdbCassandraInstance resource produces the following output properties:

    DbUserName string
    Indicates the default username.
    Id string
    The provider-assigned unique ID for this managed resource.
    LbIpAddress string
    Indicates the LB IP address of the db.
    LbPort string
    Indicates the LB port of the db.
    Mode string
    Indicates the instance type.
    Nodes List<GaussdbCassandraInstanceNode>
    Indicates the instance nodes information. The nodes object structure is documented below.
    Port double
    Indicates the database port.
    PrivateIps List<string>
    Indicates the IP address list of the db.
    Status string
    Indicates the node status.
    DbUserName string
    Indicates the default username.
    Id string
    The provider-assigned unique ID for this managed resource.
    LbIpAddress string
    Indicates the LB IP address of the db.
    LbPort string
    Indicates the LB port of the db.
    Mode string
    Indicates the instance type.
    Nodes []GaussdbCassandraInstanceNode
    Indicates the instance nodes information. The nodes object structure is documented below.
    Port float64
    Indicates the database port.
    PrivateIps []string
    Indicates the IP address list of the db.
    Status string
    Indicates the node status.
    dbUserName String
    Indicates the default username.
    id String
    The provider-assigned unique ID for this managed resource.
    lbIpAddress String
    Indicates the LB IP address of the db.
    lbPort String
    Indicates the LB port of the db.
    mode String
    Indicates the instance type.
    nodes List<GaussdbCassandraInstanceNode>
    Indicates the instance nodes information. The nodes object structure is documented below.
    port Double
    Indicates the database port.
    privateIps List<String>
    Indicates the IP address list of the db.
    status String
    Indicates the node status.
    dbUserName string
    Indicates the default username.
    id string
    The provider-assigned unique ID for this managed resource.
    lbIpAddress string
    Indicates the LB IP address of the db.
    lbPort string
    Indicates the LB port of the db.
    mode string
    Indicates the instance type.
    nodes GaussdbCassandraInstanceNode[]
    Indicates the instance nodes information. The nodes object structure is documented below.
    port number
    Indicates the database port.
    privateIps string[]
    Indicates the IP address list of the db.
    status string
    Indicates the node status.
    db_user_name str
    Indicates the default username.
    id str
    The provider-assigned unique ID for this managed resource.
    lb_ip_address str
    Indicates the LB IP address of the db.
    lb_port str
    Indicates the LB port of the db.
    mode str
    Indicates the instance type.
    nodes Sequence[GaussdbCassandraInstanceNode]
    Indicates the instance nodes information. The nodes object structure is documented below.
    port float
    Indicates the database port.
    private_ips Sequence[str]
    Indicates the IP address list of the db.
    status str
    Indicates the node status.
    dbUserName String
    Indicates the default username.
    id String
    The provider-assigned unique ID for this managed resource.
    lbIpAddress String
    Indicates the LB IP address of the db.
    lbPort String
    Indicates the LB port of the db.
    mode String
    Indicates the instance type.
    nodes List<Property Map>
    Indicates the instance nodes information. The nodes object structure is documented below.
    port Number
    Indicates the database port.
    privateIps List<String>
    Indicates the IP address list of the db.
    status String
    Indicates the node status.

    Look up Existing GaussdbCassandraInstance Resource

    Get an existing GaussdbCassandraInstance 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?: GaussdbCassandraInstanceState, opts?: CustomResourceOptions): GaussdbCassandraInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[str] = None,
            availability_zone: Optional[str] = None,
            backup_strategy: Optional[GaussdbCassandraInstanceBackupStrategyArgs] = None,
            charging_mode: Optional[str] = None,
            configuration_id: Optional[str] = None,
            datastore: Optional[GaussdbCassandraInstanceDatastoreArgs] = None,
            db_user_name: Optional[str] = None,
            dedicated_resource_id: Optional[str] = None,
            dedicated_resource_name: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            flavor: Optional[str] = None,
            force_import: Optional[bool] = None,
            gaussdb_cassandra_instance_id: Optional[str] = None,
            lb_ip_address: Optional[str] = None,
            lb_port: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            node_num: Optional[float] = None,
            nodes: Optional[Sequence[GaussdbCassandraInstanceNodeArgs]] = None,
            password: Optional[str] = None,
            period: Optional[float] = None,
            period_unit: Optional[str] = None,
            port: Optional[float] = None,
            private_ips: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            security_group_id: Optional[str] = None,
            ssl: Optional[bool] = None,
            status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[GaussdbCassandraInstanceTimeoutsArgs] = None,
            volume_size: Optional[float] = None,
            vpc_id: Optional[str] = None) -> GaussdbCassandraInstance
    func GetGaussdbCassandraInstance(ctx *Context, name string, id IDInput, state *GaussdbCassandraInstanceState, opts ...ResourceOption) (*GaussdbCassandraInstance, error)
    public static GaussdbCassandraInstance Get(string name, Input<string> id, GaussdbCassandraInstanceState? state, CustomResourceOptions? opts = null)
    public static GaussdbCassandraInstance get(String name, Output<String> id, GaussdbCassandraInstanceState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:GaussdbCassandraInstance    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.
    The following state arguments are supported:
    AutoRenew string
    AvailabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    BackupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    ChargingMode string
    ConfigurationId string
    Specifies the Parameter Template ID.
    Datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    DbUserName string
    Indicates the default username.
    DedicatedResourceId string
    DedicatedResourceName string
    EnterpriseProjectId string
    Flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    ForceImport bool
    If specified, try to import the instance instead of creating if the name already existed.
    GaussdbCassandraInstanceId string
    Indicates the node ID.
    LbIpAddress string
    Indicates the LB IP address of the db.
    LbPort string
    Indicates the LB port of the db.
    Mode string
    Indicates the instance type.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    NodeNum double
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    Nodes List<GaussdbCassandraInstanceNode>
    Indicates the instance nodes information. The nodes object structure is documented below.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    Period double
    PeriodUnit string
    Port double
    Indicates the database port.
    PrivateIps List<string>
    Indicates the IP address list of the db.
    Region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    Status string
    Indicates the node status.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    Timeouts GaussdbCassandraInstanceTimeouts
    VolumeSize double
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    AutoRenew string
    AvailabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    BackupStrategy GaussdbCassandraInstanceBackupStrategyArgs
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    ChargingMode string
    ConfigurationId string
    Specifies the Parameter Template ID.
    Datastore GaussdbCassandraInstanceDatastoreArgs
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    DbUserName string
    Indicates the default username.
    DedicatedResourceId string
    DedicatedResourceName string
    EnterpriseProjectId string
    Flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    ForceImport bool
    If specified, try to import the instance instead of creating if the name already existed.
    GaussdbCassandraInstanceId string
    Indicates the node ID.
    LbIpAddress string
    Indicates the LB IP address of the db.
    LbPort string
    Indicates the LB port of the db.
    Mode string
    Indicates the instance type.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    NodeNum float64
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    Nodes []GaussdbCassandraInstanceNodeArgs
    Indicates the instance nodes information. The nodes object structure is documented below.
    Password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    Period float64
    PeriodUnit string
    Port float64
    Indicates the database port.
    PrivateIps []string
    Indicates the IP address list of the db.
    Region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    SecurityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    Ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    Status string
    Indicates the node status.
    SubnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    Tags map[string]string

    The key/value pairs to associate with the instance.

    The datastore block supports:

    Timeouts GaussdbCassandraInstanceTimeoutsArgs
    VolumeSize float64
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    VpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew String
    availabilityZone String
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    backupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode String
    configurationId String
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dbUserName String
    Indicates the default username.
    dedicatedResourceId String
    dedicatedResourceName String
    enterpriseProjectId String
    flavor String
    Specifies the instance specifications. For details, see DB Instance Specifications
    forceImport Boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId String
    Indicates the node ID.
    lbIpAddress String
    Indicates the LB IP address of the db.
    lbPort String
    Indicates the LB port of the db.
    mode String
    Indicates the instance type.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum Double
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    nodes List<GaussdbCassandraInstanceNode>
    Indicates the instance nodes information. The nodes object structure is documented below.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    period Double
    periodUnit String
    port Double
    Indicates the database port.
    privateIps List<String>
    Indicates the IP address list of the db.
    region String
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl Boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    status String
    Indicates the node status.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tags Map<String,String>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeouts
    volumeSize Double
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew string
    availabilityZone string
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    backupStrategy GaussdbCassandraInstanceBackupStrategy
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode string
    configurationId string
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastore
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dbUserName string
    Indicates the default username.
    dedicatedResourceId string
    dedicatedResourceName string
    enterpriseProjectId string
    flavor string
    Specifies the instance specifications. For details, see DB Instance Specifications
    forceImport boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId string
    Indicates the node ID.
    lbIpAddress string
    Indicates the LB IP address of the db.
    lbPort string
    Indicates the LB port of the db.
    mode string
    Indicates the instance type.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum number
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    nodes GaussdbCassandraInstanceNode[]
    Indicates the instance nodes information. The nodes object structure is documented below.
    password string
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    period number
    periodUnit string
    port number
    Indicates the database port.
    privateIps string[]
    Indicates the IP address list of the db.
    region string
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId string
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    status string
    Indicates the node status.
    subnetId string
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tags {[key: string]: string}

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeouts
    volumeSize number
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId string
    Specifies the VPC ID. Changing this parameter will create a new resource.
    auto_renew str
    availability_zone str
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    backup_strategy GaussdbCassandraInstanceBackupStrategyArgs
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    charging_mode str
    configuration_id str
    Specifies the Parameter Template ID.
    datastore GaussdbCassandraInstanceDatastoreArgs
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    db_user_name str
    Indicates the default username.
    dedicated_resource_id str
    dedicated_resource_name str
    enterprise_project_id str
    flavor str
    Specifies the instance specifications. For details, see DB Instance Specifications
    force_import bool
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdb_cassandra_instance_id str
    Indicates the node ID.
    lb_ip_address str
    Indicates the LB IP address of the db.
    lb_port str
    Indicates the LB port of the db.
    mode str
    Indicates the instance type.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    node_num float
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    nodes Sequence[GaussdbCassandraInstanceNodeArgs]
    Indicates the instance nodes information. The nodes object structure is documented below.
    password str
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    period float
    period_unit str
    port float
    Indicates the database port.
    private_ips Sequence[str]
    Indicates the IP address list of the db.
    region str
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    security_group_id str
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl bool
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    status str
    Indicates the node status.
    subnet_id str
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tags Mapping[str, str]

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts GaussdbCassandraInstanceTimeoutsArgs
    volume_size float
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpc_id str
    Specifies the VPC ID. Changing this parameter will create a new resource.
    autoRenew String
    availabilityZone String
    Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, cn-north-4a,cn-north-4b,cn-north-4c. Changing this parameter will create a new resource.
    backupStrategy Property Map
    Specifies the advanced backup policy. The backup_strategy object structure is documented below.
    chargingMode String
    configurationId String
    Specifies the Parameter Template ID.
    datastore Property Map
    Specifies the database information. The datastore object structure is documented below. Changing this parameter will create a new resource.
    dbUserName String
    Indicates the default username.
    dedicatedResourceId String
    dedicatedResourceName String
    enterpriseProjectId String
    flavor String
    Specifies the instance specifications. For details, see DB Instance Specifications
    forceImport Boolean
    If specified, try to import the instance instead of creating if the name already existed.
    gaussdbCassandraInstanceId String
    Indicates the node ID.
    lbIpAddress String
    Indicates the LB IP address of the db.
    lbPort String
    Indicates the LB port of the db.
    mode String
    Indicates the instance type.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    nodeNum Number
    Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
    nodes List<Property Map>
    Indicates the instance nodes information. The nodes object structure is documented below.
    password String
    Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
    period Number
    periodUnit String
    port Number
    Indicates the database port.
    privateIps List<String>
    Indicates the IP address list of the db.
    region String
    The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.
    securityGroupId String
    Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.
    ssl Boolean
    Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.
    status String
    Indicates the node status.
    subnetId String
    Specifies the network ID of a subnet. Changing this parameter will create a new resource.
    tags Map<String>

    The key/value pairs to associate with the instance.

    The datastore block supports:

    timeouts Property Map
    volumeSize Number
    Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see DB Instance Specifications
    vpcId String
    Specifies the VPC ID. Changing this parameter will create a new resource.

    Supporting Types

    GaussdbCassandraInstanceBackupStrategy, GaussdbCassandraInstanceBackupStrategyArgs

    StartTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    KeepDays double
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    StartTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    KeepDays float64
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime String
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays Double
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime string
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays number
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    start_time str
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keep_days float
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
    startTime String
    Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.
    keepDays Number
    Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

    GaussdbCassandraInstanceDatastore, GaussdbCassandraInstanceDatastoreArgs

    Engine string
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    StorageEngine string

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    Version string
    Specifies the database version. Changing this parameter will create a new resource.
    Engine string
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    StorageEngine string

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    Version string
    Specifies the database version. Changing this parameter will create a new resource.
    engine String
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    storageEngine String

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    version String
    Specifies the database version. Changing this parameter will create a new resource.
    engine string
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    storageEngine string

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    version string
    Specifies the database version. Changing this parameter will create a new resource.
    engine str
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    storage_engine str

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    version str
    Specifies the database version. Changing this parameter will create a new resource.
    engine String
    Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
    storageEngine String

    Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

    The backup_strategy block supports:

    version String
    Specifies the database version. Changing this parameter will create a new resource.

    GaussdbCassandraInstanceNode, GaussdbCassandraInstanceNodeArgs

    Id string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    PrivateIp string
    Indicates the private IP address of a node.
    Status string
    Indicates the node status.
    SupportReduce bool
    Indicates whether the node support reduce or not.
    Id string
    Indicates the node ID.
    Name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    PrivateIp string
    Indicates the private IP address of a node.
    Status string
    Indicates the node status.
    SupportReduce bool
    Indicates whether the node support reduce or not.
    id String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateIp String
    Indicates the private IP address of a node.
    status String
    Indicates the node status.
    supportReduce Boolean
    Indicates whether the node support reduce or not.
    id string
    Indicates the node ID.
    name string
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateIp string
    Indicates the private IP address of a node.
    status string
    Indicates the node status.
    supportReduce boolean
    Indicates whether the node support reduce or not.
    id str
    Indicates the node ID.
    name str
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    private_ip str
    Indicates the private IP address of a node.
    status str
    Indicates the node status.
    support_reduce bool
    Indicates whether the node support reduce or not.
    id String
    Indicates the node ID.
    name String
    Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).
    privateIp String
    Indicates the private IP address of a node.
    status String
    Indicates the node status.
    supportReduce Boolean
    Indicates whether the node support reduce or not.

    GaussdbCassandraInstanceTimeouts, GaussdbCassandraInstanceTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    GaussDB Cassandra instance can be imported using the id, e.g.

    bash

    $ pulumi import flexibleengine:index/gaussdbCassandraInstance:GaussdbCassandraInstance instance_1 2e045d8b-b226-4aa2-91b9-7e76357655c06
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud