@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.
Files changed (86) hide show
  1. package/adb/dbclusterLakeVersion.d.ts +30 -0
  2. package/adb/dbclusterLakeVersion.js +4 -0
  3. package/adb/dbclusterLakeVersion.js.map +1 -1
  4. package/cen/transitRouterVpnAttachment.d.ts +81 -9
  5. package/cen/transitRouterVpnAttachment.js +81 -9
  6. package/cen/transitRouterVpnAttachment.js.map +1 -1
  7. package/dcdn/domain.d.ts +8 -0
  8. package/dcdn/domain.js +2 -0
  9. package/dcdn/domain.js.map +1 -1
  10. package/dcdn/getKvAccount.d.ts +66 -0
  11. package/dcdn/getKvAccount.js +52 -0
  12. package/dcdn/getKvAccount.js.map +1 -0
  13. package/dcdn/index.d.ts +9 -0
  14. package/dcdn/index.js +14 -1
  15. package/dcdn/index.js.map +1 -1
  16. package/dcdn/kv.d.ts +109 -0
  17. package/dcdn/kv.js +99 -0
  18. package/dcdn/kv.js.map +1 -0
  19. package/dcdn/kvNamespace.d.ts +97 -0
  20. package/dcdn/kvNamespace.js +88 -0
  21. package/dcdn/kvNamespace.js.map +1 -0
  22. package/dts/getInstances.d.ts +109 -0
  23. package/dts/getInstances.js +61 -0
  24. package/dts/getInstances.js.map +1 -0
  25. package/dts/index.d.ts +6 -0
  26. package/dts/index.js +9 -1
  27. package/dts/index.js.map +1 -1
  28. package/dts/instance.d.ts +533 -0
  29. package/dts/instance.js +110 -0
  30. package/dts/instance.js.map +1 -0
  31. package/dts/subscriptionJob.d.ts +7 -7
  32. package/dts/subscriptionJob.js +10 -1
  33. package/dts/subscriptionJob.js.map +1 -1
  34. package/expressconnect/physicalConnection.d.ts +2 -2
  35. package/expressconnect/physicalConnection.js +0 -3
  36. package/expressconnect/physicalConnection.js.map +1 -1
  37. package/gpdb/elasticInstance.d.ts +0 -5
  38. package/gpdb/elasticInstance.js +0 -5
  39. package/gpdb/elasticInstance.js.map +1 -1
  40. package/hbr/getHanaBackupClients.d.ts +133 -0
  41. package/hbr/getHanaBackupClients.js +66 -0
  42. package/hbr/getHanaBackupClients.js.map +1 -0
  43. package/hbr/hanaBackupClient.d.ts +147 -0
  44. package/hbr/hanaBackupClient.js +97 -0
  45. package/hbr/hanaBackupClient.js.map +1 -0
  46. package/hbr/index.d.ts +6 -0
  47. package/hbr/index.js +9 -1
  48. package/hbr/index.js.map +1 -1
  49. package/kms/getKeys.d.ts +8 -0
  50. package/kms/getKeys.js.map +1 -1
  51. package/kms/getSecrets.d.ts +4 -2
  52. package/kms/getSecrets.js.map +1 -1
  53. package/nlb/index.d.ts +3 -0
  54. package/nlb/index.js +6 -1
  55. package/nlb/index.js.map +1 -1
  56. package/nlb/loadBalancerSecurityGroupAttachment.d.ts +137 -0
  57. package/nlb/loadBalancerSecurityGroupAttachment.js +124 -0
  58. package/nlb/loadBalancerSecurityGroupAttachment.js.map +1 -0
  59. package/package.json +2 -2
  60. package/package.json.dev +2 -2
  61. package/rds/account.d.ts +3 -0
  62. package/rds/account.js +2 -0
  63. package/rds/account.js.map +1 -1
  64. package/rds/ddrInstance.d.ts +1041 -0
  65. package/rds/ddrInstance.js +214 -0
  66. package/rds/ddrInstance.js.map +1 -0
  67. package/rds/getCharacterSetNames.d.ts +69 -0
  68. package/rds/getCharacterSetNames.js +54 -0
  69. package/rds/getCharacterSetNames.js.map +1 -0
  70. package/rds/getCollationTimeZones.d.ts +77 -0
  71. package/rds/getCollationTimeZones.js +59 -0
  72. package/rds/getCollationTimeZones.js.map +1 -0
  73. package/rds/index.d.ts +9 -0
  74. package/rds/index.js +12 -1
  75. package/rds/index.js.map +1 -1
  76. package/rds/instance.d.ts +27 -9
  77. package/rds/instance.js +2 -0
  78. package/rds/instance.js.map +1 -1
  79. package/rds/rdsAccount.d.ts +12 -0
  80. package/rds/rdsAccount.js +2 -0
  81. package/rds/rdsAccount.js.map +1 -1
  82. package/sae/application.d.ts +12 -0
  83. package/sae/application.js +2 -0
  84. package/sae/application.js.map +1 -1
  85. package/types/input.d.ts +69 -0
  86. package/types/output.d.ts +178 -0
