pulumi-alicloud 3.63.0a1727371922__py3-none-any.whl → 3.63.0a1727705137__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 (41) hide show
  1. pulumi_alicloud/__init__.py +24 -0
  2. pulumi_alicloud/alb/acl.py +18 -19
  3. pulumi_alicloud/alb/health_check_template.py +96 -88
  4. pulumi_alicloud/cms/_inputs.py +6 -6
  5. pulumi_alicloud/cms/outputs.py +6 -6
  6. pulumi_alicloud/ddos/_inputs.py +8 -9
  7. pulumi_alicloud/ddos/domain_resource.py +446 -90
  8. pulumi_alicloud/ddos/outputs.py +7 -8
  9. pulumi_alicloud/eci/container_group.py +47 -0
  10. pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
  11. pulumi_alicloud/ecs/snapshot.py +26 -8
  12. pulumi_alicloud/ess/__init__.py +1 -0
  13. pulumi_alicloud/ess/alarm.py +47 -0
  14. pulumi_alicloud/ess/server_group_attachment.py +552 -0
  15. pulumi_alicloud/ga/_inputs.py +23 -5
  16. pulumi_alicloud/ga/outputs.py +21 -5
  17. pulumi_alicloud/governance/account.py +61 -0
  18. pulumi_alicloud/gpdb/__init__.py +4 -0
  19. pulumi_alicloud/gpdb/_inputs.py +361 -3
  20. pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
  21. pulumi_alicloud/gpdb/get_data_backups.py +288 -0
  22. pulumi_alicloud/gpdb/get_log_backups.py +225 -0
  23. pulumi_alicloud/gpdb/instance.py +47 -0
  24. pulumi_alicloud/gpdb/outputs.py +597 -4
  25. pulumi_alicloud/gpdb/streaming_job.py +1568 -0
  26. pulumi_alicloud/nlb/load_balancer.py +116 -0
  27. pulumi_alicloud/oos/get_secret_parameters.py +111 -9
  28. pulumi_alicloud/oos/outputs.py +22 -11
  29. pulumi_alicloud/pulumi-plugin.json +1 -1
  30. pulumi_alicloud/ram/get_account_alias.py +35 -2
  31. pulumi_alicloud/rds/instance.py +21 -21
  32. pulumi_alicloud/rocketmq/_inputs.py +79 -22
  33. pulumi_alicloud/rocketmq/outputs.py +85 -21
  34. pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
  35. pulumi_alicloud/vpc/peer_connection.py +127 -59
  36. pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
  37. pulumi_alicloud/vpc/route_entry.py +232 -210
  38. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
  39. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +41 -36
  40. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
  41. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
@@ -14,10 +14,14 @@ __all__ = [
14
14
  'DbInstancePlanPlanConfig',
15
15
  'DbInstancePlanPlanConfigPause',
16
16
  'DbInstancePlanPlanConfigResume',
17
+ 'DbInstancePlanPlanConfigScaleDown',
17
18
  'DbInstancePlanPlanConfigScaleIn',
18
19
  'DbInstancePlanPlanConfigScaleOut',
20
+ 'DbInstancePlanPlanConfigScaleUp',
19
21
  'InstanceIpWhitelist',
22
+ 'InstanceParameter',
20
23
  'GetAccountsAccountResult',
24
+ 'GetDataBackupsBackupResult',
21
25
  'GetDbInstancePlansPlanResult',
22
26
  'GetDbInstancePlansPlanPlanConfigResult',
23
27
  'GetDbInstancePlansPlanPlanConfigPauseResult',
@@ -26,6 +30,7 @@ __all__ = [
26
30
  'GetDbInstancePlansPlanPlanConfigScaleOutResult',
27
31
  'GetInstancesInstanceResult',
28
32
  'GetInstancesInstanceIpWhitelistResult',
33
+ 'GetLogBackupsLogbackupResult',
29
34
  'GetZonesZoneResult',
30
35
  ]
31
36
 
@@ -34,10 +39,14 @@ class DbInstancePlanPlanConfig(dict):
34
39
  @staticmethod
35
40
  def __key_warning(key: str):
36
41
  suggest = None
37
- if key == "scaleIn":
42
+ if key == "scaleDown":
43
+ suggest = "scale_down"
44
+ elif key == "scaleIn":
38
45
  suggest = "scale_in"
39
46
  elif key == "scaleOut":
40
47
  suggest = "scale_out"
48
+ elif key == "scaleUp":
49
+ suggest = "scale_up"
41
50
 
42
51
  if suggest:
43
52
  pulumi.log.warn(f"Key '{key}' not found in DbInstancePlanPlanConfig. Access the value via the '{suggest}' property getter instead.")
@@ -53,22 +62,30 @@ class DbInstancePlanPlanConfig(dict):
53
62
  def __init__(__self__, *,
54
63
  pause: Optional['outputs.DbInstancePlanPlanConfigPause'] = None,
55
64
  resume: Optional['outputs.DbInstancePlanPlanConfigResume'] = None,
65
+ scale_down: Optional['outputs.DbInstancePlanPlanConfigScaleDown'] = None,
56
66
  scale_in: Optional['outputs.DbInstancePlanPlanConfigScaleIn'] = None,
57
- scale_out: Optional['outputs.DbInstancePlanPlanConfigScaleOut'] = None):
67
+ scale_out: Optional['outputs.DbInstancePlanPlanConfigScaleOut'] = None,
68
+ scale_up: Optional['outputs.DbInstancePlanPlanConfigScaleUp'] = None):
58
69
  """
59
70
  :param 'DbInstancePlanPlanConfigPauseArgs' pause: Pause instance plan config. See `pause` below.
60
71
  :param 'DbInstancePlanPlanConfigResumeArgs' resume: Resume instance plan config. See `resume` below.
72
+ :param 'DbInstancePlanPlanConfigScaleDownArgs' scale_down: Scale down instance plan config. See `scale_down` below.
61
73
  :param 'DbInstancePlanPlanConfigScaleInArgs' scale_in: Scale In instance plan config. See `scale_in` below.
62
74
  :param 'DbInstancePlanPlanConfigScaleOutArgs' scale_out: Scale out instance plan config. See `scale_out` below.
75
+ :param 'DbInstancePlanPlanConfigScaleUpArgs' scale_up: Scale up instance plan config. See `scale_up` below.
63
76
  """
