opentelekomcloud.GeminiInstanceV3
Up-to-date reference of API arguments for GeminiDB you can get at documentation portal.
GeminiDB instance management within OpenTelekomCloud.
Example Usage
Create a basic instance with tags
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const instance1 = new opentelekomcloud.GeminiInstanceV3("instance_1", {
name: "gaussdb_cassandra_instance_1",
password: password,
flavor: "geminidb.cassandra.xlarge.8",
volumeSize: 100,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: secgroupId,
availabilityZone: availabilityZone,
tags: {
foo: "bar",
key: "value",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
instance1 = opentelekomcloud.GeminiInstanceV3("instance_1",
name="gaussdb_cassandra_instance_1",
password=password,
flavor="geminidb.cassandra.xlarge.8",
volume_size=100,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=secgroup_id,
availability_zone=availability_zone,
tags={
"foo": "bar",
"key": "value",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewGeminiInstanceV3(ctx, "instance_1", &opentelekomcloud.GeminiInstanceV3Args{
Name: pulumi.String("gaussdb_cassandra_instance_1"),
Password: pulumi.Any(password),
Flavor: pulumi.String("geminidb.cassandra.xlarge.8"),
VolumeSize: pulumi.Float64(100),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(secgroupId),
AvailabilityZone: pulumi.Any(availabilityZone),
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
"key": pulumi.String("value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var instance1 = new Opentelekomcloud.GeminiInstanceV3("instance_1", new()
{
Name = "gaussdb_cassandra_instance_1",
Password = password,
Flavor = "geminidb.cassandra.xlarge.8",
VolumeSize = 100,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = secgroupId,
AvailabilityZone = availabilityZone,
Tags =
{
{ "foo", "bar" },
{ "key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.GeminiInstanceV3;
import com.pulumi.opentelekomcloud.GeminiInstanceV3Args;
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 GeminiInstanceV3("instance1", GeminiInstanceV3Args.builder()
.name("gaussdb_cassandra_instance_1")
.password(password)
.flavor("geminidb.cassandra.xlarge.8")
.volumeSize(100.0)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(secgroupId)
.availabilityZone(availabilityZone)
.tags(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("key", "value")
))
.build());
}
}
resources:
instance1:
type: opentelekomcloud:GeminiInstanceV3
name: instance_1
properties:
name: gaussdb_cassandra_instance_1
password: ${password}
flavor: geminidb.cassandra.xlarge.8
volumeSize: 100
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${secgroupId}
availabilityZone: ${availabilityZone}
tags:
foo: bar
key: value
Create an instance with backup strategy
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const instance1 = new opentelekomcloud.GeminiInstanceV3("instance_1", {
name: "gaussdb_cassandra_instance_1",
password: password,
flavor: "geminidb.cassandra.xlarge.4",
volumeSize: 100,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: secgroupId,
availabilityZone: availabilityZone,
backupStrategy: {
startTime: "03:00-04:00",
keepDays: 14,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
instance1 = opentelekomcloud.GeminiInstanceV3("instance_1",
name="gaussdb_cassandra_instance_1",
password=password,
flavor="geminidb.cassandra.xlarge.4",
volume_size=100,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=secgroup_id,
availability_zone=availability_zone,
backup_strategy={
"start_time": "03:00-04:00",
"keep_days": 14,
})
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 {
_, err := opentelekomcloud.NewGeminiInstanceV3(ctx, "instance_1", &opentelekomcloud.GeminiInstanceV3Args{
Name: pulumi.String("gaussdb_cassandra_instance_1"),
Password: pulumi.Any(password),
Flavor: pulumi.String("geminidb.cassandra.xlarge.4"),
VolumeSize: pulumi.Float64(100),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(secgroupId),
AvailabilityZone: pulumi.Any(availabilityZone),
BackupStrategy: &opentelekomcloud.GeminiInstanceV3BackupStrategyArgs{
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 Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var instance1 = new Opentelekomcloud.GeminiInstanceV3("instance_1", new()
{
Name = "gaussdb_cassandra_instance_1",
Password = password,
Flavor = "geminidb.cassandra.xlarge.4",
VolumeSize = 100,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = secgroupId,
AvailabilityZone = availabilityZone,
BackupStrategy = new Opentelekomcloud.Inputs.GeminiInstanceV3BackupStrategyArgs
{
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.opentelekomcloud.GeminiInstanceV3;
import com.pulumi.opentelekomcloud.GeminiInstanceV3Args;
import com.pulumi.opentelekomcloud.inputs.GeminiInstanceV3BackupStrategyArgs;
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 GeminiInstanceV3("instance1", GeminiInstanceV3Args.builder()
.name("gaussdb_cassandra_instance_1")
.password(password)
.flavor("geminidb.cassandra.xlarge.4")
.volumeSize(100.0)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(secgroupId)
.availabilityZone(availabilityZone)
.backupStrategy(GeminiInstanceV3BackupStrategyArgs.builder()
.startTime("03:00-04:00")
.keepDays(14.0)
.build())
.build());
}
}
resources:
instance1:
type: opentelekomcloud:GeminiInstanceV3
name: instance_1
properties:
name: gaussdb_cassandra_instance_1
password: ${password}
flavor: geminidb.cassandra.xlarge.4
volumeSize: 100
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${secgroupId}
availabilityZone: ${availabilityZone}
backupStrategy:
startTime: 03:00-04:00
keepDays: 14
Create GeminiInstanceV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GeminiInstanceV3(name: string, args: GeminiInstanceV3Args, opts?: CustomResourceOptions);@overload
def GeminiInstanceV3(resource_name: str,
args: GeminiInstanceV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def GeminiInstanceV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
password: Optional[str] = None,
availability_zone: Optional[str] = None,
vpc_id: Optional[str] = None,
volume_size: Optional[float] = None,
flavor: Optional[str] = None,
subnet_id: Optional[str] = None,
period: Optional[float] = None,
node_num: Optional[float] = None,
backup_strategy: Optional[GeminiInstanceV3BackupStrategyArgs] = None,
security_group_id: Optional[str] = None,
name: Optional[str] = None,
ssl: Optional[bool] = None,
gemini_instance_v3_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[GeminiInstanceV3TimeoutsArgs] = None,
datastore: Optional[GeminiInstanceV3DatastoreArgs] = None,
configuration_id: Optional[str] = None)func NewGeminiInstanceV3(ctx *Context, name string, args GeminiInstanceV3Args, opts ...ResourceOption) (*GeminiInstanceV3, error)public GeminiInstanceV3(string name, GeminiInstanceV3Args args, CustomResourceOptions? opts = null)
public GeminiInstanceV3(String name, GeminiInstanceV3Args args)
public GeminiInstanceV3(String name, GeminiInstanceV3Args args, CustomResourceOptions options)
type: opentelekomcloud:GeminiInstanceV3
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 GeminiInstanceV3Args
- 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 GeminiInstanceV3Args
- 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 GeminiInstanceV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GeminiInstanceV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GeminiInstanceV3Args
- 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 geminiInstanceV3Resource = new Opentelekomcloud.GeminiInstanceV3("geminiInstanceV3Resource", new()
{
Password = "string",
AvailabilityZone = "string",
VpcId = "string",
VolumeSize = 0,
Flavor = "string",
SubnetId = "string",
Period = 0,
NodeNum = 0,
BackupStrategy = new Opentelekomcloud.Inputs.GeminiInstanceV3BackupStrategyArgs
{
StartTime = "string",
KeepDays = 0,
},
SecurityGroupId = "string",
Name = "string",
Ssl = false,
GeminiInstanceV3Id = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.GeminiInstanceV3TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Datastore = new Opentelekomcloud.Inputs.GeminiInstanceV3DatastoreArgs
{
Engine = "string",
StorageEngine = "string",
Version = "string",
},
ConfigurationId = "string",
});
example, err := opentelekomcloud.NewGeminiInstanceV3(ctx, "geminiInstanceV3Resource", &opentelekomcloud.GeminiInstanceV3Args{
Password: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
VpcId: pulumi.String("string"),
VolumeSize: pulumi.Float64(0),
Flavor: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Period: pulumi.Float64(0),
NodeNum: pulumi.Float64(0),
BackupStrategy: &opentelekomcloud.GeminiInstanceV3BackupStrategyArgs{
StartTime: pulumi.String("string"),
KeepDays: pulumi.Float64(0),
},
SecurityGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Ssl: pulumi.Bool(false),
GeminiInstanceV3Id: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.GeminiInstanceV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Datastore: &opentelekomcloud.GeminiInstanceV3DatastoreArgs{
Engine: pulumi.String("string"),
StorageEngine: pulumi.String("string"),
Version: pulumi.String("string"),
},
ConfigurationId: pulumi.String("string"),
})
var geminiInstanceV3Resource = new GeminiInstanceV3("geminiInstanceV3Resource", GeminiInstanceV3Args.builder()
.password("string")
.availabilityZone("string")
.vpcId("string")
.volumeSize(0.0)
.flavor("string")
.subnetId("string")
.period(0.0)
.nodeNum(0.0)
.backupStrategy(GeminiInstanceV3BackupStrategyArgs.builder()
.startTime("string")
.keepDays(0.0)
.build())
.securityGroupId("string")
.name("string")
.ssl(false)
.geminiInstanceV3Id("string")
.tags(Map.of("string", "string"))
.timeouts(GeminiInstanceV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.datastore(GeminiInstanceV3DatastoreArgs.builder()
.engine("string")
.storageEngine("string")
.version("string")
.build())
.configurationId("string")
.build());
gemini_instance_v3_resource = opentelekomcloud.GeminiInstanceV3("geminiInstanceV3Resource",
password="string",
availability_zone="string",
vpc_id="string",
volume_size=0,
flavor="string",
subnet_id="string",
period=0,
node_num=0,
backup_strategy={
"start_time": "string",
"keep_days": 0,
},
security_group_id="string",
name="string",
ssl=False,
gemini_instance_v3_id="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
datastore={
"engine": "string",
"storage_engine": "string",
"version": "string",
},
configuration_id="string")
const geminiInstanceV3Resource = new opentelekomcloud.GeminiInstanceV3("geminiInstanceV3Resource", {
password: "string",
availabilityZone: "string",
vpcId: "string",
volumeSize: 0,
flavor: "string",
subnetId: "string",
period: 0,
nodeNum: 0,
backupStrategy: {
startTime: "string",
keepDays: 0,
},
securityGroupId: "string",
name: "string",
ssl: false,
geminiInstanceV3Id: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
datastore: {
engine: "string",
storageEngine: "string",
version: "string",
},
configurationId: "string",
});
type: opentelekomcloud:GeminiInstanceV3
properties:
availabilityZone: string
backupStrategy:
keepDays: 0
startTime: string
configurationId: string
datastore:
engine: string
storageEngine: string
version: string
flavor: string
geminiInstanceV3Id: string
name: string
nodeNum: 0
password: string
period: 0
securityGroupId: string
ssl: false
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
volumeSize: 0
vpcId: string
GeminiInstanceV3 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 GeminiInstanceV3 resource accepts the following input properties:
- Availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- Volume
Size double - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Configuration
Id string - Specifies the Parameter Template ID.
- Datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Gemini
Instance stringV3Id - 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 (_).
- Node
Num double - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- Period double
- Security
Group stringId - 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. - Dictionary<string, string>
- The key/value pairs to associate with the instance.
- Timeouts
Gemini
Instance V3Timeouts
- Availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- Volume
Size float64 - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Backup
Strategy GeminiInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Configuration
Id string - Specifies the Parameter Template ID.
- Datastore
Gemini
Instance V3Datastore Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Gemini
Instance stringV3Id - 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 (_).
- Node
Num float64 - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- Period float64
- Security
Group stringId - 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. - map[string]string
- The key/value pairs to associate with the instance.
- Timeouts
Gemini
Instance V3Timeouts Args
- availability
Zone String - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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.
- subnet
Id String - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- volume
Size Double - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id String - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- gemini
Instance StringV3Id - 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 (_).
- node
Num Double - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- period Double
- security
Group StringId - 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. - Map<String,String>
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts
- availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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.
- subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- volume
Size number - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id string - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- gemini
Instance stringV3Id - 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 (_).
- node
Num number - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- period number
- security
Group stringId - 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. - {[key: string]: string}
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts
- availability_
zone str - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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 GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc_
id str - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup_
strategy GeminiInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- configuration_
id str - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- gemini_
instance_ strv3_ id - 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 200. Defaults to 3.
- period float
- security_
group_ strid - 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. - Mapping[str, str]
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts Args
- availability
Zone String - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. 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.
- subnet
Id String - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- volume
Size Number - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup
Strategy Property Map - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id String - Specifies the Parameter Template ID.
- datastore Property Map
- Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- gemini
Instance StringV3Id - 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 (_).
- node
Num Number - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- period Number
- security
Group StringId - 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. - Map<String>
- The key/value pairs to associate with the instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GeminiInstanceV3 resource produces the following output properties:
- Db
User stringName - Indicates the default username.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Indicates the instance type.
- Nodes
List<Gemini
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- Port double
- Indicates the database port.
- Private
Ips List<string> - Indicates the IP address list of the db.
- Region string
- Indicates the DB instance region.
- Status string
- Indicates the node status.
- Db
User stringName - Indicates the default username.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Indicates the instance type.
- Nodes
[]Gemini
Instance V3Node - Indicates the instance nodes information. Structure is documented below.
- Port float64
- Indicates the database port.
- Private
Ips []string - Indicates the IP address list of the db.
- Region string
- Indicates the DB instance region.
- Status string
- Indicates the node status.
- db
User StringName - Indicates the default username.
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Indicates the instance type.
- nodes
List<Gemini
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- port Double
- Indicates the database port.
- private
Ips List<String> - Indicates the IP address list of the db.
- region String
- Indicates the DB instance region.
- status String
- Indicates the node status.
- db
User stringName - Indicates the default username.
- id string
- The provider-assigned unique ID for this managed resource.
- mode string
- Indicates the instance type.
- nodes
Gemini
Instance V3Node[] - Indicates the instance nodes information. Structure is documented below.
- port number
- Indicates the database port.
- private
Ips string[] - Indicates the IP address list of the db.
- region string
- Indicates the DB instance region.
- status string
- Indicates the node status.
- db_
user_ strname - Indicates the default username.
- id str
- The provider-assigned unique ID for this managed resource.
- mode str
- Indicates the instance type.
- nodes
Sequence[Gemini
Instance V3Node] - Indicates the instance nodes information. Structure is documented below.
- port float
- Indicates the database port.
- private_
ips Sequence[str] - Indicates the IP address list of the db.
- region str
- Indicates the DB instance region.
- status str
- Indicates the node status.
- db
User StringName - Indicates the default username.
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Indicates the instance type.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- port Number
- Indicates the database port.
- private
Ips List<String> - Indicates the IP address list of the db.
- region String
- Indicates the DB instance region.
- status String
- Indicates the node status.
Look up Existing GeminiInstanceV3 Resource
Get an existing GeminiInstanceV3 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?: GeminiInstanceV3State, opts?: CustomResourceOptions): GeminiInstanceV3@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
backup_strategy: Optional[GeminiInstanceV3BackupStrategyArgs] = None,
configuration_id: Optional[str] = None,
datastore: Optional[GeminiInstanceV3DatastoreArgs] = None,
db_user_name: Optional[str] = None,
flavor: Optional[str] = None,
gemini_instance_v3_id: Optional[str] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
node_num: Optional[float] = None,
nodes: Optional[Sequence[GeminiInstanceV3NodeArgs]] = None,
password: Optional[str] = None,
period: Optional[float] = 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[GeminiInstanceV3TimeoutsArgs] = None,
volume_size: Optional[float] = None,
vpc_id: Optional[str] = None) -> GeminiInstanceV3func GetGeminiInstanceV3(ctx *Context, name string, id IDInput, state *GeminiInstanceV3State, opts ...ResourceOption) (*GeminiInstanceV3, error)public static GeminiInstanceV3 Get(string name, Input<string> id, GeminiInstanceV3State? state, CustomResourceOptions? opts = null)public static GeminiInstanceV3 get(String name, Output<String> id, GeminiInstanceV3State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:GeminiInstanceV3 get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - Backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Configuration
Id string - Specifies the Parameter Template ID.
- Datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Db
User stringName - Indicates the default username.
- Flavor string
- Specifies the instance specifications. For details, see DB Instance Specifications.
- Gemini
Instance stringV3Id - Indicates the node ID.
- 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 (_).
- Node
Num double - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- Nodes
List<Gemini
Instance V3Node> - Indicates the instance nodes information. 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
- Port double
- Indicates the database port.
- Private
Ips List<string> - Indicates the IP address list of the db.
- Region string
- Indicates the DB instance region.
- Security
Group stringId - 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.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- Dictionary<string, string>
- The key/value pairs to associate with the instance.
- Timeouts
Gemini
Instance V3Timeouts - Volume
Size double - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - Backup
Strategy GeminiInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Configuration
Id string - Specifies the Parameter Template ID.
- Datastore
Gemini
Instance V3Datastore Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Db
User stringName - Indicates the default username.
- Flavor string
- Specifies the instance specifications. For details, see DB Instance Specifications.
- Gemini
Instance stringV3Id - Indicates the node ID.
- 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 (_).
- Node
Num float64 - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- Nodes
[]Gemini
Instance V3Node Args - Indicates the instance nodes information. 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
- Port float64
- Indicates the database port.
- Private
Ips []string - Indicates the IP address list of the db.
- Region string
- Indicates the DB instance region.
- Security
Group stringId - 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.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- map[string]string
- The key/value pairs to associate with the instance.
- Timeouts
Gemini
Instance V3Timeouts Args - Volume
Size float64 - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- availability
Zone String - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id String - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- db
User StringName - Indicates the default username.
- flavor String
- Specifies the instance specifications. For details, see DB Instance Specifications.
- gemini
Instance StringV3Id - Indicates the node ID.
- 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 (_).
- node
Num Double - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- nodes
List<Gemini
Instance V3Node> - Indicates the instance nodes information. 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
- port Double
- Indicates the database port.
- private
Ips List<String> - Indicates the IP address list of the db.
- region String
- Indicates the DB instance region.
- security
Group StringId - 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.
- subnet
Id String - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- Map<String,String>
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts - volume
Size Double - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
- availability
Zone string - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - backup
Strategy GeminiInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id string - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- db
User stringName - Indicates the default username.
- flavor string
- Specifies the instance specifications. For details, see DB Instance Specifications.
- gemini
Instance stringV3Id - Indicates the node ID.
- 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 (_).
- node
Num number - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- nodes
Gemini
Instance V3Node[] - Indicates the instance nodes information. 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
- port number
- Indicates the database port.
- private
Ips string[] - Indicates the IP address list of the db.
- region string
- Indicates the DB instance region.
- security
Group stringId - 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.
- subnet
Id string - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- {[key: string]: string}
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts - volume
Size number - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- availability_
zone str - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - backup_
strategy GeminiInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- configuration_
id str - Specifies the Parameter Template ID.
- datastore
Gemini
Instance V3Datastore Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- db_
user_ strname - Indicates the default username.
- flavor str
- Specifies the instance specifications. For details, see DB Instance Specifications.
- gemini_
instance_ strv3_ id - Indicates the node ID.
- 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 200. Defaults to 3.
- nodes
Sequence[Gemini
Instance V3Node Args] - Indicates the instance nodes information. 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
- port float
- Indicates the database port.
- private_
ips Sequence[str] - Indicates the IP address list of the db.
- region str
- Indicates the DB instance region.
- security_
group_ strid - 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.
- Mapping[str, str]
- The key/value pairs to associate with the instance.
- timeouts
Gemini
Instance V3Timeouts Args - volume_
size float - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc_
id str - Specifies the VPC ID. Changing this parameter will create a new resource.
- availability
Zone String - Specifies the AZ name. For a three-AZ deployment instance,
use commas (,) to separate the AZs, for example,
eu-de-01,eu-de-02,eu-de-03. Changing this parameter will create a new resource. - backup
Strategy Property Map - Specifies the advanced backup policy. Structure is documented below.
- configuration
Id String - Specifies the Parameter Template ID.
- datastore Property Map
- Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- db
User StringName - Indicates the default username.
- flavor String
- Specifies the instance specifications. For details, see DB Instance Specifications.
- gemini
Instance StringV3Id - Indicates the node ID.
- 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 (_).
- node
Num Number - Specifies the number of nodes, ranges from 3 to 200. Defaults to 3.
- nodes List<Property Map>
- Indicates the instance nodes information. 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
- port Number
- Indicates the database port.
- private
Ips List<String> - Indicates the IP address list of the db.
- region String
- Indicates the DB instance region.
- security
Group StringId - 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.
- subnet
Id String - Specifies the network ID of a subnet. Changing this parameter will create a new resource.
- Map<String>
- The key/value pairs to associate with the instance.
- timeouts Property Map
- volume
Size Number - Specifies the storage space in GB. The value must be a multiple of 10. For a GeminiDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
Supporting Types
GeminiInstanceV3BackupStrategy, GeminiInstanceV3BackupStrategyArgs
- Start
Time 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.
- Keep
Days 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.
- Start
Time 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.
- Keep
Days 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.
- start
Time 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.
- keep
Days 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.
- start
Time 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.
- keep
Days 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.
- start
Time 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.
- keep
Days 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.
GeminiInstanceV3Datastore, GeminiInstanceV3DatastoreArgs
- Engine string
- Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.
- Storage
Engine string - Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
- 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.
- Storage
Engine string - Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
- 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.
- storage
Engine String - Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
- 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.
- storage
Engine string - Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
- 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.
- 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.
- storage
Engine String - Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.
- version String
- Specifies the database version. Changing this parameter will create a new resource.
GeminiInstanceV3Node, GeminiInstanceV3NodeArgs
- 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 (_).
- Private
Ip string - Indicates the private IP address of a node.
- Status string
- 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 (_).
- Private
Ip string - Indicates the private IP address of a node.
- Status string
- 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 (_).
- private
Ip String - Indicates the private IP address of a node.
- status String
- Indicates the node status.
- support
Reduce 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 (_).
- private
Ip string - Indicates the private IP address of a node.
- status string
- Indicates the node status.
- support
Reduce 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 (_).
- private
Ip String - Indicates the private IP address of a node.
- status String
- Indicates the node status.
- support
Reduce Boolean - Indicates whether the node support reduce or not.
GeminiInstanceV3Timeouts, GeminiInstanceV3TimeoutsArgs
Import
GeminiDB instance can be imported using the id, e.g.
$ pulumi import opentelekomcloud:index/geminiInstanceV3:GeminiInstanceV3 instance_1 749112383d5342e9acb6c7825801b452in06
Due to the security reasons, password can not be imported. It can be ignored as shown below.
hcl
resource “opentelekomcloud_gemini_instance_v3” “instance_1” {
lifecycle {
ignore_changes = [
password,
]
}
}
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.
