pulumi-alicloud 3.61.2__py3-none-any.whl → 3.62.0__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 (56) hide show
  1. pulumi_alicloud/__init__.py +80 -0
  2. pulumi_alicloud/actiontrail/trail.py +2 -2
  3. pulumi_alicloud/adb/cluster.py +34 -0
  4. pulumi_alicloud/adb/db_cluster.py +47 -0
  5. pulumi_alicloud/amqp/static_account.py +12 -12
  6. pulumi_alicloud/cen/transit_router_peer_attachment.py +38 -20
  7. pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
  8. pulumi_alicloud/cs/kubernetes.py +7 -7
  9. pulumi_alicloud/cs/kubernetes_addon.py +4 -8
  10. pulumi_alicloud/cs/managed_kubernetes.py +7 -7
  11. pulumi_alicloud/cs/registry_enterprise_repo.py +4 -4
  12. pulumi_alicloud/cs/serverless_kubernetes.py +7 -7
  13. pulumi_alicloud/ddos/_inputs.py +24 -0
  14. pulumi_alicloud/ddos/outputs.py +37 -0
  15. pulumi_alicloud/ddos/port.py +110 -40
  16. pulumi_alicloud/emrv2/_inputs.py +8 -8
  17. pulumi_alicloud/emrv2/get_clusters.py +25 -4
  18. pulumi_alicloud/emrv2/outputs.py +12 -12
  19. pulumi_alicloud/ens/_inputs.py +87 -0
  20. pulumi_alicloud/ens/load_balancer.py +74 -25
  21. pulumi_alicloud/ens/outputs.py +84 -0
  22. pulumi_alicloud/fc/__init__.py +3 -0
  23. pulumi_alicloud/fc/_inputs.py +320 -8
  24. pulumi_alicloud/fc/outputs.py +321 -8
  25. pulumi_alicloud/fc/v3_layer_version.py +511 -0
  26. pulumi_alicloud/fc/v3_provision_config.py +676 -0
  27. pulumi_alicloud/fc/v3_vpc_binding.py +283 -0
  28. pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +18 -3
  29. pulumi_alicloud/gpdb/__init__.py +2 -0
  30. pulumi_alicloud/gpdb/account.py +172 -83
  31. pulumi_alicloud/gpdb/db_resource_group.py +54 -9
  32. pulumi_alicloud/gpdb/hadoop_data_source.py +1135 -0
  33. pulumi_alicloud/gpdb/jdbc_data_source.py +643 -0
  34. pulumi_alicloud/hbr/_inputs.py +14 -14
  35. pulumi_alicloud/hbr/outputs.py +14 -14
  36. pulumi_alicloud/hbr/policy.py +18 -18
  37. pulumi_alicloud/hbr/policy_binding.py +203 -62
  38. pulumi_alicloud/pulumi-plugin.json +1 -1
  39. pulumi_alicloud/quotas/__init__.py +1 -0
  40. pulumi_alicloud/quotas/template_service.py +165 -0
  41. pulumi_alicloud/rds/get_instance_class_infos.py +20 -0
  42. pulumi_alicloud/rds/get_instance_classes.py +22 -0
  43. pulumi_alicloud/rds/get_instance_engines.py +22 -0
  44. pulumi_alicloud/rds/rds_db_proxy.py +61 -0
  45. pulumi_alicloud/servicecatalog/__init__.py +4 -0
  46. pulumi_alicloud/servicecatalog/portfolio.py +31 -31
  47. pulumi_alicloud/servicecatalog/principal_portfolio_association.py +354 -0
  48. pulumi_alicloud/servicecatalog/product.py +383 -0
  49. pulumi_alicloud/servicecatalog/product_portfolio_association.py +222 -0
  50. pulumi_alicloud/servicecatalog/product_version.py +539 -0
  51. pulumi_alicloud/vpc/get_route_tables.py +28 -5
  52. pulumi_alicloud/vpc/outputs.py +2 -2
  53. {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/METADATA +1 -1
  54. {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/RECORD +56 -46
  55. {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/WHEEL +1 -1
  56. {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,8 @@ import pulumi
8
8
  import pulumi.runtime
9
9
  from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
11
13
 
12
14
  __all__ = ['PortArgs', 'Port']
13
15
 
@@ -18,14 +20,19 @@ class PortArgs:
18
20
  frontend_protocol: pulumi.Input[str],
19
21
  instance_id: pulumi.Input[str],
20
22
  real_servers: pulumi.Input[Sequence[pulumi.Input[str]]],
21
- backend_port: Optional[pulumi.Input[str]] = None):
23
+ backend_port: Optional[pulumi.Input[str]] = None,
24
+ config: Optional[pulumi.Input['PortConfigArgs']] = None):
22
25
  """
23
26
  The set of arguments for constructing a Port resource.
24
- :param pulumi.Input[str] frontend_port: The forwarding port. Valid values: [1~65535].
25
- :param pulumi.Input[str] frontend_protocol: The forwarding protocol. Valid values `tcp` and `udp`.
26
- :param pulumi.Input[str] instance_id: The ID of Ddoscoo instance.
27
- :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses.
28
- :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: [1~65535].
27
+ :param pulumi.Input[str] frontend_port: The forwarding port to query. Valid values: `0` to `65535`.
28
+ :param pulumi.Input[str] frontend_protocol: The type of the forwarding protocol to query. Valid values:
29
+ :param pulumi.Input[str] instance_id: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
30
+
31
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
32
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses
33
+ :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: `0` to `65535`.
34
+ :param pulumi.Input['PortConfigArgs'] config: Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
35
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
29
36
  """
30
37
  pulumi.set(__self__, "frontend_port", frontend_port)
31
38
  pulumi.set(__self__, "frontend_protocol", frontend_protocol)
@@ -33,12 +40,14 @@ class PortArgs:
33
40
  pulumi.set(__self__, "real_servers", real_servers)
34
41
  if backend_port is not None:
35
42
  pulumi.set(__self__, "backend_port", backend_port)
43
+ if config is not None:
44
+ pulumi.set(__self__, "config", config)
36
45
 
37
46
  @property
38
47
  @pulumi.getter(name="frontendPort")
39
48
  def frontend_port(self) -> pulumi.Input[str]:
40
49
  """
41
- The forwarding port. Valid values: [1~65535].
50
+ The forwarding port to query. Valid values: `0` to `65535`.
42
51
  """
43
52
  return pulumi.get(self, "frontend_port")
44
53
 
@@ -50,7 +59,7 @@ class PortArgs:
50
59
  @pulumi.getter(name="frontendProtocol")
51
60
  def frontend_protocol(self) -> pulumi.Input[str]:
52
61
  """
53
- The forwarding protocol. Valid values `tcp` and `udp`.
62
+ The type of the forwarding protocol to query. Valid values:
54
63
  """
55
64
  return pulumi.get(self, "frontend_protocol")
56
65
 
@@ -62,7 +71,9 @@ class PortArgs:
62
71
  @pulumi.getter(name="instanceId")
63
72
  def instance_id(self) -> pulumi.Input[str]:
64
73
  """
65
- The ID of Ddoscoo instance.
74
+ The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
75
+
76
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
66
77
  """
67
78
  return pulumi.get(self, "instance_id")
68
79
 
@@ -74,7 +85,7 @@ class PortArgs:
74
85
  @pulumi.getter(name="realServers")
75
86
  def real_servers(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
76
87
  """
77
- List of source IP addresses.
88
+ List of source IP addresses
78
89
  """
79
90
  return pulumi.get(self, "real_servers")
80
91
 
@@ -86,7 +97,7 @@ class PortArgs:
86
97
  @pulumi.getter(name="backendPort")
87
98
  def backend_port(self) -> Optional[pulumi.Input[str]]:
88
99
  """
89
- The port of the origin server. Valid values: [1~65535].
100
+ The port of the origin server. Valid values: `0` to `65535`.
90
101
  """
91
102
  return pulumi.get(self, "backend_port")
92
103
 
@@ -94,25 +105,45 @@ class PortArgs:
94
105
  def backend_port(self, value: Optional[pulumi.Input[str]]):
95
106
  pulumi.set(self, "backend_port", value)
96
107
 
108
+ @property
109
+ @pulumi.getter
110
+ def config(self) -> Optional[pulumi.Input['PortConfigArgs']]:
111
+ """
112
+ Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
113
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
114
+ """
115
+ return pulumi.get(self, "config")
116
+
117
+ @config.setter
118
+ def config(self, value: Optional[pulumi.Input['PortConfigArgs']]):
119
+ pulumi.set(self, "config", value)
120
+
97
121
 
98
122
  @pulumi.input_type
99
123
  class _PortState:
100
124
  def __init__(__self__, *,
101
125
  backend_port: Optional[pulumi.Input[str]] = None,
126
+ config: Optional[pulumi.Input['PortConfigArgs']] = None,
102
127
  frontend_port: Optional[pulumi.Input[str]] = None,
103
128
  frontend_protocol: Optional[pulumi.Input[str]] = None,
104
129
  instance_id: Optional[pulumi.Input[str]] = None,
105
130
  real_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
106
131
  """
107
132
  Input properties used for looking up and filtering Port resources.
108
- :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: [1~65535].
109
- :param pulumi.Input[str] frontend_port: The forwarding port. Valid values: [1~65535].
110
- :param pulumi.Input[str] frontend_protocol: The forwarding protocol. Valid values `tcp` and `udp`.
111
- :param pulumi.Input[str] instance_id: The ID of Ddoscoo instance.
112
- :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses.
133
+ :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: `0` to `65535`.
134
+ :param pulumi.Input['PortConfigArgs'] config: Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
135
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
136
+ :param pulumi.Input[str] frontend_port: The forwarding port to query. Valid values: `0` to `65535`.
137
+ :param pulumi.Input[str] frontend_protocol: The type of the forwarding protocol to query. Valid values:
138
+ :param pulumi.Input[str] instance_id: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
139
+
140
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
141
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses
113
142
  """
114
143
  if backend_port is not None:
115
144
  pulumi.set(__self__, "backend_port", backend_port)
145
+ if config is not None:
146
+ pulumi.set(__self__, "config", config)
116
147
  if frontend_port is not None:
117
148
  pulumi.set(__self__, "frontend_port", frontend_port)
118
149
  if frontend_protocol is not None:
@@ -126,7 +157,7 @@ class _PortState:
126
157
  @pulumi.getter(name="backendPort")
127
158
  def backend_port(self) -> Optional[pulumi.Input[str]]:
128
159
  """
129
- The port of the origin server. Valid values: [1~65535].
160
+ The port of the origin server. Valid values: `0` to `65535`.
130
161
  """
131
162
  return pulumi.get(self, "backend_port")
132
163
 
@@ -134,11 +165,24 @@ class _PortState:
134
165
  def backend_port(self, value: Optional[pulumi.Input[str]]):
135
166
  pulumi.set(self, "backend_port", value)
136
167
 
168
+ @property
169
+ @pulumi.getter
170
+ def config(self) -> Optional[pulumi.Input['PortConfigArgs']]:
171
+ """
172
+ Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
173
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
174
+ """
175
+ return pulumi.get(self, "config")
176
+
177
+ @config.setter
178
+ def config(self, value: Optional[pulumi.Input['PortConfigArgs']]):
179
+ pulumi.set(self, "config", value)
180
+
137
181
  @property
138
182
  @pulumi.getter(name="frontendPort")
139
183
  def frontend_port(self) -> Optional[pulumi.Input[str]]:
140
184
  """
141
- The forwarding port. Valid values: [1~65535].
185
+ The forwarding port to query. Valid values: `0` to `65535`.
142
186
  """
143
187
  return pulumi.get(self, "frontend_port")
144
188
 
@@ -150,7 +194,7 @@ class _PortState:
150
194
  @pulumi.getter(name="frontendProtocol")
151
195
  def frontend_protocol(self) -> Optional[pulumi.Input[str]]:
152
196
  """
153
- The forwarding protocol. Valid values `tcp` and `udp`.
197
+ The type of the forwarding protocol to query. Valid values:
154
198
  """
155
199
  return pulumi.get(self, "frontend_protocol")
156
200
 
@@ -162,7 +206,9 @@ class _PortState:
162
206
  @pulumi.getter(name="instanceId")
163
207
  def instance_id(self) -> Optional[pulumi.Input[str]]:
164
208
  """
165
- The ID of Ddoscoo instance.
209
+ The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
210
+
211
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
166
212
  """
167
213
  return pulumi.get(self, "instance_id")
168
214
 
@@ -174,7 +220,7 @@ class _PortState:
174
220
  @pulumi.getter(name="realServers")
175
221
  def real_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
176
222
  """
177
- List of source IP addresses.
223
+ List of source IP addresses
178
224
  """
179
225
  return pulumi.get(self, "real_servers")
180
226
 
@@ -189,13 +235,14 @@ class Port(pulumi.CustomResource):
189
235
  resource_name: str,
190
236
  opts: Optional[pulumi.ResourceOptions] = None,
191
237
  backend_port: Optional[pulumi.Input[str]] = None,
238
+ config: Optional[pulumi.Input[Union['PortConfigArgs', 'PortConfigArgsDict']]] = None,
192
239
  frontend_port: Optional[pulumi.Input[str]] = None,
193
240
  frontend_protocol: Optional[pulumi.Input[str]] = None,
194
241
  instance_id: Optional[pulumi.Input[str]] = None,
195
242
  real_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
196
243
  __props__=None):
197
244
  """
198
- Provides a Anti-DDoS Pro Port resource.
245
+ Provides a Ddos Coo Port resource.
199
246
 
200
247
  For information about Anti-DDoS Pro Port and how to use it, see [What is Port](https://www.alibabacloud.com/help/en/ddos-protection/latest/api-ddoscoo-2020-01-01-createport).
201
248
 
@@ -235,7 +282,7 @@ class Port(pulumi.CustomResource):
235
282
 
236
283
  ## Import
237
284
 
238
- Anti-DDoS Pro Port can be imported using the id, e.g.
285
+ Ddos Coo Port can be imported using the id, e.g.
239
286
 
240
287
  ```sh
241
288
  $ pulumi import alicloud:ddos/port:Port example <instance_id>:<frontend_port>:<frontend_protocol>
@@ -243,11 +290,15 @@ class Port(pulumi.CustomResource):
243
290
 
244
291
  :param str resource_name: The name of the resource.
245
292
  :param pulumi.ResourceOptions opts: Options for the resource.
246
- :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: [1~65535].
247
- :param pulumi.Input[str] frontend_port: The forwarding port. Valid values: [1~65535].
248
- :param pulumi.Input[str] frontend_protocol: The forwarding protocol. Valid values `tcp` and `udp`.
249
- :param pulumi.Input[str] instance_id: The ID of Ddoscoo instance.
250
- :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses.
293
+ :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: `0` to `65535`.
294
+ :param pulumi.Input[Union['PortConfigArgs', 'PortConfigArgsDict']] config: Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
295
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
296
+ :param pulumi.Input[str] frontend_port: The forwarding port to query. Valid values: `0` to `65535`.
297
+ :param pulumi.Input[str] frontend_protocol: The type of the forwarding protocol to query. Valid values:
298
+ :param pulumi.Input[str] instance_id: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
299
+
300
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
301
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses
251
302
  """
252
303
  ...
253
304
  @overload
@@ -256,7 +307,7 @@ class Port(pulumi.CustomResource):
256
307
  args: PortArgs,
257
308
  opts: Optional[pulumi.ResourceOptions] = None):
258
309
  """
259
- Provides a Anti-DDoS Pro Port resource.
310
+ Provides a Ddos Coo Port resource.
260
311
 
261
312
  For information about Anti-DDoS Pro Port and how to use it, see [What is Port](https://www.alibabacloud.com/help/en/ddos-protection/latest/api-ddoscoo-2020-01-01-createport).
262
313
 
@@ -296,7 +347,7 @@ class Port(pulumi.CustomResource):
296
347
 
297
348
  ## Import
298
349
 
299
- Anti-DDoS Pro Port can be imported using the id, e.g.
350
+ Ddos Coo Port can be imported using the id, e.g.
300
351
 
301
352
  ```sh
302
353
  $ pulumi import alicloud:ddos/port:Port example <instance_id>:<frontend_port>:<frontend_protocol>
@@ -318,6 +369,7 @@ class Port(pulumi.CustomResource):
318
369
  resource_name: str,
319
370
  opts: Optional[pulumi.ResourceOptions] = None,
320
371
  backend_port: Optional[pulumi.Input[str]] = None,
372
+ config: Optional[pulumi.Input[Union['PortConfigArgs', 'PortConfigArgsDict']]] = None,
321
373
  frontend_port: Optional[pulumi.Input[str]] = None,
322
374
  frontend_protocol: Optional[pulumi.Input[str]] = None,
323
375
  instance_id: Optional[pulumi.Input[str]] = None,
@@ -332,6 +384,7 @@ class Port(pulumi.CustomResource):
332
384
  __props__ = PortArgs.__new__(PortArgs)
333
385
 
334
386
  __props__.__dict__["backend_port"] = backend_port
387
+ __props__.__dict__["config"] = config
335
388
  if frontend_port is None and not opts.urn:
336
389
  raise TypeError("Missing required property 'frontend_port'")
337
390
  __props__.__dict__["frontend_port"] = frontend_port
@@ -355,6 +408,7 @@ class Port(pulumi.CustomResource):
355
408
  id: pulumi.Input[str],
356
409
  opts: Optional[pulumi.ResourceOptions] = None,
357
410
  backend_port: Optional[pulumi.Input[str]] = None,
411
+ config: Optional[pulumi.Input[Union['PortConfigArgs', 'PortConfigArgsDict']]] = None,
358
412
  frontend_port: Optional[pulumi.Input[str]] = None,
359
413
  frontend_protocol: Optional[pulumi.Input[str]] = None,
360
414
  instance_id: Optional[pulumi.Input[str]] = None,
@@ -366,17 +420,22 @@ class Port(pulumi.CustomResource):
366
420
  :param str resource_name: The unique name of the resulting resource.
367
421
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
422
  :param pulumi.ResourceOptions opts: Options for the resource.
369
- :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: [1~65535].
370
- :param pulumi.Input[str] frontend_port: The forwarding port. Valid values: [1~65535].
371
- :param pulumi.Input[str] frontend_protocol: The forwarding protocol. Valid values `tcp` and `udp`.
372
- :param pulumi.Input[str] instance_id: The ID of Ddoscoo instance.
373
- :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses.
423
+ :param pulumi.Input[str] backend_port: The port of the origin server. Valid values: `0` to `65535`.
424
+ :param pulumi.Input[Union['PortConfigArgs', 'PortConfigArgsDict']] config: Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
425
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
426
+ :param pulumi.Input[str] frontend_port: The forwarding port to query. Valid values: `0` to `65535`.
427
+ :param pulumi.Input[str] frontend_protocol: The type of the forwarding protocol to query. Valid values:
428
+ :param pulumi.Input[str] instance_id: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
429
+
430
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
431
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] real_servers: List of source IP addresses
374
432
  """
375
433
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
376
434
 
377
435
  __props__ = _PortState.__new__(_PortState)
378
436
 
379
437
  __props__.__dict__["backend_port"] = backend_port
438
+ __props__.__dict__["config"] = config
380
439
  __props__.__dict__["frontend_port"] = frontend_port
381
440
  __props__.__dict__["frontend_protocol"] = frontend_protocol
382
441
  __props__.__dict__["instance_id"] = instance_id
@@ -387,15 +446,24 @@ class Port(pulumi.CustomResource):
387
446
  @pulumi.getter(name="backendPort")
388
447
  def backend_port(self) -> pulumi.Output[Optional[str]]:
389
448
  """
390
- The port of the origin server. Valid values: [1~65535].
449
+ The port of the origin server. Valid values: `0` to `65535`.
391
450
  """
392
451
  return pulumi.get(self, "backend_port")
393
452
 
453
+ @property
454
+ @pulumi.getter
455
+ def config(self) -> pulumi.Output['outputs.PortConfig']:
456
+ """
457
+ Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
458
+ - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
459
+ """
460
+ return pulumi.get(self, "config")
461
+
394
462
  @property
395
463
  @pulumi.getter(name="frontendPort")
396
464
  def frontend_port(self) -> pulumi.Output[str]:
397
465
  """
398
- The forwarding port. Valid values: [1~65535].
466
+ The forwarding port to query. Valid values: `0` to `65535`.
399
467
  """
400
468
  return pulumi.get(self, "frontend_port")
401
469
 
@@ -403,7 +471,7 @@ class Port(pulumi.CustomResource):
403
471
  @pulumi.getter(name="frontendProtocol")
404
472
  def frontend_protocol(self) -> pulumi.Output[str]:
405
473
  """
406
- The forwarding protocol. Valid values `tcp` and `udp`.
474
+ The type of the forwarding protocol to query. Valid values:
407
475
  """
408
476
  return pulumi.get(self, "frontend_protocol")
409
477
 
@@ -411,7 +479,9 @@ class Port(pulumi.CustomResource):
411
479
  @pulumi.getter(name="instanceId")
412
480
  def instance_id(self) -> pulumi.Output[str]:
413
481
  """
414
- The ID of Ddoscoo instance.
482
+ The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
483
+
484
+ > **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
415
485
  """
416
486
  return pulumi.get(self, "instance_id")
417
487
 
@@ -419,7 +489,7 @@ class Port(pulumi.CustomResource):
419
489
  @pulumi.getter(name="realServers")
420
490
  def real_servers(self) -> pulumi.Output[Sequence[str]]:
421
491
  """
422
- List of source IP addresses.
492
+ List of source IP addresses
423
493
  """
424
494
  return pulumi.get(self, "real_servers")
425
495
 
@@ -1432,7 +1432,7 @@ class ClusterNodeGroupDataDiskArgs:
1432
1432
  count: Optional[pulumi.Input[int]] = None,
1433
1433
  performance_level: Optional[pulumi.Input[str]] = None):
1434
1434
  """
1435
- :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1435
+ :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1436
1436
  :param pulumi.Input[int] size: The size of a data disk, at least 40. Unit: GiB.
1437
1437
  :param pulumi.Input[int] count: The count of a data disk.
1438
1438
  :param pulumi.Input[str] performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
@@ -1448,7 +1448,7 @@ class ClusterNodeGroupDataDiskArgs:
1448
1448
  @pulumi.getter
1449
1449
  def category(self) -> pulumi.Input[str]:
1450
1450
  """
1451
- The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1451
+ The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1452
1452
  """
1453
1453
  return pulumi.get(self, "category")
1454
1454
 
@@ -1542,7 +1542,7 @@ class ClusterNodeGroupSubscriptionConfigArgs:
1542
1542
  """
1543
1543
  :param pulumi.Input[int] payment_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1544
1544
  :param pulumi.Input[str] payment_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
1545
- :param pulumi.Input[bool] auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1545
+ :param pulumi.Input[bool] auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1546
1546
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
1547
1547
  :param pulumi.Input[int] auto_renew_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1548
1548
  :param pulumi.Input[str] auto_renew_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
@@ -1586,7 +1586,7 @@ class ClusterNodeGroupSubscriptionConfigArgs:
1586
1586
  @pulumi.getter(name="autoPayOrder")
1587
1587
  def auto_pay_order(self) -> Optional[pulumi.Input[bool]]:
1588
1588
  """
1589
- Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1589
+ Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1590
1590
  """
1591
1591
  return pulumi.get(self, "auto_pay_order")
1592
1592
 
@@ -1639,7 +1639,7 @@ class ClusterNodeGroupSystemDiskArgs:
1639
1639
  count: Optional[pulumi.Input[int]] = None,
1640
1640
  performance_level: Optional[pulumi.Input[str]] = None):
