pulumi-alicloud 3.61.0a1723820875__py3-none-any.whl → 3.61.0a1724318858__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (29) hide show
  1. pulumi_alicloud/__init__.py +27 -0
  2. pulumi_alicloud/_inputs.py +16 -0
  3. pulumi_alicloud/alikafka/instance.py +21 -14
  4. pulumi_alicloud/amqp/binding.py +7 -0
  5. pulumi_alicloud/config/outputs.py +12 -0
  6. pulumi_alicloud/cs/_inputs.py +50 -2
  7. pulumi_alicloud/cs/node_pool.py +42 -42
  8. pulumi_alicloud/cs/outputs.py +45 -3
  9. pulumi_alicloud/dataworks/__init__.py +1 -0
  10. pulumi_alicloud/dataworks/project.py +450 -0
  11. pulumi_alicloud/elasticsearch/instance.py +296 -14
  12. pulumi_alicloud/log/store.py +91 -10
  13. pulumi_alicloud/mongodb/_inputs.py +12 -12
  14. pulumi_alicloud/mongodb/instance.py +54 -7
  15. pulumi_alicloud/mongodb/outputs.py +12 -12
  16. pulumi_alicloud/mongodb/sharding_instance.py +54 -7
  17. pulumi_alicloud/mongodb/sharding_network_private_address.py +145 -39
  18. pulumi_alicloud/pulumi-plugin.json +1 -1
  19. pulumi_alicloud/selectdb/__init__.py +13 -0
  20. pulumi_alicloud/selectdb/_inputs.py +446 -0
  21. pulumi_alicloud/selectdb/db_cluster.py +830 -0
  22. pulumi_alicloud/selectdb/db_instance.py +1368 -0
  23. pulumi_alicloud/selectdb/get_db_clusters.py +184 -0
  24. pulumi_alicloud/selectdb/get_db_instances.py +191 -0
  25. pulumi_alicloud/selectdb/outputs.py +1122 -0
  26. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/METADATA +1 -1
  27. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/RECORD +29 -21
  28. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/WHEEL +1 -1
  29. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1122 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'DbClusterDesiredParam',