64
77
  if pause is not None:
65
78
  pulumi.set(__self__, "pause", pause)
66
79
  if resume is not None:
67
80
  pulumi.set(__self__, "resume", resume)
81
+ if scale_down is not None:
82
+ pulumi.set(__self__, "scale_down", scale_down)
68
83
  if scale_in is not None:
69
84
  pulumi.set(__self__, "scale_in", scale_in)
70
85
  if scale_out is not None:
71
86
  pulumi.set(__self__, "scale_out", scale_out)
87
+ if scale_up is not None:
88
+ pulumi.set(__self__, "scale_up", scale_up)
72
89
 
73
90
  @property
74
91
  @pulumi.getter
@@ -86,6 +103,14 @@ class DbInstancePlanPlanConfig(dict):
86
103
  """
87
104
  return pulumi.get(self, "resume")
88
105
 
106
+ @property
107
+ @pulumi.getter(name="scaleDown")
108
+ def scale_down(self) -> Optional['outputs.DbInstancePlanPlanConfigScaleDown']:
109
+ """
110
+ Scale down instance plan config. See `scale_down` below.
111
+ """
112
+ return pulumi.get(self, "scale_down")
113
+
89
114
  @property
90
115
  @pulumi.getter(name="scaleIn")
91
116
  def scale_in(self) -> Optional['outputs.DbInstancePlanPlanConfigScaleIn']:
@@ -102,6 +127,14 @@ class DbInstancePlanPlanConfig(dict):
102
127
  """
103
128
  return pulumi.get(self, "scale_out")
104
129
 
130
+ @property
131
+ @pulumi.getter(name="scaleUp")
132
+ def scale_up(self) -> Optional['outputs.DbInstancePlanPlanConfigScaleUp']:
133
+ """
134
+ Scale up instance plan config. See `scale_up` below.
135
+ """
136
+ return pulumi.get(self, "scale_up")
137
+
105
138
 
106
139
  @pulumi.output_type
107
140
  class DbInstancePlanPlanConfigPause(dict):
@@ -112,6 +145,8 @@ class DbInstancePlanPlanConfigPause(dict):
112
145
  suggest = "execute_time"
113
146
  elif key == "planCronTime":
114
147
  suggest = "plan_cron_time"
148
+ elif key == "planTaskStatus":
149
+ suggest = "plan_task_status"
115
150
 
116
151
  if suggest:
117
152
  pulumi.log.warn(f"Key '{key}' not found in DbInstancePlanPlanConfigPause. Access the value via the '{suggest}' property getter instead.")
@@ -126,15 +161,19 @@ class DbInstancePlanPlanConfigPause(dict):
126
161
 
127
162
  def __init__(__self__, *,
128
163
  execute_time: Optional[str] = None,
129
- plan_cron_time: Optional[str] = None):
164
+ plan_cron_time: Optional[str] = None,
165
+ plan_task_status: Optional[str] = None):
130
166
  """
131
167
  :param str execute_time: The executed time of the Plan.
132
168
  :param str plan_cron_time: The Cron Time of the plan.
169
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
133
170
  """
134
171
  if execute_time is not None:
135
172
  pulumi.set(__self__, "execute_time", execute_time)
136
173
  if plan_cron_time is not None:
137
174
  pulumi.set(__self__, "plan_cron_time", plan_cron_time)
175
+ if plan_task_status is not None:
176
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
138
177
 
139
178
  @property
140
179
  @pulumi.getter(name="executeTime")