1641
1641
  """
1642
- :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1642
+ :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1643
1643
  :param pulumi.Input[int] size: The size of a data disk, at least 40. Unit: GiB.
1644
1644
  :param pulumi.Input[int] count: The count of a data disk.
1645
1645
  :param pulumi.Input[str] performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
@@ -1655,7 +1655,7 @@ class ClusterNodeGroupSystemDiskArgs:
1655
1655
  @pulumi.getter
1656
1656
  def category(self) -> pulumi.Input[str]:
1657
1657
  """
1658
- The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1658
+ The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1659
1659
  """
1660
1660
  return pulumi.get(self, "category")
1661
1661
 
@@ -1712,7 +1712,7 @@ class ClusterSubscriptionConfigArgs:
1712
1712
  """
1713
1713
  :param pulumi.Input[int] payment_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1714
1714
  :param pulumi.Input[str] payment_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
1715
- :param pulumi.Input[bool] auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1715
+ :param pulumi.Input[bool] auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1716
1716
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
1717
1717
  :param pulumi.Input[int] auto_renew_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1718
1718
  :param pulumi.Input[str] auto_renew_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
@@ -1756,7 +1756,7 @@ class ClusterSubscriptionConfigArgs:
1756
1756
  @pulumi.getter(name="autoPayOrder")
