pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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 (30) hide show
  1. pulumi_alicloud/__init__.py +0 -48
  2. pulumi_alicloud/adb/resource_group.py +119 -115
  3. pulumi_alicloud/clickhouse/get_regions.py +2 -2
  4. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
  5. pulumi_alicloud/dfs/file_system.py +19 -52
  6. pulumi_alicloud/ecs/_inputs.py +8 -132
  7. pulumi_alicloud/ecs/image.py +121 -607
  8. pulumi_alicloud/ecs/outputs.py +8 -131
  9. pulumi_alicloud/emrv2/_inputs.py +0 -490
  10. pulumi_alicloud/emrv2/cluster.py +14 -14
  11. pulumi_alicloud/emrv2/outputs.py +0 -500
  12. pulumi_alicloud/ens/__init__.py +0 -2
  13. pulumi_alicloud/ens/instance.py +17 -16
  14. pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
  15. pulumi_alicloud/ess/scaling_group.py +0 -94
  16. pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
  17. pulumi_alicloud/ga/listener.py +0 -122
  18. pulumi_alicloud/gpdb/__init__.py +0 -4
  19. pulumi_alicloud/pulumi-plugin.json +1 -1
  20. pulumi_alicloud/redis/tair_instance.py +67 -161
  21. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
  22. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
  23. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
  24. pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
  25. pulumi_alicloud/ens/nat_gateway.py +0 -458
  26. pulumi_alicloud/gpdb/external_data_service.py +0 -485
  27. pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
  28. pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
  29. pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
  30. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
