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