1757
1757
  def auto_pay_order(self) -> Optional[pulumi.Input[bool]]:
1758
1758
  """
1759
- Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1759
+ Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1760
1760
  """
1761
1761
  return pulumi.get(self, "auto_pay_order")
1762
1762
 
@@ -72,6 +72,9 @@ class GetClustersResult:
72
72
  @property
73
73
  @pulumi.getter(name="clusterName")
74
74
  def cluster_name(self) -> Optional[str]:
75
+ """
76
+ The name of the emr cluster.
77
+ """
75
78
  return pulumi.get(self, "cluster_name")
76
79
 
77
80
  @property
@@ -87,6 +90,9 @@ class GetClustersResult:
87
90
  @property
88
91
  @pulumi.getter
89
92
  def clusters(self) -> Sequence['outputs.GetClustersClusterResult']:
93
+ """
94
+ A list of Emr Clusters. Each element contains the following attributes:
95
+ """
90
96
  return pulumi.get(self, "clusters")
91
97
 
92
98
  @property
@@ -100,6 +106,9 @@ class GetClustersResult:
100
106
  @property
101
107
  @pulumi.getter
102
108
  def ids(self) -> Sequence[str]:
109
+ """
110
+ A list of Cluster IDS.
111
+ """
103
112
  return pulumi.get(self, "ids")