@@ -152,6 +191,14 @@ class DbInstancePlanPlanConfigPause(dict):
152
191
  """
153
192
  return pulumi.get(self, "plan_cron_time")
154
193
 
194
+ @property
195
+ @pulumi.getter(name="planTaskStatus")
196
+ def plan_task_status(self) -> Optional[str]:
197
+ """
198
+ (Available since v1.231.0) The status of the plan task.
199
+ """
200
+ return pulumi.get(self, "plan_task_status")
201
+
155
202
 
156
203
  @pulumi.output_type
157
204
  class DbInstancePlanPlanConfigResume(dict):
@@ -162,6 +209,8 @@ class DbInstancePlanPlanConfigResume(dict):
162
209
  suggest = "execute_time"
163
210
  elif key == "planCronTime":
164
211
  suggest = "plan_cron_time"
212
+ elif key == "planTaskStatus":
213
+ suggest = "plan_task_status"
165
214
 
166
215
  if suggest:
167
216
  pulumi.log.warn(f"Key '{key}' not found in DbInstancePlanPlanConfigResume. Access the value via the '{suggest}' property getter instead.")
@@ -176,15 +225,19 @@ class DbInstancePlanPlanConfigResume(dict):
176
225
 
177
226
  def __init__(__self__, *,
178
227
  execute_time: Optional[str] = None,
179
- plan_cron_time: Optional[str] = None):
228
+ plan_cron_time: Optional[str] = None,
229
+ plan_task_status: Optional[str] = None):
180
230
  """
181
231
  :param str execute_time: The executed time of the Plan.
182
232
  :param str plan_cron_time: The Cron Time of the plan.
233
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
183
234
  """
184
235
  if execute_time is not None:
185
236
  pulumi.set(__self__, "execute_time", execute_time)
186
237
  if plan_cron_time is not None:
187
238
  pulumi.set(__self__, "plan_cron_time", plan_cron_time)
239
+ if plan_task_status is not None:
240
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
188
241
 
189
242
  @property
190
243
  @pulumi.getter(name="executeTime")
@@ -202,6 +255,92 @@ class DbInstancePlanPlanConfigResume(dict):
202
255
  """
203
256
  return pulumi.get(self, "plan_cron_time")
204
257
 
258
+ @property
259
+ @pulumi.getter(name="planTaskStatus")
260
+ def plan_task_status(self) -> Optional[str]:
261
+ """
262
+ (Available since v1.231.0) The status of the plan task.
263
+ """
264
+ return pulumi.get(self, "plan_task_status")
265
+
266
+
267
+ @pulumi.output_type
268
+ class DbInstancePlanPlanConfigScaleDown(dict):
269
+ @staticmethod
270
+ def __key_warning(key: str):
271
+ suggest = None
272
+ if key == "executeTime":
273
+ suggest = "execute_time"
274
+ elif key == "instanceSpec":
275
+ suggest = "instance_spec"
276
+ elif key == "planCronTime":
277
+ suggest = "plan_cron_time"
278
+ elif key == "planTaskStatus":
279
+ suggest = "plan_task_status"
280
+
281
+ if suggest:
282
+ pulumi.log.warn(f"Key '{key}' not found in DbInstancePlanPlanConfigScaleDown. Access the value via the '{suggest}' property getter instead.")
283
+
284
+ def __getitem__(self, key: str) -> Any:
285
+ DbInstancePlanPlanConfigScaleDown.__key_warning(key)
286
+ return super().__getitem__(key)
287
+
288
+ def get(self, key: str, default = None) -> Any:
289
+ DbInstancePlanPlanConfigScaleDown.__key_warning(key)
290
+ return super().get(key, default)
291
+
292
+ def __init__(__self__, *,
293
+ execute_time: Optional[str] = None,
294
+ instance_spec: Optional[str] = None,
295
+ plan_cron_time: Optional[str] = None,
296
+ plan_task_status: Optional[str] = None):
297
+ """
298
+ :param str execute_time: The executed time of the Plan.
299
+ :param str instance_spec: The specification of segment nodes of the Plan.
300
+ :param str plan_cron_time: The Cron Time of the plan.
301
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
302
+ """
303
+ if execute_time is not None:
304
+ pulumi.set(__self__, "execute_time", execute_time)
305
+ if instance_spec is not None:
306
+ pulumi.set(__self__, "instance_spec", instance_spec)
307
+ if plan_cron_time is not None:
308
+ pulumi.set(__self__, "plan_cron_time", plan_cron_time)
309
+ if plan_task_status is not None:
310
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
311
+
312
+ @property
313
+ @pulumi.getter(name="executeTime")
314
+ def execute_time(self) -> Optional[str]:
315
+ """
316
+ The executed time of the Plan.
317
+ """
318
+ return pulumi.get(self, "execute_time")
319
+
320
+ @property
321
+ @pulumi.getter(name="instanceSpec")
322
+ def instance_spec(self) -> Optional[str]:
323
+ """
324
+ The specification of segment nodes of the Plan.
325
+ """
326
+ return pulumi.get(self, "instance_spec")
327
+
328
+ @property
329
+ @pulumi.getter(name="planCronTime")
330
+ def plan_cron_time(self) -> Optional[str]:
331
+ """
332
+ The Cron Time of the plan.
333
+ """
334
+ return pulumi.get(self, "plan_cron_time")
335
+
336
+ @property
337
+ @pulumi.getter(name="planTaskStatus")
338
+ def plan_task_status(self) -> Optional[str]:
339
+ """
340
+ (Available since v1.231.0) The status of the plan task.
341
+ """
342
+ return pulumi.get(self, "plan_task_status")
343
+
205
344
 
