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,450 @@
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
+
12
+ __all__ = ['ProjectArgs', 'Project']
13
+
14
+ @pulumi.input_type
15
+ class ProjectArgs:
16
+ def __init__(__self__, *,
17
+ description: pulumi.Input[str],
18
+ display_name: pulumi.Input[str],
19
+ project_name: pulumi.Input[str],
20
+ project_mode: Optional[pulumi.Input[int]] = None,
21
+ status: Optional[pulumi.Input[str]] = None):
22
+ """
23
+ The set of arguments for constructing a Project resource.
24
+ :param pulumi.Input[str] description: Description of the workspace
25
+ :param pulumi.Input[str] display_name: The display name of the workspace.
26
+ :param pulumi.Input[str] project_name: Immutable Name of the workspace.
27
+ :param pulumi.Input[int] project_mode: The mode of the workspace, with the following values:
28
+ - 2, indicates the simple workspace mode.
29
+ - 3, indicating the standard workspace mode.
30
+ :param pulumi.Input[str] status: The status of the resource
31
+ """
32
+ pulumi.set(__self__, "description", description)
33
+ pulumi.set(__self__, "display_name", display_name)
34
+ pulumi.set(__self__, "project_name", project_name)
35
+ if project_mode is not None:
36
+ pulumi.set(__self__, "project_mode", project_mode)
37
+ if status is not None:
38
+ pulumi.set(__self__, "status", status)
39
+
40
+ @property
41
+ @pulumi.getter
42
+ def description(self) -> pulumi.Input[str]:
43
+ """
44
+ Description of the workspace
45
+ """
46
+ return pulumi.get(self, "description")
47
+
48
+ @description.setter
49
+ def description(self, value: pulumi.Input[str]):
50
+ pulumi.set(self, "description", value)
51
+
52
+ @property
53
+ @pulumi.getter(name="displayName")
54
+ def display_name(self) -> pulumi.Input[str]:
55
+ """
56
+ The display name of the workspace.
57
+ """
58
+ return pulumi.get(self, "display_name")
59
+
60
+ @display_name.setter
61
+ def display_name(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "display_name", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="projectName")
66
+ def project_name(self) -> pulumi.Input[str]:
67
+ """
68
+ Immutable Name of the workspace.
69
+ """
70
+ return pulumi.get(self, "project_name")
71
+
72
+ @project_name.setter
73
+ def project_name(self, value: pulumi.Input[str]):
74
+ pulumi.set(self, "project_name", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="projectMode")
78
+ def project_mode(self) -> Optional[pulumi.Input[int]]:
79
+ """
80
+ The mode of the workspace, with the following values:
81
+ - 2, indicates the simple workspace mode.
82
+ - 3, indicating the standard workspace mode.
83
+ """
84
+ return pulumi.get(self, "project_mode")
85
+
86
+ @project_mode.setter
87
+ def project_mode(self, value: Optional[pulumi.Input[int]]):
88
+ pulumi.set(self, "project_mode", value)
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def status(self) -> Optional[pulumi.Input[str]]:
93
+ """
94
+ The status of the resource
95
+ """
96
+ return pulumi.get(self, "status")
97
+
98
+ @status.setter
99
+ def status(self, value: Optional[pulumi.Input[str]]):
100
+ pulumi.set(self, "status", value)
101
+
102
+
103
+ @pulumi.input_type
104
+ class _ProjectState:
105
+ def __init__(__self__, *,
106
+ create_time: Optional[pulumi.Input[str]] = None,
107
+ description: Optional[pulumi.Input[str]] = None,
108
+ display_name: Optional[pulumi.Input[str]] = None,
109
+ project_mode: Optional[pulumi.Input[int]] = None,
110
+ project_name: Optional[pulumi.Input[str]] = None,
111
+ status: Optional[pulumi.Input[str]] = None):
112
+ """
113
+ Input properties used for looking up and filtering Project resources.
114
+ :param pulumi.Input[str] create_time: The creation time of the resource
115
+ :param pulumi.Input[str] description: Description of the workspace
116
+ :param pulumi.Input[str] display_name: The display name of the workspace.
117
+ :param pulumi.Input[int] project_mode: The mode of the workspace, with the following values:
118
+ - 2, indicates the simple workspace mode.
119
+ - 3, indicating the standard workspace mode.
120
+ :param pulumi.Input[str] project_name: Immutable Name of the workspace.
121
+ :param pulumi.Input[str] status: The status of the resource
122
+ """
123
+ if create_time is not None:
124
+ pulumi.set(__self__, "create_time", create_time)
125
+ if description is not None:
126
+ pulumi.set(__self__, "description", description)
127
+ if display_name is not None:
128
+ pulumi.set(__self__, "display_name", display_name)
129
+ if project_mode is not None:
130
+ pulumi.set(__self__, "project_mode", project_mode)
131
+ if project_name is not None:
132
+ pulumi.set(__self__, "project_name", project_name)
133
+ if status is not None:
134
+ pulumi.set(__self__, "status", status)
135
+
136
+ @property
137
+ @pulumi.getter(name="createTime")
138
+ def create_time(self) -> Optional[pulumi.Input[str]]:
139
+ """
140
+ The creation time of the resource
141
+ """
142
+ return pulumi.get(self, "create_time")
143
+
144
+ @create_time.setter
145
+ def create_time(self, value: Optional[pulumi.Input[str]]):
146
+ pulumi.set(self, "create_time", value)
147
+
148
+ @property
149
+ @pulumi.getter
150
+ def description(self) -> Optional[pulumi.Input[str]]:
151
+ """
152
+ Description of the workspace
153
+ """
154
+ return pulumi.get(self, "description")
155
+
156
+ @description.setter
157
+ def description(self, value: Optional[pulumi.Input[str]]):
158
+ pulumi.set(self, "description", value)
159
+
160
+ @property
161
+ @pulumi.getter(name="displayName")
162
+ def display_name(self) -> Optional[pulumi.Input[str]]:
163
+ """
164
+ The display name of the workspace.
165
+ """
166
+ return pulumi.get(self, "display_name")
167
+
168
+ @display_name.setter
169
+ def display_name(self, value: Optional[pulumi.Input[str]]):
170
+ pulumi.set(self, "display_name", value)
171
+
172
+ @property
173
+ @pulumi.getter(name="projectMode")
174
+ def project_mode(self) -> Optional[pulumi.Input[int]]:
175
+ """
176
+ The mode of the workspace, with the following values:
177
+ - 2, indicates the simple workspace mode.
178
+ - 3, indicating the standard workspace mode.
179
+ """
180
+ return pulumi.get(self, "project_mode")
181
+
182
+ @project_mode.setter
183
+ def project_mode(self, value: Optional[pulumi.Input[int]]):
184
+ pulumi.set(self, "project_mode", value)
185
+
186
+ @property
187
+ @pulumi.getter(name="projectName")
188
+ def project_name(self) -> Optional[pulumi.Input[str]]:
189
+ """
190
+ Immutable Name of the workspace.
191
+ """
192
+ return pulumi.get(self, "project_name")
193
+
194
+ @project_name.setter
195
+ def project_name(self, value: Optional[pulumi.Input[str]]):
196
+ pulumi.set(self, "project_name", value)
197
+
198
+ @property
199
+ @pulumi.getter
200
+ def status(self) -> Optional[pulumi.Input[str]]:
201
+ """
202
+ The status of the resource
203
+ """
204
+ return pulumi.get(self, "status")
205
+
206
+ @status.setter
207
+ def status(self, value: Optional[pulumi.Input[str]]):
208
+ pulumi.set(self, "status", value)
209
+
210
+
211
+ class Project(pulumi.CustomResource):
212
+ @overload
213
+ def __init__(__self__,
214
+ resource_name: str,
215
+ opts: Optional[pulumi.ResourceOptions] = None,
216
+ description: Optional[pulumi.Input[str]] = None,
217
+ display_name: Optional[pulumi.Input[str]] = None,
218
+ project_mode: Optional[pulumi.Input[int]] = None,
219
+ project_name: Optional[pulumi.Input[str]] = None,
220
+ status: Optional[pulumi.Input[str]] = None,
221
+ __props__=None):
222
+ """
223
+ Provides a Data Works Project resource.
224
+
225
+ For information about Data Works Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/dataworks/developer-reference/api-dataworks-public-2020-05-18-createproject).
226
+
227
+ > **NOTE:** Available since v1.229.0.
228
+
229
+ ## Example Usage
230
+
231
+ Basic Usage
232
+
233
+ ```python
234
+ import pulumi
235
+ import pulumi_alicloud as alicloud
236
+ import pulumi_random as random
237
+
238
+ config = pulumi.Config()
239
+ name = config.get("name")
240
+ if name is None:
241
+ name = "tf_example"
242
+ default = random.index.Integer("default",
243
+ min=10000,
244
+ max=99999)
245
+ default_project = alicloud.dataworks.Project("default",
246
+ project_name=f"{name}_{default['result']}",
247
+ project_mode=2,
248
+ description=f"{name}_{default['result']}",
249
+ display_name=f"{name}_{default['result']}",
250
+ status="0")
251
+ ```
252
+
253
+ ## Import
254
+
255
+ Data Works Project can be imported using the id, e.g.
256
+
257
+ ```sh
258
+ $ pulumi import alicloud:dataworks/project:Project example <id>
259
+ ```
260
+
261
+ :param str resource_name: The name of the resource.
262
+ :param pulumi.ResourceOptions opts: Options for the resource.
263
+ :param pulumi.Input[str] description: Description of the workspace
264
+ :param pulumi.Input[str] display_name: The display name of the workspace.
265
+ :param pulumi.Input[int] project_mode: The mode of the workspace, with the following values:
266
+ - 2, indicates the simple workspace mode.
267
+ - 3, indicating the standard workspace mode.
268
+ :param pulumi.Input[str] project_name: Immutable Name of the workspace.
269
+ :param pulumi.Input[str] status: The status of the resource
270
+ """
271
+ ...
272
+ @overload
273
+ def __init__(__self__,
274
+ resource_name: str,
275
+ args: ProjectArgs,
276
+ opts: Optional[pulumi.ResourceOptions] = None):
277
+ """
278
+ Provides a Data Works Project resource.
279
+
280
+ For information about Data Works Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/dataworks/developer-reference/api-dataworks-public-2020-05-18-createproject).
281
+
282
+ > **NOTE:** Available since v1.229.0.
283
+
284
+ ## Example Usage
285
+
286
+ Basic Usage
287
+
288
+ ```python
289
+ import pulumi
290
+ import pulumi_alicloud as alicloud
291
+ import pulumi_random as random
292
+
293
+ config = pulumi.Config()
294
+ name = config.get("name")
295
+ if name is None:
296
+ name = "tf_example"
297
+ default = random.index.Integer("default",
298
+ min=10000,
299
+ max=99999)
300
+ default_project = alicloud.dataworks.Project("default",
301
+ project_name=f"{name}_{default['result']}",
302
+ project_mode=2,
303
+ description=f"{name}_{default['result']}",
304
+ display_name=f"{name}_{default['result']}",
305
+ status="0")
306
+ ```
307
+
308
+ ## Import
309
+
310
+ Data Works Project can be imported using the id, e.g.
311
+
312
+ ```sh
313
+ $ pulumi import alicloud:dataworks/project:Project example <id>
314
+ ```
315
+
316
+ :param str resource_name: The name of the resource.
317
+ :param ProjectArgs args: The arguments to use to populate this resource's properties.
318
+ :param pulumi.ResourceOptions opts: Options for the resource.
319
+ """
320
+ ...
321
+ def __init__(__self__, resource_name: str, *args, **kwargs):
322
+ resource_args, opts = _utilities.get_resource_args_opts(ProjectArgs, pulumi.ResourceOptions, *args, **kwargs)
323
+ if resource_args is not None:
324
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
325
+ else:
326
+ __self__._internal_init(resource_name, *args, **kwargs)
327
+
328
+ def _internal_init(__self__,
329
+ resource_name: str,
330
+ opts: Optional[pulumi.ResourceOptions] = None,
331
+ description: Optional[pulumi.Input[str]] = None,
332
+ display_name: Optional[pulumi.Input[str]] = None,
333
+ project_mode: Optional[pulumi.Input[int]] = None,
334
+ project_name: Optional[pulumi.Input[str]] = None,
335
+ status: Optional[pulumi.Input[str]] = None,
336
+ __props__=None):
337
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
338
+ if not isinstance(opts, pulumi.ResourceOptions):
339
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
340
+ if opts.id is None:
341
+ if __props__ is not None:
342
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
343
+ __props__ = ProjectArgs.__new__(ProjectArgs)
344
+
345
+ if description is None and not opts.urn:
346
+ raise TypeError("Missing required property 'description'")
347
+ __props__.__dict__["description"] = description
348
+ if display_name is None and not opts.urn:
349
+ raise TypeError("Missing required property 'display_name'")
350
+ __props__.__dict__["display_name"] = display_name
351
+ __props__.__dict__["project_mode"] = project_mode
352
+ if project_name is None and not opts.urn:
353
+ raise TypeError("Missing required property 'project_name'")
354
+ __props__.__dict__["project_name"] = project_name
355
+ __props__.__dict__["status"] = status
356
+ __props__.__dict__["create_time"] = None
357
+ super(Project, __self__).__init__(
358
+ 'alicloud:dataworks/project:Project',
359
+ resource_name,
360
+ __props__,
361
+ opts)
362
+
363
+ @staticmethod
364
+ def get(resource_name: str,
365
+ id: pulumi.Input[str],
366
+ opts: Optional[pulumi.ResourceOptions] = None,
367
+ create_time: Optional[pulumi.Input[str]] = None,
368
+ description: Optional[pulumi.Input[str]] = None,
369
+ display_name: Optional[pulumi.Input[str]] = None,
370
+ project_mode: Optional[pulumi.Input[int]] = None,
371
+ project_name: Optional[pulumi.Input[str]] = None,
372
+ status: Optional[pulumi.Input[str]] = None) -> 'Project':
373
+ """
374
+ Get an existing Project resource's state with the given name, id, and optional extra
375
+ properties used to qualify the lookup.
376
+
377
+ :param str resource_name: The unique name of the resulting resource.
378
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
379
+ :param pulumi.ResourceOptions opts: Options for the resource.
380
+ :param pulumi.Input[str] create_time: The creation time of the resource
381
+ :param pulumi.Input[str] description: Description of the workspace
382
+ :param pulumi.Input[str] display_name: The display name of the workspace.
383
+ :param pulumi.Input[int] project_mode: The mode of the workspace, with the following values:
384
+ - 2, indicates the simple workspace mode.
385
+ - 3, indicating the standard workspace mode.
386
+ :param pulumi.Input[str] project_name: Immutable Name of the workspace.
387
+ :param pulumi.Input[str] status: The status of the resource
388
+ """
389
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
390
+
391
+ __props__ = _ProjectState.__new__(_ProjectState)
392
+
393
+ __props__.__dict__["create_time"] = create_time
394
+ __props__.__dict__["description"] = description
395
+ __props__.__dict__["display_name"] = display_name
396
+ __props__.__dict__["project_mode"] = project_mode
397
+ __props__.__dict__["project_name"] = project_name
398
+ __props__.__dict__["status"] = status
399
+ return Project(resource_name, opts=opts, __props__=__props__)
400
+
401
+ @property
402
+ @pulumi.getter(name="createTime")
403
+ def create_time(self) -> pulumi.Output[str]:
404
+ """
405
+ The creation time of the resource
406
+ """
407
+ return pulumi.get(self, "create_time")
408
+
409
+ @property
410
+ @pulumi.getter
411
+ def description(self) -> pulumi.Output[str]:
412
+ """
413
+ Description of the workspace
414
+ """
415
+ return pulumi.get(self, "description")
416
+
417
+ @property
418
+ @pulumi.getter(name="displayName")
419
+ def display_name(self) -> pulumi.Output[str]:
420
+ """
421
+ The display name of the workspace.
422
+ """
423
+ return pulumi.get(self, "display_name")
424
+
425
+ @property
426
+ @pulumi.getter(name="projectMode")
427
+ def project_mode(self) -> pulumi.Output[Optional[int]]:
428
+ """
429
+ The mode of the workspace, with the following values:
430
+ - 2, indicates the simple workspace mode.
431
+ - 3, indicating the standard workspace mode.
432
+ """
433
+ return pulumi.get(self, "project_mode")
434
+
435
+ @property
436
+ @pulumi.getter(name="projectName")
437
+ def project_name(self) -> pulumi.Output[str]:
438
+ """
439
+ Immutable Name of the workspace.
440
+ """
441
+ return pulumi.get(self, "project_name")
442
+
443
+ @property
444
+ @pulumi.getter
445
+ def status(self) -> pulumi.Output[str]:
446
+ """
447
+ The status of the resource
448
+ """
449
+ return pulumi.get(self, "status")
450
+