104
113
 
105
114
  @property
@@ -115,6 +124,9 @@ class GetClustersResult:
115
124
  @property
116
125
  @pulumi.getter
117
126
  def names(self) -> Sequence[str]:
127
+ """
128
+ A list of Cluster names.
129
+ """
118
130
  return pulumi.get(self, "names")
119
131
 
120
132
  @property
@@ -135,16 +147,25 @@ class GetClustersResult:
135
147
  @property
136
148
  @pulumi.getter(name="resourceGroupId")
137
149
  def resource_group_id(self) -> Optional[str]:
150
+ """
151
+ The resource group id of the resource.
152
+ """
138
153
  return pulumi.get(self, "resource_group_id")
139
154
 
140
155
  @property
141
156
  @pulumi.getter
142
157
  def tags(self) -> Optional[Mapping[str, str]]:
158
+ """
159
+ A mapping of tags to assign to the resource.
160
+ """
143
161
  return pulumi.get(self, "tags")
144
162
 
145
163
  @property
146
164
  @pulumi.getter(name="totalCount")
147
165
  def total_count(self) -> int:
166
+ """
167
+ The total count of list clusters.
168
+ """
148
169
  return pulumi.get(self, "total_count")
149
170
 
150
171
 
@@ -186,13 +207,13 @@ def get_clusters(cluster_name: Optional[str] = None,
186
207
  """
187
208
  This data source provides the Emr Clusters of the current Alibaba Cloud user.
188
209
 
189
- > **NOTE:** Available in v1.199.0+.
210
+ > **NOTE:** Available since v1.199.0.
190
211
 
191
212
 
192
213
  :param str cluster_name: The cluster name.
193
214
  :param Sequence[str] cluster_states: The cluster states.
194
215
  :param Sequence[str] cluster_types: The cluster types.
195
- :param Sequence[str] ids: A list of Cluster IDS.
216
+ :param Sequence[str] ids: A list of Cluster IDs.
196
217
  :param int max_results: The max results is used to list clusters for next page.
197
218
  :param str name_regex: A regex string to filter results by Cluster name.
198
219
  :param str next_token: The next token is used to list clusters for next page.
@@ -250,13 +271,13 @@ def get_clusters_output(cluster_name: Optional[pulumi.Input[Optional[str]]] = No
250
271
  """
251
272
  This data source provides the Emr Clusters of the current Alibaba Cloud user.
252
273
 
253
- > **NOTE:** Available in v1.199.0+.
274
+ > **NOTE:** Available since v1.199.0.
254
275
 
255
276
 
256
277
  :param str cluster_name: The cluster name.
257
278
  :param Sequence[str] cluster_states: The cluster states.
258
279
  :param Sequence[str] cluster_types: The cluster types.
259
- :param Sequence[str] ids: A list of Cluster IDS.
280
+ :param Sequence[str] ids: A list of Cluster IDs.
260
281
  :param int max_results: The max results is used to list clusters for next page.
261
282
  :param str name_regex: A regex string to filter results by Cluster name.
262
283
  :param str next_token: The next token is used to list clusters for next page.
@@ -1456,7 +1456,7 @@ class ClusterNodeGroupDataDisk(dict):
1456
1456
  count: Optional[int] = None,
1457
1457
  performance_level: Optional[str] = None):