206
345
  @pulumi.output_type
207
346
  class DbInstancePlanPlanConfigScaleIn(dict):
@@ -212,6 +351,8 @@ class DbInstancePlanPlanConfigScaleIn(dict):
212
351
  suggest = "execute_time"
213
352
  elif key == "planCronTime":
214
353
  suggest = "plan_cron_time"
354
+ elif key == "planTaskStatus":
355
+ suggest = "plan_task_status"
215
356
  elif key == "segmentNodeNum":
216
357
  suggest = "segment_node_num"
217
358
 
@@ -229,16 +370,20 @@ class DbInstancePlanPlanConfigScaleIn(dict):
229
370
  def __init__(__self__, *,
230
371
  execute_time: Optional[str] = None,
231
372
  plan_cron_time: Optional[str] = None,
373
+ plan_task_status: Optional[str] = None,
232
374
  segment_node_num: Optional[str] = None):
233
375
  """
234
376
  :param str execute_time: The executed time of the Plan.
235
377
  :param str plan_cron_time: The Cron Time of the plan.
378
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
236
379
  :param str segment_node_num: The segment Node Num of the Plan.
237
380
  """
238
381
  if execute_time is not None:
239
382
  pulumi.set(__self__, "execute_time", execute_time)
240
383
  if plan_cron_time is not None:
241
384
  pulumi.set(__self__, "plan_cron_time", plan_cron_time)
385
+ if plan_task_status is not None:
386
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
242
387
  if segment_node_num is not None:
243
388
  pulumi.set(__self__, "segment_node_num", segment_node_num)
244
389
 
@@ -258,6 +403,14 @@ class DbInstancePlanPlanConfigScaleIn(dict):
258
403
  """
259
404
  return pulumi.get(self, "plan_cron_time")
260
405
 
406
+ @property
407
+ @pulumi.getter(name="planTaskStatus")
408
+ def plan_task_status(self) -> Optional[str]:
409
+ """
410
+ (Available since v1.231.0) The status of the plan task.
411
+ """
412
+ return pulumi.get(self, "plan_task_status")
413
+
261
414
  @property
262
415
  @pulumi.getter(name="segmentNodeNum")
263
416
  def segment_node_num(self) -> Optional[str]:
@@ -276,6 +429,8 @@ class DbInstancePlanPlanConfigScaleOut(dict):
276
429
  suggest = "execute_time"
277
430
  elif key == "planCronTime":
278
431
  suggest = "plan_cron_time"
432
+ elif key == "planTaskStatus":
433
+ suggest = "plan_task_status"
279
434
  elif key == "segmentNodeNum":
280
435
  suggest = "segment_node_num"
281
436
 
@@ -293,16 +448,20 @@ class DbInstancePlanPlanConfigScaleOut(dict):
293
448
  def __init__(__self__, *,
294
449
  execute_time: Optional[str] = None,
295
450
  plan_cron_time: Optional[str] = None,
451
+ plan_task_status: Optional[str] = None,
296
452
  segment_node_num: Optional[str] = None):
297
453
  """
298
454
  :param str execute_time: The executed time of the Plan.
299
455
  :param str plan_cron_time: The Cron Time of the plan.
456
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
300
457
  :param str segment_node_num: The segment Node Num of the Plan.
301
458
  """
302
459
  if execute_time is not None:
303
460
  pulumi.set(__self__, "execute_time", execute_time)
304
461
  if plan_cron_time is not None:
305
462
  pulumi.set(__self__, "plan_cron_time", plan_cron_time)
463
+ if plan_task_status is not None:
464
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
306
465
  if segment_node_num is not None:
307
466
  pulumi.set(__self__, "segment_node_num", segment_node_num)
308
467
 
@@ -322,6 +481,14 @@ class DbInstancePlanPlanConfigScaleOut(dict):
322
481
  """
323
482
  return pulumi.get(self, "plan_cron_time")
324
483
 
484
+ @property
485
+ @pulumi.getter(name="planTaskStatus")
486
+ def plan_task_status(self) -> Optional[str]:
487
+ """
488
+ (Available since v1.231.0) The status of the plan task.
489
+ """
490
+ return pulumi.get(self, "plan_task_status")
491
+
325
492
  @property