15
+ 'DbClusterParamChangeLog',
16
+ 'DbInstanceDesiredSecurityIpList',
17
+ 'DbInstanceInstanceNetInfo',
18
+ 'DbInstanceInstanceNetInfoPortList',
19
+ 'DbInstanceSecurityIpList',
20
+ 'GetDbClustersClusterResult',
21
+ 'GetDbClustersClusterParamResult',
22
+ 'GetDbClustersClusterParamChangeLogResult',
23
+ 'GetDbInstancesInstanceResult',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class DbClusterDesiredParam(dict):
28
+ def __init__(__self__, *,
29
+ name: Optional[str] = None,
30
+ value: Optional[str] = None):
31
+ """
32
+ :param str name: Parameter name.
33
+ :param str value: The new value of Parameter.
34
+ """
35
+ if name is not None:
36
+ pulumi.set(__self__, "name", name)
37
+ if value is not None:
38
+ pulumi.set(__self__, "value", value)
39
+
40
+ @property
41
+ @pulumi.getter
42
+ def name(self) -> Optional[str]:
43
+ """
44
+ Parameter name.
45
+ """
46
+ return pulumi.get(self, "name")
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def value(self) -> Optional[str]:
51
+ """
52
+ The new value of Parameter.
53
+ """
54
+ return pulumi.get(self, "value")
55
+
56
+
57
+ @pulumi.output_type
58
+ class DbClusterParamChangeLog(dict):
59
+ @staticmethod
60
+ def __key_warning(key: str):
61
+ suggest = None
62
+ if key == "configId":
63
+ suggest = "config_id"
64
+ elif key == "gmtCreated":
65
+ suggest = "gmt_created"
66
+ elif key == "gmtModified":
67
+ suggest = "gmt_modified"
68
+ elif key == "isApplied":
69
+ suggest = "is_applied"
70
+ elif key == "newValue":
71
+ suggest = "new_value"
72
+ elif key == "oldValue":
73
+ suggest = "old_value"
74
+
75
+ if suggest:
76
+ pulumi.log.warn(f"Key '{key}' not found in DbClusterParamChangeLog. Access the value via the '{suggest}' property getter instead.")
77
+
78
+ def __getitem__(self, key: str) -> Any:
79
+ DbClusterParamChangeLog.__key_warning(key)
80
+ return super().__getitem__(key)
81
+
82
+ def get(self, key: str, default = None) -> Any:
83
+ DbClusterParamChangeLog.__key_warning(key)
84
+ return super().get(key, default)
85
+
86
+ def __init__(__self__, *,
87
+ config_id: Optional[int] = None,
88
+ gmt_created: Optional[str] = None,
89
+ gmt_modified: Optional[str] = None,
90
+ is_applied: Optional[bool] = None,
91
+ name: Optional[str] = None,
92
+ new_value: Optional[str] = None,
93
+ old_value: Optional[str] = None):
94
+ """
95
+ :param int config_id: The id of parameter change.
96
+ :param str gmt_created: When the parameter change is created.
97
+ :param str gmt_modified: When the parameter change is modified.
98
+ :param bool is_applied: Whether the parameter changing is applied.
99
+ :param str name: Changed parameter name.
100
+ :param str new_value: The new value of parameter.
101
+ :param str old_value: The old value of parameter.
102
+ """
103
+ if config_id is not None:
104
+ pulumi.set(__self__, "config_id", config_id)
105
+ if gmt_created is not None:
106
+ pulumi.set(__self__, "gmt_created", gmt_created)
107
+ if gmt_modified is not None:
108
+ pulumi.set(__self__, "gmt_modified", gmt_modified)
109
+ if is_applied is not None:
110
+ pulumi.set(__self__, "is_applied", is_applied)
111
+ if name is not None:
112
+ pulumi.set(__self__, "name", name)
113
+ if new_value is not None:
114
+ pulumi.set(__self__, "new_value", new_value)
115
+ if old_value is not None:
116
+ pulumi.set(__self__, "old_value", old_value)
117
+
118
+ @property
119
+ @pulumi.getter(name="configId")
120
+ def config_id(self) -> Optional[int]:
121
+ """
122
+ The id of parameter change.
123
+ """
124
+ return pulumi.get(self, "config_id")
125
+
126
+ @property
127
+ @pulumi.getter(name="gmtCreated")
128
+ def gmt_created(self) -> Optional[str]:
129
+ """
130
+ When the parameter change is created.
131
+ """
132
+ return pulumi.get(self, "gmt_created")
133
+
134
+ @property
135
+ @pulumi.getter(name="gmtModified")
136
+ def gmt_modified(self) -> Optional[str]:
137
+ """
138
+ When the parameter change is modified.
139
+ """
140
+ return pulumi.get(self, "gmt_modified")
141
+
142
+ @property
143
+ @pulumi.getter(name="isApplied")
144
+ def is_applied(self) -> Optional[bool]:
145
+ """
146
+ Whether the parameter changing is applied.
147
+ """
148
+ return pulumi.get(self, "is_applied")
149
+
150
+ @property
151
+ @pulumi.getter
152
+ def name(self) -> Optional[str]:
153
+ """
154
+ Changed parameter name.
155
+ """
156
+ return pulumi.get(self, "name")
157
+
158
+ @property
159
+ @pulumi.getter(name="newValue")
160
+ def new_value(self) -> Optional[str]:
161
+ """
162
+ The new value of parameter.
163
+ """
164
+ return pulumi.get(self, "new_value")
165
+
166
+ @property
167
+ @pulumi.getter(name="oldValue")
168
+ def old_value(self) -> Optional[str]:
169
+ """
170
+ The old value of parameter.
171
+ """
172
+ return pulumi.get(self, "old_value")
173
+
174
+
175
+ @pulumi.output_type
176
+ class DbInstanceDesiredSecurityIpList(dict):
177
+ @staticmethod
178
+ def __key_warning(key: str):
179
+ suggest = None
180
+ if key == "groupName":
181
+ suggest = "group_name"
182
+ elif key == "securityIpList":
183
+ suggest = "security_ip_list"
184
+
185
+ if suggest:
186
+ pulumi.log.warn(f"Key '{key}' not found in DbInstanceDesiredSecurityIpList. Access the value via the '{suggest}' property getter instead.")
187
+
188
+ def __getitem__(self, key: str) -> Any:
189
+ DbInstanceDesiredSecurityIpList.__key_warning(key)
190
+ return super().__getitem__(key)
191
+
192
+ def get(self, key: str, default = None) -> Any:
193
+ DbInstanceDesiredSecurityIpList.__key_warning(key)
194
+ return super().get(key, default)
195
+
196
+ def __init__(__self__, *,
197
+ group_name: Optional[str] = None,
198
+ security_ip_list: Optional[str] = None):
199
+ """
200
+ :param str group_name: Security group name.
201
+ :param str security_ip_list: The IP list of Security group. Each single IP value should be Separated by comma.
202
+ """
203
+ if group_name is not None:
204
+ pulumi.set(__self__, "group_name", group_name)
205
+ if security_ip_list is not None:
206
+ pulumi.set(__self__, "security_ip_list", security_ip_list)
207
+
208
+ @property
209
+ @pulumi.getter(name="groupName")
210
+ def group_name(self) -> Optional[str]:
211
+ """
212
+ Security group name.
213
+ """
214
+ return pulumi.get(self, "group_name")
215
+
216
+ @property
217
+ @pulumi.getter(name="securityIpList")
218
+ def security_ip_list(self) -> Optional[str]:
219
+ """
220
+ The IP list of Security group. Each single IP value should be Separated by comma.
221
+ """
222
+ return pulumi.get(self, "security_ip_list")
223
+
224
+
225
+ @pulumi.output_type
226
+ class DbInstanceInstanceNetInfo(dict):
227
+ @staticmethod
228
+ def __key_warning(key: str):
229
+ suggest = None
230
+ if key == "connectionString":
231
+ suggest = "connection_string"
232
+ elif key == "dbIp":
233
+ suggest = "db_ip"
234
+ elif key == "netType":
235
+ suggest = "net_type"
236
+ elif key == "portLists":
237
+ suggest = "port_lists"
238
+ elif key == "vpcInstanceId":
239
+ suggest = "vpc_instance_id"
240
+ elif key == "vswitchId":
241
+ suggest = "vswitch_id"
242
+
243
+ if suggest:
244
+ pulumi.log.warn(f"Key '{key}' not found in DbInstanceInstanceNetInfo. Access the value via the '{suggest}' property getter instead.")
245
+
246
+ def __getitem__(self, key: str) -> Any:
247
+ DbInstanceInstanceNetInfo.__key_warning(key)
248
+ return super().__getitem__(key)
249
+
250
+ def get(self, key: str, default = None) -> Any:
251
+ DbInstanceInstanceNetInfo.__key_warning(key)
252
+ return super().get(key, default)
253
+
254
+ def __init__(__self__, *,
255
+ connection_string: Optional[str] = None,
256
+ db_ip: Optional[str] = None,
257
+ net_type: Optional[str] = None,
258
+ port_lists: Optional[Sequence['outputs.DbInstanceInstanceNetInfoPortList']] = None,
259
+ vpc_instance_id: Optional[str] = None,
260
+ vswitch_id: Optional[str] = None):
261
+ """
262
+ :param str connection_string: The connection string of the instance.
263
+ :param str db_ip: The IP address of the instance.
264
+ :param str net_type: The network type of the instance.
265
+ :param Sequence['DbInstanceInstanceNetInfoPortListArgs'] port_lists: A list for port provides SelectDB service.
266
+ :param str vpc_instance_id: The VPC ID.
267
+ :param str vswitch_id: The ID of vswitch for DBInstance.
268
+ """
269
+ if connection_string is not None:
270
+ pulumi.set(__self__, "connection_string", connection_string)
271
+ if db_ip is not None:
272
+ pulumi.set(__self__, "db_ip", db_ip)
273
+ if net_type is not None:
274
+ pulumi.set(__self__, "net_type", net_type)
275
+ if port_lists is not None:
276
+ pulumi.set(__self__, "port_lists", port_lists)
277
+ if vpc_instance_id is not None:
278
+ pulumi.set(__self__, "vpc_instance_id", vpc_instance_id)
279
+ if vswitch_id is not None:
280
+ pulumi.set(__self__, "vswitch_id", vswitch_id)
281
+
282
+ @property
283
+ @pulumi.getter(name="connectionString")
284
+ def connection_string(self) -> Optional[str]:
285
+ """
286
+ The connection string of the instance.
287
+ """
288
+ return pulumi.get(self, "connection_string")
289
+
290
+ @property
291
+ @pulumi.getter(name="dbIp")
292
+ def db_ip(self) -> Optional[str]:
293
+ """
294
+ The IP address of the instance.
295
+ """
296
+ return pulumi.get(self, "db_ip")
297
+
298
+ @property
299
+ @pulumi.getter(name="netType")
300
+ def net_type(self) -> Optional[str]:
301
+ """
302
+ The network type of the instance.
303
+ """
304
+ return pulumi.get(self, "net_type")
305
+
306
+ @property
307
+ @pulumi.getter(name="portLists")
308
+ def port_lists(self) -> Optional[Sequence['outputs.DbInstanceInstanceNetInfoPortList']]:
309
+ """
310
+ A list for port provides SelectDB service.
311
+ """
312
+ return pulumi.get(self, "port_lists")
313
+
314
+ @property
315
+ @pulumi.getter(name="vpcInstanceId")
316
+ def vpc_instance_id(self) -> Optional[str]:
317
+ """
318
+ The VPC ID.
319
+ """
320
+ return pulumi.get(self, "vpc_instance_id")
321
+
322
+ @property
323
+ @pulumi.getter(name="vswitchId")
324
+ def vswitch_id(self) -> Optional[str]:
325
+ """
326
+ The ID of vswitch for DBInstance.
327
+ """
328
+ return pulumi.get(self, "vswitch_id")
329
+
330
+
331
+ @pulumi.output_type
332
+ class DbInstanceInstanceNetInfoPortList(dict):
333
+ def __init__(__self__, *,
334
+ port: Optional[str] = None,
335
+ protocol: Optional[str] = None):
336
+ """
337
+ :param str port: The port that is used to connect.
338
+ :param str protocol: The protocol of the port.
339
+ """
340
+ if port is not None:
341
+ pulumi.set(__self__, "port", port)
342
+ if protocol is not None:
343
+ pulumi.set(__self__, "protocol", protocol)
344
+
345
+ @property
346
+ @pulumi.getter
347
+ def port(self) -> Optional[str]:
348
+ """
349
+ The port that is used to connect.
350
+ """
351
+ return pulumi.get(self, "port")
352
+
353
+ @property
354
+ @pulumi.getter
355
+ def protocol(self) -> Optional[str]:
356
+ """
357
+ The protocol of the port.
358
+ """
359
+ return pulumi.get(self, "protocol")
360
+
361
+
362
+ @pulumi.output_type
363
+ class DbInstanceSecurityIpList(dict):
364
+ @staticmethod
365
+ def __key_warning(key: str):
366
+ suggest = None
367
+ if key == "groupName":
368
+ suggest = "group_name"
369
+ elif key == "groupTag":
370
+ suggest = "group_tag"
371
+ elif key == "listNetType":
372
+ suggest = "list_net_type"
373
+ elif key == "securityIpList":
374
+ suggest = "security_ip_list"
375
+ elif key == "securityIpType":
376
+ suggest = "security_ip_type"
377
+
378
+ if suggest:
379
+ pulumi.log.warn(f"Key '{key}' not found in DbInstanceSecurityIpList. Access the value via the '{suggest}' property getter instead.")
380
+
381
+ def __getitem__(self, key: str) -> Any:
382
+ DbInstanceSecurityIpList.__key_warning(key)
383
+ return super().__getitem__(key)
384
+
385
+ def get(self, key: str, default = None) -> Any:
386
+ DbInstanceSecurityIpList.__key_warning(key)
387
+ return super().get(key, default)
388
+
389
+ def __init__(__self__, *,
390
+ group_name: Optional[str] = None,
391
+ group_tag: Optional[str] = None,
392
+ list_net_type: Optional[str] = None,
393
+ security_ip_list: Optional[str] = None,
394
+ security_ip_type: Optional[str] = None):
395
+ """
396
+ :param str group_name: Security group name.
397
+ :param str group_tag: The tag of Security group.
398
+ :param str list_net_type: The network type of Security group.
399
+ :param str security_ip_list: The IP list of Security group. Each single IP value should be Separated by comma.
400
+ :param str security_ip_type: The IP address type. Valid values: `ipv4`, `ipv6` (not supported).
401
+ """
402
+ if group_name is not None:
403
+ pulumi.set(__self__, "group_name", group_name)
404
+ if group_tag is not None:
405
+ pulumi.set(__self__, "group_tag", group_tag)
406
+ if list_net_type is not None:
407
+ pulumi.set(__self__, "list_net_type", list_net_type)
408
+ if security_ip_list is not None:
409
+ pulumi.set(__self__, "security_ip_list", security_ip_list)
410
+ if security_ip_type is not None:
411
+ pulumi.set(__self__, "security_ip_type", security_ip_type)
412
+
413
+ @property
414
+ @pulumi.getter(name="groupName")
415
+ def group_name(self) -> Optional[str]:
416
+ """
417
+ Security group name.
418
+ """
419
+ return pulumi.get(self, "group_name")
420
+
421
+ @property
422
+ @pulumi.getter(name="groupTag")
423
+ def group_tag(self) -> Optional[str]:
424
+ """
425
+ The tag of Security group.
426
+ """
427
+ return pulumi.get(self, "group_tag")
428
+
429
+ @property
430
+ @pulumi.getter(name="listNetType")
431
+ def list_net_type(self) -> Optional[str]:
432
+ """
433
+ The network type of Security group.
434
+ """
435
+ return pulumi.get(self, "list_net_type")
436
+
437
+ @property
438
+ @pulumi.getter(name="securityIpList")
439
+ def security_ip_list(self) -> Optional[str]:
440
+ """
441
+ The IP list of Security group. Each single IP value should be Separated by comma.
442
+ """
443
+ return pulumi.get(self, "security_ip_list")
444
+
445
+ @property
446
+ @pulumi.getter(name="securityIpType")
447
+ def security_ip_type(self) -> Optional[str]:
448
+ """
449
+ The IP address type. Valid values: `ipv4`, `ipv6` (not supported).
450
+ """
451
+ return pulumi.get(self, "security_ip_type")
452
+
453
+
454
+ @pulumi.output_type
455
+ class GetDbClustersClusterResult(dict):
456
+ def __init__(__self__, *,
457
+ cache_size: int,
458
+ cpu: int,
459
+ create_time: str,
460
+ db_cluster_class: str,
461
+ db_cluster_description: str,
462
+ db_cluster_id: str,
463
+ db_instance_id: str,
464
+ engine: str,
465
+ engine_version: str,
466
+ id: str,
467
+ memory: int,
468
+ param_change_logs: Sequence['outputs.GetDbClustersClusterParamChangeLogResult'],
469
+ params: Sequence['outputs.GetDbClustersClusterParamResult'],
470
+ payment_type: str,
471
+ region_id: str,
472
+ status: str,
473
+ vpc_id: str,
474
+ zone_id: str):
475
+ """
476
+ :param int cache_size: The cache size for DBCluster.
477
+ :param int cpu: The cpu resource amount of DBCluster. Depends on `db_cluster_class`.
478
+ :param str create_time: The creation time of the resource.
479
+ :param str db_cluster_class: The DBCluster class. db_cluster_class has a range of class from `selectdb.xlarge` to `selectdb.256xlarge`.
480
+ :param str db_cluster_description: The DBCluster description.
481
+ :param str db_cluster_id: The cluster ID.
482
+ :param str db_instance_id: The instance ID.
483
+ :param str engine: The Engine of the DBCluster.
484
+ :param str engine_version: The engine version of the DBCluster.
485
+ :param int memory: The memory resource amount of DBCluster. Depends on `db_cluster_class`.
486
+ :param Sequence['GetDbClustersClusterParamChangeLogArgs'] param_change_logs: The configuration change logs of parameters.
487
+ :param Sequence['GetDbClustersClusterParamArgs'] params: The details about each parameter in DBCluster returned.
488
+ :param str payment_type: The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
489
+ :param str region_id: The ID of region for the cluster.
490
+ :param str status: The status of the DBCluster. Valid values: `ACTIVATION`,`CREATING`,`DELETING`,`RESTARTING`,`ORDER_PREPARING`.
491
+ :param str vpc_id: The ID of the VPC for the cluster.
492
+ :param str zone_id: The ID of zone for the cluster.
493
+ """
494
+ pulumi.set(__self__, "cache_size", cache_size)
495
+ pulumi.set(__self__, "cpu", cpu)
496
+ pulumi.set(__self__, "create_time", create_time)
497
+ pulumi.set(__self__, "db_cluster_class", db_cluster_class)
498
+ pulumi.set(__self__, "db_cluster_description", db_cluster_description)
499
+ pulumi.set(__self__, "db_cluster_id", db_cluster_id)
500
+ pulumi.set(__self__, "db_instance_id", db_instance_id)
501
+ pulumi.set(__self__, "engine", engine)
502
+ pulumi.set(__self__, "engine_version", engine_version)
503
+ pulumi.set(__self__, "id", id)
504
+ pulumi.set(__self__, "memory", memory)
505
+ pulumi.set(__self__, "param_change_logs", param_change_logs)
506
+ pulumi.set(__self__, "params", params)
507
+ pulumi.set(__self__, "payment_type", payment_type)
508
+ pulumi.set(__self__, "region_id", region_id)
509
+ pulumi.set(__self__, "status", status)
510
+ pulumi.set(__self__, "vpc_id", vpc_id)
511
+ pulumi.set(__self__, "zone_id", zone_id)
512
+
513
+ @property
514
+ @pulumi.getter(name="cacheSize")
515
+ def cache_size(self) -> int:
516
+ """
517
+ The cache size for DBCluster.
518
+ """
519
+ return pulumi.get(self, "cache_size")
520
+
521
+ @property
522
+ @pulumi.getter
523
+ def cpu(self) -> int:
524
+ """
525
+ The cpu resource amount of DBCluster. Depends on `db_cluster_class`.
526
+ """
527
+ return pulumi.get(self, "cpu")
528
+
529
+ @property
530
+ @pulumi.getter(name="createTime")
531
+ def create_time(self) -> str:
532
+ """
533
+ The creation time of the resource.
534
+ """
535
+ return pulumi.get(self, "create_time")
536
+
537
+ @property
538
+ @pulumi.getter(name="dbClusterClass")
539
+ def db_cluster_class(self) -> str:
540
+ """
541
+ The DBCluster class. db_cluster_class has a range of class from `selectdb.xlarge` to `selectdb.256xlarge`.
542
+ """
543
+ return pulumi.get(self, "db_cluster_class")
544
+
545
+ @property
546
+ @pulumi.getter(name="dbClusterDescription")
547
+ def db_cluster_description(self) -> str:
548
+ """
549
+ The DBCluster description.
550
+ """
551
+ return pulumi.get(self, "db_cluster_description")
552
+
553
+ @property
554
+ @pulumi.getter(name="dbClusterId")
555
+ def db_cluster_id(self) -> str:
556
+ """
557
+ The cluster ID.
558
+ """
559
+ return pulumi.get(self, "db_cluster_id")
560
+
561
+ @property
562
+ @pulumi.getter(name="dbInstanceId")
563
+ def db_instance_id(self) -> str:
564
+ """
565
+ The instance ID.
566
+ """
567
+ return pulumi.get(self, "db_instance_id")
568
+
569
+ @property
570
+ @pulumi.getter
571
+ def engine(self) -> str:
572
+ """
573
+ The Engine of the DBCluster.
574
+ """
575
+ return pulumi.get(self, "engine")
576
+
577
+ @property
578
+ @pulumi.getter(name="engineVersion")
579
+ def engine_version(self) -> str:
580
+ """
581
+ The engine version of the DBCluster.
582
+ """
583
+ return pulumi.get(self, "engine_version")
584
+
585
+ @property
586
+ @pulumi.getter
587
+ def id(self) -> str:
588
+ return pulumi.get(self, "id")
589
+
590
+ @property
591
+ @pulumi.getter
592
+ def memory(self) -> int:
593
+ """
594
+ The memory resource amount of DBCluster. Depends on `db_cluster_class`.
595
+ """
596
+ return pulumi.get(self, "memory")
597
+
598
+ @property
599
+ @pulumi.getter(name="paramChangeLogs")
600
+ def param_change_logs(self) -> Sequence['outputs.GetDbClustersClusterParamChangeLogResult']:
601
+ """
602
+ The configuration change logs of parameters.
603
+ """
604
+ return pulumi.get(self, "param_change_logs")
605
+
606
+ @property
607
+ @pulumi.getter
608
+ def params(self) -> Sequence['outputs.GetDbClustersClusterParamResult']:
609
+ """
610
+ The details about each parameter in DBCluster returned.
611
+ """
612
+ return pulumi.get(self, "params")
613
+
614
+ @property
615
+ @pulumi.getter(name="paymentType")
616
+ def payment_type(self) -> str:
617
+ """
618
+ The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
619
+ """
620
+ return pulumi.get(self, "payment_type")
621
+
622
+ @property
623
+ @pulumi.getter(name="regionId")
624
+ def region_id(self) -> str:
625
+ """
626
+ The ID of region for the cluster.
627
+ """
628
+ return pulumi.get(self, "region_id")
629
+
630
+ @property
631
+ @pulumi.getter
632
+ def status(self) -> str:
633
+ """
634
+ The status of the DBCluster. Valid values: `ACTIVATION`,`CREATING`,`DELETING`,`RESTARTING`,`ORDER_PREPARING`.
635
+ """
636
+ return pulumi.get(self, "status")
637
+
638
+ @property
639
+ @pulumi.getter(name="vpcId")
640
+ def vpc_id(self) -> str:
641
+ """
642
+ The ID of the VPC for the cluster.
643
+ """
644
+ return pulumi.get(self, "vpc_id")
645
+
646
+ @property
647
+ @pulumi.getter(name="zoneId")
648
+ def zone_id(self) -> str:
649
+ """
650
+ The ID of zone for the cluster.
651
+ """
652
+ return pulumi.get(self, "zone_id")
653
+
654
+
655
+ @pulumi.output_type
656
+ class GetDbClustersClusterParamResult(dict):
657
+ def __init__(__self__, *,
658
+ comment: str,
659
+ default_value: str,
660
+ is_dynamic: int,
661
+ is_user_modifiable: int,
662
+ name: str,
663
+ optional: int,
664
+ param_category: str,
665
+ value: str):
666
+ """
667
+ :param str comment: The comments on the parameter.
668
+ :param str default_value: The default value of the parameter.
669
+ :param int is_dynamic: Indicates whether the parameter immediately takes effect without requiring a restart.
670
+ :param int is_user_modifiable: Indicates whether the parameter is modifiable.
671
+ :param str name: Changed parameter name.
672
+ :param int optional: The value range of the parameter.
673
+ :param str param_category: The category of the parameter.
674
+ :param str value: The new value of Parameter.
675
+ """
676
+ pulumi.set(__self__, "comment", comment)
677
+ pulumi.set(__self__, "default_value", default_value)
678
+ pulumi.set(__self__, "is_dynamic", is_dynamic)
679
+ pulumi.set(__self__, "is_user_modifiable", is_user_modifiable)
680
+ pulumi.set(__self__, "name", name)
681
+ pulumi.set(__self__, "optional", optional)
682
+ pulumi.set(__self__, "param_category", param_category)
683
+ pulumi.set(__self__, "value", value)
684
+
685
+ @property
686
+ @pulumi.getter
687
+ def comment(self) -> str:
688
+ """
689
+ The comments on the parameter.
690
+ """
691
+ return pulumi.get(self, "comment")
692
+
693
+ @property
694
+ @pulumi.getter(name="defaultValue")
695
+ def default_value(self) -> str:
696
+ """
697
+ The default value of the parameter.
698
+ """
699
+ return pulumi.get(self, "default_value")
700
+
701
+ @property
702
+ @pulumi.getter(name="isDynamic")
703
+ def is_dynamic(self) -> int:
704
+ """
705
+ Indicates whether the parameter immediately takes effect without requiring a restart.
706
+ """
707
+ return pulumi.get(self, "is_dynamic")
708
+
709
+ @property
710
+ @pulumi.getter(name="isUserModifiable")
711
+ def is_user_modifiable(self) -> int:
712
+ """
713
+ Indicates whether the parameter is modifiable.
714
+ """
715
+ return pulumi.get(self, "is_user_modifiable")
716
+
717
+ @property
718
+ @pulumi.getter
719
+ def name(self) -> str:
720
+ """
721
+ Changed parameter name.
722
+ """
723
+ return pulumi.get(self, "name")
724
+
725
+ @property
726
+ @pulumi.getter
727
+ def optional(self) -> int:
728
+ """
729
+ The value range of the parameter.
730
+ """
731
+ return pulumi.get(self, "optional")
732
+
733
+ @property
734
+ @pulumi.getter(name="paramCategory")
735
+ def param_category(self) -> str:
736
+ """
737
+ The category of the parameter.
738
+ """
739
+ return pulumi.get(self, "param_category")
740
+
741
+ @property
742
+ @pulumi.getter
743
+ def value(self) -> str:
744
+ """
745
+ The new value of Parameter.
746
+ """
747
+ return pulumi.get(self, "value")
748
+
749
+
750
+ @pulumi.output_type
751
+ class GetDbClustersClusterParamChangeLogResult(dict):
752
+ def __init__(__self__, *,
753
+ config_id: int,
754
+ gmt_created: str,
755
+ gmt_modified: str,
756
+ is_applied: int,
757
+ name: str,
758
+ new_value: str,
759
+ old_value: str):
760
+ """
761
+ :param int config_id: The id of parameter change.
762
+ :param str gmt_created: When the parameter change is created.
763
+ :param str gmt_modified: When the parameter change is modified.
764
+ :param int is_applied: Whether the parameter changing is applied.
765
+ :param str name: Changed parameter name.
766
+ :param str new_value: The new value of parameter.
767
+ :param str old_value: The old value of parameter.
768
+ """
769
+ pulumi.set(__self__, "config_id", config_id)
770
+ pulumi.set(__self__, "gmt_created", gmt_created)
771
+ pulumi.set(__self__, "gmt_modified", gmt_modified)
772
+ pulumi.set(__self__, "is_applied", is_applied)
773
+ pulumi.set(__self__, "name", name)
774
+ pulumi.set(__self__, "new_value", new_value)
775
+ pulumi.set(__self__, "old_value", old_value)
776
+
777
+ @property
778
+ @pulumi.getter(name="configId")
779
+ def config_id(self) -> int:
780
+ """
781
+ The id of parameter change.
782
+ """
783
+ return pulumi.get(self, "config_id")
784
+
785
+ @property
786
+ @pulumi.getter(name="gmtCreated")
787
+ def gmt_created(self) -> str:
788
+ """
789
+ When the parameter change is created.
790
+ """
791
+ return pulumi.get(self, "gmt_created")
792
+
793
+ @property
794
+ @pulumi.getter(name="gmtModified")
795
+ def gmt_modified(self) -> str:
796
+ """
797
+ When the parameter change is modified.
798
+ """
799
+ return pulumi.get(self, "gmt_modified")
800
+
801
+ @property
802
+ @pulumi.getter(name="isApplied")
803
+ def is_applied(self) -> int:
804
+ """
805
+ Whether the parameter changing is applied.
806
+ """
807
+ return pulumi.get(self, "is_applied")
808
+
809
+ @property
810
+ @pulumi.getter
811
+ def name(self) -> str:
812
+ """
813
+ Changed parameter name.
814
+ """
815
+ return pulumi.get(self, "name")
816
+
817
+ @property
818
+ @pulumi.getter(name="newValue")
819
+ def new_value(self) -> str:
820
+ """
821
+ The new value of parameter.
822
+ """
823
+ return pulumi.get(self, "new_value")
824
+
825
+ @property
826
+ @pulumi.getter(name="oldValue")
827
+ def old_value(self) -> str:
828
+ """
829
+ The old value of parameter.
830
+ """
831
+ return pulumi.get(self, "old_value")
832
+
833
+
834
+ @pulumi.output_type
835
+ class GetDbInstancesInstanceResult(dict):
836
+ def __init__(__self__, *,
837
+ cache_size_postpaid: int,
838
+ cache_size_prepaid: int,
839
+ cluster_count_postpaid: int,
840
+ cluster_count_prepaid: int,
841
+ cpu_postpaid: int,
842
+ cpu_prepaid: int,
843
+ db_instance_description: str,
844
+ db_instance_id: str,
845
+ engine: str,
846
+ engine_minor_version: str,
847
+ engine_version: str,
848
+ gmt_created: str,
849
+ gmt_expired: str,
850
+ gmt_modified: str,
851
+ id: str,
852
+ lock_mode: str,
853
+ lock_reason: str,
854
+ memory_postpaid: int,
855
+ memory_prepaid: int,
856
+ payment_type: str,
857
+ region_id: str,
858
+ status: str,
859
+ sub_domain: str,
860
+ vpc_id: str,
861
+ vswitch_id: str,
862
+ zone_id: str):
863
+ """
864
+ :param int cache_size_postpaid: The sum of cache size for every `PayAsYouGo` clusters in DBInstance.
865
+ :param int cache_size_prepaid: The sum of cache size for every `Subscription` clusters in DBInstance.
866
+ :param int cluster_count_postpaid: The sum of cluster counts for `PayAsYouGo` clusters in DBInstance.
867
+ :param int cluster_count_prepaid: The sum of cluster counts for `Subscription` clusters in DBInstance.
868
+ :param int cpu_postpaid: The sum of cpu resource amount for every `PayAsYouGo` clusters in DBInstance.
869
+ :param int cpu_prepaid: The sum of cpu resource amount for every `Subscription` clusters in DBInstance.
870
+ :param str db_instance_description: The DBInstance description.
871
+ :param str db_instance_id: The instance ID.
872
+ :param str engine: The Engine of the DBInstance.
873
+ :param str engine_minor_version: The engine minor version of the DBInstance.
874
+ :param str engine_version: The engine version of the DBInstance.
875
+ :param str gmt_created: The time when DBInstance is created.
876
+ :param str gmt_expired: The time when DBInstance will be expired. Available on `Subscription` DBInstance.
877
+ :param str gmt_modified: The time when DBInstance is modified.
878
+ :param str lock_mode: The lock mode of the instance. Set the value to lock, which specifies that the instance is locked when it automatically expires or has an overdue payment.
879
+ :param str lock_reason: The reason why the instance is locked.
880
+ :param int memory_postpaid: The sum of memory resource amount offor every `PayAsYouGo` clusters in DBInstance.
881
+ :param int memory_prepaid: The sum of memory resource amount offor every `Subscription` clusters in DBInstance.
882
+ :param str payment_type: The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
883
+ :param str region_id: The ID of region for DBInstance.
884
+ :param str status: The status of the DBInstance. Valid values: `ACTIVATION`,`CREATING`,`DELETING`,`RESTARTING`,`ORDER_PREPARING`.
885
+ :param str sub_domain: The sub domain of DBInstance.
886
+ :param str vpc_id: The ID of the VPC for DBInstance.
887
+ :param str vswitch_id: The ID of vswitch for DBInstance.
888
+ :param str zone_id: The ID of zone for DBInstance.
889
+ """
890
+ pulumi.set(__self__, "cache_size_postpaid", cache_size_postpaid)
891
+ pulumi.set(__self__, "cache_size_prepaid", cache_size_prepaid)
892
+ pulumi.set(__self__, "cluster_count_postpaid", cluster_count_postpaid)
893
+ pulumi.set(__self__, "cluster_count_prepaid", cluster_count_prepaid)
894
+ pulumi.set(__self__, "cpu_postpaid", cpu_postpaid)
895
+ pulumi.set(__self__, "cpu_prepaid", cpu_prepaid)
896
+ pulumi.set(__self__, "db_instance_description", db_instance_description)
897
+ pulumi.set(__self__, "db_instance_id", db_instance_id)
898
+ pulumi.set(__self__, "engine", engine)
899
+ pulumi.set(__self__, "engine_minor_version", engine_minor_version)
900
+ pulumi.set(__self__, "engine_version", engine_version)
901
+ pulumi.set(__self__, "gmt_created", gmt_created)
902
+ pulumi.set(__self__, "gmt_expired", gmt_expired)
903
+ pulumi.set(__self__, "gmt_modified", gmt_modified)
904
+ pulumi.set(__self__, "id", id)
905
+ pulumi.set(__self__, "lock_mode", lock_mode)
906
+ pulumi.set(__self__, "lock_reason", lock_reason)
907
+ pulumi.set(__self__, "memory_postpaid", memory_postpaid)
908
+ pulumi.set(__self__, "memory_prepaid", memory_prepaid)
909
+ pulumi.set(__self__, "payment_type", payment_type)
910
+ pulumi.set(__self__, "region_id", region_id)
911
+ pulumi.set(__self__, "status", status)
912
+ pulumi.set(__self__, "sub_domain", sub_domain)
913
+ pulumi.set(__self__, "vpc_id", vpc_id)
914
+ pulumi.set(__self__, "vswitch_id", vswitch_id)
915
+ pulumi.set(__self__, "zone_id", zone_id)
916
+
917
+ @property
918
+ @pulumi.getter(name="cacheSizePostpaid")
919
+ def cache_size_postpaid(self) -> int:
920
+ """
921
+ The sum of cache size for every `PayAsYouGo` clusters in DBInstance.
922
+ """
923
+ return pulumi.get(self, "cache_size_postpaid")
924
+
925
+ @property
926
+ @pulumi.getter(name="cacheSizePrepaid")
927
+ def cache_size_prepaid(self) -> int:
928
+ """
929
+ The sum of cache size for every `Subscription` clusters in DBInstance.
930
+ """
931
+ return pulumi.get(self, "cache_size_prepaid")
932
+
933
+ @property
934
+ @pulumi.getter(name="clusterCountPostpaid")
935
+ def cluster_count_postpaid(self) -> int:
936
+ """
937
+ The sum of cluster counts for `PayAsYouGo` clusters in DBInstance.
938
+ """
939
+ return pulumi.get(self, "cluster_count_postpaid")
940
+
941
+ @property
942
+ @pulumi.getter(name="clusterCountPrepaid")
943
+ def cluster_count_prepaid(self) -> int:
944
+ """
945
+ The sum of cluster counts for `Subscription` clusters in DBInstance.
946
+ """
947
+ return pulumi.get(self, "cluster_count_prepaid")
948
+
949
+ @property
950
+ @pulumi.getter(name="cpuPostpaid")
951
+ def cpu_postpaid(self) -> int:
952
+ """
953
+ The sum of cpu resource amount for every `PayAsYouGo` clusters in DBInstance.
954
+ """
955
+ return pulumi.get(self, "cpu_postpaid")
956
+
957
+ @property
958
+ @pulumi.getter(name="cpuPrepaid")
959
+ def cpu_prepaid(self) -> int:
960
+ """
961
+ The sum of cpu resource amount for every `Subscription` clusters in DBInstance.
962
+ """
963
+ return pulumi.get(self, "cpu_prepaid")
964
+
965
+ @property
966
+ @pulumi.getter(name="dbInstanceDescription")
967
+ def db_instance_description(self) -> str:
968
+ """
969
+ The DBInstance description.
970
+ """
971
+ return pulumi.get(self, "db_instance_description")
972
+
973
+ @property
974
+ @pulumi.getter(name="dbInstanceId")
975
+ def db_instance_id(self) -> str:
976
+ """
977
+ The instance ID.
978
+ """
979
+ return pulumi.get(self, "db_instance_id")
980
+
981
+ @property
982
+ @pulumi.getter
983
+ def engine(self) -> str:
984
+ """
985
+ The Engine of the DBInstance.
986
+ """
987
+ return pulumi.get(self, "engine")
988
+
989
+ @property
990
+ @pulumi.getter(name="engineMinorVersion")
991
+ def engine_minor_version(self) -> str:
992
+ """
993
+ The engine minor version of the DBInstance.
994
+ """
995
+ return pulumi.get(self, "engine_minor_version")
996
+
997
+ @property
998
+ @pulumi.getter(name="engineVersion")
999
+ def engine_version(self) -> str:
1000
+ """
1001
+ The engine version of the DBInstance.
1002
+ """
1003
+ return pulumi.get(self, "engine_version")
1004
+
1005
+ @property
1006
+ @pulumi.getter(name="gmtCreated")
1007
+ def gmt_created(self) -> str:
1008
+ """
1009
+ The time when DBInstance is created.
1010
+ """
1011
+ return pulumi.get(self, "gmt_created")
1012
+
1013
+ @property
1014
+ @pulumi.getter(name="gmtExpired")
1015
+ def gmt_expired(self) -> str:
1016
+ """
1017
+ The time when DBInstance will be expired. Available on `Subscription` DBInstance.
1018
+ """
1019
+ return pulumi.get(self, "gmt_expired")
1020
+
1021
+ @property
1022
+ @pulumi.getter(name="gmtModified")
1023
+ def gmt_modified(self) -> str:
1024
+ """
1025
+ The time when DBInstance is modified.
1026
+ """
1027
+ return pulumi.get(self, "gmt_modified")
1028
+
1029
+ @property
1030
+ @pulumi.getter
1031
+ def id(self) -> str:
1032
+ return pulumi.get(self, "id")
1033
+
1034
+ @property
1035
+ @pulumi.getter(name="lockMode")
1036
+ def lock_mode(self) -> str:
1037
+ """
1038
+ The lock mode of the instance. Set the value to lock, which specifies that the instance is locked when it automatically expires or has an overdue payment.
1039
+ """
1040
+ return pulumi.get(self, "lock_mode")
1041
+
1042
+ @property
1043
+ @pulumi.getter(name="lockReason")
1044
+ def lock_reason(self) -> str:
1045
+ """
1046
+ The reason why the instance is locked.
1047
+ """
1048
+ return pulumi.get(self, "lock_reason")
1049
+
1050
+ @property
1051
+ @pulumi.getter(name="memoryPostpaid")
1052
+ def memory_postpaid(self) -> int:
1053
+ """
1054
+ The sum of memory resource amount offor every `PayAsYouGo` clusters in DBInstance.
1055
+ """
1056
+ return pulumi.get(self, "memory_postpaid")
1057
+
1058
+ @property
1059
+ @pulumi.getter(name="memoryPrepaid")
1060
+ def memory_prepaid(self) -> int:
1061
+ """
1062
+ The sum of memory resource amount offor every `Subscription` clusters in DBInstance.
1063
+ """
1064
+ return pulumi.get(self, "memory_prepaid")
1065
+
1066
+ @property
1067
+ @pulumi.getter(name="paymentType")
1068
+ def payment_type(self) -> str:
1069
+ """
1070
+ The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
1071
+ """
1072
+ return pulumi.get(self, "payment_type")
1073
+
1074
+ @property
1075
+ @pulumi.getter(name="regionId")
1076
+ def region_id(self) -> str:
1077
+ """
1078
+ The ID of region for DBInstance.
1079
+ """
1080
+ return pulumi.get(self, "region_id")
1081
+
1082
+ @property
1083
+ @pulumi.getter
1084
+ def status(self) -> str:
1085
+ """
1086
+ The status of the DBInstance. Valid values: `ACTIVATION`,`CREATING`,`DELETING`,`RESTARTING`,`ORDER_PREPARING`.
1087
+ """
1088
+ return pulumi.get(self, "status")
1089
+
1090
+ @property
1091
+ @pulumi.getter(name="subDomain")
1092
+ def sub_domain(self) -> str:
1093
+ """
1094
+ The sub domain of DBInstance.
1095
+ """
1096
+ return pulumi.get(self, "sub_domain")
1097
+
1098
+ @property
1099
+ @pulumi.getter(name="vpcId")
1100
+ def vpc_id(self) -> str:
1101
+ """
1102
+ The ID of the VPC for DBInstance.
1103
+ """
1104
+ return pulumi.get(self, "vpc_id")
1105
+
1106
+ @property
1107
+ @pulumi.getter(name="vswitchId")
1108
+ def vswitch_id(self) -> str:
1109
+ """
1110
+ The ID of vswitch for DBInstance.
1111
+ """
1112
+ return pulumi.get(self, "vswitch_id")
1113
+
1114
+ @property
1115
+ @pulumi.getter(name="zoneId")
1116
+ def zone_id(self) -> str:
1117
+ """
1118
+ The ID of zone for DBInstance.
1119
+ """
1120
+ return pulumi.get(self, "zone_id")
1121
+
1122
+