1458
1458
  """
1459
- :param str category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1459
+ :param str category: The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1460
1460
  :param int size: The size of a data disk, at least 40. Unit: GiB.
1461
1461
  :param int count: The count of a data disk.
1462
1462
  :param str performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
@@ -1472,7 +1472,7 @@ class ClusterNodeGroupDataDisk(dict):
1472
1472
  @pulumi.getter
1473
1473
  def category(self) -> str:
1474
1474
  """
1475
- The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1475
+ The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1476
1476
  """
1477
1477
  return pulumi.get(self, "category")
1478
1478
 
@@ -1588,7 +1588,7 @@ class ClusterNodeGroupSubscriptionConfig(dict):
1588
1588
  """
1589
1589
  :param int payment_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1590
1590
  :param str payment_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
1591
- :param bool auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1591
+ :param bool auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1592
1592
  :param bool auto_renew: Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
1593
1593
  :param int auto_renew_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1594
1594
  :param str auto_renew_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
@@ -1624,7 +1624,7 @@ class ClusterNodeGroupSubscriptionConfig(dict):
1624
1624
  @pulumi.getter(name="autoPayOrder")
1625
1625
  def auto_pay_order(self) -> Optional[bool]:
1626
1626
  """
1627
- Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1627
+ Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1628
1628
  """
