opentelekomcloud.RdsReadReplicaV3
Explore with Pulumi AI
Up-to-date reference of API arguments for RDS replica you can get at documentation portal
Manages a RDSv3 read replica resource within OpenTelekomCloud.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
instance:
type: opentelekomcloud:RdsInstanceV3
properties:
availabilityZones: ${var.az_main}
db:
password: ${var.db_password}
type: PostgreSQL
version: '16'
port: '8635'
securityGroupId: ${var.sg_id}
subnetId: ${var.os_network_id}
vpcId: ${var.os_router_id}
flavor: rds.pg.n1.medium.4.rr
volume:
type: CLOUDSSD
size: 40
backupStrategy:
startTime: 08:00-09:00
keepDays: 1
tag:
created: terraform
replica:
type: opentelekomcloud:RdsReadReplicaV3
properties:
replicaOfId: ${instance.rdsInstanceV3Id}
flavorRef: ${instance.flavor}.rr
availabilityZone: ${var.az_replica}
volume:
type: CLOUDSSD
Create RdsReadReplicaV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RdsReadReplicaV3(name: string, args: RdsReadReplicaV3Args, opts?: CustomResourceOptions);
@overload
def RdsReadReplicaV3(resource_name: str,
args: RdsReadReplicaV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def RdsReadReplicaV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor_ref: Optional[str] = None,
replica_of_id: Optional[str] = None,
volume: Optional[RdsReadReplicaV3VolumeArgs] = None,
availability_zone: Optional[str] = None,
name: Optional[str] = None,
public_ips: Optional[Sequence[str]] = None,
rds_read_replica_v3_id: Optional[str] = None,
region: Optional[str] = None,
ssl_enable: Optional[bool] = None,
timeouts: Optional[RdsReadReplicaV3TimeoutsArgs] = None)
func NewRdsReadReplicaV3(ctx *Context, name string, args RdsReadReplicaV3Args, opts ...ResourceOption) (*RdsReadReplicaV3, error)
public RdsReadReplicaV3(string name, RdsReadReplicaV3Args args, CustomResourceOptions? opts = null)
public RdsReadReplicaV3(String name, RdsReadReplicaV3Args args)
public RdsReadReplicaV3(String name, RdsReadReplicaV3Args args, CustomResourceOptions options)
type: opentelekomcloud:RdsReadReplicaV3
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 RdsReadReplicaV3Args
- 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 RdsReadReplicaV3Args
- 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 RdsReadReplicaV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RdsReadReplicaV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RdsReadReplicaV3Args
- 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 rdsReadReplicaV3Resource = new Opentelekomcloud.RdsReadReplicaV3("rdsReadReplicaV3Resource", new()
{
FlavorRef = "string",
ReplicaOfId = "string",
Volume = new Opentelekomcloud.Inputs.RdsReadReplicaV3VolumeArgs
{
Type = "string",
DiskEncryptionId = "string",
Size = 0,
},
AvailabilityZone = "string",
Name = "string",
PublicIps = new[]
{
"string",
},
RdsReadReplicaV3Id = "string",
Region = "string",
SslEnable = false,
Timeouts = new Opentelekomcloud.Inputs.RdsReadReplicaV3TimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewRdsReadReplicaV3(ctx, "rdsReadReplicaV3Resource", &opentelekomcloud.RdsReadReplicaV3Args{
FlavorRef: pulumi.String("string"),
ReplicaOfId: pulumi.String("string"),
Volume: &opentelekomcloud.RdsReadReplicaV3VolumeArgs{
Type: pulumi.String("string"),
DiskEncryptionId: pulumi.String("string"),
Size: pulumi.Float64(0),
},
AvailabilityZone: pulumi.String("string"),
Name: pulumi.String("string"),
PublicIps: pulumi.StringArray{
pulumi.String("string"),
},
RdsReadReplicaV3Id: pulumi.String("string"),
Region: pulumi.String("string"),
SslEnable: pulumi.Bool(false),
Timeouts: &opentelekomcloud.RdsReadReplicaV3TimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var rdsReadReplicaV3Resource = new RdsReadReplicaV3("rdsReadReplicaV3Resource", RdsReadReplicaV3Args.builder()
.flavorRef("string")
.replicaOfId("string")
.volume(RdsReadReplicaV3VolumeArgs.builder()
.type("string")
.diskEncryptionId("string")
.size(0)
.build())
.availabilityZone("string")
.name("string")
.publicIps("string")
.rdsReadReplicaV3Id("string")
.region("string")
.sslEnable(false)
.timeouts(RdsReadReplicaV3TimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
rds_read_replica_v3_resource = opentelekomcloud.RdsReadReplicaV3("rdsReadReplicaV3Resource",
flavor_ref="string",
replica_of_id="string",
volume={
"type": "string",
"disk_encryption_id": "string",
"size": 0,
},
availability_zone="string",
name="string",
public_ips=["string"],
rds_read_replica_v3_id="string",
region="string",
ssl_enable=False,
timeouts={
"create": "string",
"update": "string",
})
const rdsReadReplicaV3Resource = new opentelekomcloud.RdsReadReplicaV3("rdsReadReplicaV3Resource", {
flavorRef: "string",
replicaOfId: "string",
volume: {
type: "string",
diskEncryptionId: "string",
size: 0,
},
availabilityZone: "string",
name: "string",
publicIps: ["string"],
rdsReadReplicaV3Id: "string",
region: "string",
sslEnable: false,
timeouts: {
create: "string",
update: "string",
},
});
type: opentelekomcloud:RdsReadReplicaV3
properties:
availabilityZone: string
flavorRef: string
name: string
publicIps:
- string
rdsReadReplicaV3Id: string
region: string
replicaOfId: string
sslEnable: false
timeouts:
create: string
update: string
volume:
diskEncryptionId: string
size: 0
type: string
RdsReadReplicaV3 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 RdsReadReplicaV3 resource accepts the following input properties:
- Flavor
Ref string - Replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- Volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- Availability
Zone string - Name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - Public
Ips List<string> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- Rds
Read stringReplica V3Id - ID of the read replica instance.
- Region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Timeouts
Rds
Read Replica V3Timeouts
- Flavor
Ref string - Replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- Volume
Rds
Read Replica V3Volume Args - Specifies the volume information. Structure is documented below.
- Availability
Zone string - Name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - Public
Ips []string - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- Rds
Read stringReplica V3Id - ID of the read replica instance.
- Region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Timeouts
Rds
Read Replica V3Timeouts Args
- flavor
Ref String - replica
Of StringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- availability
Zone String - name String
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - public
Ips List<String> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read StringReplica V3Id - ID of the read replica instance.
- region String
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- timeouts
Rds
Read Replica V3Timeouts
- flavor
Ref string - replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- availability
Zone string - name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - public
Ips string[] - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read stringReplica V3Id - ID of the read replica instance.
- region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- ssl
Enable boolean - Specifies whether SSL should be enabled for MySql instances.
- timeouts
Rds
Read Replica V3Timeouts
- flavor_
ref str - replica_
of_ strid - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- volume
Rds
Read Replica V3Volume Args - Specifies the volume information. Structure is documented below.
- availability_
zone str - name str
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - public_
ips Sequence[str] - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds_
read_ strreplica_ v3_ id - ID of the read replica instance.
- region str
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- ssl_
enable bool - Specifies whether SSL should be enabled for MySql instances.
- timeouts
Rds
Read Replica V3Timeouts Args
- flavor
Ref String - replica
Of StringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- volume Property Map
- Specifies the volume information. Structure is documented below.
- availability
Zone String - name String
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - public
Ips List<String> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read StringReplica V3Id - ID of the read replica instance.
- region String
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the RdsReadReplicaV3 resource produces the following output properties:
- Dbs
List<Rds
Read Replica V3Db> - Indicates the database information. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ips List<string> - Indicates the private IP address list.
- Security
Group stringId - Indicates the security group which the replica instance belongs to.
- Subnet
Id string - Indicates the subnet id (OpenStack network ID).
- Vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- Dbs
[]Rds
Read Replica V3Db - Indicates the database information. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ips []string - Indicates the private IP address list.
- Security
Group stringId - Indicates the security group which the replica instance belongs to.
- Subnet
Id string - Indicates the subnet id (OpenStack network ID).
- Vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- dbs
List<Rds
Read Replica V3Db> - Indicates the database information. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ips List<String> - Indicates the private IP address list.
- security
Group StringId - Indicates the security group which the replica instance belongs to.
- subnet
Id String - Indicates the subnet id (OpenStack network ID).
- vpc
Id String - Indicates the VPC ID (OpenStack router ID).
- dbs
Rds
Read Replica V3Db[] - Indicates the database information. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Ips string[] - Indicates the private IP address list.
- security
Group stringId - Indicates the security group which the replica instance belongs to.
- subnet
Id string - Indicates the subnet id (OpenStack network ID).
- vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- dbs
Sequence[Rds
Read Replica V3Db] - Indicates the database information. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
ips Sequence[str] - Indicates the private IP address list.
- security_
group_ strid - Indicates the security group which the replica instance belongs to.
- subnet_
id str - Indicates the subnet id (OpenStack network ID).
- vpc_
id str - Indicates the VPC ID (OpenStack router ID).
- dbs List<Property Map>
- Indicates the database information. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ips List<String> - Indicates the private IP address list.
- security
Group StringId - Indicates the security group which the replica instance belongs to.
- subnet
Id String - Indicates the subnet id (OpenStack network ID).
- vpc
Id String - Indicates the VPC ID (OpenStack router ID).
Look up Existing RdsReadReplicaV3 Resource
Get an existing RdsReadReplicaV3 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?: RdsReadReplicaV3State, opts?: CustomResourceOptions): RdsReadReplicaV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
dbs: Optional[Sequence[RdsReadReplicaV3DbArgs]] = None,
flavor_ref: Optional[str] = None,
name: Optional[str] = None,
private_ips: Optional[Sequence[str]] = None,
public_ips: Optional[Sequence[str]] = None,
rds_read_replica_v3_id: Optional[str] = None,
region: Optional[str] = None,
replica_of_id: Optional[str] = None,
security_group_id: Optional[str] = None,
ssl_enable: Optional[bool] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[RdsReadReplicaV3TimeoutsArgs] = None,
volume: Optional[RdsReadReplicaV3VolumeArgs] = None,
vpc_id: Optional[str] = None) -> RdsReadReplicaV3
func GetRdsReadReplicaV3(ctx *Context, name string, id IDInput, state *RdsReadReplicaV3State, opts ...ResourceOption) (*RdsReadReplicaV3, error)
public static RdsReadReplicaV3 Get(string name, Input<string> id, RdsReadReplicaV3State? state, CustomResourceOptions? opts = null)
public static RdsReadReplicaV3 get(String name, Output<String> id, RdsReadReplicaV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:RdsReadReplicaV3 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Availability
Zone string - Dbs
List<Rds
Read Replica V3Db> - Indicates the database information. Structure is documented below.
- Flavor
Ref string - Name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - Private
Ips List<string> - Indicates the private IP address list.
- Public
Ips List<string> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- Rds
Read stringReplica V3Id - ID of the read replica instance.
- Region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- Replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- Security
Group stringId - Indicates the security group which the replica instance belongs to.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Subnet
Id string - Indicates the subnet id (OpenStack network ID).
- Timeouts
Rds
Read Replica V3Timeouts - Volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- Availability
Zone string - Dbs
[]Rds
Read Replica V3Db Args - Indicates the database information. Structure is documented below.
- Flavor
Ref string - Name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - Private
Ips []string - Indicates the private IP address list.
- Public
Ips []string - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- Rds
Read stringReplica V3Id - ID of the read replica instance.
- Region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- Replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- Security
Group stringId - Indicates the security group which the replica instance belongs to.
- Ssl
Enable bool - Specifies whether SSL should be enabled for MySql instances.
- Subnet
Id string - Indicates the subnet id (OpenStack network ID).
- Timeouts
Rds
Read Replica V3Timeouts Args - Volume
Rds
Read Replica V3Volume Args - Specifies the volume information. Structure is documented below.
- Vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- availability
Zone String - dbs
List<Rds
Read Replica V3Db> - Indicates the database information. Structure is documented below.
- flavor
Ref String - name String
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - private
Ips List<String> - Indicates the private IP address list.
- public
Ips List<String> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read StringReplica V3Id - ID of the read replica instance.
- region String
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- replica
Of StringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- security
Group StringId - Indicates the security group which the replica instance belongs to.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id String - Indicates the subnet id (OpenStack network ID).
- timeouts
Rds
Read Replica V3Timeouts - volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id String - Indicates the VPC ID (OpenStack router ID).
- availability
Zone string - dbs
Rds
Read Replica V3Db[] - Indicates the database information. Structure is documented below.
- flavor
Ref string - name string
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - private
Ips string[] - Indicates the private IP address list.
- public
Ips string[] - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read stringReplica V3Id - ID of the read replica instance.
- region string
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- replica
Of stringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- security
Group stringId - Indicates the security group which the replica instance belongs to.
- ssl
Enable boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id string - Indicates the subnet id (OpenStack network ID).
- timeouts
Rds
Read Replica V3Timeouts - volume
Rds
Read Replica V3Volume - Specifies the volume information. Structure is documented below.
- vpc
Id string - Indicates the VPC ID (OpenStack router ID).
- availability_
zone str - dbs
Sequence[Rds
Read Replica V3Db Args] - Indicates the database information. Structure is documented below.
- flavor_
ref str - name str
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - private_
ips Sequence[str] - Indicates the private IP address list.
- public_
ips Sequence[str] - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds_
read_ strreplica_ v3_ id - ID of the read replica instance.
- region str
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- replica_
of_ strid - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- security_
group_ strid - Indicates the security group which the replica instance belongs to.
- ssl_
enable bool - Specifies whether SSL should be enabled for MySql instances.
- subnet_
id str - Indicates the subnet id (OpenStack network ID).
- timeouts
Rds
Read Replica V3Timeouts Args - volume
Rds
Read Replica V3Volume Args - Specifies the volume information. Structure is documented below.
- vpc_
id str - Indicates the VPC ID (OpenStack router ID).
- availability
Zone String - dbs List<Property Map>
- Indicates the database information. Structure is documented below.
- flavor
Ref String - name String
- Specifies the DB replica instance name. The DB instance name of the same type must be unique for the same
tenant. The value must be
4
to64
characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-
), and underscores (_
). Changing this parameter will create a new resource. - private
Ips List<String> - Indicates the private IP address list.
- public
Ips List<String> - Specifies floating IP to be assigned to the instance. This should be a list with single element only.
- rds
Read StringReplica V3Id - ID of the read replica instance.
- region String
- Specifies the region of the replica instance. Changing this parameter will create a new resource.
- replica
Of StringId - Specifies ID of the replicated instance. Changing this parameter will create a new resource.
- security
Group StringId - Indicates the security group which the replica instance belongs to.
- ssl
Enable Boolean - Specifies whether SSL should be enabled for MySql instances.
- subnet
Id String - Indicates the subnet id (OpenStack network ID).
- timeouts Property Map
- volume Property Map
- Specifies the volume information. Structure is documented below.
- vpc
Id String - Indicates the VPC ID (OpenStack router ID).
Supporting Types
RdsReadReplicaV3Db, RdsReadReplicaV3DbArgs
RdsReadReplicaV3Timeouts, RdsReadReplicaV3TimeoutsArgs
RdsReadReplicaV3Volume, RdsReadReplicaV3VolumeArgs
- Type string
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- Disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- Size double
- Indicates the volume size. Same as replicated instance disk size.
- Type string
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- Disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- Size float64
- Indicates the volume size. Same as replicated instance disk size.
- type String
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- disk
Encryption StringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- size Double
- Indicates the volume size. Same as replicated instance disk size.
- type string
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- disk
Encryption stringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- size number
- Indicates the volume size. Same as replicated instance disk size.
- type str
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- disk_
encryption_ strid - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- size float
- Indicates the volume size. Same as replicated instance disk size.
- type String
Specifies the volume type. Changing this parameter will create a new resource. Its value can be any of the following and is case-sensitive.
COMMON
: indicates the SATA type.ULTRAHIGH
: indicates the SSD type.ESSD
: indicates the extreme SSD type.
Note The MySQL and PostgreSQL supports CLOUDSSD and ESSD, SQL Server supports only ESSD
- disk
Encryption StringId - Specifies the key ID for disk encryption. Changing this parameter will create a new resource.
- size Number
- Indicates the volume size. Same as replicated instance disk size.
Import
Read replicas can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/rdsReadReplicaV3:RdsReadReplicaV3 rr_1 1a8efa8c-342a-40f0-bc8f-3d27bd603661
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.