326
493
  @pulumi.getter(name="segmentNodeNum")
327
494
  def segment_node_num(self) -> Optional[str]:
@@ -331,6 +498,84 @@ class DbInstancePlanPlanConfigScaleOut(dict):
331
498
  return pulumi.get(self, "segment_node_num")
332
499
 
333
500
 
501
+ @pulumi.output_type
502
+ class DbInstancePlanPlanConfigScaleUp(dict):
503
+ @staticmethod
504
+ def __key_warning(key: str):
505
+ suggest = None
506
+ if key == "executeTime":
507
+ suggest = "execute_time"
508
+ elif key == "instanceSpec":
509
+ suggest = "instance_spec"
510
+ elif key == "planCronTime":
511
+ suggest = "plan_cron_time"
512
+ elif key == "planTaskStatus":
513
+ suggest = "plan_task_status"
514
+
515
+ if suggest:
516
+ pulumi.log.warn(f"Key '{key}' not found in DbInstancePlanPlanConfigScaleUp. Access the value via the '{suggest}' property getter instead.")
517
+
518
+ def __getitem__(self, key: str) -> Any:
519
+ DbInstancePlanPlanConfigScaleUp.__key_warning(key)
520
+ return super().__getitem__(key)
521
+
522
+ def get(self, key: str, default = None) -> Any:
523
+ DbInstancePlanPlanConfigScaleUp.__key_warning(key)
524
+ return super().get(key, default)
525
+
526
+ def __init__(__self__, *,
527
+ execute_time: Optional[str] = None,
528
+ instance_spec: Optional[str] = None,
529
+ plan_cron_time: Optional[str] = None,
530
+ plan_task_status: Optional[str] = None):
531
+ """
532
+ :param str execute_time: The executed time of the Plan.
533
+ :param str instance_spec: The specification of segment nodes of the Plan.
534
+ :param str plan_cron_time: The Cron Time of the plan.
535
+ :param str plan_task_status: (Available since v1.231.0) The status of the plan task.
536
+ """
537
+ if execute_time is not None:
538
+ pulumi.set(__self__, "execute_time", execute_time)
539
+ if instance_spec is not None:
540
+ pulumi.set(__self__, "instance_spec", instance_spec)
541
+ if plan_cron_time is not None:
542
+ pulumi.set(__self__, "plan_cron_time", plan_cron_time)
543
+ if plan_task_status is not None:
544
+ pulumi.set(__self__, "plan_task_status", plan_task_status)
545
+
546
+ @property
547
+ @pulumi.getter(name="executeTime")
548
+ def execute_time(self) -> Optional[str]:
549
+ """
550
+ The executed time of the Plan.
551
+ """
552
+ return pulumi.get(self, "execute_time")
553
+
554
+ @property
555
+ @pulumi.getter(name="instanceSpec")
556
+ def instance_spec(self) -> Optional[str]:
557
+ """
558
+ The specification of segment nodes of the Plan.
559
+ """
560
+ return pulumi.get(self, "instance_spec")
561
+
562
+ @property
563
+ @pulumi.getter(name="planCronTime")
564
+ def plan_cron_time(self) -> Optional[str]:
565
+ """
566
+ The Cron Time of the plan.
567
+ """
568
+ return pulumi.get(self, "plan_cron_time")
569
+
570
+ @property
571
+ @pulumi.getter(name="planTaskStatus")
572
+ def plan_task_status(self) -> Optional[str]:
573
+ """
574
+ (Available since v1.231.0) The status of the plan task.
575
+ """
576
+ return pulumi.get(self, "plan_task_status")
577
+
578
+
334
579
  @pulumi.output_type
335
580
  class InstanceIpWhitelist(dict):
336
581
  @staticmethod
@@ -397,6 +642,120 @@ class InstanceIpWhitelist(dict):
397
642
  return pulumi.get(self, "security_ip_list")
398
643
 
399
644
 
