pulumi-alicloud 3.65.0a1730524658__py3-none-any.whl → 3.65.1__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 (55) hide show
  1. pulumi_alicloud/__init__.py +19 -0
  2. pulumi_alicloud/alb/load_balancer.py +1 -1
  3. pulumi_alicloud/arms/environment.py +7 -7
  4. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  5. pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
  6. pulumi_alicloud/arms/remote_write.py +2 -2
  7. pulumi_alicloud/cen/transit_router_route_table_association.py +72 -68
  8. pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
  9. pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
  10. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
  11. pulumi_alicloud/cr/chain.py +22 -14
  12. pulumi_alicloud/cr/chart_repository.py +14 -6
  13. pulumi_alicloud/cr/repo.py +8 -8
  14. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
  15. pulumi_alicloud/cs/_inputs.py +6 -6
  16. pulumi_alicloud/cs/outputs.py +4 -4
  17. pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
  18. pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
  19. pulumi_alicloud/ecs/instance.py +7 -7
  20. pulumi_alicloud/ess/scaling_configuration.py +8 -8
  21. pulumi_alicloud/ess/scaling_group.py +54 -7
  22. pulumi_alicloud/fc/_inputs.py +3 -3
  23. pulumi_alicloud/fc/outputs.py +2 -2
  24. pulumi_alicloud/fc/trigger.py +202 -138
  25. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
  26. pulumi_alicloud/governance/_inputs.py +54 -0
  27. pulumi_alicloud/governance/account.py +49 -14
  28. pulumi_alicloud/governance/outputs.py +51 -0
  29. pulumi_alicloud/gpdb/instance.py +196 -15
  30. pulumi_alicloud/kms/get_secrets.py +5 -5
  31. pulumi_alicloud/kms/instance.py +28 -0
  32. pulumi_alicloud/kms/outputs.py +18 -18
  33. pulumi_alicloud/mse/__init__.py +2 -0
  34. pulumi_alicloud/mse/get_nacos_configs.py +394 -0
  35. pulumi_alicloud/mse/nacos_config.py +762 -0
  36. pulumi_alicloud/mse/outputs.py +129 -0
  37. pulumi_alicloud/nas/data_flow.py +6 -6
  38. pulumi_alicloud/nas/fileset.py +6 -6
  39. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  40. pulumi_alicloud/nas/recycle_bin.py +6 -6
  41. pulumi_alicloud/nas/snapshot.py +6 -6
  42. pulumi_alicloud/ocean/base_instance.py +2 -2
  43. pulumi_alicloud/pai/__init__.py +8 -0
  44. pulumi_alicloud/pai/workspace_workspace.py +447 -0
  45. pulumi_alicloud/polardb/cluster.py +14 -14
  46. pulumi_alicloud/pulumi-plugin.json +1 -1
  47. pulumi_alicloud/redis/tair_instance.py +1102 -71
  48. pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
  49. pulumi_alicloud/vpc/subnet.py +59 -27
  50. pulumi_alicloud/vpc/switch.py +104 -87
  51. pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
  52. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/METADATA +1 -1
  53. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/RECORD +55 -51
  54. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/WHEEL +1 -1
  55. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,447 @@
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 sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['WorkspaceWorkspaceArgs', 'WorkspaceWorkspace']
18
+
19
+ @pulumi.input_type
20
+ class WorkspaceWorkspaceArgs:
21
+ def __init__(__self__, *,
22
+ description: pulumi.Input[str],
23
+ env_types: pulumi.Input[Sequence[pulumi.Input[str]]],
24
+ workspace_name: pulumi.Input[str],
25
+ display_name: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ The set of arguments for constructing a WorkspaceWorkspace resource.
28
+ :param pulumi.Input[str] description: Workspace description, no more than 80 characters.
29
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] env_types: Environments contained in the workspace:
30
+ - Simple mode only production environment (prod).
31
+ - Standard mode includes development environment (dev) and production environment (prod).
32
+ :param pulumi.Input[str] workspace_name: The workspace name. The format is as follows:
33
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
34
+ - Must start with a large or small letter.
35
+ - Unique in the current region.
36
+ :param pulumi.Input[str] display_name: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
37
+ """
38
+ pulumi.set(__self__, "description", description)
39
+ pulumi.set(__self__, "env_types", env_types)
40
+ pulumi.set(__self__, "workspace_name", workspace_name)
41
+ if display_name is not None:
42
+ pulumi.set(__self__, "display_name", display_name)
43
+
44
+ @property
45
+ @pulumi.getter
46
+ def description(self) -> pulumi.Input[str]:
47
+ """
48
+ Workspace description, no more than 80 characters.
49
+ """
50
+ return pulumi.get(self, "description")
51
+
52
+ @description.setter
53
+ def description(self, value: pulumi.Input[str]):
54
+ pulumi.set(self, "description", value)
55
+
56
+ @property
57
+ @pulumi.getter(name="envTypes")
58
+ def env_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
59
+ """
60
+ Environments contained in the workspace:
61
+ - Simple mode only production environment (prod).
62
+ - Standard mode includes development environment (dev) and production environment (prod).
63
+ """
64
+ return pulumi.get(self, "env_types")
65
+
66
+ @env_types.setter
67
+ def env_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
68
+ pulumi.set(self, "env_types", value)
69
+
70
+ @property
71
+ @pulumi.getter(name="workspaceName")
72
+ def workspace_name(self) -> pulumi.Input[str]:
73
+ """
74
+ The workspace name. The format is as follows:
75
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
76
+ - Must start with a large or small letter.
77
+ - Unique in the current region.
78
+ """
79
+ return pulumi.get(self, "workspace_name")
80
+
81
+ @workspace_name.setter
82
+ def workspace_name(self, value: pulumi.Input[str]):
83
+ pulumi.set(self, "workspace_name", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="displayName")
87
+ def display_name(self) -> Optional[pulumi.Input[str]]:
88
+ """
89
+ It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
90
+ """
91
+ return pulumi.get(self, "display_name")
92
+
93
+ @display_name.setter
94
+ def display_name(self, value: Optional[pulumi.Input[str]]):
95
+ pulumi.set(self, "display_name", value)
96
+
97
+
98
+ @pulumi.input_type
99
+ class _WorkspaceWorkspaceState:
100
+ def __init__(__self__, *,
101
+ create_time: Optional[pulumi.Input[str]] = None,
102
+ description: Optional[pulumi.Input[str]] = None,
103
+ display_name: Optional[pulumi.Input[str]] = None,
104
+ env_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
105
+ status: Optional[pulumi.Input[str]] = None,
106
+ workspace_name: Optional[pulumi.Input[str]] = None):
107
+ """
108
+ Input properties used for looking up and filtering WorkspaceWorkspace resources.
109
+ :param pulumi.Input[str] create_time: The UTC time when the workspace is created. The time format is ISO8601.
110
+ :param pulumi.Input[str] description: Workspace description, no more than 80 characters.
111
+ :param pulumi.Input[str] display_name: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
112
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] env_types: Environments contained in the workspace:
113
+ - Simple mode only production environment (prod).
114
+ - Standard mode includes development environment (dev) and production environment (prod).
115
+ :param pulumi.Input[str] status: Workspace state, possible values:
116
+ :param pulumi.Input[str] workspace_name: The workspace name. The format is as follows:
117
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
118
+ - Must start with a large or small letter.
119
+ - Unique in the current region.
120
+ """
121
+ if create_time is not None:
122
+ pulumi.set(__self__, "create_time", create_time)
123
+ if description is not None:
124
+ pulumi.set(__self__, "description", description)
125
+ if display_name is not None:
126
+ pulumi.set(__self__, "display_name", display_name)
127
+ if env_types is not None:
128
+ pulumi.set(__self__, "env_types", env_types)
129
+ if status is not None:
130
+ pulumi.set(__self__, "status", status)
131
+ if workspace_name is not None:
132
+ pulumi.set(__self__, "workspace_name", workspace_name)
133
+
134
+ @property
135
+ @pulumi.getter(name="createTime")
136
+ def create_time(self) -> Optional[pulumi.Input[str]]:
137
+ """
138
+ The UTC time when the workspace is created. The time format is ISO8601.
139
+ """
140
+ return pulumi.get(self, "create_time")
141
+
142
+ @create_time.setter
143
+ def create_time(self, value: Optional[pulumi.Input[str]]):
144
+ pulumi.set(self, "create_time", value)
145
+
146
+ @property
147
+ @pulumi.getter
148
+ def description(self) -> Optional[pulumi.Input[str]]:
149
+ """
150
+ Workspace description, no more than 80 characters.
151
+ """
152
+ return pulumi.get(self, "description")
153
+
154
+ @description.setter
155
+ def description(self, value: Optional[pulumi.Input[str]]):
156
+ pulumi.set(self, "description", value)
157
+
158
+ @property
159
+ @pulumi.getter(name="displayName")
160
+ def display_name(self) -> Optional[pulumi.Input[str]]:
161
+ """
162
+ It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
163
+ """
164
+ return pulumi.get(self, "display_name")
165
+
166
+ @display_name.setter
167
+ def display_name(self, value: Optional[pulumi.Input[str]]):
168
+ pulumi.set(self, "display_name", value)
169
+
170
+ @property
171
+ @pulumi.getter(name="envTypes")
172
+ def env_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
173
+ """
174
+ Environments contained in the workspace:
175
+ - Simple mode only production environment (prod).
176
+ - Standard mode includes development environment (dev) and production environment (prod).
177
+ """
178
+ return pulumi.get(self, "env_types")
179
+
180
+ @env_types.setter
181
+ def env_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
182
+ pulumi.set(self, "env_types", value)
183
+
184
+ @property
185
+ @pulumi.getter
186
+ def status(self) -> Optional[pulumi.Input[str]]:
187
+ """
188
+ Workspace state, possible values:
189
+ """
190
+ return pulumi.get(self, "status")
191
+
192
+ @status.setter
193
+ def status(self, value: Optional[pulumi.Input[str]]):
194
+ pulumi.set(self, "status", value)
195
+
196
+ @property
197
+ @pulumi.getter(name="workspaceName")
198
+ def workspace_name(self) -> Optional[pulumi.Input[str]]:
199
+ """
200
+ The workspace name. The format is as follows:
201
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
202
+ - Must start with a large or small letter.
203
+ - Unique in the current region.
204
+ """
205
+ return pulumi.get(self, "workspace_name")
206
+
207
+ @workspace_name.setter
208
+ def workspace_name(self, value: Optional[pulumi.Input[str]]):
209
+ pulumi.set(self, "workspace_name", value)
210
+
211
+
212
+ class WorkspaceWorkspace(pulumi.CustomResource):
213
+ @overload
214
+ def __init__(__self__,
215
+ resource_name: str,
216
+ opts: Optional[pulumi.ResourceOptions] = None,
217
+ description: Optional[pulumi.Input[str]] = None,
218
+ display_name: Optional[pulumi.Input[str]] = None,
219
+ env_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
220
+ workspace_name: Optional[pulumi.Input[str]] = None,
221
+ __props__=None):
222
+ """
223
+ Provides a P A I Workspace Workspace resource.
224
+
225
+ For information about P A I Workspace Workspace and how to use it, see [What is Workspace](https://www.alibabacloud.com/help/en/).
226
+
227
+ > **NOTE:** Available since v1.233.0.
228
+
229
+ ## Example Usage
230
+
231
+ Basic Usage
232
+
233
+ ```python
234
+ import pulumi
235
+ import pulumi_alicloud as alicloud
236
+
237
+ config = pulumi.Config()
238
+ name = config.get("name")
239
+ if name is None:
240
+ name = "terraform_example"
241
+ default = alicloud.pai.WorkspaceWorkspace("default",
242
+ description=name,
243
+ workspace_name=name,
244
+ display_name=name,
245
+ env_types=["prod"])
246
+ ```
247
+
248
+ ## Import
249
+
250
+ P A I Workspace Workspace can be imported using the id, e.g.
251
+
252
+ ```sh
253
+ $ pulumi import alicloud:pai/workspaceWorkspace:WorkspaceWorkspace example <id>
254
+ ```
255
+
256
+ :param str resource_name: The name of the resource.
257
+ :param pulumi.ResourceOptions opts: Options for the resource.
258
+ :param pulumi.Input[str] description: Workspace description, no more than 80 characters.
259
+ :param pulumi.Input[str] display_name: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
260
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] env_types: Environments contained in the workspace:
261
+ - Simple mode only production environment (prod).
262
+ - Standard mode includes development environment (dev) and production environment (prod).
263
+ :param pulumi.Input[str] workspace_name: The workspace name. The format is as follows:
264
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
265
+ - Must start with a large or small letter.
266
+ - Unique in the current region.
267
+ """
268
+ ...
269
+ @overload
270
+ def __init__(__self__,
271
+ resource_name: str,
272
+ args: WorkspaceWorkspaceArgs,
273
+ opts: Optional[pulumi.ResourceOptions] = None):
274
+ """
275
+ Provides a P A I Workspace Workspace resource.
276
+
277
+ For information about P A I Workspace Workspace and how to use it, see [What is Workspace](https://www.alibabacloud.com/help/en/).
278
+
279
+ > **NOTE:** Available since v1.233.0.
280
+
281
+ ## Example Usage
282
+
283
+ Basic Usage
284
+
285
+ ```python
286
+ import pulumi
287
+ import pulumi_alicloud as alicloud
288
+
289
+ config = pulumi.Config()
290
+ name = config.get("name")
291
+ if name is None:
292
+ name = "terraform_example"
293
+ default = alicloud.pai.WorkspaceWorkspace("default",
294
+ description=name,
295
+ workspace_name=name,
296
+ display_name=name,
297
+ env_types=["prod"])
298
+ ```
299
+
300
+ ## Import
301
+
302
+ P A I Workspace Workspace can be imported using the id, e.g.
303
+
304
+ ```sh
305
+ $ pulumi import alicloud:pai/workspaceWorkspace:WorkspaceWorkspace example <id>
306
+ ```
307
+
308
+ :param str resource_name: The name of the resource.
309
+ :param WorkspaceWorkspaceArgs args: The arguments to use to populate this resource's properties.
310
+ :param pulumi.ResourceOptions opts: Options for the resource.
311
+ """
312
+ ...
313
+ def __init__(__self__, resource_name: str, *args, **kwargs):
314
+ resource_args, opts = _utilities.get_resource_args_opts(WorkspaceWorkspaceArgs, pulumi.ResourceOptions, *args, **kwargs)
315
+ if resource_args is not None:
316
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
317
+ else:
318
+ __self__._internal_init(resource_name, *args, **kwargs)
319
+
320
+ def _internal_init(__self__,
321
+ resource_name: str,
322
+ opts: Optional[pulumi.ResourceOptions] = None,
323
+ description: Optional[pulumi.Input[str]] = None,
324
+ display_name: Optional[pulumi.Input[str]] = None,
325
+ env_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
326
+ workspace_name: Optional[pulumi.Input[str]] = None,
327
+ __props__=None):
328
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
329
+ if not isinstance(opts, pulumi.ResourceOptions):
330
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
331
+ if opts.id is None:
332
+ if __props__ is not None:
333
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
334
+ __props__ = WorkspaceWorkspaceArgs.__new__(WorkspaceWorkspaceArgs)
335
+
336
+ if description is None and not opts.urn:
337
+ raise TypeError("Missing required property 'description'")
338
+ __props__.__dict__["description"] = description
339
+ __props__.__dict__["display_name"] = display_name
340
+ if env_types is None and not opts.urn:
341
+ raise TypeError("Missing required property 'env_types'")
342
+ __props__.__dict__["env_types"] = env_types
343
+ if workspace_name is None and not opts.urn:
344
+ raise TypeError("Missing required property 'workspace_name'")
345
+ __props__.__dict__["workspace_name"] = workspace_name
346
+ __props__.__dict__["create_time"] = None
347
+ __props__.__dict__["status"] = None
348
+ super(WorkspaceWorkspace, __self__).__init__(
349
+ 'alicloud:pai/workspaceWorkspace:WorkspaceWorkspace',
350
+ resource_name,
351
+ __props__,
352
+ opts)
353
+
354
+ @staticmethod
355
+ def get(resource_name: str,
356
+ id: pulumi.Input[str],
357
+ opts: Optional[pulumi.ResourceOptions] = None,
358
+ create_time: Optional[pulumi.Input[str]] = None,
359
+ description: Optional[pulumi.Input[str]] = None,
360
+ display_name: Optional[pulumi.Input[str]] = None,
361
+ env_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
362
+ status: Optional[pulumi.Input[str]] = None,
363
+ workspace_name: Optional[pulumi.Input[str]] = None) -> 'WorkspaceWorkspace':
364
+ """
365
+ Get an existing WorkspaceWorkspace resource's state with the given name, id, and optional extra
366
+ properties used to qualify the lookup.
367
+
368
+ :param str resource_name: The unique name of the resulting resource.
369
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
370
+ :param pulumi.ResourceOptions opts: Options for the resource.
371
+ :param pulumi.Input[str] create_time: The UTC time when the workspace is created. The time format is ISO8601.
372
+ :param pulumi.Input[str] description: Workspace description, no more than 80 characters.
373
+ :param pulumi.Input[str] display_name: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
374
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] env_types: Environments contained in the workspace:
375
+ - Simple mode only production environment (prod).
376
+ - Standard mode includes development environment (dev) and production environment (prod).
377
+ :param pulumi.Input[str] status: Workspace state, possible values:
378
+ :param pulumi.Input[str] workspace_name: The workspace name. The format is as follows:
379
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
380
+ - Must start with a large or small letter.
381
+ - Unique in the current region.
382
+ """
383
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
384
+
385
+ __props__ = _WorkspaceWorkspaceState.__new__(_WorkspaceWorkspaceState)
386
+
387
+ __props__.__dict__["create_time"] = create_time
388
+ __props__.__dict__["description"] = description
389
+ __props__.__dict__["display_name"] = display_name
390
+ __props__.__dict__["env_types"] = env_types
391
+ __props__.__dict__["status"] = status
392
+ __props__.__dict__["workspace_name"] = workspace_name
393
+ return WorkspaceWorkspace(resource_name, opts=opts, __props__=__props__)
394
+
395
+ @property
396
+ @pulumi.getter(name="createTime")
397
+ def create_time(self) -> pulumi.Output[str]:
398
+ """
399
+ The UTC time when the workspace is created. The time format is ISO8601.
400
+ """
401
+ return pulumi.get(self, "create_time")
402
+
403
+ @property
404
+ @pulumi.getter
405
+ def description(self) -> pulumi.Output[str]:
406
+ """
407
+ Workspace description, no more than 80 characters.
408
+ """
409
+ return pulumi.get(self, "description")
410
+
411
+ @property
412
+ @pulumi.getter(name="displayName")
413
+ def display_name(self) -> pulumi.Output[Optional[str]]:
414
+ """
415
+ It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. If not configured, the default value is the workspace name.
416
+ """
417
+ return pulumi.get(self, "display_name")
418
+
419
+ @property
420
+ @pulumi.getter(name="envTypes")
421
+ def env_types(self) -> pulumi.Output[Sequence[str]]:
422
+ """
423
+ Environments contained in the workspace:
424
+ - Simple mode only production environment (prod).
425
+ - Standard mode includes development environment (dev) and production environment (prod).
426
+ """
427
+ return pulumi.get(self, "env_types")
428
+
429
+ @property
430
+ @pulumi.getter
431
+ def status(self) -> pulumi.Output[str]:
432
+ """
433
+ Workspace state, possible values:
434
+ """
435
+ return pulumi.get(self, "status")
436
+
437
+ @property
438
+ @pulumi.getter(name="workspaceName")
439
+ def workspace_name(self) -> pulumi.Output[str]:
440
+ """
441
+ The workspace name. The format is as follows:
442
+ - 3 to 23 characters in length and can contain letters, underscores, or numbers.
443
+ - Must start with a large or small letter.
444
+ - Unique in the current region.
445
+ """
446
+ return pulumi.get(self, "workspace_name")
447
+
@@ -105,8 +105,8 @@ class ClusterArgs:
105
105
  > **NOTE:** When the value of db_type is not MySQL, the value of creation_option is neither empty nor Normal, and the value of storage_type is not PSL4, this field will be ignored.
106
106
  :param pulumi.Input[str] creation_category: The edition of the PolarDB service. Valid values are `Normal`,`Basic`,`ArchiveNormal`,`NormalMultimaster`,`SENormal`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationCategory`.
107
107
  > **NOTE:** You can set this parameter to Basic only when DBType is set to MySQL and DBVersion is set to 5.6, 5.7, or 8.0. You can set this parameter to Archive only when DBType is set to MySQL and DBVersion is set to 8.0. From version 1.188.0, `creation_category` can be set to `NormalMultimaster`. From version 1.203.0, `creation_category` can be set to `SENormal`.
108
- :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
109
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
108
+ :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
109
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
110
110
  :param pulumi.Input[Sequence[pulumi.Input['ClusterDbClusterIpArrayArgs']]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
111
111
  :param pulumi.Input[int] db_node_count: Number of the PolarDB cluster nodes, default is 2(Each cluster must contain at least a primary node and a read-only node). Add/remove nodes by modifying this parameter, valid values: [2~16].
112
112
  > **NOTE:** To avoid adding or removing multiple read-only nodes by mistake, the system allows you to add or remove one read-only node at a time.
@@ -450,8 +450,8 @@ class ClusterArgs:
450
450
  @pulumi.getter(name="creationOption")
451
451
  def creation_option(self) -> Optional[pulumi.Input[str]]:
452
452
  """