1629
1629
  return pulumi.get(self, "auto_pay_order")
1630
1630
 
@@ -1678,7 +1678,7 @@ class ClusterNodeGroupSystemDisk(dict):
1678
1678
  count: Optional[int] = None,
1679
1679
  performance_level: Optional[str] = None):
1680
1680
  """
1681
- :param str category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1681
+ :param str category: The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1682
1682
  :param int size: The size of a data disk, at least 40. Unit: GiB.
1683
1683
  :param int count: The count of a data disk.
1684
1684
  :param str performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
@@ -1694,7 +1694,7 @@ class ClusterNodeGroupSystemDisk(dict):
1694
1694
  @pulumi.getter
1695
1695
  def category(self) -> str:
1696
1696
  """
1697
- The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1697
+ The type of the data disk. Valid values: `cloud_efficiency`, `cloud_essd`, `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro`. **NOTE:** Since version v1.230.0, the categories `cloud`, `local_hdd_pro`, `local_disk`, `local_ssd_pro` are available.
1698
1698
  """
1699
1699
  return pulumi.get(self, "category")
1700
1700
 
@@ -1762,7 +1762,7 @@ class ClusterSubscriptionConfig(dict):
1762
1762
  """
1763
1763
  :param int payment_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1764
1764
  :param str payment_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