645
+ @pulumi.output_type
646
+ class InstanceParameter(dict):
647
+ @staticmethod
648
+ def __key_warning(key: str):
649
+ suggest = None
650
+ if key == "defaultValue":
651
+ suggest = "default_value"
652
+ elif key == "forceRestartInstance":
653
+ suggest = "force_restart_instance"
654
+ elif key == "isChangeableConfig":
655
+ suggest = "is_changeable_config"
656
+ elif key == "optionalRange":
657
+ suggest = "optional_range"
658
+ elif key == "parameterDescription":
659
+ suggest = "parameter_description"
660
+
661
+ if suggest:
662
+ pulumi.log.warn(f"Key '{key}' not found in InstanceParameter. Access the value via the '{suggest}' property getter instead.")
663
+
664
+ def __getitem__(self, key: str) -> Any:
665
+ InstanceParameter.__key_warning(key)
666
+ return super().__getitem__(key)
667
+
668
+ def get(self, key: str, default = None) -> Any:
669
+ InstanceParameter.__key_warning(key)
670
+ return super().get(key, default)
671
+
672
+ def __init__(__self__, *,
673
+ name: str,
674
+ value: str,
675
+ default_value: Optional[str] = None,
676
+ force_restart_instance: Optional[str] = None,
677
+ is_changeable_config: Optional[str] = None,
678
+ optional_range: Optional[str] = None,
679
+ parameter_description: Optional[str] = None):
680
+ """
681
+ :param str name: The name of the parameter.
682
+ :param str value: The value of the parameter.
683
+ :param str default_value: (Available since v1.231.0) The default value of the parameter.
684
+ :param str force_restart_instance: (Available since v1.231.0) Whether to force restart the instance to config the parameter.
685
+ :param str is_changeable_config: (Available since v1.231.0) Whether the parameter is changeable.
686
+ :param str optional_range: (Available since v1.231.0) The optional range of the parameter.
687
+ :param str parameter_description: (Available since v1.231.0) The description of the parameter.
688
+ """
689
+ pulumi.set(__self__, "name", name)
690
+ pulumi.set(__self__, "value", value)
691
+ if default_value is not None:
692
+ pulumi.set(__self__, "default_value", default_value)
693
+ if force_restart_instance is not None:
694
+ pulumi.set(__self__, "force_restart_instance", force_restart_instance)
695
+ if is_changeable_config is not None:
696
+ pulumi.set(__self__, "is_changeable_config", is_changeable_config)
697
+ if optional_range is not None:
698
+ pulumi.set(__self__, "optional_range", optional_range)
699
+ if parameter_description is not None:
700
+ pulumi.set(__self__, "parameter_description", parameter_description)
701
+
702
+ @property
703
+ @pulumi.getter
704
+ def name(self) -> str:
705
+ """
706
+ The name of the parameter.
707
+ """
708
+ return pulumi.get(self, "name")
709
+
710
+ @property
711
+ @pulumi.getter
712
+ def value(self) -> str:
713
+ """
714
+ The value of the parameter.
715
+ """
716
+ return pulumi.get(self, "value")
717
+
718
+ @property
719
+ @pulumi.getter(name="defaultValue")
720
+ def default_value(self) -> Optional[str]:
721
+ """
722
+ (Available since v1.231.0) The default value of the parameter.
723
+ """
724
+ return pulumi.get(self, "default_value")
725
+
726
+ @property
727
+ @pulumi.getter(name="forceRestartInstance")
728
+ def force_restart_instance(self) -> Optional[str]:
729
+ """
730
+ (Available since v1.231.0) Whether to force restart the instance to config the parameter.
731
+ """
732
+ return pulumi.get(self, "force_restart_instance")
733
+
734
+ @property
735
+ @pulumi.getter(name="isChangeableConfig")
736
+ def is_changeable_config(self) -> Optional[str]:
737
+ """
738
+ (Available since v1.231.0) Whether the parameter is changeable.
739
+ """
740
+ return pulumi.get(self, "is_changeable_config")
741
+
742
+ @property
743
+ @pulumi.getter(name="optionalRange")
744
+ def optional_range(self) -> Optional[str]:
745
+ """
746
+ (Available since v1.231.0) The optional range of the parameter.
747
+ """
748
+ return pulumi.get(self, "optional_range")
749
+
750
+ @property
751
+ @pulumi.getter(name="parameterDescription")
752
+ def parameter_description(self) -> Optional[str]:
753
+ """
754
+ (Available since v1.231.0) The description of the parameter.
755
+ """
756
+ return pulumi.get(self, "parameter_description")
757
+
758
+
400
759
  @pulumi.output_type
401
760
  class GetAccountsAccountResult(dict):
