1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. RdsReadReplicaV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.RdsReadReplicaV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    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:

    FlavorRef string
    ReplicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    Volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    AvailabilityZone 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 to 64 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.
    PublicIps List<string>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    RdsReadReplicaV3Id string
    ID of the read replica instance.
    Region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    SslEnable bool
    Specifies whether SSL should be enabled for MySql instances.
    Timeouts RdsReadReplicaV3Timeouts
    FlavorRef string
    ReplicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    Volume RdsReadReplicaV3VolumeArgs
    Specifies the volume information. Structure is documented below.
    AvailabilityZone 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 to 64 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.
    PublicIps []string
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    RdsReadReplicaV3Id string
    ID of the read replica instance.
    Region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    SslEnable bool
    Specifies whether SSL should be enabled for MySql instances.
    Timeouts RdsReadReplicaV3TimeoutsArgs
    flavorRef String
    replicaOfId String
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    availabilityZone 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 to 64 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.
    publicIps List<String>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id String
    ID of the read replica instance.
    region String
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    sslEnable Boolean
    Specifies whether SSL should be enabled for MySql instances.
    timeouts RdsReadReplicaV3Timeouts
    flavorRef string
    replicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    availabilityZone 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 to 64 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.
    publicIps string[]
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id string
    ID of the read replica instance.
    region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    sslEnable boolean
    Specifies whether SSL should be enabled for MySql instances.
    timeouts RdsReadReplicaV3Timeouts
    flavor_ref str
    replica_of_id str
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    volume RdsReadReplicaV3VolumeArgs
    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 to 64 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_replica_v3_id str
    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 RdsReadReplicaV3TimeoutsArgs
    flavorRef String
    replicaOfId String
    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.
    availabilityZone 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 to 64 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.
    publicIps List<String>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id String
    ID of the read replica instance.
    region String
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    sslEnable 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<RdsReadReplicaV3Db>
    Indicates the database information. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps List<string>
    Indicates the private IP address list.
    SecurityGroupId string
    Indicates the security group which the replica instance belongs to.
    SubnetId string
    Indicates the subnet id (OpenStack network ID).
    VpcId string
    Indicates the VPC ID (OpenStack router ID).
    Dbs []RdsReadReplicaV3Db
    Indicates the database information. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps []string
    Indicates the private IP address list.
    SecurityGroupId string
    Indicates the security group which the replica instance belongs to.
    SubnetId string
    Indicates the subnet id (OpenStack network ID).
    VpcId string
    Indicates the VPC ID (OpenStack router ID).
    dbs List<RdsReadReplicaV3Db>
    Indicates the database information. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIps List<String>
    Indicates the private IP address list.
    securityGroupId String
    Indicates the security group which the replica instance belongs to.
    subnetId String
    Indicates the subnet id (OpenStack network ID).
    vpcId String
    Indicates the VPC ID (OpenStack router ID).
    dbs RdsReadReplicaV3Db[]
    Indicates the database information. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    privateIps string[]
    Indicates the private IP address list.
    securityGroupId string
    Indicates the security group which the replica instance belongs to.
    subnetId string
    Indicates the subnet id (OpenStack network ID).
    vpcId string
    Indicates the VPC ID (OpenStack router ID).
    dbs Sequence[RdsReadReplicaV3Db]
    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_id str
    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.
    privateIps List<String>
    Indicates the private IP address list.
    securityGroupId String
    Indicates the security group which the replica instance belongs to.
    subnetId String
    Indicates the subnet id (OpenStack network ID).
    vpcId 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.
    The following state arguments are supported:
    AvailabilityZone string
    Dbs List<RdsReadReplicaV3Db>
    Indicates the database information. Structure is documented below.
    FlavorRef 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 to 64 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.
    PrivateIps List<string>
    Indicates the private IP address list.
    PublicIps List<string>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    RdsReadReplicaV3Id string
    ID of the read replica instance.
    Region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    ReplicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    SecurityGroupId string
    Indicates the security group which the replica instance belongs to.
    SslEnable bool
    Specifies whether SSL should be enabled for MySql instances.
    SubnetId string
    Indicates the subnet id (OpenStack network ID).
    Timeouts RdsReadReplicaV3Timeouts
    Volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    VpcId string
    Indicates the VPC ID (OpenStack router ID).
    AvailabilityZone string
    Dbs []RdsReadReplicaV3DbArgs
    Indicates the database information. Structure is documented below.
    FlavorRef 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 to 64 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.
    PrivateIps []string
    Indicates the private IP address list.
    PublicIps []string
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    RdsReadReplicaV3Id string
    ID of the read replica instance.
    Region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    ReplicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    SecurityGroupId string
    Indicates the security group which the replica instance belongs to.
    SslEnable bool
    Specifies whether SSL should be enabled for MySql instances.
    SubnetId string
    Indicates the subnet id (OpenStack network ID).
    Timeouts RdsReadReplicaV3TimeoutsArgs
    Volume RdsReadReplicaV3VolumeArgs
    Specifies the volume information. Structure is documented below.
    VpcId string
    Indicates the VPC ID (OpenStack router ID).
    availabilityZone String
    dbs List<RdsReadReplicaV3Db>
    Indicates the database information. Structure is documented below.
    flavorRef 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 to 64 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.
    privateIps List<String>
    Indicates the private IP address list.
    publicIps List<String>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id String
    ID of the read replica instance.
    region String
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    replicaOfId String
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    securityGroupId String
    Indicates the security group which the replica instance belongs to.
    sslEnable Boolean
    Specifies whether SSL should be enabled for MySql instances.
    subnetId String
    Indicates the subnet id (OpenStack network ID).
    timeouts RdsReadReplicaV3Timeouts
    volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    vpcId String
    Indicates the VPC ID (OpenStack router ID).
    availabilityZone string
    dbs RdsReadReplicaV3Db[]
    Indicates the database information. Structure is documented below.
    flavorRef 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 to 64 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.
    privateIps string[]
    Indicates the private IP address list.
    publicIps string[]
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id string
    ID of the read replica instance.
    region string
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    replicaOfId string
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    securityGroupId string
    Indicates the security group which the replica instance belongs to.
    sslEnable boolean
    Specifies whether SSL should be enabled for MySql instances.
    subnetId string
    Indicates the subnet id (OpenStack network ID).
    timeouts RdsReadReplicaV3Timeouts
    volume RdsReadReplicaV3Volume
    Specifies the volume information. Structure is documented below.
    vpcId string
    Indicates the VPC ID (OpenStack router ID).
    availability_zone str
    dbs Sequence[RdsReadReplicaV3DbArgs]
    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 to 64 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_replica_v3_id str
    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_id str
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    security_group_id str
    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 RdsReadReplicaV3TimeoutsArgs
    volume RdsReadReplicaV3VolumeArgs
    Specifies the volume information. Structure is documented below.
    vpc_id str
    Indicates the VPC ID (OpenStack router ID).
    availabilityZone String
    dbs List<Property Map>
    Indicates the database information. Structure is documented below.
    flavorRef 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 to 64 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.
    privateIps List<String>
    Indicates the private IP address list.
    publicIps List<String>
    Specifies floating IP to be assigned to the instance. This should be a list with single element only.
    rdsReadReplicaV3Id String
    ID of the read replica instance.
    region String
    Specifies the region of the replica instance. Changing this parameter will create a new resource.
    replicaOfId String
    Specifies ID of the replicated instance. Changing this parameter will create a new resource.
    securityGroupId String
    Indicates the security group which the replica instance belongs to.
    sslEnable Boolean
    Specifies whether SSL should be enabled for MySql instances.
    subnetId String
    Indicates the subnet id (OpenStack network ID).
    timeouts Property Map
    volume Property Map
    Specifies the volume information. Structure is documented below.
    vpcId String
    Indicates the VPC ID (OpenStack router ID).

    Supporting Types

    RdsReadReplicaV3Db, RdsReadReplicaV3DbArgs

    Port double
    Indicates the database port information.
    Type string
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    UserName string
    Indicates the default user name of database.
    Version string
    Indicates the database version.
    Port float64
    Indicates the database port information.
    Type string
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    UserName string
    Indicates the default user name of database.
    Version string
    Indicates the database version.
    port Double
    Indicates the database port information.
    type String
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    userName String
    Indicates the default user name of database.
    version String
    Indicates the database version.
    port number
    Indicates the database port information.
    type string
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    userName string
    Indicates the default user name of database.
    version string
    Indicates the database version.
    port float
    Indicates the database port information.
    type str
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    user_name str
    Indicates the default user name of database.
    version str
    Indicates the database version.
    port Number
    Indicates the database port information.
    type String
    Indicates the DB engine. Value: MySQL, PostgreSQL, SQLServer
    userName String
    Indicates the default user name of database.
    version String
    Indicates the database version.

    RdsReadReplicaV3Timeouts, RdsReadReplicaV3TimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    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

    DiskEncryptionId string
    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

    DiskEncryptionId string
    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

    diskEncryptionId String
    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

    diskEncryptionId string
    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_id str
    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

    diskEncryptionId String
    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.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud