opentelekomcloud.RdsInstanceV3
Explore with Pulumi AI
Up-to-date reference of API arguments for RDS instance rule you can get at documentation portal
Manages RDS instance v3 resource.
Example Usage
Create a single db instance
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
secgroup:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: terraform security group acceptance test
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones:
- ${var.availability_zone}
db:
password: P@ssw0rd1!9851
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${secgroup.networkingSecgroupV2Id}
subnetId: ${var.subnet_id}
vpcId: ${var.vpc_id}
flavor: rds.pg.n1.large.4
volume:
type: CLOUDSSD
size: 100
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
period: 1,2,3,4,5
tags:
foo: bar
key: value
Create a primary/standby db instance
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
secgroup:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: terraform security group acceptance test
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones:
- ${var.availability_zone_1}
- ${var.availability_zone_2}
db:
password: P@ssw0rd1!9851
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${secgroup.networkingSecgroupV2Id}
subnetId: ${var.subnet_id}
vpcId: ${var.vpc_id}
flavor: rds.pg.x1.8xlarge.4.ha
haReplicationMode: async
volume:
type: CLOUDSSD
size: 100
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
tags:
foo: bar
key: value
Create a db instance with public IP
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
secgroup:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: terraform security group acceptance test
ip:
type: opentelekomcloud:ComputeFloatingipV2
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones:
- ${var.availability_zone_1}
- ${var.availability_zone_2}
db:
password: Telekom!120521
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${secgroup.networkingSecgroupV2Id}
subnetId: ${var.subnet_id}
vpcId: ${var.vpc_id}
volume:
type: CLOUDSSD
size: 100
flavor: rds.pg.x1.8xlarge.4.ha
haReplicationMode: async
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
publicIps:
- ${ip.address}
tags:
foo: bar
key: value
Create a single db instance with encrypted volume
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
key:
type: opentelekomcloud:KmsKeyV1
properties:
keyAlias: key_1
keyDescription: first test key
isEnabled: true
secgroup:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: terraform security group acceptance test
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones:
- ${var.availability_zone}
securityGroupId: ${secgroup.networkingSecgroupV2Id}
subnetId: ${var.subnet_id}
vpcId: ${var.vpc_id}
flavor: rds.pg.n1.xlarge.2
db:
password: P@ssw0rd1!9851
type: PostgreSQL
version: '16'
port: '8635'
volume:
diskEncryptionId: ${key.kmsKeyV1Id}
type: CLOUDSSD
size: 100
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
Overriding parameters from template
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
sg:
type: opentelekomcloud:NetworkingSecgroupV2
pg:
type: opentelekomcloud:RdsParametergroupV3
properties:
values:
autocommit: OFF
datastore:
type: postgresql
version: '16'
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones:
- ${var.availability_zone}
db:
password: Postgres!120521
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${sg.networkingSecgroupV2Id}
subnetId: ${var.subnet_id}
vpcId: ${var.vpc_id}
flavor: rds.pg.n1.xlarge.2
volume:
type: CLOUDSSD
size: 40
parameters:
max_connections: '37'
Restore backup to a new instance
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
fromBackup:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones: ${opentelekomcloud_rds_instance_v3.instance.availability_zone}
flavor: rds.pg.n1.xlarge.2
restorePoint:
instanceId: ${backup.instanceId}
backupId: ${backup.id}
db:
password: Postgres!120521
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${var.security_group_id}
subnetId: ${var.os_network_id}
vpcId: ${var.os_router_id}
volume:
type: CLOUDSSD
size: 40
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
variables:
backup:
fn::invoke:
function: opentelekomcloud:getRdsBackupV3
arguments:
instanceId: ${var.rds_instance_id}
type: auto
Notes
But due to some attributes missing from the API response, it’s required to ignore changes as below.
Also, for some MySQL versions the lower_case_table_names
should be also added.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
instance1:
type: opentelekomcloud:RdsInstanceV3
properties:
lifecycle:
ignoreChanges:
- availabilityZone
- availabilityZones
- db
Create RdsInstanceV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RdsInstanceV3(name: string, args: RdsInstanceV3Args, opts?: CustomResourceOptions);
@overload
def RdsInstanceV3(resource_name: str,
args: RdsInstanceV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def RdsInstanceV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_group_id: Optional[str] = None,
vpc_id: Optional[str] = None,
db: Optional[RdsInstanceV3DbArgs] = None,
flavor: Optional[str] = None,
volume: Optional[RdsInstanceV3VolumeArgs] = None,
availability_zone: Optional[Sequence[str]] = None,
subnet_id: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
ssl_enable: Optional[bool] = None,
public_ips: Optional[Sequence[str]] = None,
rds_instance_v3_id: Optional[str] = None,
restore_from_backup: Optional[RdsInstanceV3RestoreFromBackupArgs] = None,
restore_point: Optional[RdsInstanceV3RestorePointArgs] = None,
param_group_id: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
tag: Optional[Mapping[str, str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[RdsInstanceV3TimeoutsArgs] = None,
ha_replication_mode: Optional[str] = None,
backup_strategy: Optional[RdsInstanceV3BackupStrategyArgs] = None)
func NewRdsInstanceV3(ctx *Context, name string, args RdsInstanceV3Args, opts ...ResourceOption) (*RdsInstanceV3, error)
public RdsInstanceV3(string name, RdsInstanceV3Args args, CustomResourceOptions? opts = null)
public RdsInstanceV3(String name, RdsInstanceV3Args args)
public RdsInstanceV3(String name, RdsInstanceV3Args args, CustomResourceOptions options)
type: opentelekomcloud:RdsInstanceV3
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 RdsInstanceV3Args
- 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 RdsInstanceV3Args
- 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 RdsInstanceV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RdsInstanceV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RdsInstanceV3Args
- 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 rdsInstanceV3Resource = new Opentelekomcloud.RdsInstanceV3("rdsInstanceV3Resource", new()
{
SecurityGroupId = "string",
VpcId = "string",
Db = new Opentelekomcloud.Inputs.RdsInstanceV3DbArgs
{
Password = "string",
Port = 0,
Type = "string",
UserName = "string",
Version = "string",
},
Flavor = "string",
Volume = new Opentelekomcloud.Inputs.RdsInstanceV3VolumeArgs
{
Size = 0,
Type = "string",
DiskEncryptionId = "string",
LimitSize = 0,
TriggerThreshold = 0,
},
AvailabilityZone = new[]
{
"string",
},
SubnetId = "string",
LowerCaseTableNames = "string",
SslEnable = false,
PublicIps = new[]
{
"string",
},
RdsInstanceV3Id = "string",
RestorePoint = new Opentelekomcloud.Inputs.RdsInstanceV3RestorePointArgs
{
InstanceId = "string",
BackupId = "string",
RestoreTime = 0,
},
ParamGroupId = "string",
Parameters =
{
{ "string", "string" },
},
Name = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.RdsInstanceV3TimeoutsArgs
{
Create = "string",
Update = "string",
},
HaReplicationMode = "string",
BackupStrategy = new Opentelekomcloud.Inputs.RdsInstanceV3BackupStrategyArgs
{
StartTime = "string",
KeepDays = 0,
Period = "string",
},
});
example, err := opentelekomcloud.NewRdsInstanceV3(ctx, "rdsInstanceV3Resource", &opentelekomcloud.RdsInstanceV3Args{
SecurityGroupId: pulumi.String("string"),
VpcId: pulumi.String("string"),
Db: &opentelekomcloud.RdsInstanceV3DbArgs{
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
Type: pulumi.String("string"),
UserName: pulumi.String("string"),
Version: pulumi.String("string"),
},
Flavor: pulumi.String("string"),
Volume: &opentelekomcloud.RdsInstanceV3VolumeArgs{
Size: pulumi.Float64(0),
Type: pulumi.String("string"),
DiskEncryptionId: pulumi.String("string"),
LimitSize: pulumi.Float64(0),
TriggerThreshold: pulumi.Float64(0),
},
AvailabilityZone: pulumi.StringArray{
pulumi.String("string"),
},
SubnetId: pulumi.String("string"),
LowerCaseTableNames: pulumi.String("string"),
SslEnable: pulumi.Bool(false),
PublicIps: pulumi.StringArray{
pulumi.String("string"),
},
RdsInstanceV3Id: pulumi.String("string"),
RestorePoint: &opentelekomcloud.RdsInstanceV3RestorePointArgs{
InstanceId: pulumi.String("string"),
BackupId: pulumi.String("string"),
RestoreTime: pulumi.Float64(0),
},
ParamGroupId: pulumi.String("string"),
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.RdsInstanceV3TimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
HaReplicationMode: pulumi.String("string"),
BackupStrategy: &opentelekomcloud.RdsInstanceV3BackupStrategyArgs{
StartTime: pulumi.String("string"),
KeepDays: pulumi.Float64(0),
Period: pulumi.String("string"),
},
})
var rdsInstanceV3Resource = new RdsInstanceV3("rdsInstanceV3Resource", RdsInstanceV3Args.builder()
.securityGroupId("string")
.vpcId("string")
.db(RdsInstanceV3DbArgs.builder()
.password("string")
.port(0)
.type("string")
.userName("string")
.version("string")
.build())
.flavor("string")
.volume(RdsInstanceV3VolumeArgs.builder()
.size(0)
.type("string")
.diskEncryptionId("string")
.limitSize(0)
.triggerThreshold(0)
.build())
.availabilityZone("string")
.subnetId("string")
.lowerCaseTableNames("string")
.sslEnable(false)
.publicIps("string")
.rdsInstanceV3Id("string")
.restorePoint(RdsInstanceV3RestorePointArgs.builder()
.instanceId("string")
.backupId("string")
.restoreTime(0)
.build())
.paramGroupId("string")
.parameters(Map.of("string", "string"))
.name("string")
.tags(Map.of("string", "string"))
.timeouts(RdsInstanceV3TimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.haReplicationMode("string")
.backupStrategy(RdsInstanceV3BackupStrategyArgs.builder()
.startTime("string")
.keepDays(0)
.period("string")
.build())
.build());
rds_instance_v3_resource = opentelekomcloud.RdsInstanceV3("rdsInstanceV3Resource",
security_group_id="string",
vpc_id="string",
db={
"password": "string",
"port": 0,
"type": "string",
"user_name": "string",
"version": "string",
},
flavor="string",
volume={
"size": 0,
"type": "string",
"disk_encryption_id": "string",
"limit_size": 0,
"trigger_threshold": 0,
},
availability_zone=["string"],
subnet_id="string",
lower_case_table_names="string",
ssl_enable=False,
public_ips=["string"],
rds_instance_v3_id="string",
restore_point={
"instance_id": "string",
"backup_id": "string",
"restore_time": 0,
},
param_group_id="string",
parameters={
"string": "string",
},
name="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"update": "string",
},
ha_replication_mode="string",
backup_strategy={
"start_time": "string",
"keep_days": 0,
"period": "string",
})
const rdsInstanceV3Resource = new opentelekomcloud.RdsInstanceV3("rdsInstanceV3Resource", {
securityGroupId: "string",
vpcId: "string",
db: {
password: "string",
port: 0,
type: "string",
userName: "string",
version: "string",
},
flavor: "string",
volume: {
size: 0,
type: "string",
diskEncryptionId: "string",
limitSize: 0,
triggerThreshold: 0,
},
availabilityZone: ["string"],
subnetId: "string",
lowerCaseTableNames: "string",
sslEnable: false,
publicIps: ["string"],
rdsInstanceV3Id: "string",
restorePoint: {
instanceId: "string",
backupId: "string",
restoreTime: 0,
},
paramGroupId: "string",
parameters: {
string: "string",
},
name: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
update: "string",
},
haReplicationMode: "string",
backupStrategy: {
startTime: "string",
keepDays: 0,
period: "string",
},
});
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZone:
- string
backupStrategy:
keepDays: 0
period: string
startTime: string
db:
password: string
port: 0
type: string
userName: string
version: string
flavor: string
haReplicationMode: string
lowerCaseTableNames: string
name: string
paramGroupId: string
parameters:
string: string
publicIps:
- string
rdsInstanceV3Id: string
restorePoint:
backupId: string
instanceId: string
restoreTime: 0
securityGroupId: string
sslEnable: false
subnetId: string
tags:
string: string
timeouts:
create: string
update: string
volume:
diskEncryptionId: string
limitSize: 0
size: 0
triggerThreshold: 0
type: string
vpcId: string
RdsInstanceV3 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 RdsInstanceV3 resource accepts the following input properties:
- Availability
Zone List<string> - Specifies the AZ name. Changing this parameter will create a new resource.
- Db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - Security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- Subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- Volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- Lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Param
Group stringId - Specifies the parameter group ID.
- Parameters Dictionary<string, string>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- Public
Ips List<string> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- Rds
Instance stringV3Id - Indicates the node ID.
- Restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - Restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Tag Dictionary<string, string>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
Rds
Instance V3Timeouts
- Availability
Zone []string - Specifies the AZ name. Changing this parameter will create a new resource.
- Db
Rds
Instance V3Db Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - Security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- Subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- Volume
Rds
Instance V3Volume Args - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Backup
Strategy RdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- Lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Param
Group stringId - Specifies the parameter group ID.
- Parameters map[string]string
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- Public
Ips []string Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- Rds
Instance stringV3Id - Indicates the node ID.
- Restore
From RdsBackup Instance V3Restore From Backup Args - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - Restore
Point RdsInstance V3Restore Point Args - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Tag map[string]string
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
Rds
Instance V3Timeouts Args
- availability
Zone List<String> - Specifies the AZ name. Changing this parameter will create a new resource.
- db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor String
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - security
Group StringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- subnet
Id String - Specifies the subnet id. Changing this parameter will create a new resource.
- volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- ha
Replication StringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case StringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- param
Group StringId - Specifies the parameter group ID.
- parameters Map<String,String>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- public
Ips List<String> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance StringV3Id - Indicates the node ID.
- restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- tag Map<String,String>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts
- availability
Zone string[] - Specifies the AZ name. Changing this parameter will create a new resource.
- db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- param
Group stringId - Specifies the parameter group ID.
- parameters {[key: string]: string}
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- public
Ips string[] Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance stringV3Id - Indicates the node ID.
- restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- ssl
Enable boolean - Specifies whether SSL should be enabled for MySql instances.
- tag {[key: string]: string}
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts
- availability_
zone Sequence[str] - Specifies the AZ name. Changing this parameter will create a new resource.
- db
Rds
Instance V3Db Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor str
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - security_
group_ strid - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- subnet_
id str - Specifies the subnet id. Changing this parameter will create a new resource.
- volume
Rds
Instance V3Volume Args - Specifies the volume information. Structure is documented below.
- vpc_
id str - Specifies the VPC ID. Changing this parameter will create a new resource.
- backup_
strategy RdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- ha_
replication_ strmode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower_
case_ strtable_ names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name str
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- param_
group_ strid - Specifies the parameter group ID.
- parameters Mapping[str, str]
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- public_
ips Sequence[str] Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds_
instance_ strv3_ id - Indicates the node ID.
- restore_
from_ Rdsbackup Instance V3Restore From Backup Args - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore_
point RdsInstance V3Restore Point Args - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- ssl_
enable bool - Specifies whether SSL should be enabled for MySql instances.
- tag Mapping[str, str]
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts Args
- availability
Zone List<String> - Specifies the AZ name. Changing this parameter will create a new resource.
- db Property Map
- Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor String
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - security
Group StringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- subnet
Id String - Specifies the subnet id. Changing this parameter will create a new resource.
- volume Property Map
- Specifies the volume information. Structure is documented below.
- 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.
- ha
Replication StringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case StringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- param
Group StringId - Specifies the parameter group ID.
- parameters Map<String>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- public
Ips List<String> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance StringV3Id - Indicates the node ID.
- restore
From Property MapBackup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point Property Map - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- tag Map<String>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the RdsInstanceV3 resource produces the following output properties:
- Autoscaling
Enabled bool - Indicates whether autoscaling was enabled for this resource.
- Availability
Zones List<string> - Indicates the instance AZs.
- Created string
- Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
List<Rds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- Private
Ips List<string> - Indicates the private IP address list. It is a blank string until an ECS is created.
- Restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
- Autoscaling
Enabled bool - Indicates whether autoscaling was enabled for this resource.
- Availability
Zones []string - Indicates the instance AZs.
- Created string
- Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
[]Rds
Instance V3Node - Indicates the instance nodes information. Structure is documented below.
- Private
Ips []string - Indicates the private IP address list. It is a blank string until an ECS is created.
- Restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
- autoscaling
Enabled Boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zones List<String> - Indicates the instance AZs.
- created String
- Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes
List<Rds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- private
Ips List<String> - Indicates the private IP address list. It is a blank string until an ECS is created.
- restored
Backup StringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
- autoscaling
Enabled boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zones string[] - Indicates the instance AZs.
- created string
- Indicates the creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- nodes
Rds
Instance V3Node[] - Indicates the instance nodes information. Structure is documented below.
- private
Ips string[] - Indicates the private IP address list. It is a blank string until an ECS is created.
- restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
- autoscaling_
enabled bool - Indicates whether autoscaling was enabled for this resource.
- availability_
zones Sequence[str] - Indicates the instance AZs.
- created str
- Indicates the creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- nodes
Sequence[Rds
Instance V3Node] - Indicates the instance nodes information. Structure is documented below.
- private_
ips Sequence[str] - Indicates the private IP address list. It is a blank string until an ECS is created.
- restored_
backup_ strid - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
- autoscaling
Enabled Boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zones List<String> - Indicates the instance AZs.
- created String
- Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- private
Ips List<String> - Indicates the private IP address list. It is a blank string until an ECS is created.
- restored
Backup StringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block.
Look up Existing RdsInstanceV3 Resource
Get an existing RdsInstanceV3 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?: RdsInstanceV3State, opts?: CustomResourceOptions): RdsInstanceV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
autoscaling_enabled: Optional[bool] = None,
availability_zone: Optional[Sequence[str]] = None,
availability_zones: Optional[Sequence[str]] = None,
backup_strategy: Optional[RdsInstanceV3BackupStrategyArgs] = None,
created: Optional[str] = None,
db: Optional[RdsInstanceV3DbArgs] = None,
flavor: Optional[str] = None,
ha_replication_mode: Optional[str] = None,
lower_case_table_names: Optional[str] = None,
name: Optional[str] = None,
nodes: Optional[Sequence[RdsInstanceV3NodeArgs]] = None,
param_group_id: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
private_ips: Optional[Sequence[str]] = None,
public_ips: Optional[Sequence[str]] = None,
rds_instance_v3_id: Optional[str] = None,
restore_from_backup: Optional[RdsInstanceV3RestoreFromBackupArgs] = None,
restore_point: Optional[RdsInstanceV3RestorePointArgs] = None,
restored_backup_id: Optional[str] = None,
security_group_id: Optional[str] = None,
ssl_enable: Optional[bool] = None,
subnet_id: Optional[str] = None,
tag: Optional[Mapping[str, str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[RdsInstanceV3TimeoutsArgs] = None,
volume: Optional[RdsInstanceV3VolumeArgs] = None,
vpc_id: Optional[str] = None) -> RdsInstanceV3
func GetRdsInstanceV3(ctx *Context, name string, id IDInput, state *RdsInstanceV3State, opts ...ResourceOption) (*RdsInstanceV3, error)
public static RdsInstanceV3 Get(string name, Input<string> id, RdsInstanceV3State? state, CustomResourceOptions? opts = null)
public static RdsInstanceV3 get(String name, Output<String> id, RdsInstanceV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:RdsInstanceV3 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.
- Autoscaling
Enabled bool - Indicates whether autoscaling was enabled for this resource.
- Availability
Zone List<string> - Specifies the AZ name. Changing this parameter will create a new resource.
- Availability
Zones List<string> - Indicates the instance AZs.
- Backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- Created string
- Indicates the creation time.
- Db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - Ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- Lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Nodes
List<Rds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- Param
Group stringId - Specifies the parameter group ID.
- Parameters Dictionary<string, string>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- Private
Ips List<string> - Indicates the private IP address list. It is a blank string until an ECS is created.
- Public
Ips List<string> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- Rds
Instance stringV3Id - Indicates the node ID.
- Restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - Restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- Restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - Security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- Tag Dictionary<string, string>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
Rds
Instance V3Timeouts - Volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- Autoscaling
Enabled bool - Indicates whether autoscaling was enabled for this resource.
- Availability
Zone []string - Specifies the AZ name. Changing this parameter will create a new resource.
- Availability
Zones []string - Indicates the instance AZs.
- Backup
Strategy RdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- Created string
- Indicates the creation time.
- Db
Rds
Instance V3Db Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- Flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - Ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- Lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Nodes
[]Rds
Instance V3Node Args - Indicates the instance nodes information. Structure is documented below.
- Param
Group stringId - Specifies the parameter group ID.
- Parameters map[string]string
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- Private
Ips []string - Indicates the private IP address list. It is a blank string until an ECS is created.
- Public
Ips []string Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- Rds
Instance stringV3Id - Indicates the node ID.
- Restore
From RdsBackup Instance V3Restore From Backup Args - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - Restore
Point RdsInstance V3Restore Point Args - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- Restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - Security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- Tag map[string]string
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
Rds
Instance V3Timeouts Args - Volume
Rds
Instance V3Volume Args - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- autoscaling
Enabled Boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zone List<String> - Specifies the AZ name. Changing this parameter will create a new resource.
- availability
Zones List<String> - Indicates the instance AZs.
- backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- created String
- Indicates the creation time.
- db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor String
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - ha
Replication StringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case StringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- nodes
List<Rds
Instance V3Node> - Indicates the instance nodes information. Structure is documented below.
- param
Group StringId - Specifies the parameter group ID.
- parameters Map<String,String>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- private
Ips List<String> - Indicates the private IP address list. It is a blank string until an ECS is created.
- public
Ips List<String> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance StringV3Id - Indicates the node ID.
- restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- restored
Backup StringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - security
Group StringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id String - Specifies the subnet id. Changing this parameter will create a new resource.
- tag Map<String,String>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts - volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
- autoscaling
Enabled boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zone string[] - Specifies the AZ name. Changing this parameter will create a new resource.
- availability
Zones string[] - Indicates the instance AZs.
- backup
Strategy RdsInstance V3Backup Strategy - Specifies the advanced backup policy. Structure is documented below.
- created string
- Indicates the creation time.
- db
Rds
Instance V3Db - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor string
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - ha
Replication stringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case stringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- nodes
Rds
Instance V3Node[] - Indicates the instance nodes information. Structure is documented below.
- param
Group stringId - Specifies the parameter group ID.
- parameters {[key: string]: string}
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- private
Ips string[] - Indicates the private IP address list. It is a blank string until an ECS is created.
- public
Ips string[] Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance stringV3Id - Indicates the node ID.
- restore
From RdsBackup Instance V3Restore From Backup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point RdsInstance V3Restore Point - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- restored
Backup stringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - security
Group stringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- ssl
Enable boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id string - Specifies the subnet id. Changing this parameter will create a new resource.
- tag {[key: string]: string}
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts - volume
Rds
Instance V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id string - Specifies the VPC ID. Changing this parameter will create a new resource.
- autoscaling_
enabled bool - Indicates whether autoscaling was enabled for this resource.
- availability_
zone Sequence[str] - Specifies the AZ name. Changing this parameter will create a new resource.
- availability_
zones Sequence[str] - Indicates the instance AZs.
- backup_
strategy RdsInstance V3Backup Strategy Args - Specifies the advanced backup policy. Structure is documented below.
- created str
- Indicates the creation time.
- db
Rds
Instance V3Db Args - Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor str
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - ha_
replication_ strmode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower_
case_ strtable_ names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name str
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- nodes
Sequence[Rds
Instance V3Node Args] - Indicates the instance nodes information. Structure is documented below.
- param_
group_ strid - Specifies the parameter group ID.
- parameters Mapping[str, str]
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- private_
ips Sequence[str] - Indicates the private IP address list. It is a blank string until an ECS is created.
- public_
ips Sequence[str] Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds_
instance_ strv3_ id - Indicates the node ID.
- restore_
from_ Rdsbackup Instance V3Restore From Backup Args - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore_
point RdsInstance V3Restore Point Args - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- restored_
backup_ strid - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - security_
group_ strid - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- ssl_
enable bool - Specifies whether SSL should be enabled for MySql instances.
- subnet_
id str - Specifies the subnet id. Changing this parameter will create a new resource.
- tag Mapping[str, str]
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
Rds
Instance V3Timeouts Args - volume
Rds
Instance V3Volume Args - Specifies the volume information. Structure is documented below.
- vpc_
id str - Specifies the VPC ID. Changing this parameter will create a new resource.
- autoscaling
Enabled Boolean - Indicates whether autoscaling was enabled for this resource.
- availability
Zone List<String> - Specifies the AZ name. Changing this parameter will create a new resource.
- availability
Zones List<String> - Indicates the instance AZs.
- backup
Strategy Property Map - Specifies the advanced backup policy. Structure is documented below.
- created String
- Indicates the creation time.
- db Property Map
- Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.
- flavor String
- Specifies the specification code.
Use data source opentelekomcloud.getRdsFlavorsV3 to get a list of available flavor names.
Examples could be
rds.pg.n1.large.4
orrds.pg.x1.8xlarge.4.ha
for HA clusters. - ha
Replication StringMode Specifies the replication mode for the standby DB instance. For MySQL, the value is async or semisync. For PostgreSQL, the value is async or sync. For Microsoft SQL Server, the value is sync. Parameter is required for HA clusters.
async
indicates the asynchronous replication mode.semisync
indicates the semi-synchronous replication mode.sync
indicates the synchronous replication mode. Changing this parameter will create a new resource.- lower
Case StringTable Names - Specifies the case-sensitive state of the database table name,
the default value is "1". Changing this parameter will create a new resource.
- 0: Table names are stored as fixed and table names are case-sensitive.
- 1: Table names will be stored in lower case and table names are not case-sensitive.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- param
Group StringId - Specifies the parameter group ID.
- parameters Map<String>
- Map of additional configuration parameters. Values should be strings. Parameters set here overrides values from configuration template (parameter group).
- private
Ips List<String> - Indicates the private IP address list. It is a blank string until an ECS is created.
- public
Ips List<String> Specifies floating IP to be assigned to the instance. This should be a list with single element only.
Setting public IP is done with assigning floating IP to internally created port. So RDS itself doesn't know about this assignment. This assignment won't show on the console. This argument will be ignored in future when RDSv3 API for EIP assignment will be implemented.
- rds
Instance StringV3Id - Indicates the node ID.
- restore
From Property MapBackup - DEPRECATED - (Optional) Specifies whether to restore database to an instance described in current resource.
Structure is documented below.
Please use alternative parameter
restore_point
. - restore
Point Property Map - Specifies the restoration information. By selecting this option you can either create a new RDS instance or restore backup from existing one. Structure is documented below.
- restored
Backup StringId - Indicates the backup ID in cases when instance was restored by using
restore_from_backup
block. - security
Group StringId - Specifies the security group which the RDS DB instance belongs to. Changing this parameter will create a new resource.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id String - Specifies the subnet id. Changing this parameter will create a new resource.
- tag Map<String>
- Tags key/value pairs to associate with the instance. Deprecated, please use
the
tags
instead. - Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
- volume Property Map
- Specifies the volume information. Structure is documented below.
- vpc
Id String - Specifies the VPC ID. Changing this parameter will create a new resource.
Supporting Types
RdsInstanceV3BackupStrategy, RdsInstanceV3BackupStrategyArgs
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- Keep
Days double - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- Period string
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- Keep
Days float64 - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- Period string
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- keep
Days Double - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- period String
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- keep
Days number - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- period string
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- keep_
days float - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- period str
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
- 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 any of the following: 00, 15, 30, or 45. Example value: 08:15-09:15 23:00-00:00.
- keep
Days Number - Specifies the retention days for specific backup files. The value range is from 0 to 732. If this parameter is not specified or set to 0, the automated backup policy is disabled. NOTICE: Primary/standby DB instances of Microsoft SQL Server do not support disabling the automated backup policy.
- period String
- Specifies the backup cycle configuration. Data will be automatically backed up on the selected days every week.
This parameter is mandatory except that the automated backup policy is disabled.
Value range: The value is digits separated by commas (,), indicating the day of the week and starting from Monday.
For example, the value
1,2,3,4
indicates that the backup period is Monday, Tuesday, Wednesday, and Thursday.
RdsInstanceV3Db, RdsInstanceV3DbArgs
- Password string
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- Port double
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- Type string
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- User
Name string - Indicates the default user name of database.
- Version string
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
- Password string
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- Port float64
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- Type string
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- User
Name string - Indicates the default user name of database.
- Version string
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
- password String
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- port Double
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- type String
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- user
Name String - Indicates the default user name of database.
- version String
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
- password string
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- port number
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- type string
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- user
Name string - Indicates the default user name of database.
- version string
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
- password str
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- port float
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- type str
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- user_
name str - Indicates the default user name of database.
- version str
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
- password String
- Specifies the database password. The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. Changing this parameter will create a new resource.
- port Number
- Specifies the database port information. The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used). The PostgreSQL database port ranges from 2100 to 9500. The Microsoft SQL Server database port can be 1433 or ranges from 2100 to 9500, excluding 5355 and 5985. If this parameter is not set, the default value is as follows: For MySQL, the default value is 3306. For PostgreSQL, the default value is 5432. For Microsoft SQL Server, the default value is 1433. Changing this parameter will create a new resource.
- type String
- Specifies the DB engine. Value: MySQL, PostgreSQL, SQLServer. Changing this parameter will create a new resource.
- user
Name String - Indicates the default user name of database.
- version String
- Specifies the database version.
- MySQL: 8.0, 5.7, and 5.6
- PostgreSQL: 11 through 16
- Microsoft SQL Server: 2017 (Enterprise/Standard) through 2022 (Enterprise/Standard) Changing this parameter will create a new resource.
RdsInstanceV3Node, RdsInstanceV3NodeArgs
- Availability
Zone string - Specifies the AZ name. Changing this parameter will create a new resource.
- Id string
- Indicates the node ID.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Role string
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- Status string
- Indicates the node status.
- Availability
Zone string - Specifies the AZ name. Changing this parameter will create a new resource.
- Id string
- Indicates the node ID.
- Name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- Role string
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- Status string
- Indicates the node status.
- availability
Zone String - Specifies the AZ name. Changing this parameter will create a new resource.
- id String
- Indicates the node ID.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- role String
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- status String
- Indicates the node status.
- availability
Zone string - Specifies the AZ name. Changing this parameter will create a new resource.
- id string
- Indicates the node ID.
- name string
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- role string
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- status string
- Indicates the node status.
- availability_
zone str - Specifies the AZ name. Changing this parameter will create a new resource.
- id str
- Indicates the node ID.
- name str
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- role str
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- status str
- Indicates the node status.
- availability
Zone String - Specifies the AZ name. Changing this parameter will create a new resource.
- id String
- Indicates the node ID.
- name String
- Specifies the DB instance name. The DB instance name of the same type must be unique for the same tenant. 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 (_).
- role String
- Indicates the node type. The value can be master or slave, indicating the primary node or standby node respectively.
- status String
- Indicates the node status.
RdsInstanceV3RestoreFromBackup, RdsInstanceV3RestoreFromBackupArgs
- Source
Instance stringId - Specifies the source instance ID.
- Type string
- Specifies the restoration mode. The values can be:
- Backup
Id string - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- Restore
Time double Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- Source
Instance stringId - Specifies the source instance ID.
- Type string
- Specifies the restoration mode. The values can be:
- Backup
Id string - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- Restore
Time float64 Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- source
Instance StringId - Specifies the source instance ID.
- type String
- Specifies the restoration mode. The values can be:
- backup
Id String - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- restore
Time Double Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- source
Instance stringId - Specifies the source instance ID.
- type string
- Specifies the restoration mode. The values can be:
- backup
Id string - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- restore
Time number Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- source_
instance_ strid - Specifies the source instance ID.
- type str
- Specifies the restoration mode. The values can be:
- backup_
id str - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- restore_
time float Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- source
Instance StringId - Specifies the source instance ID.
- type String
- Specifies the restoration mode. The values can be:
- backup
Id String - Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.
- restore
Time Number Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
RdsInstanceV3RestorePoint, RdsInstanceV3RestorePointArgs
- Instance
Id string - Specifies the original DB instance ID.
- Backup
Id string - Specifies the ID of the backup used to restore data.
- Restore
Time double Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- Instance
Id string - Specifies the original DB instance ID.
- Backup
Id string - Specifies the ID of the backup used to restore data.
- Restore
Time float64 Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- instance
Id String - Specifies the original DB instance ID.
- backup
Id String - Specifies the ID of the backup used to restore data.
- restore
Time Double Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- instance
Id string - Specifies the original DB instance ID.
- backup
Id string - Specifies the ID of the backup used to restore data.
- restore
Time number Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- instance_
id str - Specifies the original DB instance ID.
- backup_
id str - Specifies the ID of the backup used to restore data.
- restore_
time float Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
- instance
Id String - Specifies the original DB instance ID.
- backup
Id String - Specifies the ID of the backup used to restore data.
- restore
Time Number Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.
Exactly one of
backup_id
andrestore_time
needs to be set.
RdsInstanceV3Timeouts, RdsInstanceV3TimeoutsArgs
RdsInstanceV3Volume, RdsInstanceV3VolumeArgs
- Size double
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- Type string
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- Disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- Limit
Size double - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - Trigger
Threshold double - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
- Size float64
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- Type string
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- Disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- Limit
Size float64 - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - Trigger
Threshold float64 - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
- size Double
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- type String
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- disk
Encryption StringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- limit
Size Double - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - trigger
Threshold Double - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
- size number
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- type string
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- limit
Size number - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - trigger
Threshold number - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
- size float
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- type str
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- disk_
encryption_ strid - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- limit_
size float - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - trigger_
threshold float - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
- size Number
- Specifies the volume size. Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10. Changing this resize the volume.
- type String
Specifies the volume type. Changing this resize the volume. Its value can be any of the following and is case-sensitive:
- COMMON: SATA storage.
- ULTRAHIGH: ultra-high I/O storage.
- CLOUDSSD: cloud SSD storage.
- ESSD: extreme SSD storage.
Note The MySQL and PostgreSQL DB engines support the following volume types: CLOUDSSD and ESSD. ESSD is not supported for Single instance types for MySQL and PostgreSQL. The SQL Server engine supports the following volume types: COMMON, ULTRAHIGH, and ESSD.
Warning Specifying both
limit_size
andtrigger_threshold
will enable autoscaling for RDS instance. Once autoscaling is activated, thesize
parameter for the volume will be ignored to prevent discrepancies between configuration and actual state.- disk
Encryption StringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- limit
Size Number - Specifies the upper limit of automatic expansion of storage, in GB.
The value ranges from 40 GB to 4,000 GB and must be no less than the current storage of the instance.
If this parameter is configured,
trigger_threshold
is mandatory. - trigger
Threshold Number - Specifies the threshold to trigger automatic expansion.
If this parameter is configured,
limit_size
is mandatory. If the available storage drops to this threshold or10
GB, the automatic expansion is triggered. The valid values are as follows:- 10
- 15
- 20
Import
RDS instance can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/rdsInstanceV3:RdsInstanceV3 instance_1 7117d38e-4c8f-4624-a505-bd96b97d024c
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.