1765
- :param bool auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1765
+ :param bool auto_pay_order: Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1766
1766
  :param bool auto_renew: Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
1767
1767
  :param int auto_renew_duration: If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
1768
1768
  :param str auto_renew_duration_unit: If paymentType is Subscription, this should be specified. Supported value: Month or Year.
@@ -1798,7 +1798,7 @@ class ClusterSubscriptionConfig(dict):
1798
1798
  @pulumi.getter(name="autoPayOrder")
1799
1799
  def auto_pay_order(self) -> Optional[bool]:
1800
1800
  """
1801
- Auto pay order for payment type of subscription, ’true’ or ‘false’ .
1801
+ Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
1802
1802
  """
1803
1803
  return pulumi.get(self, "auto_pay_order")
1804
1804
 
@@ -1846,7 +1846,7 @@ class GetClustersClusterResult(dict):
1846
1846
  tags: Sequence['outputs.GetClustersClusterTagResult']):
1847
1847
  """
1848
1848
  :param str cluster_id: The first ID of the resource.
1849
- :param str cluster_name: The name of the emr cluster.
1849
+ :param str cluster_name: The cluster name.
1850
1850
  :param str cluster_state: The state of the emr cluster.
1851
1851
  :param str cluster_type: The type of the emr cluster.
1852
1852
  :param str create_time: The creation time of the resource.
@@ -1856,7 +1856,7 @@ class GetClustersClusterResult(dict):
1856
1856
  :param str payment_type: The payment type of the emr cluster.
1857
1857
  :param str ready_time: The ready time of the resource.
1858
1858
  :param str release_version: The release version of the resource.
1859
- :param str resource_group_id: The resource group id of the resource.
1859
+ :param str resource_group_id: The Resource Group ID.
1860
1860
  :param Mapping[str, str] state_change_reason: The cluster state change reason.
1861
1861
  :param Sequence['GetClustersClusterTagArgs'] tags: A mapping of tags to assign to the resource.
1862
1862
  """
@@ -1887,7 +1887,7 @@ class GetClustersClusterResult(dict):
1887
1887
  @pulumi.getter(name="clusterName")
1888
1888
  def cluster_name(self) -> str:
1889
1889
  """
1890
- The name of the emr cluster.
1890
+ The cluster name.
1891
1891
  """
1892
1892
  return pulumi.get(self, "cluster_name")
1893
1893
 
@@ -1967,7 +1967,7 @@ class GetClustersClusterResult(dict):
1967
1967
  @pulumi.getter(name="resourceGroupId")
1968
1968
  def resource_group_id(self) -> str:
1969
1969
  """
1970
- The resource group id of the resource.
1970
+ The Resource Group ID.
1971
1971
  """
1972
1972
  return pulumi.get(self, "resource_group_id")
1973
1973