Ddr Instance
Import
RDS ddr instance can be imported using the id, e.g.
$ pulumi import alicloud:rds/ddrInstance:DdrInstance example rm-abc12345678
Properties
The method that is used to verify the identities of clients. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
Auto-renewal period of an instance, in the unit of the month. It is valid when payment_type is Subscription
. Valid value:1~12, Default to 1.
The upgrade method to use. Valid values:
The ID of the backup set that is used for the restoration. You can call the DescribeCrossRegionBackups operation to query the ID of the backup set.
The public key of the CA that issues client certificates. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the ClientCAEbabled parameter to 1, you must also specify this parameter.
Specifies whether to enable the public key of the CA that issues client certificates. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. Valid values:
The CRL that contains revoked client certificates. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the ClientCrlEnabled parameter to 1, you must also specify this parameter.
Specifies whether to enable a certificate revocation list (CRL) that contains revoked client certificates. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
RDS database connection string.
The private connection string prefix. If you want to update public connection string prefix, please use resource alicloud.rds.Connection connection_prefix.
The attribute of the IP address whitelist. By default, this parameter is empty.
The name of the IP address whitelist. Default value: Default.
The storage type of the instance. Valid values:
The switch of delete protection. Valid values:
The method to update the engine version and change. Default value: Immediate. Valid values:
The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
Database version. Value options can refer to the latest docs CreateDdrInstance EngineVersion
.
Set it to true to make some parameter efficient when modifying them. Default to false.
The read-only instances to which you want to synchronize the IP address whitelist.
The name of DB instance. It a string of 2 to 256 characters.
The storage capacity of the destination instance. Valid values: 5 to 2000. Unit: GB. This value must be a multiple of 5 GB. For more information, see Primary ApsaraDB RDS instance types.
DB Instance type.
Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
The time after when you want to enable automatic primary/secondary switchover. At most, you can set this parameter to 23:59:59 seven days later. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
The method that is used to modify the IP address whitelist. Default value: Cover. Valid values:
The monitoring frequency in seconds. Valid values are 5, 60, 300. Defaults to 300.
Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs View database parameter templates . See parameters
below.
Valid values are Subscription
, PayAsYouGo
, Default to PayAsYouGo
.
The configuration of AD domain . See pg_hba_conf
below.
The private IP address of the instance. The private IP address must be within the Classless Inter-Domain Routing (CIDR) block of the vSwitch that is specified by the VSwitchId parameter.
The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
The method that is used to verify the replication permission. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
The ID of resource group which the DB instance belongs.
The point in time to which you want to restore data. The point in time that you specify must be earlier than the current time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
The method that is used to restore data. Valid values:
) The list IDs to join ECS Security Group. At most supports three security groups.
Valid values are normal
, safety
, Default to normal
. support safety
switch to high security access mode.
List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is 1,32).
The type of IP address in the IP address whitelist.
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
The ID of the source instance if you want to restore data to a point in time.
The region ID of the source instance if you want to restore data to a point in time.
The sql collector keep time of the instance. Valid values are 30
, 180
, 365
, 1095
, 1825
, Default to 30
.
The sql collector status of the instance. Valid values are Enabled
, Disabled
, Default to Disabled
.
Actions performed on SSL functions, Valid values: Open
: turn on SSL encryption; Close
: turn off SSL encryption; Update
: update SSL certificate. See more engine and engineVersion limitation.
Automatic storage space expansion switch. Valid values:
The trigger threshold (percentage) for automatic storage space expansion. Valid values:
The upper limit of the total storage space for automatic expansion of the storage space, that is, automatic expansion will not cause the total storage space of the instance to exceed this value. Unit: GB. The value must be ≥0.
The specific point in time when you want to perform the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. It is valid only when upgrade_db_instance_kernel_version = true
. The time must be in UTC.
The minor engine version to which you want to update the instance. If you do not specify this parameter, the instance is updated to the latest minor engine version. It is valid only when upgrade_db_instance_kernel_version = true
. You must specify the minor engine version in one of the following formats:
The availability check method of the instance. Valid values:
The TDE(Transparent Data Encryption) status. See more engine and engineVersion limitation.
Whether to upgrade a minor version of the kernel. Valid values:
The method to update the minor engine version. Default value: Immediate. It is valid only when upgrade_db_instance_kernel_version = true
. Valid values:
The network type of the IP address whitelist. Default value: MIX. Valid values:
The region ID of the secondary instance if you create a secondary instance.
The region ID of the log instance if you create a log instance.