@pulumi/alicloud 3.30.0 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adb/dbclusterLakeVersion.d.ts +30 -0
- package/adb/dbclusterLakeVersion.js +4 -0
- package/adb/dbclusterLakeVersion.js.map +1 -1
- package/cen/transitRouterVpnAttachment.d.ts +81 -9
- package/cen/transitRouterVpnAttachment.js +81 -9
- package/cen/transitRouterVpnAttachment.js.map +1 -1
- package/dcdn/domain.d.ts +8 -0
- package/dcdn/domain.js +2 -0
- package/dcdn/domain.js.map +1 -1
- package/dcdn/getKvAccount.d.ts +66 -0
- package/dcdn/getKvAccount.js +52 -0
- package/dcdn/getKvAccount.js.map +1 -0
- package/dcdn/index.d.ts +9 -0
- package/dcdn/index.js +14 -1
- package/dcdn/index.js.map +1 -1
- package/dcdn/kv.d.ts +109 -0
- package/dcdn/kv.js +99 -0
- package/dcdn/kv.js.map +1 -0
- package/dcdn/kvNamespace.d.ts +97 -0
- package/dcdn/kvNamespace.js +88 -0
- package/dcdn/kvNamespace.js.map +1 -0
- package/dts/getInstances.d.ts +109 -0
- package/dts/getInstances.js +61 -0
- package/dts/getInstances.js.map +1 -0
- package/dts/index.d.ts +6 -0
- package/dts/index.js +9 -1
- package/dts/index.js.map +1 -1
- package/dts/instance.d.ts +533 -0
- package/dts/instance.js +110 -0
- package/dts/instance.js.map +1 -0
- package/dts/subscriptionJob.d.ts +7 -7
- package/dts/subscriptionJob.js +10 -1
- package/dts/subscriptionJob.js.map +1 -1
- package/expressconnect/physicalConnection.d.ts +2 -2
- package/expressconnect/physicalConnection.js +0 -3
- package/expressconnect/physicalConnection.js.map +1 -1
- package/gpdb/elasticInstance.d.ts +0 -5
- package/gpdb/elasticInstance.js +0 -5
- package/gpdb/elasticInstance.js.map +1 -1
- package/hbr/getHanaBackupClients.d.ts +133 -0
- package/hbr/getHanaBackupClients.js +66 -0
- package/hbr/getHanaBackupClients.js.map +1 -0
- package/hbr/hanaBackupClient.d.ts +147 -0
- package/hbr/hanaBackupClient.js +97 -0
- package/hbr/hanaBackupClient.js.map +1 -0
- package/hbr/index.d.ts +6 -0
- package/hbr/index.js +9 -1
- package/hbr/index.js.map +1 -1
- package/kms/getKeys.d.ts +8 -0
- package/kms/getKeys.js.map +1 -1
- package/kms/getSecrets.d.ts +4 -2
- package/kms/getSecrets.js.map +1 -1
- package/nlb/index.d.ts +3 -0
- package/nlb/index.js +6 -1
- package/nlb/index.js.map +1 -1
- package/nlb/loadBalancerSecurityGroupAttachment.d.ts +137 -0
- package/nlb/loadBalancerSecurityGroupAttachment.js +124 -0
- package/nlb/loadBalancerSecurityGroupAttachment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/account.d.ts +3 -0
- package/rds/account.js +2 -0
- package/rds/account.js.map +1 -1
- package/rds/ddrInstance.d.ts +1041 -0
- package/rds/ddrInstance.js +214 -0
- package/rds/ddrInstance.js.map +1 -0
- package/rds/getCharacterSetNames.d.ts +69 -0
- package/rds/getCharacterSetNames.js +54 -0
- package/rds/getCharacterSetNames.js.map +1 -0
- package/rds/getCollationTimeZones.d.ts +77 -0
- package/rds/getCollationTimeZones.js +59 -0
- package/rds/getCollationTimeZones.js.map +1 -0
- package/rds/index.d.ts +9 -0
- package/rds/index.js +12 -1
- package/rds/index.js.map +1 -1
- package/rds/instance.d.ts +27 -9
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/rdsAccount.d.ts +12 -0
- package/rds/rdsAccount.js +2 -0
- package/rds/rdsAccount.js.map +1 -1
- package/sae/application.d.ts +12 -0
- package/sae/application.js +2 -0
- package/sae/application.js.map +1 -1
- package/types/input.d.ts +69 -0
- package/types/output.d.ts +178 -0
|
@@ -0,0 +1,1041 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* RDS ddr instance can be imported using the id, e.g.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import alicloud:rds/ddrInstance:DdrInstance example rm-abc12345678
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class DdrInstance extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing DdrInstance resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DdrInstanceState, opts?: pulumi.CustomResourceOptions): DdrInstance;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of DdrInstance. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is DdrInstance;
|
|
29
|
+
/**
|
|
30
|
+
* 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:
|
|
31
|
+
* - cert
|
|
32
|
+
* - perfer
|
|
33
|
+
* - verify-ca
|
|
34
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
35
|
+
*/
|
|
36
|
+
readonly acl: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to renewal a DB instance automatically or not. It is valid when paymentType is `Subscription`. Default to `false`.
|
|
39
|
+
*/
|
|
40
|
+
readonly autoRenew: pulumi.Output<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Auto-renewal period of an instance, in the unit of the month. It is valid when paymentType is `Subscription`. Valid value:[1~12], Default to 1.
|
|
43
|
+
*/
|
|
44
|
+
readonly autoRenewPeriod: pulumi.Output<number>;
|
|
45
|
+
/**
|
|
46
|
+
* The upgrade method to use. Valid values:
|
|
47
|
+
* - Auto: Instances are automatically upgraded to a higher minor version.
|
|
48
|
+
* - Manual: Instances are forcibly upgraded to a higher minor version when the current version is unpublished.
|
|
49
|
+
*/
|
|
50
|
+
readonly autoUpgradeMinorVersion: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
54
|
+
readonly backupSetId: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
57
|
+
* - aliyun: a cloud certificate
|
|
58
|
+
* - custom: a custom certificate
|
|
59
|
+
*/
|
|
60
|
+
readonly caType: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The RDS edition of the instance.
|
|
63
|
+
*/
|
|
64
|
+
readonly category: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 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.
|
|
67
|
+
*/
|
|
68
|
+
readonly clientCaCert: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* 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:
|
|
71
|
+
* - 1: enables the public key
|
|
72
|
+
* - 0: disables the public key
|
|
73
|
+
*/
|
|
74
|
+
readonly clientCaEnabled: pulumi.Output<number | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* 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.
|
|
77
|
+
*/
|
|
78
|
+
readonly clientCertRevocationList: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* 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:
|
|
81
|
+
* - 1: enables the CRL
|
|
82
|
+
* - 0: disables the CRL
|
|
83
|
+
*/
|
|
84
|
+
readonly clientCrlEnabled: pulumi.Output<number | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* RDS database connection string.
|
|
87
|
+
*/
|
|
88
|
+
readonly connectionString: pulumi.Output<string>;
|
|
89
|
+
readonly connectionStringPrefix: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The attribute of the IP address whitelist. By default, this parameter is empty.
|
|
92
|
+
*/
|
|
93
|
+
readonly dbInstanceIpArrayAttribute: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the IP address whitelist. Default value: Default.
|
|
96
|
+
*/
|
|
97
|
+
readonly dbInstanceIpArrayName: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The storage type of the instance. Valid values:
|
|
100
|
+
* - local_ssd: specifies to use local SSDs. This value is recommended.
|
|
101
|
+
* - cloud_ssd: specifies to use standard SSDs.
|
|
102
|
+
* - cloud_essd: specifies to use enhanced SSDs (ESSDs).
|
|
103
|
+
* - cloud_essd2: specifies to use enhanced SSDs (ESSDs).
|
|
104
|
+
* - cloud_essd3: specifies to use enhanced SSDs (ESSDs).
|
|
105
|
+
*/
|
|
106
|
+
readonly dbInstanceStorageType: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The switch of delete protection. Valid values:
|
|
109
|
+
* - true: delete protect.
|
|
110
|
+
* - false: no delete protect.
|
|
111
|
+
*/
|
|
112
|
+
readonly deletionProtection: pulumi.Output<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* The method to update the engine version. Default value: Immediate. Valid values:
|
|
115
|
+
* - Immediate: The change immediately takes effect.
|
|
116
|
+
* - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
117
|
+
*/
|
|
118
|
+
readonly effectiveTime: pulumi.Output<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
|
|
121
|
+
*/
|
|
122
|
+
readonly encryptionKey: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Database type. Value options: MySQL, SQLServer.
|
|
125
|
+
*/
|
|
126
|
+
readonly engine: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Database version. Value options can refer to the latest docs [CreateDdrInstance](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/restore-data-to-a-new-instance-across-regions) `EngineVersion`.
|
|
129
|
+
*/
|
|
130
|
+
readonly engineVersion: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Set it to true to make some parameter efficient when modifying them. Default to false.
|
|
133
|
+
*/
|
|
134
|
+
readonly forceRestart: pulumi.Output<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* The read-only instances to which you want to synchronize the IP address whitelist.
|
|
137
|
+
* * If the instance is attached with a read-only instance, you can use this parameter to synchronize the IP address whitelist to the read-only instance. If the instance is attached with multiple read-only instances, the read-only instances must be separated by commas (,).
|
|
138
|
+
* * If the instance is not attached with a read-only instance, this parameter is empty.
|
|
139
|
+
*/
|
|
140
|
+
readonly freshWhiteListReadins: pulumi.Output<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
143
|
+
* - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
144
|
+
* - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
|
|
145
|
+
*/
|
|
146
|
+
readonly haConfig: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The name of DB instance. It a string of 2 to 256 characters.
|
|
149
|
+
*/
|
|
150
|
+
readonly instanceName: pulumi.Output<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* The storage capacity of the destination instance. Valid values: 5 to 2000. Unit: GB.
|
|
153
|
+
*/
|
|
154
|
+
readonly instanceStorage: pulumi.Output<number>;
|
|
155
|
+
/**
|
|
156
|
+
* DB Instance type.
|
|
157
|
+
*/
|
|
158
|
+
readonly instanceType: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
|
|
161
|
+
*/
|
|
162
|
+
readonly maintainTime: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 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.
|
|
165
|
+
*/
|
|
166
|
+
readonly manualHaTime: pulumi.Output<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* The method that is used to modify the IP address whitelist. Default value: Cover. Valid values:
|
|
169
|
+
* - Cover: Use the value of the SecurityIps parameter to overwrite the existing entries in the IP address whitelist.
|
|
170
|
+
* - Append: Add the IP addresses and CIDR blocks that are specified in the SecurityIps parameter to the IP address whitelist.
|
|
171
|
+
* - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
|
|
172
|
+
*/
|
|
173
|
+
readonly modifyMode: pulumi.Output<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* The monitoring frequency in seconds. Valid values are 5, 60, 300. Defaults to 300.
|
|
176
|
+
*/
|
|
177
|
+
readonly monitoringPeriod: pulumi.Output<number>;
|
|
178
|
+
/**
|
|
179
|
+
* Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) .
|
|
180
|
+
*/
|
|
181
|
+
readonly parameters: pulumi.Output<outputs.rds.DdrInstanceParameter[]>;
|
|
182
|
+
/**
|
|
183
|
+
* Valid values are `Subscription`, `PayAsYouGo`, Default to `PayAsYouGo`.
|
|
184
|
+
*/
|
|
185
|
+
readonly paymentType: pulumi.Output<string>;
|
|
186
|
+
readonly period: pulumi.Output<number | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) (documented below).
|
|
189
|
+
*/
|
|
190
|
+
readonly pgHbaConfs: pulumi.Output<outputs.rds.DdrInstancePgHbaConf[]>;
|
|
191
|
+
readonly port: pulumi.Output<string>;
|
|
192
|
+
/**
|
|
193
|
+
* 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.
|
|
194
|
+
*/
|
|
195
|
+
readonly privateIpAddress: pulumi.Output<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
|
|
198
|
+
* - None: No archived backup files are retained.
|
|
199
|
+
* - Lastest: Only the last archived backup file is retained.
|
|
200
|
+
* - All: All the archived backup files are retained.
|
|
201
|
+
*/
|
|
202
|
+
readonly releasedKeepPolicy: pulumi.Output<string | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* 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:
|
|
205
|
+
* - cert
|
|
206
|
+
* - perfer
|
|
207
|
+
* - verify-ca
|
|
208
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
209
|
+
*/
|
|
210
|
+
readonly replicationAcl: pulumi.Output<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The ID of resource group which the DB instance belongs.
|
|
213
|
+
*/
|
|
214
|
+
readonly resourceGroupId: pulumi.Output<string>;
|
|
215
|
+
/**
|
|
216
|
+
* 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.
|
|
217
|
+
*/
|
|
218
|
+
readonly restoreTime: pulumi.Output<string | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* The method that is used to restore data. Valid values:
|
|
221
|
+
* - BackupSet: Data is restored from a backup set. If you use this value, you must also specify the BackupSetID parameter.
|
|
222
|
+
* - BackupTime: restores data to a point in time. You must also specify the RestoreTime, SourceRegion, and SourceDBInstanceName parameters.
|
|
223
|
+
*/
|
|
224
|
+
readonly restoreType: pulumi.Output<string>;
|
|
225
|
+
/**
|
|
226
|
+
* ) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
227
|
+
*/
|
|
228
|
+
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
229
|
+
/**
|
|
230
|
+
* Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
231
|
+
*/
|
|
232
|
+
readonly securityIpMode: pulumi.Output<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The type of IP address in the IP address whitelist.
|
|
235
|
+
*/
|
|
236
|
+
readonly securityIpType: pulumi.Output<string | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* 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]).
|
|
239
|
+
*/
|
|
240
|
+
readonly securityIps: pulumi.Output<string[]>;
|
|
241
|
+
/**
|
|
242
|
+
* 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.
|
|
243
|
+
*/
|
|
244
|
+
readonly serverCert: pulumi.Output<string>;
|
|
245
|
+
/**
|
|
246
|
+
* The private key 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.
|
|
247
|
+
*/
|
|
248
|
+
readonly serverKey: pulumi.Output<string>;
|
|
249
|
+
/**
|
|
250
|
+
* The ID of the source instance if you want to restore data to a point in time.
|
|
251
|
+
* #### Block pg_hba_conf
|
|
252
|
+
*/
|
|
253
|
+
readonly sourceDbInstanceName: pulumi.Output<string | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* The region ID of the source instance if you want to restore data to a point in time.
|
|
256
|
+
*/
|
|
257
|
+
readonly sourceRegion: pulumi.Output<string | undefined>;
|
|
258
|
+
/**
|
|
259
|
+
* The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
260
|
+
*/
|
|
261
|
+
readonly sqlCollectorConfigValue: pulumi.Output<number>;
|
|
262
|
+
/**
|
|
263
|
+
* The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
264
|
+
*/
|
|
265
|
+
readonly sqlCollectorStatus: pulumi.Output<string>;
|
|
266
|
+
/**
|
|
267
|
+
* 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](https://www.alibabacloud.com/help/zh/doc-detail/26254.htm).
|
|
268
|
+
*/
|
|
269
|
+
readonly sslAction: pulumi.Output<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Status of the SSL feature. `Yes`: SSL is turned on; `No`: SSL is turned off.
|
|
272
|
+
*/
|
|
273
|
+
readonly sslStatus: pulumi.Output<string>;
|
|
274
|
+
/**
|
|
275
|
+
* Automatic storage space expansion switch. Valid values:
|
|
276
|
+
* - Enable
|
|
277
|
+
* - Disable
|
|
278
|
+
*/
|
|
279
|
+
readonly storageAutoScale: pulumi.Output<string | undefined>;
|
|
280
|
+
/**
|
|
281
|
+
* The trigger threshold (percentage) for automatic storage space expansion. Valid values:
|
|
282
|
+
* - 10
|
|
283
|
+
* - 20
|
|
284
|
+
* - 30
|
|
285
|
+
* - 40
|
|
286
|
+
* - 50
|
|
287
|
+
*/
|
|
288
|
+
readonly storageThreshold: pulumi.Output<number | undefined>;
|
|
289
|
+
/**
|
|
290
|
+
* 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.
|
|
291
|
+
*/
|
|
292
|
+
readonly storageUpperBound: pulumi.Output<number | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. The time must be in UTC.
|
|
295
|
+
*/
|
|
296
|
+
readonly switchTime: pulumi.Output<string | undefined>;
|
|
297
|
+
/**
|
|
298
|
+
* A mapping of tags to assign to the resource.
|
|
299
|
+
* - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
300
|
+
* - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
301
|
+
*/
|
|
302
|
+
readonly tags: pulumi.Output<{
|
|
303
|
+
[key: string]: any;
|
|
304
|
+
} | undefined>;
|
|
305
|
+
/**
|
|
306
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. You must specify the minor engine version in one of the following formats:
|
|
307
|
+
* - PostgreSQL: rds_postgres_<Major engine version>00_<Minor engine version>. Example: rds_postgres_1200_20200830.
|
|
308
|
+
* - MySQL: <RDS edition>_<Minor engine version>. Examples: rds_20200229, xcluster_20200229, and xcluster80_20200229. The following RDS editions are supported:
|
|
309
|
+
* - rds: The instance runs RDS Basic or High-availability Edition.
|
|
310
|
+
* - xcluster: The instance runs MySQL 5.7 on RDS Enterprise Edition.
|
|
311
|
+
* - xcluster80: The instance runs MySQL 8.0 on RDS Enterprise Edition.
|
|
312
|
+
* - SQLServer: <Minor engine version>. Example: 15.0.4073.23.
|
|
313
|
+
*/
|
|
314
|
+
readonly targetMinorVersion: pulumi.Output<string>;
|
|
315
|
+
/**
|
|
316
|
+
* The availability check method of the instance. Valid values:
|
|
317
|
+
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
318
|
+
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
319
|
+
*/
|
|
320
|
+
readonly tcpConnectionType: pulumi.Output<string>;
|
|
321
|
+
/**
|
|
322
|
+
* The TDE(Transparent Data Encryption) status. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
|
|
323
|
+
*/
|
|
324
|
+
readonly tdeStatus: pulumi.Output<string | undefined>;
|
|
325
|
+
/**
|
|
326
|
+
* Whether to upgrade a minor version of the kernel. Valid values:
|
|
327
|
+
* - true: upgrade
|
|
328
|
+
* - false: not to upgrade
|
|
329
|
+
*/
|
|
330
|
+
readonly upgradeDbInstanceKernelVersion: pulumi.Output<boolean | undefined>;
|
|
331
|
+
/**
|
|
332
|
+
* The method to update the minor engine version. Default value: Immediate. It is valid only when `upgradeDbInstanceKernelVersion = true`. Valid values:
|
|
333
|
+
* - Immediate: The minor engine version is immediately updated.
|
|
334
|
+
* - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
|
|
335
|
+
* - SpecifyTime: The minor engine version is updated at the point in time you specify.
|
|
336
|
+
*/
|
|
337
|
+
readonly upgradeTime: pulumi.Output<string | undefined>;
|
|
338
|
+
/**
|
|
339
|
+
* The VPC ID of the instance.
|
|
340
|
+
*/
|
|
341
|
+
readonly vpcId: pulumi.Output<string>;
|
|
342
|
+
/**
|
|
343
|
+
* The virtual switch ID to launch DB instances in one VPC. If there are multiple vswitches, separate them with commas.
|
|
344
|
+
*/
|
|
345
|
+
readonly vswitchId: pulumi.Output<string | undefined>;
|
|
346
|
+
/**
|
|
347
|
+
* The network type of the IP address whitelist. Default value: MIX. Valid values:
|
|
348
|
+
* - Classic: classic network in enhanced whitelist mode
|
|
349
|
+
* - VPC: virtual private cloud (VPC) in enhanced whitelist mode
|
|
350
|
+
* - MIX: standard whitelist mode
|
|
351
|
+
*/
|
|
352
|
+
readonly whitelistNetworkType: pulumi.Output<string | undefined>;
|
|
353
|
+
/**
|
|
354
|
+
* The Zone to launch the DB instance. It supports multiple zone.
|
|
355
|
+
* If it is a multi-zone and `vswitchId` is specified, the vswitch must in the one of them.
|
|
356
|
+
* The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `alicloud.getZones`.
|
|
357
|
+
*/
|
|
358
|
+
readonly zoneId: pulumi.Output<string>;
|
|
359
|
+
/**
|
|
360
|
+
* The region ID of the secondary instance if you create a secondary instance.
|
|
361
|
+
*/
|
|
362
|
+
readonly zoneIdSlaveA: pulumi.Output<string>;
|
|
363
|
+
/**
|
|
364
|
+
* The region ID of the log instance if you create a log instance.
|
|
365
|
+
*/
|
|
366
|
+
readonly zoneIdSlaveB: pulumi.Output<string>;
|
|
367
|
+
/**
|
|
368
|
+
* Create a DdrInstance resource with the given unique name, arguments, and options.
|
|
369
|
+
*
|
|
370
|
+
* @param name The _unique_ name of the resource.
|
|
371
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
372
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
373
|
+
*/
|
|
374
|
+
constructor(name: string, args: DdrInstanceArgs, opts?: pulumi.CustomResourceOptions);
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Input properties used for looking up and filtering DdrInstance resources.
|
|
378
|
+
*/
|
|
379
|
+
export interface DdrInstanceState {
|
|
380
|
+
/**
|
|
381
|
+
* 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:
|
|
382
|
+
* - cert
|
|
383
|
+
* - perfer
|
|
384
|
+
* - verify-ca
|
|
385
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
386
|
+
*/
|
|
387
|
+
acl?: pulumi.Input<string>;
|
|
388
|
+
/**
|
|
389
|
+
* Whether to renewal a DB instance automatically or not. It is valid when paymentType is `Subscription`. Default to `false`.
|
|
390
|
+
*/
|
|
391
|
+
autoRenew?: pulumi.Input<boolean>;
|
|
392
|
+
/**
|
|
393
|
+
* Auto-renewal period of an instance, in the unit of the month. It is valid when paymentType is `Subscription`. Valid value:[1~12], Default to 1.
|
|
394
|
+
*/
|
|
395
|
+
autoRenewPeriod?: pulumi.Input<number>;
|
|
396
|
+
/**
|
|
397
|
+
* The upgrade method to use. Valid values:
|
|
398
|
+
* - Auto: Instances are automatically upgraded to a higher minor version.
|
|
399
|
+
* - Manual: Instances are forcibly upgraded to a higher minor version when the current version is unpublished.
|
|
400
|
+
*/
|
|
401
|
+
autoUpgradeMinorVersion?: pulumi.Input<string>;
|
|
402
|
+
/**
|
|
403
|
+
* 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.
|
|
404
|
+
*/
|
|
405
|
+
backupSetId?: pulumi.Input<string>;
|
|
406
|
+
/**
|
|
407
|
+
* The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
408
|
+
* - aliyun: a cloud certificate
|
|
409
|
+
* - custom: a custom certificate
|
|
410
|
+
*/
|
|
411
|
+
caType?: pulumi.Input<string>;
|
|
412
|
+
/**
|
|
413
|
+
* The RDS edition of the instance.
|
|
414
|
+
*/
|
|
415
|
+
category?: pulumi.Input<string>;
|
|
416
|
+
/**
|
|
417
|
+
* 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.
|
|
418
|
+
*/
|
|
419
|
+
clientCaCert?: pulumi.Input<string>;
|
|
420
|
+
/**
|
|
421
|
+
* 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:
|
|
422
|
+
* - 1: enables the public key
|
|
423
|
+
* - 0: disables the public key
|
|
424
|
+
*/
|
|
425
|
+
clientCaEnabled?: pulumi.Input<number>;
|
|
426
|
+
/**
|
|
427
|
+
* 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.
|
|
428
|
+
*/
|
|
429
|
+
clientCertRevocationList?: pulumi.Input<string>;
|
|
430
|
+
/**
|
|
431
|
+
* 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:
|
|
432
|
+
* - 1: enables the CRL
|
|
433
|
+
* - 0: disables the CRL
|
|
434
|
+
*/
|
|
435
|
+
clientCrlEnabled?: pulumi.Input<number>;
|
|
436
|
+
/**
|
|
437
|
+
* RDS database connection string.
|
|
438
|
+
*/
|
|
439
|
+
connectionString?: pulumi.Input<string>;
|
|
440
|
+
connectionStringPrefix?: pulumi.Input<string>;
|
|
441
|
+
/**
|
|
442
|
+
* The attribute of the IP address whitelist. By default, this parameter is empty.
|
|
443
|
+
*/
|
|
444
|
+
dbInstanceIpArrayAttribute?: pulumi.Input<string>;
|
|
445
|
+
/**
|
|
446
|
+
* The name of the IP address whitelist. Default value: Default.
|
|
447
|
+
*/
|
|
448
|
+
dbInstanceIpArrayName?: pulumi.Input<string>;
|
|
449
|
+
/**
|
|
450
|
+
* The storage type of the instance. Valid values:
|
|
451
|
+
* - local_ssd: specifies to use local SSDs. This value is recommended.
|
|
452
|
+
* - cloud_ssd: specifies to use standard SSDs.
|
|
453
|
+
* - cloud_essd: specifies to use enhanced SSDs (ESSDs).
|
|
454
|
+
* - cloud_essd2: specifies to use enhanced SSDs (ESSDs).
|
|
455
|
+
* - cloud_essd3: specifies to use enhanced SSDs (ESSDs).
|
|
456
|
+
*/
|
|
457
|
+
dbInstanceStorageType?: pulumi.Input<string>;
|
|
458
|
+
/**
|
|
459
|
+
* The switch of delete protection. Valid values:
|
|
460
|
+
* - true: delete protect.
|
|
461
|
+
* - false: no delete protect.
|
|
462
|
+
*/
|
|
463
|
+
deletionProtection?: pulumi.Input<boolean>;
|
|
464
|
+
/**
|
|
465
|
+
* The method to update the engine version. Default value: Immediate. Valid values:
|
|
466
|
+
* - Immediate: The change immediately takes effect.
|
|
467
|
+
* - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
468
|
+
*/
|
|
469
|
+
effectiveTime?: pulumi.Input<string>;
|
|
470
|
+
/**
|
|
471
|
+
* The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
|
|
472
|
+
*/
|
|
473
|
+
encryptionKey?: pulumi.Input<string>;
|
|
474
|
+
/**
|
|
475
|
+
* Database type. Value options: MySQL, SQLServer.
|
|
476
|
+
*/
|
|
477
|
+
engine?: pulumi.Input<string>;
|
|
478
|
+
/**
|
|
479
|
+
* Database version. Value options can refer to the latest docs [CreateDdrInstance](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/restore-data-to-a-new-instance-across-regions) `EngineVersion`.
|
|
480
|
+
*/
|
|
481
|
+
engineVersion?: pulumi.Input<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Set it to true to make some parameter efficient when modifying them. Default to false.
|
|
484
|
+
*/
|
|
485
|
+
forceRestart?: pulumi.Input<boolean>;
|
|
486
|
+
/**
|
|
487
|
+
* The read-only instances to which you want to synchronize the IP address whitelist.
|
|
488
|
+
* * If the instance is attached with a read-only instance, you can use this parameter to synchronize the IP address whitelist to the read-only instance. If the instance is attached with multiple read-only instances, the read-only instances must be separated by commas (,).
|
|
489
|
+
* * If the instance is not attached with a read-only instance, this parameter is empty.
|
|
490
|
+
*/
|
|
491
|
+
freshWhiteListReadins?: pulumi.Input<string>;
|
|
492
|
+
/**
|
|
493
|
+
* The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
494
|
+
* - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
495
|
+
* - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
|
|
496
|
+
*/
|
|
497
|
+
haConfig?: pulumi.Input<string>;
|
|
498
|
+
/**
|
|
499
|
+
* The name of DB instance. It a string of 2 to 256 characters.
|
|
500
|
+
*/
|
|
501
|
+
instanceName?: pulumi.Input<string>;
|
|
502
|
+
/**
|
|
503
|
+
* The storage capacity of the destination instance. Valid values: 5 to 2000. Unit: GB.
|
|
504
|
+
*/
|
|
505
|
+
instanceStorage?: pulumi.Input<number>;
|
|
506
|
+
/**
|
|
507
|
+
* DB Instance type.
|
|
508
|
+
*/
|
|
509
|
+
instanceType?: pulumi.Input<string>;
|
|
510
|
+
/**
|
|
511
|
+
* Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
|
|
512
|
+
*/
|
|
513
|
+
maintainTime?: pulumi.Input<string>;
|
|
514
|
+
/**
|
|
515
|
+
* 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.
|
|
516
|
+
*/
|
|
517
|
+
manualHaTime?: pulumi.Input<string>;
|
|
518
|
+
/**
|
|
519
|
+
* The method that is used to modify the IP address whitelist. Default value: Cover. Valid values:
|
|
520
|
+
* - Cover: Use the value of the SecurityIps parameter to overwrite the existing entries in the IP address whitelist.
|
|
521
|
+
* - Append: Add the IP addresses and CIDR blocks that are specified in the SecurityIps parameter to the IP address whitelist.
|
|
522
|
+
* - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
|
|
523
|
+
*/
|
|
524
|
+
modifyMode?: pulumi.Input<string>;
|
|
525
|
+
/**
|
|
526
|
+
* The monitoring frequency in seconds. Valid values are 5, 60, 300. Defaults to 300.
|
|
527
|
+
*/
|
|
528
|
+
monitoringPeriod?: pulumi.Input<number>;
|
|
529
|
+
/**
|
|
530
|
+
* Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) .
|
|
531
|
+
*/
|
|
532
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.rds.DdrInstanceParameter>[]>;
|
|
533
|
+
/**
|
|
534
|
+
* Valid values are `Subscription`, `PayAsYouGo`, Default to `PayAsYouGo`.
|
|
535
|
+
*/
|
|
536
|
+
paymentType?: pulumi.Input<string>;
|
|
537
|
+
period?: pulumi.Input<number>;
|
|
538
|
+
/**
|
|
539
|
+
* The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) (documented below).
|
|
540
|
+
*/
|
|
541
|
+
pgHbaConfs?: pulumi.Input<pulumi.Input<inputs.rds.DdrInstancePgHbaConf>[]>;
|
|
542
|
+
port?: pulumi.Input<string>;
|
|
543
|
+
/**
|
|
544
|
+
* 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.
|
|
545
|
+
*/
|
|
546
|
+
privateIpAddress?: pulumi.Input<string>;
|
|
547
|
+
/**
|
|
548
|
+
* The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
|
|
549
|
+
* - None: No archived backup files are retained.
|
|
550
|
+
* - Lastest: Only the last archived backup file is retained.
|
|
551
|
+
* - All: All the archived backup files are retained.
|
|
552
|
+
*/
|
|
553
|
+
releasedKeepPolicy?: pulumi.Input<string>;
|
|
554
|
+
/**
|
|
555
|
+
* 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:
|
|
556
|
+
* - cert
|
|
557
|
+
* - perfer
|
|
558
|
+
* - verify-ca
|
|
559
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
560
|
+
*/
|
|
561
|
+
replicationAcl?: pulumi.Input<string>;
|
|
562
|
+
/**
|
|
563
|
+
* The ID of resource group which the DB instance belongs.
|
|
564
|
+
*/
|
|
565
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
566
|
+
/**
|
|
567
|
+
* 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.
|
|
568
|
+
*/
|
|
569
|
+
restoreTime?: pulumi.Input<string>;
|
|
570
|
+
/**
|
|
571
|
+
* The method that is used to restore data. Valid values:
|
|
572
|
+
* - BackupSet: Data is restored from a backup set. If you use this value, you must also specify the BackupSetID parameter.
|
|
573
|
+
* - BackupTime: restores data to a point in time. You must also specify the RestoreTime, SourceRegion, and SourceDBInstanceName parameters.
|
|
574
|
+
*/
|
|
575
|
+
restoreType?: pulumi.Input<string>;
|
|
576
|
+
/**
|
|
577
|
+
* ) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
578
|
+
*/
|
|
579
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
580
|
+
/**
|
|
581
|
+
* Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
582
|
+
*/
|
|
583
|
+
securityIpMode?: pulumi.Input<string>;
|
|
584
|
+
/**
|
|
585
|
+
* The type of IP address in the IP address whitelist.
|
|
586
|
+
*/
|
|
587
|
+
securityIpType?: pulumi.Input<string>;
|
|
588
|
+
/**
|
|
589
|
+
* 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]).
|
|
590
|
+
*/
|
|
591
|
+
securityIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
592
|
+
/**
|
|
593
|
+
* 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.
|
|
594
|
+
*/
|
|
595
|
+
serverCert?: pulumi.Input<string>;
|
|
596
|
+
/**
|
|
597
|
+
* The private key 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.
|
|
598
|
+
*/
|
|
599
|
+
serverKey?: pulumi.Input<string>;
|
|
600
|
+
/**
|
|
601
|
+
* The ID of the source instance if you want to restore data to a point in time.
|
|
602
|
+
* #### Block pg_hba_conf
|
|
603
|
+
*/
|
|
604
|
+
sourceDbInstanceName?: pulumi.Input<string>;
|
|
605
|
+
/**
|
|
606
|
+
* The region ID of the source instance if you want to restore data to a point in time.
|
|
607
|
+
*/
|
|
608
|
+
sourceRegion?: pulumi.Input<string>;
|
|
609
|
+
/**
|
|
610
|
+
* The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
611
|
+
*/
|
|
612
|
+
sqlCollectorConfigValue?: pulumi.Input<number>;
|
|
613
|
+
/**
|
|
614
|
+
* The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
615
|
+
*/
|
|
616
|
+
sqlCollectorStatus?: pulumi.Input<string>;
|
|
617
|
+
/**
|
|
618
|
+
* 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](https://www.alibabacloud.com/help/zh/doc-detail/26254.htm).
|
|
619
|
+
*/
|
|
620
|
+
sslAction?: pulumi.Input<string>;
|
|
621
|
+
/**
|
|
622
|
+
* Status of the SSL feature. `Yes`: SSL is turned on; `No`: SSL is turned off.
|
|
623
|
+
*/
|
|
624
|
+
sslStatus?: pulumi.Input<string>;
|
|
625
|
+
/**
|
|
626
|
+
* Automatic storage space expansion switch. Valid values:
|
|
627
|
+
* - Enable
|
|
628
|
+
* - Disable
|
|
629
|
+
*/
|
|
630
|
+
storageAutoScale?: pulumi.Input<string>;
|
|
631
|
+
/**
|
|
632
|
+
* The trigger threshold (percentage) for automatic storage space expansion. Valid values:
|
|
633
|
+
* - 10
|
|
634
|
+
* - 20
|
|
635
|
+
* - 30
|
|
636
|
+
* - 40
|
|
637
|
+
* - 50
|
|
638
|
+
*/
|
|
639
|
+
storageThreshold?: pulumi.Input<number>;
|
|
640
|
+
/**
|
|
641
|
+
* 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.
|
|
642
|
+
*/
|
|
643
|
+
storageUpperBound?: pulumi.Input<number>;
|
|
644
|
+
/**
|
|
645
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. The time must be in UTC.
|
|
646
|
+
*/
|
|
647
|
+
switchTime?: pulumi.Input<string>;
|
|
648
|
+
/**
|
|
649
|
+
* A mapping of tags to assign to the resource.
|
|
650
|
+
* - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
651
|
+
* - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
652
|
+
*/
|
|
653
|
+
tags?: pulumi.Input<{
|
|
654
|
+
[key: string]: any;
|
|
655
|
+
}>;
|
|
656
|
+
/**
|
|
657
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. You must specify the minor engine version in one of the following formats:
|
|
658
|
+
* - PostgreSQL: rds_postgres_<Major engine version>00_<Minor engine version>. Example: rds_postgres_1200_20200830.
|
|
659
|
+
* - MySQL: <RDS edition>_<Minor engine version>. Examples: rds_20200229, xcluster_20200229, and xcluster80_20200229. The following RDS editions are supported:
|
|
660
|
+
* - rds: The instance runs RDS Basic or High-availability Edition.
|
|
661
|
+
* - xcluster: The instance runs MySQL 5.7 on RDS Enterprise Edition.
|
|
662
|
+
* - xcluster80: The instance runs MySQL 8.0 on RDS Enterprise Edition.
|
|
663
|
+
* - SQLServer: <Minor engine version>. Example: 15.0.4073.23.
|
|
664
|
+
*/
|
|
665
|
+
targetMinorVersion?: pulumi.Input<string>;
|
|
666
|
+
/**
|
|
667
|
+
* The availability check method of the instance. Valid values:
|
|
668
|
+
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
669
|
+
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
670
|
+
*/
|
|
671
|
+
tcpConnectionType?: pulumi.Input<string>;
|
|
672
|
+
/**
|
|
673
|
+
* The TDE(Transparent Data Encryption) status. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
|
|
674
|
+
*/
|
|
675
|
+
tdeStatus?: pulumi.Input<string>;
|
|
676
|
+
/**
|
|
677
|
+
* Whether to upgrade a minor version of the kernel. Valid values:
|
|
678
|
+
* - true: upgrade
|
|
679
|
+
* - false: not to upgrade
|
|
680
|
+
*/
|
|
681
|
+
upgradeDbInstanceKernelVersion?: pulumi.Input<boolean>;
|
|
682
|
+
/**
|
|
683
|
+
* The method to update the minor engine version. Default value: Immediate. It is valid only when `upgradeDbInstanceKernelVersion = true`. Valid values:
|
|
684
|
+
* - Immediate: The minor engine version is immediately updated.
|
|
685
|
+
* - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
|
|
686
|
+
* - SpecifyTime: The minor engine version is updated at the point in time you specify.
|
|
687
|
+
*/
|
|
688
|
+
upgradeTime?: pulumi.Input<string>;
|
|
689
|
+
/**
|
|
690
|
+
* The VPC ID of the instance.
|
|
691
|
+
*/
|
|
692
|
+
vpcId?: pulumi.Input<string>;
|
|
693
|
+
/**
|
|
694
|
+
* The virtual switch ID to launch DB instances in one VPC. If there are multiple vswitches, separate them with commas.
|
|
695
|
+
*/
|
|
696
|
+
vswitchId?: pulumi.Input<string>;
|
|
697
|
+
/**
|
|
698
|
+
* The network type of the IP address whitelist. Default value: MIX. Valid values:
|
|
699
|
+
* - Classic: classic network in enhanced whitelist mode
|
|
700
|
+
* - VPC: virtual private cloud (VPC) in enhanced whitelist mode
|
|
701
|
+
* - MIX: standard whitelist mode
|
|
702
|
+
*/
|
|
703
|
+
whitelistNetworkType?: pulumi.Input<string>;
|
|
704
|
+
/**
|
|
705
|
+
* The Zone to launch the DB instance. It supports multiple zone.
|
|
706
|
+
* If it is a multi-zone and `vswitchId` is specified, the vswitch must in the one of them.
|
|
707
|
+
* The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `alicloud.getZones`.
|
|
708
|
+
*/
|
|
709
|
+
zoneId?: pulumi.Input<string>;
|
|
710
|
+
/**
|
|
711
|
+
* The region ID of the secondary instance if you create a secondary instance.
|
|
712
|
+
*/
|
|
713
|
+
zoneIdSlaveA?: pulumi.Input<string>;
|
|
714
|
+
/**
|
|
715
|
+
* The region ID of the log instance if you create a log instance.
|
|
716
|
+
*/
|
|
717
|
+
zoneIdSlaveB?: pulumi.Input<string>;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* The set of arguments for constructing a DdrInstance resource.
|
|
721
|
+
*/
|
|
722
|
+
export interface DdrInstanceArgs {
|
|
723
|
+
/**
|
|
724
|
+
* 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:
|
|
725
|
+
* - cert
|
|
726
|
+
* - perfer
|
|
727
|
+
* - verify-ca
|
|
728
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
729
|
+
*/
|
|
730
|
+
acl?: pulumi.Input<string>;
|
|
731
|
+
/**
|
|
732
|
+
* Whether to renewal a DB instance automatically or not. It is valid when paymentType is `Subscription`. Default to `false`.
|
|
733
|
+
*/
|
|
734
|
+
autoRenew?: pulumi.Input<boolean>;
|
|
735
|
+
/**
|
|
736
|
+
* Auto-renewal period of an instance, in the unit of the month. It is valid when paymentType is `Subscription`. Valid value:[1~12], Default to 1.
|
|
737
|
+
*/
|
|
738
|
+
autoRenewPeriod?: pulumi.Input<number>;
|
|
739
|
+
/**
|
|
740
|
+
* The upgrade method to use. Valid values:
|
|
741
|
+
* - Auto: Instances are automatically upgraded to a higher minor version.
|
|
742
|
+
* - Manual: Instances are forcibly upgraded to a higher minor version when the current version is unpublished.
|
|
743
|
+
*/
|
|
744
|
+
autoUpgradeMinorVersion?: pulumi.Input<string>;
|
|
745
|
+
/**
|
|
746
|
+
* 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.
|
|
747
|
+
*/
|
|
748
|
+
backupSetId?: pulumi.Input<string>;
|
|
749
|
+
/**
|
|
750
|
+
* The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
751
|
+
* - aliyun: a cloud certificate
|
|
752
|
+
* - custom: a custom certificate
|
|
753
|
+
*/
|
|
754
|
+
caType?: pulumi.Input<string>;
|
|
755
|
+
/**
|
|
756
|
+
* 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.
|
|
757
|
+
*/
|
|
758
|
+
clientCaCert?: pulumi.Input<string>;
|
|
759
|
+
/**
|
|
760
|
+
* 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:
|
|
761
|
+
* - 1: enables the public key
|
|
762
|
+
* - 0: disables the public key
|
|
763
|
+
*/
|
|
764
|
+
clientCaEnabled?: pulumi.Input<number>;
|
|
765
|
+
/**
|
|
766
|
+
* 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.
|
|
767
|
+
*/
|
|
768
|
+
clientCertRevocationList?: pulumi.Input<string>;
|
|
769
|
+
/**
|
|
770
|
+
* 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:
|
|
771
|
+
* - 1: enables the CRL
|
|
772
|
+
* - 0: disables the CRL
|
|
773
|
+
*/
|
|
774
|
+
clientCrlEnabled?: pulumi.Input<number>;
|
|
775
|
+
connectionStringPrefix?: pulumi.Input<string>;
|
|
776
|
+
/**
|
|
777
|
+
* The attribute of the IP address whitelist. By default, this parameter is empty.
|
|
778
|
+
*/
|
|
779
|
+
dbInstanceIpArrayAttribute?: pulumi.Input<string>;
|
|
780
|
+
/**
|
|
781
|
+
* The name of the IP address whitelist. Default value: Default.
|
|
782
|
+
*/
|
|
783
|
+
dbInstanceIpArrayName?: pulumi.Input<string>;
|
|
784
|
+
/**
|
|
785
|
+
* The storage type of the instance. Valid values:
|
|
786
|
+
* - local_ssd: specifies to use local SSDs. This value is recommended.
|
|
787
|
+
* - cloud_ssd: specifies to use standard SSDs.
|
|
788
|
+
* - cloud_essd: specifies to use enhanced SSDs (ESSDs).
|
|
789
|
+
* - cloud_essd2: specifies to use enhanced SSDs (ESSDs).
|
|
790
|
+
* - cloud_essd3: specifies to use enhanced SSDs (ESSDs).
|
|
791
|
+
*/
|
|
792
|
+
dbInstanceStorageType?: pulumi.Input<string>;
|
|
793
|
+
/**
|
|
794
|
+
* The switch of delete protection. Valid values:
|
|
795
|
+
* - true: delete protect.
|
|
796
|
+
* - false: no delete protect.
|
|
797
|
+
*/
|
|
798
|
+
deletionProtection?: pulumi.Input<boolean>;
|
|
799
|
+
/**
|
|
800
|
+
* The method to update the engine version. Default value: Immediate. Valid values:
|
|
801
|
+
* - Immediate: The change immediately takes effect.
|
|
802
|
+
* - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
803
|
+
*/
|
|
804
|
+
effectiveTime?: pulumi.Input<string>;
|
|
805
|
+
/**
|
|
806
|
+
* The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
|
|
807
|
+
*/
|
|
808
|
+
encryptionKey?: pulumi.Input<string>;
|
|
809
|
+
/**
|
|
810
|
+
* Database type. Value options: MySQL, SQLServer.
|
|
811
|
+
*/
|
|
812
|
+
engine: pulumi.Input<string>;
|
|
813
|
+
/**
|
|
814
|
+
* Database version. Value options can refer to the latest docs [CreateDdrInstance](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/restore-data-to-a-new-instance-across-regions) `EngineVersion`.
|
|
815
|
+
*/
|
|
816
|
+
engineVersion: pulumi.Input<string>;
|
|
817
|
+
/**
|
|
818
|
+
* Set it to true to make some parameter efficient when modifying them. Default to false.
|
|
819
|
+
*/
|
|
820
|
+
forceRestart?: pulumi.Input<boolean>;
|
|
821
|
+
/**
|
|
822
|
+
* The read-only instances to which you want to synchronize the IP address whitelist.
|
|
823
|
+
* * If the instance is attached with a read-only instance, you can use this parameter to synchronize the IP address whitelist to the read-only instance. If the instance is attached with multiple read-only instances, the read-only instances must be separated by commas (,).
|
|
824
|
+
* * If the instance is not attached with a read-only instance, this parameter is empty.
|
|
825
|
+
*/
|
|
826
|
+
freshWhiteListReadins?: pulumi.Input<string>;
|
|
827
|
+
/**
|
|
828
|
+
* The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
829
|
+
* - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
830
|
+
* - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
|
|
831
|
+
*/
|
|
832
|
+
haConfig?: pulumi.Input<string>;
|
|
833
|
+
/**
|
|
834
|
+
* The name of DB instance. It a string of 2 to 256 characters.
|
|
835
|
+
*/
|
|
836
|
+
instanceName?: pulumi.Input<string>;
|
|
837
|
+
/**
|
|
838
|
+
* The storage capacity of the destination instance. Valid values: 5 to 2000. Unit: GB.
|
|
839
|
+
*/
|
|
840
|
+
instanceStorage: pulumi.Input<number>;
|
|
841
|
+
/**
|
|
842
|
+
* DB Instance type.
|
|
843
|
+
*/
|
|
844
|
+
instanceType: pulumi.Input<string>;
|
|
845
|
+
/**
|
|
846
|
+
* Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
|
|
847
|
+
*/
|
|
848
|
+
maintainTime?: pulumi.Input<string>;
|
|
849
|
+
/**
|
|
850
|
+
* 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.
|
|
851
|
+
*/
|
|
852
|
+
manualHaTime?: pulumi.Input<string>;
|
|
853
|
+
/**
|
|
854
|
+
* The method that is used to modify the IP address whitelist. Default value: Cover. Valid values:
|
|
855
|
+
* - Cover: Use the value of the SecurityIps parameter to overwrite the existing entries in the IP address whitelist.
|
|
856
|
+
* - Append: Add the IP addresses and CIDR blocks that are specified in the SecurityIps parameter to the IP address whitelist.
|
|
857
|
+
* - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
|
|
858
|
+
*/
|
|
859
|
+
modifyMode?: pulumi.Input<string>;
|
|
860
|
+
/**
|
|
861
|
+
* The monitoring frequency in seconds. Valid values are 5, 60, 300. Defaults to 300.
|
|
862
|
+
*/
|
|
863
|
+
monitoringPeriod?: pulumi.Input<number>;
|
|
864
|
+
/**
|
|
865
|
+
* Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) .
|
|
866
|
+
*/
|
|
867
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.rds.DdrInstanceParameter>[]>;
|
|
868
|
+
/**
|
|
869
|
+
* Valid values are `Subscription`, `PayAsYouGo`, Default to `PayAsYouGo`.
|
|
870
|
+
*/
|
|
871
|
+
paymentType: pulumi.Input<string>;
|
|
872
|
+
period?: pulumi.Input<number>;
|
|
873
|
+
/**
|
|
874
|
+
* The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) (documented below).
|
|
875
|
+
*/
|
|
876
|
+
pgHbaConfs?: pulumi.Input<pulumi.Input<inputs.rds.DdrInstancePgHbaConf>[]>;
|
|
877
|
+
port?: pulumi.Input<string>;
|
|
878
|
+
/**
|
|
879
|
+
* 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.
|
|
880
|
+
*/
|
|
881
|
+
privateIpAddress?: pulumi.Input<string>;
|
|
882
|
+
/**
|
|
883
|
+
* The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
|
|
884
|
+
* - None: No archived backup files are retained.
|
|
885
|
+
* - Lastest: Only the last archived backup file is retained.
|
|
886
|
+
* - All: All the archived backup files are retained.
|
|
887
|
+
*/
|
|
888
|
+
releasedKeepPolicy?: pulumi.Input<string>;
|
|
889
|
+
/**
|
|
890
|
+
* 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:
|
|
891
|
+
* - cert
|
|
892
|
+
* - perfer
|
|
893
|
+
* - verify-ca
|
|
894
|
+
* - verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
895
|
+
*/
|
|
896
|
+
replicationAcl?: pulumi.Input<string>;
|
|
897
|
+
/**
|
|
898
|
+
* The ID of resource group which the DB instance belongs.
|
|
899
|
+
*/
|
|
900
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
901
|
+
/**
|
|
902
|
+
* 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.
|
|
903
|
+
*/
|
|
904
|
+
restoreTime?: pulumi.Input<string>;
|
|
905
|
+
/**
|
|
906
|
+
* The method that is used to restore data. Valid values:
|
|
907
|
+
* - BackupSet: Data is restored from a backup set. If you use this value, you must also specify the BackupSetID parameter.
|
|
908
|
+
* - BackupTime: restores data to a point in time. You must also specify the RestoreTime, SourceRegion, and SourceDBInstanceName parameters.
|
|
909
|
+
*/
|
|
910
|
+
restoreType: pulumi.Input<string>;
|
|
911
|
+
/**
|
|
912
|
+
* ) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
913
|
+
*/
|
|
914
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
915
|
+
/**
|
|
916
|
+
* Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
917
|
+
*/
|
|
918
|
+
securityIpMode?: pulumi.Input<string>;
|
|
919
|
+
/**
|
|
920
|
+
* The type of IP address in the IP address whitelist.
|
|
921
|
+
*/
|
|
922
|
+
securityIpType?: pulumi.Input<string>;
|
|
923
|
+
/**
|
|
924
|
+
* 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]).
|
|
925
|
+
*/
|
|
926
|
+
securityIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
927
|
+
/**
|
|
928
|
+
* 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.
|
|
929
|
+
*/
|
|
930
|
+
serverCert?: pulumi.Input<string>;
|
|
931
|
+
/**
|
|
932
|
+
* The private key 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.
|
|
933
|
+
*/
|
|
934
|
+
serverKey?: pulumi.Input<string>;
|
|
935
|
+
/**
|
|
936
|
+
* The ID of the source instance if you want to restore data to a point in time.
|
|
937
|
+
* #### Block pg_hba_conf
|
|
938
|
+
*/
|
|
939
|
+
sourceDbInstanceName?: pulumi.Input<string>;
|
|
940
|
+
/**
|
|
941
|
+
* The region ID of the source instance if you want to restore data to a point in time.
|
|
942
|
+
*/
|
|
943
|
+
sourceRegion?: pulumi.Input<string>;
|
|
944
|
+
/**
|
|
945
|
+
* The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
946
|
+
*/
|
|
947
|
+
sqlCollectorConfigValue?: pulumi.Input<number>;
|
|
948
|
+
/**
|
|
949
|
+
* The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
950
|
+
*/
|
|
951
|
+
sqlCollectorStatus?: pulumi.Input<string>;
|
|
952
|
+
/**
|
|
953
|
+
* 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](https://www.alibabacloud.com/help/zh/doc-detail/26254.htm).
|
|
954
|
+
*/
|
|
955
|
+
sslAction?: pulumi.Input<string>;
|
|
956
|
+
/**
|
|
957
|
+
* Automatic storage space expansion switch. Valid values:
|
|
958
|
+
* - Enable
|
|
959
|
+
* - Disable
|
|
960
|
+
*/
|
|
961
|
+
storageAutoScale?: pulumi.Input<string>;
|
|
962
|
+
/**
|
|
963
|
+
* The trigger threshold (percentage) for automatic storage space expansion. Valid values:
|
|
964
|
+
* - 10
|
|
965
|
+
* - 20
|
|
966
|
+
* - 30
|
|
967
|
+
* - 40
|
|
968
|
+
* - 50
|
|
969
|
+
*/
|
|
970
|
+
storageThreshold?: pulumi.Input<number>;
|
|
971
|
+
/**
|
|
972
|
+
* 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.
|
|
973
|
+
*/
|
|
974
|
+
storageUpperBound?: pulumi.Input<number>;
|
|
975
|
+
/**
|
|
976
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. The time must be in UTC.
|
|
977
|
+
*/
|
|
978
|
+
switchTime?: pulumi.Input<string>;
|
|
979
|
+
/**
|
|
980
|
+
* A mapping of tags to assign to the resource.
|
|
981
|
+
* - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
982
|
+
* - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
983
|
+
*/
|
|
984
|
+
tags?: pulumi.Input<{
|
|
985
|
+
[key: string]: any;
|
|
986
|
+
}>;
|
|
987
|
+
/**
|
|
988
|
+
* 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 `upgradeDbInstanceKernelVersion = true`. You must specify the minor engine version in one of the following formats:
|
|
989
|
+
* - PostgreSQL: rds_postgres_<Major engine version>00_<Minor engine version>. Example: rds_postgres_1200_20200830.
|
|
990
|
+
* - MySQL: <RDS edition>_<Minor engine version>. Examples: rds_20200229, xcluster_20200229, and xcluster80_20200229. The following RDS editions are supported:
|
|
991
|
+
* - rds: The instance runs RDS Basic or High-availability Edition.
|
|
992
|
+
* - xcluster: The instance runs MySQL 5.7 on RDS Enterprise Edition.
|
|
993
|
+
* - xcluster80: The instance runs MySQL 8.0 on RDS Enterprise Edition.
|
|
994
|
+
* - SQLServer: <Minor engine version>. Example: 15.0.4073.23.
|
|
995
|
+
*/
|
|
996
|
+
targetMinorVersion?: pulumi.Input<string>;
|
|
997
|
+
/**
|
|
998
|
+
* The availability check method of the instance. Valid values:
|
|
999
|
+
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
1000
|
+
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
1001
|
+
*/
|
|
1002
|
+
tcpConnectionType?: pulumi.Input<string>;
|
|
1003
|
+
/**
|
|
1004
|
+
* The TDE(Transparent Data Encryption) status. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
|
|
1005
|
+
*/
|
|
1006
|
+
tdeStatus?: pulumi.Input<string>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Whether to upgrade a minor version of the kernel. Valid values:
|
|
1009
|
+
* - true: upgrade
|
|
1010
|
+
* - false: not to upgrade
|
|
1011
|
+
*/
|
|
1012
|
+
upgradeDbInstanceKernelVersion?: pulumi.Input<boolean>;
|
|
1013
|
+
/**
|
|
1014
|
+
* The method to update the minor engine version. Default value: Immediate. It is valid only when `upgradeDbInstanceKernelVersion = true`. Valid values:
|
|
1015
|
+
* - Immediate: The minor engine version is immediately updated.
|
|
1016
|
+
* - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
|
|
1017
|
+
* - SpecifyTime: The minor engine version is updated at the point in time you specify.
|
|
1018
|
+
*/
|
|
1019
|
+
upgradeTime?: pulumi.Input<string>;
|
|
1020
|
+
/**
|
|
1021
|
+
* The VPC ID of the instance.
|
|
1022
|
+
*/
|
|
1023
|
+
vpcId?: pulumi.Input<string>;
|
|
1024
|
+
/**
|
|
1025
|
+
* The virtual switch ID to launch DB instances in one VPC. If there are multiple vswitches, separate them with commas.
|
|
1026
|
+
*/
|
|
1027
|
+
vswitchId?: pulumi.Input<string>;
|
|
1028
|
+
/**
|
|
1029
|
+
* The network type of the IP address whitelist. Default value: MIX. Valid values:
|
|
1030
|
+
* - Classic: classic network in enhanced whitelist mode
|
|
1031
|
+
* - VPC: virtual private cloud (VPC) in enhanced whitelist mode
|
|
1032
|
+
* - MIX: standard whitelist mode
|
|
1033
|
+
*/
|
|
1034
|
+
whitelistNetworkType?: pulumi.Input<string>;
|
|
1035
|
+
/**
|
|
1036
|
+
* The Zone to launch the DB instance. It supports multiple zone.
|
|
1037
|
+
* If it is a multi-zone and `vswitchId` is specified, the vswitch must in the one of them.
|
|
1038
|
+
* The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `alicloud.getZones`.
|
|
1039
|
+
*/
|
|
1040
|
+
zoneId?: pulumi.Input<string>;
|
|
1041
|
+
}
|