453
- The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
454
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
453
+ The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
454
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
455
455
  """
456
456
  return pulumi.get(self, "creation_option")
457
457
 
@@ -1236,8 +1236,8 @@ class _ClusterState:
1236
1236
  :param pulumi.Input[str] create_time: (Available since 1.204.1) PolarDB cluster creation time.
1237
1237
  :param pulumi.Input[str] creation_category: The edition of the PolarDB service. Valid values are `Normal`,`Basic`,`ArchiveNormal`,`NormalMultimaster`,`SENormal`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationCategory`.
1238
1238
  > **NOTE:** You can set this parameter to Basic only when DBType is set to MySQL and DBVersion is set to 5.6, 5.7, or 8.0. You can set this parameter to Archive only when DBType is set to MySQL and DBVersion is set to 8.0. From version 1.188.0, `creation_category` can be set to `NormalMultimaster`. From version 1.203.0, `creation_category` can be set to `SENormal`.
1239
- :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
1240
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
1239
+ :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
1240
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
1241
1241
  :param pulumi.Input[Sequence[pulumi.Input['ClusterDbClusterIpArrayArgs']]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
1242
1242
  :param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
1243
1243
  > **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
@@ -1593,8 +1593,8 @@ class _ClusterState:
1593
1593
  @pulumi.getter(name="creationOption")
1594
1594
  def creation_option(self) -> Optional[pulumi.Input[str]]:
1595
1595
  """