@@ -1,481 +0,0 @@
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__ = ['StreamingDataServiceArgs', 'StreamingDataService']
13
-
14
- @pulumi.input_type
15
- class StreamingDataServiceArgs:
16
- def __init__(__self__, *,
17
- db_instance_id: pulumi.Input[str],
18
- service_name: pulumi.Input[str],
19
- service_spec: pulumi.Input[str],
20
- service_description: Optional[pulumi.Input[str]] = None):
21
- """
22
- The set of arguments for constructing a StreamingDataService resource.
23
- :param pulumi.Input[str] db_instance_id: The ID of the associated instance.
24
- :param pulumi.Input[str] service_name: Service Name
25
- :param pulumi.Input[str] service_spec: Resource Specifications
26
- :param pulumi.Input[str] service_description: The creation time of the resource
27
- """
28
- pulumi.set(__self__, "db_instance_id", db_instance_id)
29
- pulumi.set(__self__, "service_name", service_name)
30
- pulumi.set(__self__, "service_spec", service_spec)
31
- if service_description is not None:
32
- pulumi.set(__self__, "service_description", service_description)
33
-
34
- @property
35
- @pulumi.getter(name="dbInstanceId")
36
- def db_instance_id(self) -> pulumi.Input[str]:
37
- """
38
- The ID of the associated instance.
39
- """
40
- return pulumi.get(self, "db_instance_id")
41
-
42
- @db_instance_id.setter
43
- def db_instance_id(self, value: pulumi.Input[str]):
44
- pulumi.set(self, "db_instance_id", value)
45
-
46
- @property
47
- @pulumi.getter(name="serviceName")
48
- def service_name(self) -> pulumi.Input[str]:
49
- """
50
- Service Name
51
- """
52
- return pulumi.get(self, "service_name")
53
-
54
- @service_name.setter
55
- def service_name(self, value: pulumi.Input[str]):
56
- pulumi.set(self, "service_name", value)
57
-
58
- @property
59
- @pulumi.getter(name="serviceSpec")
60
- def service_spec(self) -> pulumi.Input[str]:
61
- """
62
- Resource Specifications
63
- """
64
- return pulumi.get(self, "service_spec")
65
-
66
- @service_spec.setter
67
- def service_spec(self, value: pulumi.Input[str]):
68
- pulumi.set(self, "service_spec", value)
69
-
70
- @property
71
- @pulumi.getter(name="serviceDescription")
72
- def service_description(self) -> Optional[pulumi.Input[str]]:
73
- """
74
- The creation time of the resource
75
- """
76
- return pulumi.get(self, "service_description")
77
-
78
- @service_description.setter
79
- def service_description(self, value: Optional[pulumi.Input[str]]):
80
- pulumi.set(self, "service_description", value)
81
-
82
-
83
- @pulumi.input_type
84
- class _StreamingDataServiceState:
85
- def __init__(__self__, *,
86
- create_time: Optional[pulumi.Input[str]] = None,
87
- db_instance_id: Optional[pulumi.Input[str]] = None,
88
- service_description: Optional[pulumi.Input[str]] = None,
89
- service_id: Optional[pulumi.Input[str]] = None,
90
- service_name: Optional[pulumi.Input[str]] = None,
91
- service_spec: Optional[pulumi.Input[str]] = None,
92
- status: Optional[pulumi.Input[str]] = None):
93
- """
94
- Input properties used for looking up and filtering StreamingDataService resources.
95
- :param pulumi.Input[str] create_time: Create time
96
- :param pulumi.Input[str] db_instance_id: The ID of the associated instance.
97
- :param pulumi.Input[str] service_description: The creation time of the resource
98
- :param pulumi.Input[str] service_id: Service ID
99
- :param pulumi.Input[str] service_name: Service Name
100
- :param pulumi.Input[str] service_spec: Resource Specifications
101
- :param pulumi.Input[str] status: The status of the resource
102
- """
103
- if create_time is not None:
104
- pulumi.set(__self__, "create_time", create_time)
105
- if db_instance_id is not None:
106
- pulumi.set(__self__, "db_instance_id", db_instance_id)
107
- if service_description is not None:
108
- pulumi.set(__self__, "service_description", service_description)
109
- if service_id is not None:
110
- pulumi.set(__self__, "service_id", service_id)
111
- if service_name is not None:
112
- pulumi.set(__self__, "service_name", service_name)
113
- if service_spec is not None:
114
- pulumi.set(__self__, "service_spec", service_spec)
115
- if status is not None:
116
- pulumi.set(__self__, "status", status)
117
-
118
- @property
119
- @pulumi.getter(name="createTime")
120
- def create_time(self) -> Optional[pulumi.Input[str]]:
121
- """
122
- Create time
123
- """
124
- return pulumi.get(self, "create_time")
125
-
126
- @create_time.setter
127
- def create_time(self, value: Optional[pulumi.Input[str]]):
128
- pulumi.set(self, "create_time", value)
129
-
130
- @property
131
- @pulumi.getter(name="dbInstanceId")
132
- def db_instance_id(self) -> Optional[pulumi.Input[str]]:
133
- """
134
- The ID of the associated instance.
135
- """
136
- return pulumi.get(self, "db_instance_id")
137
-
138
- @db_instance_id.setter
139
- def db_instance_id(self, value: Optional[pulumi.Input[str]]):
140
- pulumi.set(self, "db_instance_id", value)
141
-
142
- @property
143
- @pulumi.getter(name="serviceDescription")
144
- def service_description(self) -> Optional[pulumi.Input[str]]:
145
- """
146
- The creation time of the resource
147
- """
148
- return pulumi.get(self, "service_description")
149
-
150
- @service_description.setter
151
- def service_description(self, value: Optional[pulumi.Input[str]]):
152
- pulumi.set(self, "service_description", value)
153
-
154
- @property
155
- @pulumi.getter(name="serviceId")
156
- def service_id(self) -> Optional[pulumi.Input[str]]:
157
- """
158
- Service ID
159
- """
160
- return pulumi.get(self, "service_id")
161
-
162
- @service_id.setter
163
- def service_id(self, value: Optional[pulumi.Input[str]]):
164
- pulumi.set(self, "service_id", value)
165
-
166
- @property
167
- @pulumi.getter(name="serviceName")
168
- def service_name(self) -> Optional[pulumi.Input[str]]:
169
- """
170
- Service Name
171
- """
172
- return pulumi.get(self, "service_name")
173
-
174
- @service_name.setter
175
- def service_name(self, value: Optional[pulumi.Input[str]]):
176
- pulumi.set(self, "service_name", value)
177
-
178
- @property
179
- @pulumi.getter(name="serviceSpec")
180
- def service_spec(self) -> Optional[pulumi.Input[str]]:
181
- """
182
- Resource Specifications
183
- """
184
- return pulumi.get(self, "service_spec")
185
-
186
- @service_spec.setter
187
- def service_spec(self, value: Optional[pulumi.Input[str]]):
188
- pulumi.set(self, "service_spec", value)
189
-
190
- @property
191
- @pulumi.getter
192
- def status(self) -> Optional[pulumi.Input[str]]:
193
- """
194
- The status of the resource
195
- """
196
- return pulumi.get(self, "status")
197
-
198
- @status.setter
199
- def status(self, value: Optional[pulumi.Input[str]]):
200
- pulumi.set(self, "status", value)
201
-
202
-
203
- class StreamingDataService(pulumi.CustomResource):
204
- @overload
205
- def __init__(__self__,
206
- resource_name: str,
207
- opts: Optional[pulumi.ResourceOptions] = None,
208
- db_instance_id: Optional[pulumi.Input[str]] = None,
209
- service_description: Optional[pulumi.Input[str]] = None,
210
- service_name: Optional[pulumi.Input[str]] = None,
211
- service_spec: Optional[pulumi.Input[str]] = None,
212
- __props__=None):
213
- """
214
- Provides a GPDB Streaming Data Service resource.
215
-
216
- For information about GPDB Streaming Data Service and how to use it, see [What is Streaming Data Service](https://www.alibabacloud.com/help/en/).
217
-
218
- > **NOTE:** Available since v1.227.0.
219
-
220
- ## Example Usage
221
-
222
- Basic Usage
223
-
224
- ```python
225
- import pulumi
226
- import pulumi_alicloud as alicloud
227
-
228
- config = pulumi.Config()
229
- name = config.get("name")
230
- if name is None:
231
- name = "terraform-example"
232
- default = alicloud.get_zones(available_resource_creation="VSwitch")
233
- default_txzpbl = alicloud.vpc.Network("defaultTXZPBL", cidr_block="192.168.0.0/16")
234
- defaultr_j5mmz = alicloud.vpc.Switch("defaultrJ5mmz",
235
- vpc_id=default_txzpbl.id,
236
- zone_id="cn-beijing-h",
237
- cidr_block="192.168.1.0/24")
238
- default1o_s_pz_x = alicloud.gpdb.Instance("default1oSPzX",
239
- instance_spec="2C8G",
240
- description=name,
241
- seg_node_num=2,
242
- seg_storage_type="cloud_essd",
243
- instance_network_type="VPC",
244
- db_instance_category="Basic",
245
- payment_type="PayAsYouGo",
246
- ssl_enabled=0,
247
- engine_version="6.0",
248
- zone_id="cn-beijing-h",
249
- vswitch_id=defaultr_j5mmz.id,
250
- storage_size=50,
251
- master_cu=4,
252
- vpc_id=default_txzpbl.id,
253
- db_instance_mode="StorageElastic",
254
- engine="gpdb")
255
- default_streaming_data_service = alicloud.gpdb.StreamingDataService("default",
256
- service_name="example",
257
- db_instance_id=default1o_s_pz_x.id,
258
- service_description="example",
259
- service_spec="8")
260
- ```
261
-
262
- ## Import
263
-
264
- GPDB Streaming Data Service can be imported using the id, e.g.
265
-
266
- ```sh
267
- $ pulumi import alicloud:gpdb/streamingDataService:StreamingDataService example <db_instance_id>:<service_id>
268
- ```
269
-
270
- :param str resource_name: The name of the resource.
271
- :param pulumi.ResourceOptions opts: Options for the resource.
272
- :param pulumi.Input[str] db_instance_id: The ID of the associated instance.
273
- :param pulumi.Input[str] service_description: The creation time of the resource
274
- :param pulumi.Input[str] service_name: Service Name
275
- :param pulumi.Input[str] service_spec: Resource Specifications
276
- """
277
- ...
278
- @overload
279
- def __init__(__self__,
280
- resource_name: str,
281
- args: StreamingDataServiceArgs,
282
- opts: Optional[pulumi.ResourceOptions] = None):
283
- """
284
- Provides a GPDB Streaming Data Service resource.
285
-
286
- For information about GPDB Streaming Data Service and how to use it, see [What is Streaming Data Service](https://www.alibabacloud.com/help/en/).
287
-
288
- > **NOTE:** Available since v1.227.0.
289
-
290
- ## Example Usage
291
-
292
- Basic Usage
293
-
294
- ```python
295
- import pulumi
296
- import pulumi_alicloud as alicloud
297
-
298
- config = pulumi.Config()
299
- name = config.get("name")
300
- if name is None:
301
- name = "terraform-example"
302
- default = alicloud.get_zones(available_resource_creation="VSwitch")
303
- default_txzpbl = alicloud.vpc.Network("defaultTXZPBL", cidr_block="192.168.0.0/16")
304
- defaultr_j5mmz = alicloud.vpc.Switch("defaultrJ5mmz",
305
- vpc_id=default_txzpbl.id,
306
- zone_id="cn-beijing-h",
307
- cidr_block="192.168.1.0/24")
308
- default1o_s_pz_x = alicloud.gpdb.Instance("default1oSPzX",
309
- instance_spec="2C8G",
310
- description=name,
311
- seg_node_num=2,
312
- seg_storage_type="cloud_essd",
313
- instance_network_type="VPC",
314
- db_instance_category="Basic",
315
- payment_type="PayAsYouGo",
316
- ssl_enabled=0,
317
- engine_version="6.0",
318
- zone_id="cn-beijing-h",
319
- vswitch_id=defaultr_j5mmz.id,
320
- storage_size=50,
321
- master_cu=4,
322
- vpc_id=default_txzpbl.id,
323
- db_instance_mode="StorageElastic",
324
- engine="gpdb")
325
- default_streaming_data_service = alicloud.gpdb.StreamingDataService("default",
326
- service_name="example",
327
- db_instance_id=default1o_s_pz_x.id,
328
- service_description="example",
329
- service_spec="8")
330
- ```
331
-
332
- ## Import
333
-
334
- GPDB Streaming Data Service can be imported using the id, e.g.
335
-
336
- ```sh
337
- $ pulumi import alicloud:gpdb/streamingDataService:StreamingDataService example <db_instance_id>:<service_id>
338
- ```
339
-
340
- :param str resource_name: The name of the resource.
341
- :param StreamingDataServiceArgs args: The arguments to use to populate this resource's properties.
342
- :param pulumi.ResourceOptions opts: Options for the resource.
343
- """
344
- ...
345
- def __init__(__self__, resource_name: str, *args, **kwargs):
346
- resource_args, opts = _utilities.get_resource_args_opts(StreamingDataServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
347
- if resource_args is not None:
348
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
349
- else:
350
- __self__._internal_init(resource_name, *args, **kwargs)
351
-
352
- def _internal_init(__self__,
353
- resource_name: str,
354
- opts: Optional[pulumi.ResourceOptions] = None,
355
- db_instance_id: Optional[pulumi.Input[str]] = None,
356
- service_description: Optional[pulumi.Input[str]] = None,
357
- service_name: Optional[pulumi.Input[str]] = None,
358
- service_spec: Optional[pulumi.Input[str]] = None,
359
- __props__=None):
360
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
361
- if not isinstance(opts, pulumi.ResourceOptions):
362
- raise TypeError('Expected resource options to be a ResourceOptions instance')
363
- if opts.id is None:
364
- if __props__ is not None:
365
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
366
- __props__ = StreamingDataServiceArgs.__new__(StreamingDataServiceArgs)
367
-
368
- if db_instance_id is None and not opts.urn:
369
- raise TypeError("Missing required property 'db_instance_id'")
370
- __props__.__dict__["db_instance_id"] = db_instance_id
371
- __props__.__dict__["service_description"] = service_description
372
- if service_name is None and not opts.urn:
373
- raise TypeError("Missing required property 'service_name'")
374
- __props__.__dict__["service_name"] = service_name
375
- if service_spec is None and not opts.urn:
376
- raise TypeError("Missing required property 'service_spec'")
377
- __props__.__dict__["service_spec"] = service_spec
378
- __props__.__dict__["create_time"] = None
379
- __props__.__dict__["service_id"] = None
380
- __props__.__dict__["status"] = None
381
- super(StreamingDataService, __self__).__init__(
382
- 'alicloud:gpdb/streamingDataService:StreamingDataService',
383
- resource_name,
384
- __props__,
385
- opts)
386
-
387
- @staticmethod
388
- def get(resource_name: str,
389
- id: pulumi.Input[str],
390
- opts: Optional[pulumi.ResourceOptions] = None,
391
- create_time: Optional[pulumi.Input[str]] = None,
392
- db_instance_id: Optional[pulumi.Input[str]] = None,
393
- service_description: Optional[pulumi.Input[str]] = None,
394
- service_id: Optional[pulumi.Input[str]] = None,
395
- service_name: Optional[pulumi.Input[str]] = None,
396
- service_spec: Optional[pulumi.Input[str]] = None,
397
- status: Optional[pulumi.Input[str]] = None) -> 'StreamingDataService':
398
- """
399
- Get an existing StreamingDataService resource's state with the given name, id, and optional extra
400
- properties used to qualify the lookup.
401
-
402
- :param str resource_name: The unique name of the resulting resource.
403
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
404
- :param pulumi.ResourceOptions opts: Options for the resource.
405
- :param pulumi.Input[str] create_time: Create time
406
- :param pulumi.Input[str] db_instance_id: The ID of the associated instance.
407
- :param pulumi.Input[str] service_description: The creation time of the resource
408
- :param pulumi.Input[str] service_id: Service ID
409
- :param pulumi.Input[str] service_name: Service Name
410
- :param pulumi.Input[str] service_spec: Resource Specifications
411
- :param pulumi.Input[str] status: The status of the resource
412
- """
413
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
414
-
415
- __props__ = _StreamingDataServiceState.__new__(_StreamingDataServiceState)
416
-
417
- __props__.__dict__["create_time"] = create_time
418
- __props__.__dict__["db_instance_id"] = db_instance_id
419
- __props__.__dict__["service_description"] = service_description
420
- __props__.__dict__["service_id"] = service_id
421
- __props__.__dict__["service_name"] = service_name
422
- __props__.__dict__["service_spec"] = service_spec
423
- __props__.__dict__["status"] = status
424
- return StreamingDataService(resource_name, opts=opts, __props__=__props__)
425
-
426
- @property
427
- @pulumi.getter(name="createTime")
428
- def create_time(self) -> pulumi.Output[str]:
429
- """
430
- Create time
431
- """
432
- return pulumi.get(self, "create_time")
433
-
434
- @property
435
- @pulumi.getter(name="dbInstanceId")
436
- def db_instance_id(self) -> pulumi.Output[str]:
437
- """
438
- The ID of the associated instance.
439
- """
440
- return pulumi.get(self, "db_instance_id")
441
-
442
- @property
443
- @pulumi.getter(name="serviceDescription")
444
- def service_description(self) -> pulumi.Output[Optional[str]]:
445
- """
446
- The creation time of the resource
447
- """
448
- return pulumi.get(self, "service_description")
449
-
450
- @property
451
- @pulumi.getter(name="serviceId")
452
- def service_id(self) -> pulumi.Output[str]:
453
- """
454
- Service ID
455
- """
456
- return pulumi.get(self, "service_id")
457
-
458
- @property
459
- @pulumi.getter(name="serviceName")
460
- def service_name(self) -> pulumi.Output[str]:
461
- """
462
- Service Name
463
- """
464
- return pulumi.get(self, "service_name")
465
-
466
- @property
467
- @pulumi.getter(name="serviceSpec")
468
- def service_spec(self) -> pulumi.Output[str]:
469
- """
470
- Resource Specifications
471
- """
472
- return pulumi.get(self, "service_spec")
473
-
474
- @property
475
- @pulumi.getter
476
- def status(self) -> pulumi.Output[str]:
477
- """
478
- The status of the resource
479
- """
480
- return pulumi.get(self, "status")
481
-