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,480 +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__ = ['EipInstanceAttachmentArgs', 'EipInstanceAttachment']
13
-
14
- @pulumi.input_type
15
- class EipInstanceAttachmentArgs:
16
- def __init__(__self__, *,
17
- allocation_id: pulumi.Input[str],
18
- instance_id: pulumi.Input[str],
19
- instance_type: Optional[pulumi.Input[str]] = None,
20
- standby: Optional[pulumi.Input[bool]] = None):
21
- """
22
- The set of arguments for constructing a EipInstanceAttachment resource.
23
- :param pulumi.Input[str] allocation_id: The first ID of the resource
24
- :param pulumi.Input[str] instance_id: Instance ID
25
- :param pulumi.Input[str] instance_type: The type of the EIP instance. Value:
26
- - `Nat`:NAT gateway.
27
- - `SlbInstance`: Server Load Balancer (ELB).
28
- - `NetworkInterface`: Secondary ENI.
29
- - `EnsInstance` (default): The ENS instance.
30
- :param pulumi.Input[bool] standby: Indicates whether the EIP is a backup EIP. Value:
31
- - true: Spare.
32
- - false: not standby.
33
- """
34
- pulumi.set(__self__, "allocation_id", allocation_id)
35
- pulumi.set(__self__, "instance_id", instance_id)
36
- if instance_type is not None:
37
- pulumi.set(__self__, "instance_type", instance_type)
38
- if standby is not None:
39
- pulumi.set(__self__, "standby", standby)
40
-
41
- @property
42
- @pulumi.getter(name="allocationId")
43
- def allocation_id(self) -> pulumi.Input[str]:
44
- """
45
- The first ID of the resource
46
- """
47
- return pulumi.get(self, "allocation_id")
48
-
49
- @allocation_id.setter
50
- def allocation_id(self, value: pulumi.Input[str]):
51
- pulumi.set(self, "allocation_id", value)
52
-
53
- @property
54
- @pulumi.getter(name="instanceId")
55
- def instance_id(self) -> pulumi.Input[str]:
56
- """
57
- Instance ID
58
- """
59
- return pulumi.get(self, "instance_id")
60
-
61
- @instance_id.setter
62
- def instance_id(self, value: pulumi.Input[str]):
63
- pulumi.set(self, "instance_id", value)
64
-
65
- @property
66
- @pulumi.getter(name="instanceType")
67
- def instance_type(self) -> Optional[pulumi.Input[str]]:
68
- """
69
- The type of the EIP instance. Value:
70
- - `Nat`:NAT gateway.
71
- - `SlbInstance`: Server Load Balancer (ELB).
72
- - `NetworkInterface`: Secondary ENI.
73
- - `EnsInstance` (default): The ENS instance.
74
- """
75
- return pulumi.get(self, "instance_type")
76
-
77
- @instance_type.setter
78
- def instance_type(self, value: Optional[pulumi.Input[str]]):
79
- pulumi.set(self, "instance_type", value)
80
-
81
- @property
82
- @pulumi.getter
83
- def standby(self) -> Optional[pulumi.Input[bool]]:
84
- """
85
- Indicates whether the EIP is a backup EIP. Value:
86
- - true: Spare.
87
- - false: not standby.
88
- """
89
- return pulumi.get(self, "standby")
90
-
91
- @standby.setter
92
- def standby(self, value: Optional[pulumi.Input[bool]]):
93
- pulumi.set(self, "standby", value)
94
-
95
-
96
- @pulumi.input_type
97
- class _EipInstanceAttachmentState:
98
- def __init__(__self__, *,
99
- allocation_id: Optional[pulumi.Input[str]] = None,
100
- instance_id: Optional[pulumi.Input[str]] = None,
101
- instance_type: Optional[pulumi.Input[str]] = None,
102
- standby: Optional[pulumi.Input[bool]] = None,
103
- status: Optional[pulumi.Input[str]] = None):
104
- """
105
- Input properties used for looking up and filtering EipInstanceAttachment resources.
106
- :param pulumi.Input[str] allocation_id: The first ID of the resource
107
- :param pulumi.Input[str] instance_id: Instance ID
108
- :param pulumi.Input[str] instance_type: The type of the EIP instance. Value:
109
- - `Nat`:NAT gateway.
110
- - `SlbInstance`: Server Load Balancer (ELB).
111
- - `NetworkInterface`: Secondary ENI.
112
- - `EnsInstance` (default): The ENS instance.
113
- :param pulumi.Input[bool] standby: Indicates whether the EIP is a backup EIP. Value:
114
- - true: Spare.
115
- - false: not standby.
116
- :param pulumi.Input[str] status: The status of the EIP.
117
- """
118
- if allocation_id is not None:
119
- pulumi.set(__self__, "allocation_id", allocation_id)
120
- if instance_id is not None:
121
- pulumi.set(__self__, "instance_id", instance_id)
122
- if instance_type is not None:
123
- pulumi.set(__self__, "instance_type", instance_type)
124
- if standby is not None:
125
- pulumi.set(__self__, "standby", standby)
126
- if status is not None:
127
- pulumi.set(__self__, "status", status)
128
-
129
- @property
130
- @pulumi.getter(name="allocationId")
131
- def allocation_id(self) -> Optional[pulumi.Input[str]]:
132
- """
133
- The first ID of the resource
134
- """
135
- return pulumi.get(self, "allocation_id")
136
-
137
- @allocation_id.setter
138
- def allocation_id(self, value: Optional[pulumi.Input[str]]):
139
- pulumi.set(self, "allocation_id", value)
140
-
141
- @property
142
- @pulumi.getter(name="instanceId")
143
- def instance_id(self) -> Optional[pulumi.Input[str]]:
144
- """
145
- Instance ID
146
- """
147
- return pulumi.get(self, "instance_id")
148
-
149
- @instance_id.setter
150
- def instance_id(self, value: Optional[pulumi.Input[str]]):
151
- pulumi.set(self, "instance_id", value)
152
-
153
- @property
154
- @pulumi.getter(name="instanceType")
155
- def instance_type(self) -> Optional[pulumi.Input[str]]:
156
- """
157
- The type of the EIP instance. Value:
158
- - `Nat`:NAT gateway.
159
- - `SlbInstance`: Server Load Balancer (ELB).
160
- - `NetworkInterface`: Secondary ENI.
161
- - `EnsInstance` (default): The ENS instance.
162
- """
163
- return pulumi.get(self, "instance_type")
164
-
165
- @instance_type.setter
166
- def instance_type(self, value: Optional[pulumi.Input[str]]):
167
- pulumi.set(self, "instance_type", value)
168
-
169
- @property
170
- @pulumi.getter
171
- def standby(self) -> Optional[pulumi.Input[bool]]:
172
- """
173
- Indicates whether the EIP is a backup EIP. Value:
174
- - true: Spare.
175
- - false: not standby.
176
- """
177
- return pulumi.get(self, "standby")
178
-
179
- @standby.setter
180
- def standby(self, value: Optional[pulumi.Input[bool]]):
181
- pulumi.set(self, "standby", value)
182
-
183
- @property
184
- @pulumi.getter
185
- def status(self) -> Optional[pulumi.Input[str]]:
186
- """
187
- The status of the EIP.
188
- """
189
- return pulumi.get(self, "status")
190
-
191
- @status.setter
192
- def status(self, value: Optional[pulumi.Input[str]]):
193
- pulumi.set(self, "status", value)
194
-
195
-
196
- class EipInstanceAttachment(pulumi.CustomResource):
197
- @overload
198
- def __init__(__self__,
199
- resource_name: str,
200
- opts: Optional[pulumi.ResourceOptions] = None,
201
- allocation_id: Optional[pulumi.Input[str]] = None,
202
- instance_id: Optional[pulumi.Input[str]] = None,
203
- instance_type: Optional[pulumi.Input[str]] = None,
204
- standby: Optional[pulumi.Input[bool]] = None,
205
- __props__=None):
206
- """
207
- Provides a Ens Eip Instance Attachment resource.
208
-
209
- Bind an EIP to an instance.
210
-
211
- For information about Ens Eip Instance Attachment and how to use it, see [What is Eip Instance Attachment](https://www.alibabacloud.com/help/en/).
212
-
213
- > **NOTE:** Available since v1.227.0.
214
-
215
- ## Example Usage
216
-
217
- Basic Usage
218
-
219
- ```python
220
- import pulumi
221
- import pulumi_alicloud as alicloud
222
-
223
- config = pulumi.Config()
224
- name = config.get("name")
225
- if name is None:
226
- name = "terraform-example"
227
- ens_region_id = config.get("ensRegionId")
228
- if ens_region_id is None:
229
- ens_region_id = "cn-chenzhou-telecom_unicom_cmcc"
230
- default_x_kjq1_w = alicloud.ens.Instance("defaultXKjq1W",
231
- system_disk=alicloud.ens.InstanceSystemDiskArgs(
232
- size=20,
233
- category="cloud_efficiency",
234
- ),
235
- scheduling_strategy="Concentrate",
236
- schedule_area_level="Region",
237
- image_id="centos_6_08_64_20G_alibase_20171208",
238
- payment_type="Subscription",
239
- instance_type="ens.sn1.stiny",
240
- password="12345678abcABC",
241
- status="Running",
242
- amount=1,
243
- internet_charge_type="95BandwidthByMonth",
244
- instance_name=name,
245
- auto_use_coupon="true",
246
- instance_charge_strategy="PriceHighPriority",
247
- ens_region_id=ens_region_id,
248
- period_unit="Month")
249
- defaults_gs_n4e = alicloud.ens.Eip("defaultsGsN4e",
250
- bandwidth=5,
251
- eip_name=name,
252
- ens_region_id=ens_region_id,
253
- internet_charge_type="95BandwidthByMonth",
254
- payment_type="PayAsYouGo")
255
- default = alicloud.ens.EipInstanceAttachment("default",
256
- instance_id=default_x_kjq1_w.id,
257
- allocation_id=defaults_gs_n4e.id,
258
- instance_type="EnsInstance",
259
- standby=False)
260
- ```
261
-
262
- ## Import
263
-
264
- Ens Eip Instance Attachment can be imported using the id, e.g.
265
-
266
- ```sh
267
- $ pulumi import alicloud:ens/eipInstanceAttachment:EipInstanceAttachment example <allocation_id>:<instance_id>:<instance_type>
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] allocation_id: The first ID of the resource
273
- :param pulumi.Input[str] instance_id: Instance ID
274
- :param pulumi.Input[str] instance_type: The type of the EIP instance. Value:
275
- - `Nat`:NAT gateway.
276
- - `SlbInstance`: Server Load Balancer (ELB).
277
- - `NetworkInterface`: Secondary ENI.
278
- - `EnsInstance` (default): The ENS instance.
279
- :param pulumi.Input[bool] standby: Indicates whether the EIP is a backup EIP. Value:
280
- - true: Spare.
281
- - false: not standby.
282
- """
283
- ...
284
- @overload
285
- def __init__(__self__,
286
- resource_name: str,
287
- args: EipInstanceAttachmentArgs,
288
- opts: Optional[pulumi.ResourceOptions] = None):
289
- """
290
- Provides a Ens Eip Instance Attachment resource.
291
-
292
- Bind an EIP to an instance.
293
-
294
- For information about Ens Eip Instance Attachment and how to use it, see [What is Eip Instance Attachment](https://www.alibabacloud.com/help/en/).
295
-
296
- > **NOTE:** Available since v1.227.0.
297
-
298
- ## Example Usage
299
-
300
- Basic Usage
301
-
302
- ```python
303
- import pulumi
304
- import pulumi_alicloud as alicloud
305
-
306
- config = pulumi.Config()
307
- name = config.get("name")
308
- if name is None:
309
- name = "terraform-example"
310
- ens_region_id = config.get("ensRegionId")
311
- if ens_region_id is None:
312
- ens_region_id = "cn-chenzhou-telecom_unicom_cmcc"
313
- default_x_kjq1_w = alicloud.ens.Instance("defaultXKjq1W",
314
- system_disk=alicloud.ens.InstanceSystemDiskArgs(
315
- size=20,
316
- category="cloud_efficiency",
317
- ),
318
- scheduling_strategy="Concentrate",
319
- schedule_area_level="Region",
320
- image_id="centos_6_08_64_20G_alibase_20171208",
321
- payment_type="Subscription",
322
- instance_type="ens.sn1.stiny",
323
- password="12345678abcABC",
324
- status="Running",
325
- amount=1,
326
- internet_charge_type="95BandwidthByMonth",
327
- instance_name=name,
328
- auto_use_coupon="true",
329
- instance_charge_strategy="PriceHighPriority",
330
- ens_region_id=ens_region_id,
331
- period_unit="Month")
332
- defaults_gs_n4e = alicloud.ens.Eip("defaultsGsN4e",
333
- bandwidth=5,
334
- eip_name=name,
335
- ens_region_id=ens_region_id,
336
- internet_charge_type="95BandwidthByMonth",
337
- payment_type="PayAsYouGo")
338
- default = alicloud.ens.EipInstanceAttachment("default",
339
- instance_id=default_x_kjq1_w.id,
340
- allocation_id=defaults_gs_n4e.id,
341
- instance_type="EnsInstance",
342
- standby=False)
343
- ```
344
-
345
- ## Import
346
-
347
- Ens Eip Instance Attachment can be imported using the id, e.g.
348
-
349
- ```sh
350
- $ pulumi import alicloud:ens/eipInstanceAttachment:EipInstanceAttachment example <allocation_id>:<instance_id>:<instance_type>
351
- ```
352
-
353
- :param str resource_name: The name of the resource.
354
- :param EipInstanceAttachmentArgs args: The arguments to use to populate this resource's properties.
355
- :param pulumi.ResourceOptions opts: Options for the resource.
356
- """
357
- ...
358
- def __init__(__self__, resource_name: str, *args, **kwargs):
359
- resource_args, opts = _utilities.get_resource_args_opts(EipInstanceAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
360
- if resource_args is not None:
361
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
362
- else:
363
- __self__._internal_init(resource_name, *args, **kwargs)
364
-
365
- def _internal_init(__self__,
366
- resource_name: str,
367
- opts: Optional[pulumi.ResourceOptions] = None,
368
- allocation_id: Optional[pulumi.Input[str]] = None,
369
- instance_id: Optional[pulumi.Input[str]] = None,
370
- instance_type: Optional[pulumi.Input[str]] = None,
371
- standby: Optional[pulumi.Input[bool]] = None,
372
- __props__=None):
373
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
374
- if not isinstance(opts, pulumi.ResourceOptions):
375
- raise TypeError('Expected resource options to be a ResourceOptions instance')
376
- if opts.id is None:
377
- if __props__ is not None:
378
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
379
- __props__ = EipInstanceAttachmentArgs.__new__(EipInstanceAttachmentArgs)
380
-
381
- if allocation_id is None and not opts.urn:
382
- raise TypeError("Missing required property 'allocation_id'")
383
- __props__.__dict__["allocation_id"] = allocation_id
384
- if instance_id is None and not opts.urn:
385
- raise TypeError("Missing required property 'instance_id'")
386
- __props__.__dict__["instance_id"] = instance_id
387
- __props__.__dict__["instance_type"] = instance_type
388
- __props__.__dict__["standby"] = standby
389
- __props__.__dict__["status"] = None
390
- super(EipInstanceAttachment, __self__).__init__(
391
- 'alicloud:ens/eipInstanceAttachment:EipInstanceAttachment',
392
- resource_name,
393
- __props__,
394
- opts)
395
-
396
- @staticmethod
397
- def get(resource_name: str,
398
- id: pulumi.Input[str],
399
- opts: Optional[pulumi.ResourceOptions] = None,
400
- allocation_id: Optional[pulumi.Input[str]] = None,
401
- instance_id: Optional[pulumi.Input[str]] = None,
402
- instance_type: Optional[pulumi.Input[str]] = None,
403
- standby: Optional[pulumi.Input[bool]] = None,
404
- status: Optional[pulumi.Input[str]] = None) -> 'EipInstanceAttachment':
405
- """
406
- Get an existing EipInstanceAttachment resource's state with the given name, id, and optional extra
407
- properties used to qualify the lookup.
408
-
409
- :param str resource_name: The unique name of the resulting resource.
410
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
411
- :param pulumi.ResourceOptions opts: Options for the resource.
412
- :param pulumi.Input[str] allocation_id: The first ID of the resource
413
- :param pulumi.Input[str] instance_id: Instance ID
414
- :param pulumi.Input[str] instance_type: The type of the EIP instance. Value:
415
- - `Nat`:NAT gateway.
416
- - `SlbInstance`: Server Load Balancer (ELB).
417
- - `NetworkInterface`: Secondary ENI.
418
- - `EnsInstance` (default): The ENS instance.
419
- :param pulumi.Input[bool] standby: Indicates whether the EIP is a backup EIP. Value:
420
- - true: Spare.
421
- - false: not standby.
422
- :param pulumi.Input[str] status: The status of the EIP.
423
- """
424
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
425
-
426
- __props__ = _EipInstanceAttachmentState.__new__(_EipInstanceAttachmentState)
427
-
428
- __props__.__dict__["allocation_id"] = allocation_id
429
- __props__.__dict__["instance_id"] = instance_id
430
- __props__.__dict__["instance_type"] = instance_type
431
- __props__.__dict__["standby"] = standby
432
- __props__.__dict__["status"] = status
433
- return EipInstanceAttachment(resource_name, opts=opts, __props__=__props__)
434
-
435
- @property
436
- @pulumi.getter(name="allocationId")
437
- def allocation_id(self) -> pulumi.Output[str]:
438
- """
439
- The first ID of the resource
440
- """
441
- return pulumi.get(self, "allocation_id")
442
-
443
- @property
444
- @pulumi.getter(name="instanceId")
445
- def instance_id(self) -> pulumi.Output[str]:
446
- """
447
- Instance ID
448
- """
449
- return pulumi.get(self, "instance_id")
450
-
451
- @property
452
- @pulumi.getter(name="instanceType")
453
- def instance_type(self) -> pulumi.Output[str]:
454
- """
455
- The type of the EIP instance. Value:
456
- - `Nat`:NAT gateway.
457
- - `SlbInstance`: Server Load Balancer (ELB).
458
- - `NetworkInterface`: Secondary ENI.
459
- - `EnsInstance` (default): The ENS instance.
460
- """
461
- return pulumi.get(self, "instance_type")
462
-
463
- @property
464
- @pulumi.getter
465
- def standby(self) -> pulumi.Output[Optional[bool]]:
466
- """
467
- Indicates whether the EIP is a backup EIP. Value:
468
- - true: Spare.
469
- - false: not standby.
470
- """
471
- return pulumi.get(self, "standby")
472
-
473
- @property
474
- @pulumi.getter
475
- def status(self) -> pulumi.Output[str]:
476
- """
477
- The status of the EIP.
478
- """
479
- return pulumi.get(self, "status")
480
-