1596
- The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
1597
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
1596
+ The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
1597
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
1598
1598
  """
1599
1599
  return pulumi.get(self, "creation_option")
1600
1600
 
@@ -2472,8 +2472,8 @@ class Cluster(pulumi.CustomResource):
2472
2472
  > **NOTE:** When the value of db_type is not MySQL, the value of creation_option is neither empty nor Normal, and the value of storage_type is not PSL4, this field will be ignored.
2473
2473
  :param pulumi.Input[str] creation_category: The edition of the PolarDB service. Valid values are `Normal`,`Basic`,`ArchiveNormal`,`NormalMultimaster`,`SENormal`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationCategory`.
2474
2474
  > **NOTE:** You can set this parameter to Basic only when DBType is set to MySQL and DBVersion is set to 5.6, 5.7, or 8.0. You can set this parameter to Archive only when DBType is set to MySQL and DBVersion is set to 8.0. From version 1.188.0, `creation_category` can be set to `NormalMultimaster`. From version 1.203.0, `creation_category` can be set to `SENormal`.
2475
- :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
2476
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
2475
+ :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
2476
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
2477
2477
  :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterDbClusterIpArrayArgs', 'ClusterDbClusterIpArrayArgsDict']]]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
2478
2478
  :param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
2479
2479
  > **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
@@ -2847,8 +2847,8 @@ class Cluster(pulumi.CustomResource):
2847
2847
  :param pulumi.Input[str] create_time: (Available since 1.204.1) PolarDB cluster creation time.
2848
2848
  :param pulumi.Input[str] creation_category: The edition of the PolarDB service. Valid values are `Normal`,`Basic`,`ArchiveNormal`,`NormalMultimaster`,`SENormal`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationCategory`.
2849
2849
  > **NOTE:** You can set this parameter to Basic only when DBType is set to MySQL and DBVersion is set to 5.6, 5.7, or 8.0. You can set this parameter to Archive only when DBType is set to MySQL and DBVersion is set to 8.0. From version 1.188.0, `creation_category` can be set to `NormalMultimaster`. From version 1.203.0, `creation_category` can be set to `SENormal`.
2850
- :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
2851
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
2850
+ :param pulumi.Input[str] creation_option: The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
2851
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
2852
2852
  :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterDbClusterIpArrayArgs', 'ClusterDbClusterIpArrayArgsDict']]]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
2853
2853
  :param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
2854
2854
  > **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
@@ -3101,8 +3101,8 @@ class Cluster(pulumi.CustomResource):
3101
3101
  @pulumi.getter(name="creationOption")
3102
3102
  def creation_option(self) -> pulumi.Output[str]:
3103
3103
  """