package/dts/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dts/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGxE,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAG5G,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAGnG,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAG5G,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACvG,QAAA,4BAA4B,GAA2E,IAAW,CAAC;AAChI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,EAAC,8BAA8B,CAAC,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AAG,EAAE,CAAC,CAAA;YACrE,KAAK,oDAAoD;gBACrD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,533 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Dts Instance resource.
4
+ *
5
+ * For information about Dts Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/data-transmission-service/latest/createdtsinstance).
6
+ *
7
+ * > **NOTE:** Available in v1.198.0+.
8
+ *
9
+ * ## Import
10
+ *
11
+ * Dts Instance can be imported using the id, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import alicloud:dts/instance:Instance example <id>
15
+ * ```
16
+ */
17
+ export declare class Instance extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Instance resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance;
28
+ /**
29
+ * Returns true if the given object is an instance of Instance. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is Instance;
33
+ /**
34
+ * Whether to automatically renew the fee when it expires. Valid values:
35
+ * - **false**: No, the default value.
36
+ * - **true**: Yes.
37
+ */
38
+ readonly autoPay: pulumi.Output<boolean | undefined>;
39
+ /**
40
+ * Whether to start the task automatically after the purchase is completed. Value:
41
+ * - **false**: No, the default value.
42
+ * - **true**: Yes.
43
+ */
44
+ readonly autoStart: pulumi.Output<boolean | undefined>;
45
+ /**
46
+ * Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. **NOTE:** Enter this parameter and enable ETL to clean and convert data.
47
+ */
48
+ readonly computeUnit: pulumi.Output<number | undefined>;
49
+ /**
50
+ * Instance creation time
51
+ */
52
+ readonly createTime: pulumi.Output<string>;
53
+ /**
54
+ * The number of private custom RDS instances in the PolarDB-X. The default value is **1**. **NOTE:** This parameter is required only when **source_endpoint_engine_name** is **DRDS**.
55
+ */
56
+ readonly databaseCount: pulumi.Output<number>;
57
+ /**
58
+ * The target database engine type.
59
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
60
+ * - **PolarDB**:PolarDB MySQL.
61
+ * - **polardb_o**:PolarDB O engine.
62
+ * - **polardb_pg**:PolarDB PostgreSQL.
63
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
64
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
65
+ * - **PostgreSQL**: User-created PostgreSQL.
66
+ * - **ODPS**:MaxCompute project.
67
+ * - **oracle**: self-built Oracle.
68
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
69
+ * - **tidb**:TiDB database.
70
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
71
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
72
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
73
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
74
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
75
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
76
+ * - **clickhouse**: ClickHouse.
77
+ * - **DB2**: self-built DB2 LUW.
78
+ * - **as400**:AS/400.
79
+ * - **Tablestore**: Tablestore.
80
+ * - **NOTE:**
81
+ * - The default value is **MySQL**.
82
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
83
+ * - This parameter or **job_id** must be passed in.
84
+ */
85
+ readonly destinationEndpointEngineName: pulumi.Output<string>;
86
+ /**
87
+ * The target instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
88
+ */
89
+ readonly destinationRegion: pulumi.Output<string | undefined>;
90
+ /**
91
+ * The ID of the subscription instance.
92
+ */
93
+ readonly dtsInstanceId: pulumi.Output<string>;
94
+ /**
95
+ * Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: **1** ~ **100**. **NOTE:** The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
96
+ */
97
+ readonly du: pulumi.Output<number | undefined>;
98
+ /**
99
+ * Subscription billing type, Valid values: `ONLY_CONFIGURATION_FEE`: charges only configuration fees; `CONFIGURATION_FEE_AND_DATA_FEE`: charges configuration fees and data traffic fees.
100
+ */
101
+ readonly feeType: pulumi.Output<string | undefined>;
102
+ /**
103
+ * The type of the migration or synchronization instance.
104
+ * - The specifications of the migration instance: **xxlarge**, **xlarge**, **large**, **medium**, **small**.
105
+ * - The types of synchronization instances: **large**, **medium**, **small**, **micro**.
106
+ * - **NOTE:** For performance descriptions of different specifications, see [Data Migration Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/cd773b) and [Data Synchronization Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/6bce7c).
107
+ */
108
+ readonly instanceClass: pulumi.Output<string | undefined>;
109
+ /**
110
+ * The name of Dts instance.
111
+ */
112
+ readonly instanceName: pulumi.Output<string>;
113
+ /**
114
+ * The ID of the task obtained by calling the **ConfigureDtsJob** operation (**DtsJobId**).> After you pass in this parameter, you do not need to pass the **source_region**, **destination_region**, **type**, **source_endpoint_engine_name**, or **destination_endpoint_engine_name** parameters. Even if the input is passed in, the configuration in **job_id** shall prevail.
115
+ */
116
+ readonly jobId: pulumi.Output<string | undefined>;
117
+ /**
118
+ * The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`.
119
+ */
120
+ readonly paymentType: pulumi.Output<string | undefined>;
121
+ /**
122
+ * The billing method of the subscription instance. Value: `Year`, `Month`. **NOTE:** This parameter is valid and must be passed in only when `paymentType` is `Subscription`.
123
+ */
124
+ readonly period: pulumi.Output<string | undefined>;
125
+ /**
126
+ * Resource Group ID.
127
+ */
128
+ readonly resourceGroupId: pulumi.Output<string>;
129
+ /**
130
+ * Source instance database engine type.
131
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
132
+ * - **PolarDB**:PolarDB MySQL.
133
+ * - **polardb_o**:PolarDB O engine.
134
+ * - **polardb_pg**:PolarDB PostgreSQL.
135
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
136
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
137
+ * - **PostgreSQL**: User-created PostgreSQL.
138
+ * - **ODPS**:MaxCompute.
139
+ * - **oracle**: self-built Oracle.
140
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
141
+ * - **tidb**:TiDB database.
142
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
143
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
144
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
145
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
146
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
147
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
148
+ * - **clickhouse**: ClickHouse.
149
+ * - **DB2**: self-built DB2 LUW.
150
+ * - **as400**:AS/400.
151
+ * - **Tablestore**: Tablestore.
152
+ * - **NOTE:**
153
+ * - The default value is **MySQL**.
154
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
155
+ * - This parameter or **job_id** must be passed in.
156
+ */
157
+ readonly sourceEndpointEngineName: pulumi.Output<string>;
158
+ /**
159
+ * The source instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
160
+ */
161
+ readonly sourceRegion: pulumi.Output<string | undefined>;
162
+ /**
163
+ * Instance status.
164
+ */
165
+ readonly status: pulumi.Output<string>;
166
+ /**
167
+ * Synchronization topology, value:
168
+ * - **oneway**: one-way synchronization, the default value.
169
+ * - **bidirectional**: two-way synchronization.
170
+ */
171
+ readonly syncArchitecture: pulumi.Output<string | undefined>;
172
+ /**
173
+ * The synchronization direction. Default value: `Forward`. Valid values:
174
+ */
175
+ readonly synchronizationDirection: pulumi.Output<string | undefined>;
176
+ /**
177
+ * The tag value corresponding to the tag key.See the following `Block Tags`.
178
+ */
179
+ readonly tags: pulumi.Output<{
180
+ [key: string]: any;
181
+ } | undefined>;
182
+ /**
183
+ * The instance type. Valid values:
184
+ * - **migration**: MIGRATION.
185
+ * - **sync**: synchronization.
186
+ * - **subscribe**: SUBSCRIBE.
187
+ * - **NOTE:** This parameter or **job_id** must be passed in.
188
+ */
189
+ readonly type: pulumi.Output<string | undefined>;
190
+ /**
191
+ * Prepaid instance purchase duration.
192
+ * - When **period** is **Month**, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
193
+ * - When **Period** is **Year**, the values are 1, 2, 3, and 5.
194
+ * - **NOTE:**
195
+ * - This parameter is valid and must be passed in only when **payment_type** is `Subscription`.
196
+ * - The billing method of the subscription instance. You can set the parameter `period`.
197
+ */
198
+ readonly usedTime: pulumi.Output<number | undefined>;
199
+ /**
200
+ * Create a Instance resource with the given unique name, arguments, and options.
201
+ *
202
+ * @param name The _unique_ name of the resource.
203
+ * @param args The arguments to use to populate this resource's properties.
204
+ * @param opts A bag of options that control this resource's behavior.
205
+ */
206
+ constructor(name: string, args?: InstanceArgs, opts?: pulumi.CustomResourceOptions);
207
+ }
208
+ /**
209
+ * Input properties used for looking up and filtering Instance resources.
210
+ */
211
+ export interface InstanceState {
212
+ /**
213
+ * Whether to automatically renew the fee when it expires. Valid values:
214
+ * - **false**: No, the default value.
215
+ * - **true**: Yes.
216
+ */
217
+ autoPay?: pulumi.Input<boolean>;
218
+ /**
219
+ * Whether to start the task automatically after the purchase is completed. Value:
220
+ * - **false**: No, the default value.
221
+ * - **true**: Yes.
222
+ */
223
+ autoStart?: pulumi.Input<boolean>;
224
+ /**
225
+ * Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. **NOTE:** Enter this parameter and enable ETL to clean and convert data.
226
+ */
227
+ computeUnit?: pulumi.Input<number>;
228
+ /**
229
+ * Instance creation time
230
+ */
231
+ createTime?: pulumi.Input<string>;
232
+ /**
233
+ * The number of private custom RDS instances in the PolarDB-X. The default value is **1**. **NOTE:** This parameter is required only when **source_endpoint_engine_name** is **DRDS**.
234
+ */
235
+ databaseCount?: pulumi.Input<number>;
236
+ /**
237
+ * The target database engine type.
238
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
239
+ * - **PolarDB**:PolarDB MySQL.
240
+ * - **polardb_o**:PolarDB O engine.
241
+ * - **polardb_pg**:PolarDB PostgreSQL.
242
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
243
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
244
+ * - **PostgreSQL**: User-created PostgreSQL.
245
+ * - **ODPS**:MaxCompute project.
246
+ * - **oracle**: self-built Oracle.
247
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
248
+ * - **tidb**:TiDB database.
249
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
250
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
251
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
252
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
253
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
254
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
255
+ * - **clickhouse**: ClickHouse.
256
+ * - **DB2**: self-built DB2 LUW.
257
+ * - **as400**:AS/400.
258
+ * - **Tablestore**: Tablestore.
259
+ * - **NOTE:**
260
+ * - The default value is **MySQL**.
261
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
262
+ * - This parameter or **job_id** must be passed in.
263
+ */
264
+ destinationEndpointEngineName?: pulumi.Input<string>;
265
+ /**
266
+ * The target instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
267
+ */
268
+ destinationRegion?: pulumi.Input<string>;
269
+ /**
270
+ * The ID of the subscription instance.
271
+ */
272
+ dtsInstanceId?: pulumi.Input<string>;
273
+ /**
274
+ * Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: **1** ~ **100**. **NOTE:** The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
275
+ */
276
+ du?: pulumi.Input<number>;
277
+ /**
278
+ * Subscription billing type, Valid values: `ONLY_CONFIGURATION_FEE`: charges only configuration fees; `CONFIGURATION_FEE_AND_DATA_FEE`: charges configuration fees and data traffic fees.
279
+ */
280
+ feeType?: pulumi.Input<string>;
281
+ /**
282
+ * The type of the migration or synchronization instance.
283
+ * - The specifications of the migration instance: **xxlarge**, **xlarge**, **large**, **medium**, **small**.
284
+ * - The types of synchronization instances: **large**, **medium**, **small**, **micro**.
285
+ * - **NOTE:** For performance descriptions of different specifications, see [Data Migration Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/cd773b) and [Data Synchronization Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/6bce7c).
286
+ */
287
+ instanceClass?: pulumi.Input<string>;
288
+ /**
289
+ * The name of Dts instance.
290
+ */
291
+ instanceName?: pulumi.Input<string>;
292
+ /**
293
+ * The ID of the task obtained by calling the **ConfigureDtsJob** operation (**DtsJobId**).> After you pass in this parameter, you do not need to pass the **source_region**, **destination_region**, **type**, **source_endpoint_engine_name**, or **destination_endpoint_engine_name** parameters. Even if the input is passed in, the configuration in **job_id** shall prevail.
294
+ */
295
+ jobId?: pulumi.Input<string>;
296
+ /**
297
+ * The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`.
298
+ */
299
+ paymentType?: pulumi.Input<string>;
300
+ /**
301
+ * The billing method of the subscription instance. Value: `Year`, `Month`. **NOTE:** This parameter is valid and must be passed in only when `paymentType` is `Subscription`.
302
+ */
303
+ period?: pulumi.Input<string>;
304
+ /**
305
+ * Resource Group ID.
306
+ */
307
+ resourceGroupId?: pulumi.Input<string>;
308
+ /**
309
+ * Source instance database engine type.
310
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
311
+ * - **PolarDB**:PolarDB MySQL.
312
+ * - **polardb_o**:PolarDB O engine.
313
+ * - **polardb_pg**:PolarDB PostgreSQL.
314
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
315
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
316
+ * - **PostgreSQL**: User-created PostgreSQL.
317
+ * - **ODPS**:MaxCompute.
318
+ * - **oracle**: self-built Oracle.
319
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
320
+ * - **tidb**:TiDB database.
321
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
322
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
323
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
324
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
325
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
326
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
327
+ * - **clickhouse**: ClickHouse.
328
+ * - **DB2**: self-built DB2 LUW.
329
+ * - **as400**:AS/400.
330
+ * - **Tablestore**: Tablestore.
331
+ * - **NOTE:**
332
+ * - The default value is **MySQL**.
333
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
334
+ * - This parameter or **job_id** must be passed in.
335
+ */
336
+ sourceEndpointEngineName?: pulumi.Input<string>;
337
+ /**
338
+ * The source instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
339
+ */
340
+ sourceRegion?: pulumi.Input<string>;
341
+ /**
342
+ * Instance status.
343
+ */
344
+ status?: pulumi.Input<string>;
345
+ /**
346
+ * Synchronization topology, value:
347
+ * - **oneway**: one-way synchronization, the default value.
348
+ * - **bidirectional**: two-way synchronization.
349
+ */
350
+ syncArchitecture?: pulumi.Input<string>;
351
+ /**
352
+ * The synchronization direction. Default value: `Forward`. Valid values:
353
+ */
354
+ synchronizationDirection?: pulumi.Input<string>;
355
+ /**
356
+ * The tag value corresponding to the tag key.See the following `Block Tags`.
357
+ */
358
+ tags?: pulumi.Input<{
359
+ [key: string]: any;
360
+ }>;
361
+ /**
362
+ * The instance type. Valid values:
363
+ * - **migration**: MIGRATION.
364
+ * - **sync**: synchronization.
365
+ * - **subscribe**: SUBSCRIBE.
366
+ * - **NOTE:** This parameter or **job_id** must be passed in.
367
+ */
368
+ type?: pulumi.Input<string>;
369
+ /**
370
+ * Prepaid instance purchase duration.
371
+ * - When **period** is **Month**, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
372
+ * - When **Period** is **Year**, the values are 1, 2, 3, and 5.
373
+ * - **NOTE:**
374
+ * - This parameter is valid and must be passed in only when **payment_type** is `Subscription`.
375
+ * - The billing method of the subscription instance. You can set the parameter `period`.
376
+ */
377
+ usedTime?: pulumi.Input<number>;
378
+ }
379
+ /**
380
+ * The set of arguments for constructing a Instance resource.
381
+ */
382
+ export interface InstanceArgs {
383
+ /**
384
+ * Whether to automatically renew the fee when it expires. Valid values:
385
+ * - **false**: No, the default value.
386
+ * - **true**: Yes.
387
+ */
388
+ autoPay?: pulumi.Input<boolean>;
389
+ /**
390
+ * Whether to start the task automatically after the purchase is completed. Value:
391
+ * - **false**: No, the default value.
392
+ * - **true**: Yes.
393
+ */
394
+ autoStart?: pulumi.Input<boolean>;
395
+ /**
396
+ * Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. **NOTE:** Enter this parameter and enable ETL to clean and convert data.
397
+ */
398
+ computeUnit?: pulumi.Input<number>;
399
+ /**
400
+ * The number of private custom RDS instances in the PolarDB-X. The default value is **1**. **NOTE:** This parameter is required only when **source_endpoint_engine_name** is **DRDS**.
401
+ */
402
+ databaseCount?: pulumi.Input<number>;
403
+ /**
404
+ * The target database engine type.
405
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
406
+ * - **PolarDB**:PolarDB MySQL.
407
+ * - **polardb_o**:PolarDB O engine.
408
+ * - **polardb_pg**:PolarDB PostgreSQL.
409
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
410
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
411
+ * - **PostgreSQL**: User-created PostgreSQL.
412
+ * - **ODPS**:MaxCompute project.
413
+ * - **oracle**: self-built Oracle.
414
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
415
+ * - **tidb**:TiDB database.
416
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
417
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
418
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
419
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
420
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
421
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
422
+ * - **clickhouse**: ClickHouse.
423
+ * - **DB2**: self-built DB2 LUW.
424
+ * - **as400**:AS/400.
425
+ * - **Tablestore**: Tablestore.
426
+ * - **NOTE:**
427
+ * - The default value is **MySQL**.
428
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
429
+ * - This parameter or **job_id** must be passed in.
430
+ */
431
+ destinationEndpointEngineName?: pulumi.Input<string>;
432
+ /**
433
+ * The target instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
434
+ */
435
+ destinationRegion?: pulumi.Input<string>;
436
+ /**
437
+ * Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: **1** ~ **100**. **NOTE:** The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
438
+ */
439
+ du?: pulumi.Input<number>;
440
+ /**
441
+ * Subscription billing type, Valid values: `ONLY_CONFIGURATION_FEE`: charges only configuration fees; `CONFIGURATION_FEE_AND_DATA_FEE`: charges configuration fees and data traffic fees.
442
+ */
443
+ feeType?: pulumi.Input<string>;
444
+ /**
445
+ * The type of the migration or synchronization instance.
446
+ * - The specifications of the migration instance: **xxlarge**, **xlarge**, **large**, **medium**, **small**.
447
+ * - The types of synchronization instances: **large**, **medium**, **small**, **micro**.
448
+ * - **NOTE:** For performance descriptions of different specifications, see [Data Migration Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/cd773b) and [Data Synchronization Link Specifications](https://www.alibabacloud.com/help/en/data-transmission-service/latest/6bce7c).
449
+ */
450
+ instanceClass?: pulumi.Input<string>;
451
+ /**
452
+ * The ID of the task obtained by calling the **ConfigureDtsJob** operation (**DtsJobId**).> After you pass in this parameter, you do not need to pass the **source_region**, **destination_region**, **type**, **source_endpoint_engine_name**, or **destination_endpoint_engine_name** parameters. Even if the input is passed in, the configuration in **job_id** shall prevail.
453
+ */
454
+ jobId?: pulumi.Input<string>;
455
+ /**
456
+ * The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`.
457
+ */
458
+ paymentType?: pulumi.Input<string>;
459
+ /**
460
+ * The billing method of the subscription instance. Value: `Year`, `Month`. **NOTE:** This parameter is valid and must be passed in only when `paymentType` is `Subscription`.
461
+ */
462
+ period?: pulumi.Input<string>;
463
+ /**
464
+ * Resource Group ID.
465
+ */
466
+ resourceGroupId?: pulumi.Input<string>;
467
+ /**
468
+ * Source instance database engine type.
469
+ * - **MySQL**:MySQL databases (including RDS MySQL and self-built MySQL).
470
+ * - **PolarDB**:PolarDB MySQL.
471
+ * - **polardb_o**:PolarDB O engine.
472
+ * - **polardb_pg**:PolarDB PostgreSQL.
473
+ * - **Redis**:Redis databases (including apsaradb for Redis and user-created Redis).
474
+ * - **DRDS**: cloud-native distributed database PolarDB-X 1.0 and 2.0.
475
+ * - **PostgreSQL**: User-created PostgreSQL.
476
+ * - **ODPS**:MaxCompute.
477
+ * - **oracle**: self-built Oracle.
478
+ * - **mongodb**:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
479
+ * - **tidb**:TiDB database.
480
+ * - **ADS**: Cloud native data warehouse AnalyticDB MySQL 2.0.
481
+ * - **ADB30**: Cloud native data warehouse AnalyticDB MySQL 3.0.
482
+ * - **Greenplum**: Cloud native data warehouse AnalyticDB PostgreSQL.
483
+ * - **MSSQL**:SQL Server databases (including RDS SQL Server and self-built SQL Server).
484
+ * - **kafka**:Kafka databases (including Kafka and self-built Kafka).
485
+ * - **DataHub**: DataHub, an Alibaba cloud streaming data service.
486
+ * - **clickhouse**: ClickHouse.
487
+ * - **DB2**: self-built DB2 LUW.
488
+ * - **as400**:AS/400.
489
+ * - **Tablestore**: Tablestore.
490
+ * - **NOTE:**
491
+ * - The default value is **MySQL**.
492
+ * - For more information about the supported source and destination databases, see [Database, Synchronization Initialization Type, and Synchronization Topology](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-synchronization-scenarios-1) and [Supported Database and Migration Type](https://www.alibabacloud.com/help/en/data-transmission-service/latest/overview-of-data-migration-scenarios).
493
+ * - This parameter or **job_id** must be passed in.
494
+ */
495
+ sourceEndpointEngineName?: pulumi.Input<string>;
496
+ /**
497
+ * The source instance region. For more information, see [List of supported regions](https://www.alibabacloud.com/help/en/data-transmission-service/latest/list-of-supported-regions). **NOTE:** This parameter or **job_id** must be passed in.
498
+ */
499
+ sourceRegion?: pulumi.Input<string>;
500
+ /**
501
+ * Synchronization topology, value:
502
+ * - **oneway**: one-way synchronization, the default value.
503
+ * - **bidirectional**: two-way synchronization.
504
+ */
505
+ syncArchitecture?: pulumi.Input<string>;
506
+ /**
507
+ * The synchronization direction. Default value: `Forward`. Valid values:
508
+ */
509
+ synchronizationDirection?: pulumi.Input<string>;
510
+ /**
511
+ * The tag value corresponding to the tag key.See the following `Block Tags`.
512
+ */
513
+ tags?: pulumi.Input<{
514
+ [key: string]: any;
515
+ }>;
516
+ /**
517
+ * The instance type. Valid values:
518
+ * - **migration**: MIGRATION.
519
+ * - **sync**: synchronization.
520
+ * - **subscribe**: SUBSCRIBE.
521
+ * - **NOTE:** This parameter or **job_id** must be passed in.
522
+ */
523
+ type?: pulumi.Input<string>;
524
+ /**
525
+ * Prepaid instance purchase duration.
526
+ * - When **period** is **Month**, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
527
+ * - When **Period** is **Year**, the values are 1, 2, 3, and 5.
528
+ * - **NOTE:**
529
+ * - This parameter is valid and must be passed in only when **payment_type** is `Subscription`.
530
+ * - The billing method of the subscription instance. You can set the parameter `period`.
531
+ */
532
+ usedTime?: pulumi.Input<number>;
533
+ }
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Instance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a Dts Instance resource.
10
+ *
11
+ * For information about Dts Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/data-transmission-service/latest/createdtsinstance).
12
+ *
13
+ * > **NOTE:** Available in v1.198.0+.
14
+ *
15
+ * ## Import
16
+ *
17
+ * Dts Instance can be imported using the id, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import alicloud:dts/instance:Instance example <id>
21
+ * ```
22
+ */
23
+ class Instance extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing Instance resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name, id, state, opts) {
34
+ return new Instance(name, state, Object.assign(Object.assign({}, opts), { id: id }));
35
+ }
36
+ /**
37
+ * Returns true if the given object is an instance of Instance. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj) {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === Instance.__pulumiType;
45
+ }
46
+ constructor(name, argsOrState, opts) {
47
+ let resourceInputs = {};
48
+ opts = opts || {};
49
+ if (opts.id) {
50
+ const state = argsOrState;
51
+ resourceInputs["autoPay"] = state ? state.autoPay : undefined;
52
+ resourceInputs["autoStart"] = state ? state.autoStart : undefined;
53
+ resourceInputs["computeUnit"] = state ? state.computeUnit : undefined;
54
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
55
+ resourceInputs["databaseCount"] = state ? state.databaseCount : undefined;
56
+ resourceInputs["destinationEndpointEngineName"] = state ? state.destinationEndpointEngineName : undefined;
57
+ resourceInputs["destinationRegion"] = state ? state.destinationRegion : undefined;
58
+ resourceInputs["dtsInstanceId"] = state ? state.dtsInstanceId : undefined;
59
+ resourceInputs["du"] = state ? state.du : undefined;
60
+ resourceInputs["feeType"] = state ? state.feeType : undefined;
61
+ resourceInputs["instanceClass"] = state ? state.instanceClass : undefined;
62
+ resourceInputs["instanceName"] = state ? state.instanceName : undefined;
63
+ resourceInputs["jobId"] = state ? state.jobId : undefined;
64
+ resourceInputs["paymentType"] = state ? state.paymentType : undefined;
65
+ resourceInputs["period"] = state ? state.period : undefined;
66
+ resourceInputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
67
+ resourceInputs["sourceEndpointEngineName"] = state ? state.sourceEndpointEngineName : undefined;
68
+ resourceInputs["sourceRegion"] = state ? state.sourceRegion : undefined;
69
+ resourceInputs["status"] = state ? state.status : undefined;
70
+ resourceInputs["syncArchitecture"] = state ? state.syncArchitecture : undefined;
71
+ resourceInputs["synchronizationDirection"] = state ? state.synchronizationDirection : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["type"] = state ? state.type : undefined;
74
+ resourceInputs["usedTime"] = state ? state.usedTime : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ resourceInputs["autoPay"] = args ? args.autoPay : undefined;
79
+ resourceInputs["autoStart"] = args ? args.autoStart : undefined;
80
+ resourceInputs["computeUnit"] = args ? args.computeUnit : undefined;
81
+ resourceInputs["databaseCount"] = args ? args.databaseCount : undefined;
82
+ resourceInputs["destinationEndpointEngineName"] = args ? args.destinationEndpointEngineName : undefined;
83
+ resourceInputs["destinationRegion"] = args ? args.destinationRegion : undefined;
84
+ resourceInputs["du"] = args ? args.du : undefined;
85
+ resourceInputs["feeType"] = args ? args.feeType : undefined;
86
+ resourceInputs["instanceClass"] = args ? args.instanceClass : undefined;
87
+ resourceInputs["jobId"] = args ? args.jobId : undefined;
88
+ resourceInputs["paymentType"] = args ? args.paymentType : undefined;
89
+ resourceInputs["period"] = args ? args.period : undefined;
90
+ resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
91
+ resourceInputs["sourceEndpointEngineName"] = args ? args.sourceEndpointEngineName : undefined;
92
+ resourceInputs["sourceRegion"] = args ? args.sourceRegion : undefined;
93
+ resourceInputs["syncArchitecture"] = args ? args.syncArchitecture : undefined;
94
+ resourceInputs["synchronizationDirection"] = args ? args.synchronizationDirection : undefined;
95
+ resourceInputs["tags"] = args ? args.tags : undefined;
96
+ resourceInputs["type"] = args ? args.type : undefined;
97
+ resourceInputs["usedTime"] = args ? args.usedTime : undefined;
98
+ resourceInputs["createTime"] = undefined /*out*/;
99
+ resourceInputs["dtsInstanceId"] = undefined /*out*/;
100
+ resourceInputs["instanceName"] = undefined /*out*/;
101
+ resourceInputs["status"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(Instance.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.Instance = Instance;
108
+ /** @internal */
109
+ Instance.__pulumiType = 'alicloud:dts/instance:Instance';
110
+ //# sourceMappingURL=instance.js.map