402
761
  def __init__(__self__, *,
@@ -459,6 +818,156 @@ class GetAccountsAccountResult(dict):
459
818
  return pulumi.get(self, "status")
460
819
 
461
820
 
821
+ @pulumi.output_type
822
+ class GetDataBackupsBackupResult(dict):
823
+ def __init__(__self__, *,
824
+ backup_end_time: str,
825
+ backup_end_time_local: str,
826
+ backup_method: str,
827
+ backup_mode: str,
828
+ backup_set_id: str,
829
+ backup_size: int,
830
+ backup_start_time: str,
831
+ backup_start_time_local: str,
832
+ bakset_name: str,
833
+ consistent_time: int,
834
+ data_type: str,
835
+ db_instance_id: str,
836
+ status: str):
837
+ """
838
+ :param str backup_end_time: The backup end time. Format: yyyy-MM-ddTHH:mm:ssZ(UTC time).
839
+ :param str backup_end_time_local: The end time of the backup (local time).
840
+ :param str backup_method: Backup method. Value Description:-**Physical**: Physical backup.-**Snapshot**: the Snapshot backup.
841
+ :param str backup_mode: Backup mode.Full Backup Value Description:-**Automated**: The system is automatically backed up.-**Manual**: Manual backup.Recovery point value description:-**Automated**: The recovery point after a full backup.-**Manual**: The recovery point triggered manually by the user.-**Period**: The recovery point triggered periodically because of the backup policy.
842
+ :param str backup_set_id: The ID of the backup set.
843
+ :param int backup_size: The size of the backup file. Unit: Byte.
844
+ :param str backup_start_time: The backup start time. Format: yyyy-MM-ddTHH:mm:ssZ(UTC time).
845
+ :param str backup_start_time_local: The start time of the backup (local time).
846
+ :param str bakset_name: The name of the recovery point or full backup set.
847
+ :param int consistent_time: -Full backup: Returns the timestamp of the consistent point in time.-Recoverable point: Returns the timestamp of the recoverable point in time.
848
+ :param str data_type: The backup type. Value Description:-**DATA**: Full backup.-**RESTOREPOI**: Recoverable point.
849
+ :param str db_instance_id: The instance ID.
850
+ :param str status: Backup set status. Value Description:-Success: The backup has been completed.-Failed: Backup Failed.If not, return all.
851
+ """
852
+ pulumi.set(__self__, "backup_end_time", backup_end_time)
853
+ pulumi.set(__self__, "backup_end_time_local", backup_end_time_local)
854
+ pulumi.set(__self__, "backup_method", backup_method)
855
+ pulumi.set(__self__, "backup_mode", backup_mode)
856
+ pulumi.set(__self__, "backup_set_id", backup_set_id)
857
+ pulumi.set(__self__, "backup_size", backup_size)
858
+ pulumi.set(__self__, "backup_start_time", backup_start_time)
859
+ pulumi.set(__self__, "backup_start_time_local", backup_start_time_local)
860
+ pulumi.set(__self__, "bakset_name", bakset_name)
861
+ pulumi.set(__self__, "consistent_time", consistent_time)
862
+ pulumi.set(__self__, "data_type", data_type)
863
+ pulumi.set(__self__, "db_instance_id", db_instance_id)
864
+ pulumi.set(__self__, "status", status)
865
+
866
+ @property
867
+ @pulumi.getter(name="backupEndTime")
868
+ def backup_end_time(self) -> str:
869
+ """
870
+ The backup end time. Format: yyyy-MM-ddTHH:mm:ssZ(UTC time).
871
+ """
872
+ return pulumi.get(self, "backup_end_time")
873
+
874
+ @property
875
+ @pulumi.getter(name="backupEndTimeLocal")
876
+ def backup_end_time_local(self) -> str:
877
+ """
878
+ The end time of the backup (local time).
879
+ """
880
+ return pulumi.get(self, "backup_end_time_local")
881
+
882
+ @property
883
+ @pulumi.getter(name="backupMethod")
884
+ def backup_method(self) -> str:
885
+ """
886
+ Backup method. Value Description:-**Physical**: Physical backup.-**Snapshot**: the Snapshot backup.
887
+ """
888
+ return pulumi.get(self, "backup_method")
889
+
890
+ @property
891
+ @pulumi.getter(name="backupMode")
892
+ def backup_mode(self) -> str:
893
+ """
894
+ Backup mode.Full Backup Value Description:-**Automated**: The system is automatically backed up.-**Manual**: Manual backup.Recovery point value description:-**Automated**: The recovery point after a full backup.-**Manual**: The recovery point triggered manually by the user.-**Period**: The recovery point triggered periodically because of the backup policy.
895
+ """
896
+ return pulumi.get(self, "backup_mode")
897
+
898
+ @property
899
+ @pulumi.getter(name="backupSetId")
900
+ def backup_set_id(self) -> str:
901
+ """
902
+ The ID of the backup set.
903
+ """
904
+ return pulumi.get(self, "backup_set_id")
905
+
906
+ @property
907
+ @pulumi.getter(name="backupSize")
908
+ def backup_size(self) -> int:
909
+ """
910
+ The size of the backup file. Unit: Byte.
911
+ """
912
+ return pulumi.get(self, "backup_size")
913
+
914
+ @property
915
+ @pulumi.getter(name="backupStartTime")
916
+ def backup_start_time(self) -> str:
917
+ """
918
+ The backup start time. Format: yyyy-MM-ddTHH:mm:ssZ(UTC time).
919
+ """
920
+ return pulumi.get(self, "backup_start_time")
921
+
922
+ @property
923
+ @pulumi.getter(name="backupStartTimeLocal")
924
+ def backup_start_time_local(self) -> str:
925
+ """
926
+ The start time of the backup (local time).
927
+ """
928
+ return pulumi.get(self, "backup_start_time_local")
929
+
930
+ @property
931
+ @pulumi.getter(name="baksetName")
932
+ def bakset_name(self) -> str:
933
+ """
934
+ The name of the recovery point or full backup set.
935
+ """
936
+ return pulumi.get(self, "bakset_name")
937
+
938
+ @property
939
+ @pulumi.getter(name="consistentTime")
940
+ def consistent_time(self) -> int:
941
+ """
942
+ -Full backup: Returns the timestamp of the consistent point in time.-Recoverable point: Returns the timestamp of the recoverable point in time.
943
+ """
944
+ return pulumi.get(self, "consistent_time")
945
+
946
+ @property
947
+ @pulumi.getter(name="dataType")
948
+ def data_type(self) -> str:
949
+ """
950
+ The backup type. Value Description:-**DATA**: Full backup.-**RESTOREPOI**: Recoverable point.
951
+ """
952
+ return pulumi.get(self, "data_type")
953
+
954
+ @property
955
+ @pulumi.getter(name="dbInstanceId")
956
+ def db_instance_id(self) -> str:
957
+ """
958
+ The instance ID.
959
+ """
960
+ return pulumi.get(self, "db_instance_id")
961
+
962
+ @property
963
+ @pulumi.getter
964
+ def status(self) -> str:
965
+ """
966
+ Backup set status. Value Description:-Success: The backup has been completed.-Failed: Backup Failed.If not, return all.
967
+ """
968
+ return pulumi.get(self, "status")
969
+
970
+
462
971
  @pulumi.output_type
463
972
  class GetDbInstancePlansPlanResult(dict):
464
973
  def __init__(__self__, *,
@@ -1174,6 +1683,90 @@ class GetInstancesInstanceIpWhitelistResult(dict):
1174
1683
  return pulumi.get(self, "security_ip_list")
1175
1684
 
1176
1685
 
1686
+ @pulumi.output_type
1687
+ class GetLogBackupsLogbackupResult(dict):
1688
+ def __init__(__self__, *,
1689
+ db_instance_id: str,
1690
+ log_backup_id: str,
1691
+ log_file_name: str,
1692
+ log_file_size: int,
1693
+ log_time: str,
1694
+ record_total: int,
1695
+ segment_name: str):
1696
+ """
1697
+ :param str db_instance_id: The ID of the Master node of the instance.
1698
+ :param str log_backup_id: The first ID of the resource
1699
+ :param str log_file_name: Log file name (OSS path).
1700
+ :param int log_file_size: Size of the backup log file. Unit: Byte.
1701
+ :param str log_time: The log timestamp.
1702
+ :param int record_total: Total number of records.
1703
+ :param str segment_name: The node name.
1704
+ """
1705
+ pulumi.set(__self__, "db_instance_id", db_instance_id)
1706
+ pulumi.set(__self__, "log_backup_id", log_backup_id)
1707
+ pulumi.set(__self__, "log_file_name", log_file_name)
1708
+ pulumi.set(__self__, "log_file_size", log_file_size)
1709
+ pulumi.set(__self__, "log_time", log_time)
1710
+ pulumi.set(__self__, "record_total", record_total)
1711
+ pulumi.set(__self__, "segment_name", segment_name)
1712
+
1713
+ @property
1714
+ @pulumi.getter(name="dbInstanceId")
1715
+ def db_instance_id(self) -> str:
1716
+ """
1717
+ The ID of the Master node of the instance.
1718
+ """
1719
+ return pulumi.get(self, "db_instance_id")
1720
+
1721
+ @property
1722
+ @pulumi.getter(name="logBackupId")
1723
+ def log_backup_id(self) -> str:
1724
+ """
1725
+ The first ID of the resource
1726
+ """
1727
+ return pulumi.get(self, "log_backup_id")
1728
+
1729
+ @property
1730
+ @pulumi.getter(name="logFileName")
1731
+ def log_file_name(self) -> str:
1732
+ """
1733
+ Log file name (OSS path).
1734
+ """
1735
+ return pulumi.get(self, "log_file_name")
1736
+
1737
+ @property
1738
+ @pulumi.getter(name="logFileSize")
1739
+ def log_file_size(self) -> int:
1740
+ """
1741
+ Size of the backup log file. Unit: Byte.
1742
+ """
1743
+ return pulumi.get(self, "log_file_size")
1744
+
1745
+ @property
1746
+ @pulumi.getter(name="logTime")
1747
+ def log_time(self) -> str:
1748
+ """
1749
+ The log timestamp.
1750
+ """
1751
+ return pulumi.get(self, "log_time")
1752
+
1753
+ @property
1754
+ @pulumi.getter(name="recordTotal")
1755
+ def record_total(self) -> int:
1756
+ """
1757
+ Total number of records.
1758
+ """
1759
+ return pulumi.get(self, "record_total")
1760
+
1761
+ @property
1762
+ @pulumi.getter(name="segmentName")
1763
+ def segment_name(self) -> str:
1764
+ """
1765
+ The node name.
1766
+ """
1767
+ return pulumi.get(self, "segment_name")
1768
+
1769
+
1177
1770
  @pulumi.output_type
1178
1771
  class GetZonesZoneResult(dict):
1179
1772
  def __init__(__self__, *,