3104
- The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`.Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
3105
- > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby.
3104
+ The method that is used to create a cluster. Valid values are `Normal`,`CloneFromPolarDB`,`CloneFromRDS`,`MigrationFromRDS`,`CreateGdnStandby`,`RecoverFromRecyclebin`. **NOTE:** From version 1.233.0, `creation_option` can be set to `RecoverFromRecyclebin`. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `CreationOption`.
3105
+ * > **NOTE:** The default value is Normal. If DBType is set to MySQL and DBVersion is set to 5.6 or 5.7, this parameter can be set to CloneFromRDS or MigrationFromRDS. If DBType is set to MySQL and DBVersion is set to 8.0, this parameter can be set to CreateGdnStandby. If `creation_option` is RecoverFromRecyclebin, you need to pass in the released source PolarDB cluster ID for this parameter. The DBType of the cluster recovered from the recycle bin and the source cluster must be consistent. For example, if the source cluster is MySQL 8.0, the cluster recovered from the recycle bin also needs to have its DBType set to MySQL and DBVersion set to 8.0.
3106
3106
  """
3107
3107
  return pulumi.get(self, "creation_option")
3108
3108
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "alicloud",
4
- "version": "3.65.0-alpha.1730524658"
4
+ "version": "3.65.1"
5
5
  }