pulumi-alicloud 3.66.0a1731672315__py3-none-any.whl → 3.67.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 (44) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/cen/flow_log.py +373 -58
  3. pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
  4. pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
  5. pulumi_alicloud/ecs/ecs_image_component.py +221 -48
  6. pulumi_alicloud/ess/_inputs.py +94 -0
  7. pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
  8. pulumi_alicloud/ess/outputs.py +79 -0
  9. pulumi_alicloud/ess/scaling_configuration.py +47 -0
  10. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
  11. pulumi_alicloud/kms/key.py +1 -1
  12. pulumi_alicloud/kvstore/account.py +24 -24
  13. pulumi_alicloud/kvstore/audit_log_config.py +4 -4
  14. pulumi_alicloud/kvstore/backup_policy.py +2 -2
  15. pulumi_alicloud/kvstore/connection.py +8 -8
  16. pulumi_alicloud/kvstore/get_accounts.py +4 -4
  17. pulumi_alicloud/kvstore/get_connections.py +5 -5
  18. pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
  19. pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
  20. pulumi_alicloud/kvstore/get_permission.py +10 -10
  21. pulumi_alicloud/kvstore/get_zones.py +4 -4
  22. pulumi_alicloud/kvstore/outputs.py +2 -2
  23. pulumi_alicloud/mongodb/instance.py +47 -0
  24. pulumi_alicloud/mongodb/sharding_instance.py +47 -0
  25. pulumi_alicloud/polardb/cluster.py +7 -7
  26. pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
  27. pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
  28. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
  29. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
  30. pulumi_alicloud/pulumi-plugin.json +1 -1
  31. pulumi_alicloud/rds/__init__.py +2 -0
  32. pulumi_alicloud/rds/_inputs.py +146 -0
  33. pulumi_alicloud/rds/custom.py +1630 -0
  34. pulumi_alicloud/rds/custom_deployment_set.py +525 -0
  35. pulumi_alicloud/rds/outputs.py +105 -0
  36. pulumi_alicloud/redis/tair_instance.py +76 -1
  37. pulumi_alicloud/vpc/_inputs.py +54 -0
  38. pulumi_alicloud/vpc/nat_gateway.py +175 -14
  39. pulumi_alicloud/vpc/outputs.py +51 -0
  40. pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
  41. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/METADATA +5 -5
  42. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/RECORD +44 -42
  43. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/WHEEL +1 -1
  44. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['NatGatewayArgs', 'NatGateway']
18
20
 
@@ -20,11 +22,13 @@ __all__ = ['NatGatewayArgs', 'NatGateway']
20
22
  class NatGatewayArgs:
21
23
  def __init__(__self__, *,
22
24
  vpc_id: pulumi.Input[str],
25
+ access_mode: Optional[pulumi.Input['NatGatewayAccessModeArgs']] = None,
23
26
  deletion_protection: Optional[pulumi.Input[bool]] = None,
24
27
  description: Optional[pulumi.Input[str]] = None,
25
28
  dry_run: Optional[pulumi.Input[bool]] = None,
26
29
  eip_bind_mode: Optional[pulumi.Input[str]] = None,
27
30
  force: Optional[pulumi.Input[bool]] = None,
31
+ icmp_reply_enabled: Optional[pulumi.Input[bool]] = None,
28
32
  instance_charge_type: Optional[pulumi.Input[str]] = None,
29
33
  internet_charge_type: Optional[pulumi.Input[str]] = None,
30
34
  name: Optional[pulumi.Input[str]] = None,
@@ -33,12 +37,14 @@ class NatGatewayArgs:
33
37
  network_type: Optional[pulumi.Input[str]] = None,
34
38
  payment_type: Optional[pulumi.Input[str]] = None,
35
39
  period: Optional[pulumi.Input[int]] = None,
40
+ private_link_enabled: Optional[pulumi.Input[bool]] = None,
36
41
  specification: Optional[pulumi.Input[str]] = None,
37
42
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
38
43
  vswitch_id: Optional[pulumi.Input[str]] = None):
39
44
  """
40
45
  The set of arguments for constructing a NatGateway resource.
41
46
  :param pulumi.Input[str] vpc_id: The VPC ID.
47
+ :param pulumi.Input['NatGatewayAccessModeArgs'] access_mode: The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
42
48
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: `false`.
43
49
  - true: Enable deletion protection.
44
50
  - false: Disable deletion protection.
@@ -48,20 +54,24 @@ class NatGatewayArgs:
48
54
  - `MULTI_BINDED`: Multi EIP network card visible mode.
49
55
  - `NAT`: EIP normal mode, compatible with IPv4 gateway.
50
56
  :param pulumi.Input[bool] force: Specifies whether to forcefully delete the NAT gateway.
57
+ :param pulumi.Input[bool] icmp_reply_enabled: Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
51
58
  :param pulumi.Input[str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
52
- :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
59
+ :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
53
60
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
54
61
  :param pulumi.Input[str] nat_gateway_name: Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.
55
- :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
62
+ :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
56
63
  :param pulumi.Input[str] network_type: Indicates the type of the created NAT gateway. Valid values `internet` and `intranet`. `internet`: Internet NAT Gateway. `intranet`: VPC NAT Gateway.
57
64
  :param pulumi.Input[str] payment_type: The billing method of the NAT gateway. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
58
65
  :param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid when `payment_type` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. **NOTE:** International station only supports `Subscription`.
59
66
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
67
+ :param pulumi.Input[bool] private_link_enabled: Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
60
68
  :param pulumi.Input[str] specification: The specification of the nat gateway. Valid values are `Small`, `Middle` and `Large`. Effective when `internet_charge_type` is `PayBySpec` and `network_type` is `internet`. Details refer to [Nat Gateway Specification](https://help.aliyun.com/document_detail/203500.html).
61
69
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of NAT gateway.
62
70
  :param pulumi.Input[str] vswitch_id: The id of VSwitch.
63
71
  """
64
72
  pulumi.set(__self__, "vpc_id", vpc_id)
73
+ if access_mode is not None:
74
+ pulumi.set(__self__, "access_mode", access_mode)
65
75
  if deletion_protection is not None:
66
76
  pulumi.set(__self__, "deletion_protection", deletion_protection)
67
77
  if description is not None:
@@ -72,10 +82,18 @@ class NatGatewayArgs:
72
82
  pulumi.set(__self__, "eip_bind_mode", eip_bind_mode)
73
83
  if force is not None:
74
84
  pulumi.set(__self__, "force", force)
85
+ if icmp_reply_enabled is not None:
86
+ pulumi.set(__self__, "icmp_reply_enabled", icmp_reply_enabled)
87
+ if instance_charge_type is not None:
88
+ warnings.warn("""Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""", DeprecationWarning)
89
+ pulumi.log.warn("""instance_charge_type is deprecated: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""")
75
90
  if instance_charge_type is not None:
76
91
  pulumi.set(__self__, "instance_charge_type", instance_charge_type)
77
92
  if internet_charge_type is not None:
78
93
  pulumi.set(__self__, "internet_charge_type", internet_charge_type)
94
+ if name is not None:
95
+ warnings.warn("""Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""", DeprecationWarning)
96
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""")
79
97
  if name is not None:
80
98
  pulumi.set(__self__, "name", name)
81
99
  if nat_gateway_name is not None:
@@ -88,6 +106,8 @@ class NatGatewayArgs:
88
106
  pulumi.set(__self__, "payment_type", payment_type)
89
107
  if period is not None:
90
108
  pulumi.set(__self__, "period", period)
109
+ if private_link_enabled is not None:
110
+ pulumi.set(__self__, "private_link_enabled", private_link_enabled)
91
111
  if specification is not None:
92
112
  pulumi.set(__self__, "specification", specification)
93
113
  if tags is not None:
@@ -107,6 +127,18 @@ class NatGatewayArgs:
107
127
  def vpc_id(self, value: pulumi.Input[str]):
108
128
  pulumi.set(self, "vpc_id", value)
109
129
 
130
+ @property
131
+ @pulumi.getter(name="accessMode")
132
+ def access_mode(self) -> Optional[pulumi.Input['NatGatewayAccessModeArgs']]:
133
+ """
134
+ The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
135
+ """
136
+ return pulumi.get(self, "access_mode")
137
+
138
+ @access_mode.setter
139
+ def access_mode(self, value: Optional[pulumi.Input['NatGatewayAccessModeArgs']]):
140
+ pulumi.set(self, "access_mode", value)
141
+
110
142
  @property
111
143
  @pulumi.getter(name="deletionProtection")
112
144
  def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
@@ -171,8 +203,21 @@ class NatGatewayArgs:
171
203
  def force(self, value: Optional[pulumi.Input[bool]]):
172
204
  pulumi.set(self, "force", value)
173
205
 
206
+ @property
207
+ @pulumi.getter(name="icmpReplyEnabled")
208
+ def icmp_reply_enabled(self) -> Optional[pulumi.Input[bool]]:
209
+ """
210
+ Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
211
+ """
212
+ return pulumi.get(self, "icmp_reply_enabled")
213
+
214
+ @icmp_reply_enabled.setter
215
+ def icmp_reply_enabled(self, value: Optional[pulumi.Input[bool]]):
216
+ pulumi.set(self, "icmp_reply_enabled", value)
217
+
174
218
  @property
175
219
  @pulumi.getter(name="instanceChargeType")
220
+ @_utilities.deprecated("""Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""")
176
221
  def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
177
222
  """
178
223
  Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
@@ -187,7 +232,7 @@ class NatGatewayArgs:
187
232
  @pulumi.getter(name="internetChargeType")
188
233
  def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
189
234
  """
190
- The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
235
+ The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
191
236
  """
192
237
  return pulumi.get(self, "internet_charge_type")
193
238
 
@@ -197,6 +242,7 @@ class NatGatewayArgs:
197
242
 
198
243
  @property
199
244
  @pulumi.getter
245
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""")
200
246
  def name(self) -> Optional[pulumi.Input[str]]:
201
247
  """
202
248
  Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
@@ -223,7 +269,7 @@ class NatGatewayArgs:
223
269
  @pulumi.getter(name="natType")
224
270
  def nat_type(self) -> Optional[pulumi.Input[str]]:
225
271
  """
226
- The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
272
+ The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
227
273
  """
228
274
  return pulumi.get(self, "nat_type")
229
275
 
@@ -268,6 +314,18 @@ class NatGatewayArgs:
268
314
  def period(self, value: Optional[pulumi.Input[int]]):
269
315
  pulumi.set(self, "period", value)
270
316
 
317
+ @property
318
+ @pulumi.getter(name="privateLinkEnabled")
319
+ def private_link_enabled(self) -> Optional[pulumi.Input[bool]]:
320
+ """
321
+ Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
322
+ """
323
+ return pulumi.get(self, "private_link_enabled")
324
+
325
+ @private_link_enabled.setter
326
+ def private_link_enabled(self, value: Optional[pulumi.Input[bool]]):
327
+ pulumi.set(self, "private_link_enabled", value)
328
+
271
329
  @property
272
330
  @pulumi.getter
273
331
  def specification(self) -> Optional[pulumi.Input[str]]:
@@ -308,12 +366,14 @@ class NatGatewayArgs:
308
366
  @pulumi.input_type
309
367
  class _NatGatewayState:
310
368
  def __init__(__self__, *,
369
+ access_mode: Optional[pulumi.Input['NatGatewayAccessModeArgs']] = None,
311
370
  deletion_protection: Optional[pulumi.Input[bool]] = None,
312
371
  description: Optional[pulumi.Input[str]] = None,
313
372
  dry_run: Optional[pulumi.Input[bool]] = None,
314
373
  eip_bind_mode: Optional[pulumi.Input[str]] = None,
315
374
  force: Optional[pulumi.Input[bool]] = None,
316
375
  forward_table_ids: Optional[pulumi.Input[str]] = None,
376
+ icmp_reply_enabled: Optional[pulumi.Input[bool]] = None,
317
377
  instance_charge_type: Optional[pulumi.Input[str]] = None,
318
378
  internet_charge_type: Optional[pulumi.Input[str]] = None,
319
379
  name: Optional[pulumi.Input[str]] = None,
@@ -322,6 +382,7 @@ class _NatGatewayState:
322
382
  network_type: Optional[pulumi.Input[str]] = None,
323
383
  payment_type: Optional[pulumi.Input[str]] = None,
324
384
  period: Optional[pulumi.Input[int]] = None,
385
+ private_link_enabled: Optional[pulumi.Input[bool]] = None,
325
386
  snat_table_ids: Optional[pulumi.Input[str]] = None,
326
387
  specification: Optional[pulumi.Input[str]] = None,
327
388
  status: Optional[pulumi.Input[str]] = None,
@@ -330,6 +391,7 @@ class _NatGatewayState:
330
391
  vswitch_id: Optional[pulumi.Input[str]] = None):
331
392
  """
332
393
  Input properties used for looking up and filtering NatGateway resources.
394
+ :param pulumi.Input['NatGatewayAccessModeArgs'] access_mode: The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
333
395
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: `false`.
334
396
  - true: Enable deletion protection.
335
397
  - false: Disable deletion protection.
@@ -340,15 +402,17 @@ class _NatGatewayState:
340
402
  - `NAT`: EIP normal mode, compatible with IPv4 gateway.
341
403
  :param pulumi.Input[bool] force: Specifies whether to forcefully delete the NAT gateway.
342
404
  :param pulumi.Input[str] forward_table_ids: The nat gateway will auto create a forward item.
405
+ :param pulumi.Input[bool] icmp_reply_enabled: Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
343
406
  :param pulumi.Input[str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
344
- :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
407
+ :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
345
408
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
346
409
  :param pulumi.Input[str] nat_gateway_name: Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.
347
- :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
410
+ :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
348
411
  :param pulumi.Input[str] network_type: Indicates the type of the created NAT gateway. Valid values `internet` and `intranet`. `internet`: Internet NAT Gateway. `intranet`: VPC NAT Gateway.
349
412
  :param pulumi.Input[str] payment_type: The billing method of the NAT gateway. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
350
413
  :param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid when `payment_type` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. **NOTE:** International station only supports `Subscription`.
351
414
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
415
+ :param pulumi.Input[bool] private_link_enabled: Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
352
416
  :param pulumi.Input[str] snat_table_ids: The nat gateway will auto create a snat item.
353
417
  :param pulumi.Input[str] specification: The specification of the nat gateway. Valid values are `Small`, `Middle` and `Large`. Effective when `internet_charge_type` is `PayBySpec` and `network_type` is `internet`. Details refer to [Nat Gateway Specification](https://help.aliyun.com/document_detail/203500.html).
354
418
  :param pulumi.Input[str] status: (Available since v1.121.0) The status of NAT gateway.
@@ -356,6 +420,8 @@ class _NatGatewayState:
356
420
  :param pulumi.Input[str] vpc_id: The VPC ID.
357
421
  :param pulumi.Input[str] vswitch_id: The id of VSwitch.
358
422
  """
423
+ if access_mode is not None:
424
+ pulumi.set(__self__, "access_mode", access_mode)
359
425
  if deletion_protection is not None:
360
426
  pulumi.set(__self__, "deletion_protection", deletion_protection)
361
427
  if description is not None:
@@ -368,10 +434,18 @@ class _NatGatewayState:
368
434
  pulumi.set(__self__, "force", force)
369
435
  if forward_table_ids is not None:
370
436
  pulumi.set(__self__, "forward_table_ids", forward_table_ids)
437
+ if icmp_reply_enabled is not None:
438
+ pulumi.set(__self__, "icmp_reply_enabled", icmp_reply_enabled)
439
+ if instance_charge_type is not None:
440
+ warnings.warn("""Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""", DeprecationWarning)
441
+ pulumi.log.warn("""instance_charge_type is deprecated: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""")
371
442
  if instance_charge_type is not None:
372
443
  pulumi.set(__self__, "instance_charge_type", instance_charge_type)
373
444
  if internet_charge_type is not None:
374
445
  pulumi.set(__self__, "internet_charge_type", internet_charge_type)
446
+ if name is not None:
447
+ warnings.warn("""Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""", DeprecationWarning)
448
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""")
375
449
  if name is not None:
376
450
  pulumi.set(__self__, "name", name)
377
451
  if nat_gateway_name is not None:
@@ -384,6 +458,8 @@ class _NatGatewayState:
384
458
  pulumi.set(__self__, "payment_type", payment_type)
385
459
  if period is not None:
386
460
  pulumi.set(__self__, "period", period)
461
+ if private_link_enabled is not None:
462
+ pulumi.set(__self__, "private_link_enabled", private_link_enabled)
387
463
  if snat_table_ids is not None:
388
464
  pulumi.set(__self__, "snat_table_ids", snat_table_ids)
389
465
  if specification is not None:
@@ -397,6 +473,18 @@ class _NatGatewayState:
397
473
  if vswitch_id is not None:
398
474
  pulumi.set(__self__, "vswitch_id", vswitch_id)
399
475
 
476
+ @property
477
+ @pulumi.getter(name="accessMode")
478
+ def access_mode(self) -> Optional[pulumi.Input['NatGatewayAccessModeArgs']]:
479
+ """
480
+ The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
481
+ """
482
+ return pulumi.get(self, "access_mode")
483
+
484
+ @access_mode.setter
485
+ def access_mode(self, value: Optional[pulumi.Input['NatGatewayAccessModeArgs']]):
486
+ pulumi.set(self, "access_mode", value)
487
+
400
488
  @property
401
489
  @pulumi.getter(name="deletionProtection")
402
490
  def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
@@ -473,8 +561,21 @@ class _NatGatewayState:
473
561
  def forward_table_ids(self, value: Optional[pulumi.Input[str]]):
474
562
  pulumi.set(self, "forward_table_ids", value)
475
563
 
564
+ @property
565
+ @pulumi.getter(name="icmpReplyEnabled")
566
+ def icmp_reply_enabled(self) -> Optional[pulumi.Input[bool]]:
567
+ """
568
+ Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
569
+ """
570
+ return pulumi.get(self, "icmp_reply_enabled")
571
+
572
+ @icmp_reply_enabled.setter
573
+ def icmp_reply_enabled(self, value: Optional[pulumi.Input[bool]]):
574
+ pulumi.set(self, "icmp_reply_enabled", value)
575
+
476
576
  @property
477
577
  @pulumi.getter(name="instanceChargeType")
578
+ @_utilities.deprecated("""Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""")
478
579
  def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
479
580
  """
480
581
  Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
@@ -489,7 +590,7 @@ class _NatGatewayState:
489
590
  @pulumi.getter(name="internetChargeType")
490
591
  def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
491
592
  """
492
- The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
593
+ The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
493
594
  """
494
595
  return pulumi.get(self, "internet_charge_type")
495
596
 
@@ -499,6 +600,7 @@ class _NatGatewayState:
499
600
 
500
601
  @property
501
602
  @pulumi.getter
603
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""")
502
604
  def name(self) -> Optional[pulumi.Input[str]]:
503
605
  """
504
606
  Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
@@ -525,7 +627,7 @@ class _NatGatewayState:
525
627
  @pulumi.getter(name="natType")
526
628
  def nat_type(self) -> Optional[pulumi.Input[str]]:
527
629
  """
528
- The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
630
+ The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
529
631
  """
530
632
  return pulumi.get(self, "nat_type")
531
633
 
@@ -570,6 +672,18 @@ class _NatGatewayState:
570
672
  def period(self, value: Optional[pulumi.Input[int]]):
571
673
  pulumi.set(self, "period", value)
572
674
 
675
+ @property
676
+ @pulumi.getter(name="privateLinkEnabled")
677
+ def private_link_enabled(self) -> Optional[pulumi.Input[bool]]:
678
+ """
679
+ Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
680
+ """
681
+ return pulumi.get(self, "private_link_enabled")
682
+
683
+ @private_link_enabled.setter
684
+ def private_link_enabled(self, value: Optional[pulumi.Input[bool]]):
685
+ pulumi.set(self, "private_link_enabled", value)
686
+
573
687
  @property
574
688
  @pulumi.getter(name="snatTableIds")
575
689
  def snat_table_ids(self) -> Optional[pulumi.Input[str]]:
@@ -648,11 +762,13 @@ class NatGateway(pulumi.CustomResource):
648
762
  def __init__(__self__,
649
763
  resource_name: str,
650
764
  opts: Optional[pulumi.ResourceOptions] = None,
765
+ access_mode: Optional[pulumi.Input[Union['NatGatewayAccessModeArgs', 'NatGatewayAccessModeArgsDict']]] = None,
651
766
  deletion_protection: Optional[pulumi.Input[bool]] = None,
652
767
  description: Optional[pulumi.Input[str]] = None,
653
768
  dry_run: Optional[pulumi.Input[bool]] = None,
654
769
  eip_bind_mode: Optional[pulumi.Input[str]] = None,
655
770
  force: Optional[pulumi.Input[bool]] = None,
771
+ icmp_reply_enabled: Optional[pulumi.Input[bool]] = None,
656
772
  instance_charge_type: Optional[pulumi.Input[str]] = None,
657
773
  internet_charge_type: Optional[pulumi.Input[str]] = None,
658
774
  name: Optional[pulumi.Input[str]] = None,
@@ -661,6 +777,7 @@ class NatGateway(pulumi.CustomResource):
661
777
  network_type: Optional[pulumi.Input[str]] = None,
662
778
  payment_type: Optional[pulumi.Input[str]] = None,
663
779
  period: Optional[pulumi.Input[int]] = None,
780
+ private_link_enabled: Optional[pulumi.Input[bool]] = None,
664
781
  specification: Optional[pulumi.Input[str]] = None,
665
782
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
666
783
  vpc_id: Optional[pulumi.Input[str]] = None,
@@ -677,6 +794,7 @@ class NatGateway(pulumi.CustomResource):
677
794
 
678
795
  :param str resource_name: The name of the resource.
679
796
  :param pulumi.ResourceOptions opts: Options for the resource.
797
+ :param pulumi.Input[Union['NatGatewayAccessModeArgs', 'NatGatewayAccessModeArgsDict']] access_mode: The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
680
798
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: `false`.
681
799
  - true: Enable deletion protection.
682
800
  - false: Disable deletion protection.
@@ -686,15 +804,17 @@ class NatGateway(pulumi.CustomResource):
686
804
  - `MULTI_BINDED`: Multi EIP network card visible mode.
687
805
  - `NAT`: EIP normal mode, compatible with IPv4 gateway.
688
806
  :param pulumi.Input[bool] force: Specifies whether to forcefully delete the NAT gateway.
807
+ :param pulumi.Input[bool] icmp_reply_enabled: Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
689
808
  :param pulumi.Input[str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
690
- :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
809
+ :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
691
810
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
692
811
  :param pulumi.Input[str] nat_gateway_name: Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.
693
- :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
812
+ :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
694
813
  :param pulumi.Input[str] network_type: Indicates the type of the created NAT gateway. Valid values `internet` and `intranet`. `internet`: Internet NAT Gateway. `intranet`: VPC NAT Gateway.
695
814
  :param pulumi.Input[str] payment_type: The billing method of the NAT gateway. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
696
815
  :param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid when `payment_type` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. **NOTE:** International station only supports `Subscription`.
697
816
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
817
+ :param pulumi.Input[bool] private_link_enabled: Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
698
818
  :param pulumi.Input[str] specification: The specification of the nat gateway. Valid values are `Small`, `Middle` and `Large`. Effective when `internet_charge_type` is `PayBySpec` and `network_type` is `internet`. Details refer to [Nat Gateway Specification](https://help.aliyun.com/document_detail/203500.html).
699
819
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of NAT gateway.
700
820
  :param pulumi.Input[str] vpc_id: The VPC ID.
@@ -730,11 +850,13 @@ class NatGateway(pulumi.CustomResource):
730
850
  def _internal_init(__self__,
731
851
  resource_name: str,
732
852
  opts: Optional[pulumi.ResourceOptions] = None,
853
+ access_mode: Optional[pulumi.Input[Union['NatGatewayAccessModeArgs', 'NatGatewayAccessModeArgsDict']]] = None,
733
854
  deletion_protection: Optional[pulumi.Input[bool]] = None,
734
855
  description: Optional[pulumi.Input[str]] = None,
735
856
  dry_run: Optional[pulumi.Input[bool]] = None,
736
857
  eip_bind_mode: Optional[pulumi.Input[str]] = None,
737
858
  force: Optional[pulumi.Input[bool]] = None,
859
+ icmp_reply_enabled: Optional[pulumi.Input[bool]] = None,
738
860
  instance_charge_type: Optional[pulumi.Input[str]] = None,
739
861
  internet_charge_type: Optional[pulumi.Input[str]] = None,
740
862
  name: Optional[pulumi.Input[str]] = None,
@@ -743,6 +865,7 @@ class NatGateway(pulumi.CustomResource):
743
865
  network_type: Optional[pulumi.Input[str]] = None,
744
866
  payment_type: Optional[pulumi.Input[str]] = None,
745
867
  period: Optional[pulumi.Input[int]] = None,
868
+ private_link_enabled: Optional[pulumi.Input[bool]] = None,
746
869
  specification: Optional[pulumi.Input[str]] = None,
747
870
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
748
871
  vpc_id: Optional[pulumi.Input[str]] = None,
@@ -756,11 +879,13 @@ class NatGateway(pulumi.CustomResource):
756
879
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
757
880
  __props__ = NatGatewayArgs.__new__(NatGatewayArgs)
758
881
 
882
+ __props__.__dict__["access_mode"] = access_mode
759
883
  __props__.__dict__["deletion_protection"] = deletion_protection
760
884
  __props__.__dict__["description"] = description
761
885
  __props__.__dict__["dry_run"] = dry_run
762
886
  __props__.__dict__["eip_bind_mode"] = eip_bind_mode
763
887
  __props__.__dict__["force"] = force
888
+ __props__.__dict__["icmp_reply_enabled"] = icmp_reply_enabled
764
889
  __props__.__dict__["instance_charge_type"] = instance_charge_type
765
890
  __props__.__dict__["internet_charge_type"] = internet_charge_type
766
891
  __props__.__dict__["name"] = name
@@ -769,6 +894,7 @@ class NatGateway(pulumi.CustomResource):
769
894
  __props__.__dict__["network_type"] = network_type
770
895
  __props__.__dict__["payment_type"] = payment_type
771
896
  __props__.__dict__["period"] = period
897
+ __props__.__dict__["private_link_enabled"] = private_link_enabled
772
898
  __props__.__dict__["specification"] = specification
773
899
  __props__.__dict__["tags"] = tags
774
900
  if vpc_id is None and not opts.urn:
@@ -788,12 +914,14 @@ class NatGateway(pulumi.CustomResource):
788
914
  def get(resource_name: str,
789
915
  id: pulumi.Input[str],
790
916
  opts: Optional[pulumi.ResourceOptions] = None,
917
+ access_mode: Optional[pulumi.Input[Union['NatGatewayAccessModeArgs', 'NatGatewayAccessModeArgsDict']]] = None,
791
918
  deletion_protection: Optional[pulumi.Input[bool]] = None,
792
919
  description: Optional[pulumi.Input[str]] = None,
793
920
  dry_run: Optional[pulumi.Input[bool]] = None,
794
921
  eip_bind_mode: Optional[pulumi.Input[str]] = None,
795
922
  force: Optional[pulumi.Input[bool]] = None,
796
923
  forward_table_ids: Optional[pulumi.Input[str]] = None,
924
+ icmp_reply_enabled: Optional[pulumi.Input[bool]] = None,
797
925
  instance_charge_type: Optional[pulumi.Input[str]] = None,
798
926
  internet_charge_type: Optional[pulumi.Input[str]] = None,
799
927
  name: Optional[pulumi.Input[str]] = None,
@@ -802,6 +930,7 @@ class NatGateway(pulumi.CustomResource):
802
930
  network_type: Optional[pulumi.Input[str]] = None,
803
931
  payment_type: Optional[pulumi.Input[str]] = None,
804
932
  period: Optional[pulumi.Input[int]] = None,
933
+ private_link_enabled: Optional[pulumi.Input[bool]] = None,
805
934
  snat_table_ids: Optional[pulumi.Input[str]] = None,
806
935
  specification: Optional[pulumi.Input[str]] = None,
807
936
  status: Optional[pulumi.Input[str]] = None,
@@ -815,6 +944,7 @@ class NatGateway(pulumi.CustomResource):
815
944
  :param str resource_name: The unique name of the resulting resource.
816
945
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
817
946
  :param pulumi.ResourceOptions opts: Options for the resource.
947
+ :param pulumi.Input[Union['NatGatewayAccessModeArgs', 'NatGatewayAccessModeArgsDict']] access_mode: The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
818
948
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: `false`.
819
949
  - true: Enable deletion protection.
820
950
  - false: Disable deletion protection.
@@ -825,15 +955,17 @@ class NatGateway(pulumi.CustomResource):
825
955
  - `NAT`: EIP normal mode, compatible with IPv4 gateway.
826
956
  :param pulumi.Input[bool] force: Specifies whether to forcefully delete the NAT gateway.
827
957
  :param pulumi.Input[str] forward_table_ids: The nat gateway will auto create a forward item.
958
+ :param pulumi.Input[bool] icmp_reply_enabled: Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
828
959
  :param pulumi.Input[str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
829
- :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
960
+ :param pulumi.Input[str] internet_charge_type: The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
830
961
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
831
962
  :param pulumi.Input[str] nat_gateway_name: Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.
832
- :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
963
+ :param pulumi.Input[str] nat_type: The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
833
964
  :param pulumi.Input[str] network_type: Indicates the type of the created NAT gateway. Valid values `internet` and `intranet`. `internet`: Internet NAT Gateway. `intranet`: VPC NAT Gateway.
834
965
  :param pulumi.Input[str] payment_type: The billing method of the NAT gateway. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
835
966
  :param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid when `payment_type` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. **NOTE:** International station only supports `Subscription`.
836
967
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
968
+ :param pulumi.Input[bool] private_link_enabled: Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
837
969
  :param pulumi.Input[str] snat_table_ids: The nat gateway will auto create a snat item.
838
970
  :param pulumi.Input[str] specification: The specification of the nat gateway. Valid values are `Small`, `Middle` and `Large`. Effective when `internet_charge_type` is `PayBySpec` and `network_type` is `internet`. Details refer to [Nat Gateway Specification](https://help.aliyun.com/document_detail/203500.html).
839
971
  :param pulumi.Input[str] status: (Available since v1.121.0) The status of NAT gateway.
@@ -845,12 +977,14 @@ class NatGateway(pulumi.CustomResource):
845
977
 
846
978
  __props__ = _NatGatewayState.__new__(_NatGatewayState)
847
979
 
980
+ __props__.__dict__["access_mode"] = access_mode
848
981
  __props__.__dict__["deletion_protection"] = deletion_protection
849
982
  __props__.__dict__["description"] = description
850
983
  __props__.__dict__["dry_run"] = dry_run
851
984
  __props__.__dict__["eip_bind_mode"] = eip_bind_mode
852
985
  __props__.__dict__["force"] = force
853
986
  __props__.__dict__["forward_table_ids"] = forward_table_ids
987
+ __props__.__dict__["icmp_reply_enabled"] = icmp_reply_enabled
854
988
  __props__.__dict__["instance_charge_type"] = instance_charge_type
855
989
  __props__.__dict__["internet_charge_type"] = internet_charge_type
856
990
  __props__.__dict__["name"] = name
@@ -859,6 +993,7 @@ class NatGateway(pulumi.CustomResource):
859
993
  __props__.__dict__["network_type"] = network_type
860
994
  __props__.__dict__["payment_type"] = payment_type
861
995
  __props__.__dict__["period"] = period
996
+ __props__.__dict__["private_link_enabled"] = private_link_enabled
862
997
  __props__.__dict__["snat_table_ids"] = snat_table_ids
863
998
  __props__.__dict__["specification"] = specification
864
999
  __props__.__dict__["status"] = status
@@ -867,6 +1002,14 @@ class NatGateway(pulumi.CustomResource):
867
1002
  __props__.__dict__["vswitch_id"] = vswitch_id
868
1003
  return NatGateway(resource_name, opts=opts, __props__=__props__)
869
1004
 
1005
+ @property
1006
+ @pulumi.getter(name="accessMode")
1007
+ def access_mode(self) -> pulumi.Output['outputs.NatGatewayAccessMode']:
1008
+ """
1009
+ The access mode for reverse access to the VPC NAT gateway. See `access_mode` below.
1010
+ """
1011
+ return pulumi.get(self, "access_mode")
1012
+
870
1013
  @property
871
1014
  @pulumi.getter(name="deletionProtection")
872
1015
  def deletion_protection(self) -> pulumi.Output[bool]:
@@ -919,8 +1062,17 @@ class NatGateway(pulumi.CustomResource):
919
1062
  """
920
1063
  return pulumi.get(self, "forward_table_ids")
921
1064
 
1065
+ @property
1066
+ @pulumi.getter(name="icmpReplyEnabled")
1067
+ def icmp_reply_enabled(self) -> pulumi.Output[bool]:
1068
+ """
1069
+ Specifies whether to enable ICMP retrieval. Default value: `true`. Valid values:
1070
+ """
1071
+ return pulumi.get(self, "icmp_reply_enabled")
1072
+
922
1073
  @property
923
1074
  @pulumi.getter(name="instanceChargeType")
1075
+ @_utilities.deprecated("""Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.""")
924
1076
  def instance_charge_type(self) -> pulumi.Output[str]:
925
1077
  """
926
1078
  Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
@@ -931,12 +1083,13 @@ class NatGateway(pulumi.CustomResource):
931
1083
  @pulumi.getter(name="internetChargeType")
932
1084
  def internet_charge_type(self) -> pulumi.Output[str]:
933
1085
  """
934
- The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
1086
+ The internet charge type. Valid values `PayByLcu`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From version 1.137.0, `internet_charge_type` cannot be set to `PayBySpec`.
935
1087
  """
936
1088
  return pulumi.get(self, "internet_charge_type")
937
1089
 
938
1090
  @property
939
1091
  @pulumi.getter
1092
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.""")
940
1093
  def name(self) -> pulumi.Output[str]:
941
1094
  """
942
1095
  Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
@@ -955,7 +1108,7 @@ class NatGateway(pulumi.CustomResource):
955
1108
  @pulumi.getter(name="natType")
956
1109
  def nat_type(self) -> pulumi.Output[str]:
957
1110
  """
958
- The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
1111
+ The type of NAT gateway. Valid values: `Enhanced`. **NOTE:** From version 1.137.0, `nat_type` cannot be set to `Normal`.
959
1112
  """
960
1113
  return pulumi.get(self, "nat_type")
961
1114
 
@@ -984,6 +1137,14 @@ class NatGateway(pulumi.CustomResource):
984
1137
  """
985
1138
  return pulumi.get(self, "period")
986
1139
 
1140
+ @property
1141
+ @pulumi.getter(name="privateLinkEnabled")
1142
+ def private_link_enabled(self) -> pulumi.Output[Optional[bool]]:
1143
+ """
1144
+ Specifies whether to enable PrivateLink. Default value: `false`. Valid values:
1145
+ """
1146
+ return pulumi.get(self, "private_link_enabled")
1147
+
987
1148
  @property
988
1149
  @pulumi.getter(name="snatTableIds")
989
1150
  def snat_table_ids(self) -> pulumi.Output[str]:
@@ -17,6 +17,7 @@ from . import outputs
17
17
 
18
18
  __all__ = [
19
19
  'DhcpOptionsSetAssociateVpc',
20
+ 'NatGatewayAccessMode',
20
21
  'NetworkAclAttachmentResource',
21
22
  'NetworkAclEgressAclEntry',
22
23
  'NetworkAclEntriesEgress',
@@ -122,6 +123,56 @@ class DhcpOptionsSetAssociateVpc(dict):
122
123
  return pulumi.get(self, "associate_status")
123
124
 
124
125
 
126
+ @pulumi.output_type
127
+ class NatGatewayAccessMode(dict):
128
+ @staticmethod
129
+ def __key_warning(key: str):
130
+ suggest = None
131
+ if key == "modeValue":
132
+ suggest = "mode_value"
133
+ elif key == "tunnelType":
134
+ suggest = "tunnel_type"
135
+
136
+ if suggest:
137
+ pulumi.log.warn(f"Key '{key}' not found in NatGatewayAccessMode. Access the value via the '{suggest}' property getter instead.")
138
+
139
+ def __getitem__(self, key: str) -> Any:
140
+ NatGatewayAccessMode.__key_warning(key)
141
+ return super().__getitem__(key)
142
+
143
+ def get(self, key: str, default = None) -> Any:
144
+ NatGatewayAccessMode.__key_warning(key)
145
+ return super().get(key, default)
146
+
147
+ def __init__(__self__, *,
148
+ mode_value: Optional[str] = None,
149
+ tunnel_type: Optional[str] = None):
150
+ """
151
+ :param str mode_value: The mode of Access. Valid values:
152
+ :param str tunnel_type: The type of Tunnel. Valid values: `geneve`. **NOTE:** `tunnel_type` takes effect only if `mode_value` is set to `tunnel`.
153
+ """
154
+ if mode_value is not None:
155
+ pulumi.set(__self__, "mode_value", mode_value)
156
+ if tunnel_type is not None:
157
+ pulumi.set(__self__, "tunnel_type", tunnel_type)
158
+
159
+ @property
160
+ @pulumi.getter(name="modeValue")
161
+ def mode_value(self) -> Optional[str]:
162
+ """
163
+ The mode of Access. Valid values:
164
+ """
165
+ return pulumi.get(self, "mode_value")
166
+
167
+ @property
168
+ @pulumi.getter(name="tunnelType")
169
+ def tunnel_type(self) -> Optional[str]:
170
+ """
171
+ The type of Tunnel. Valid values: `geneve`. **NOTE:** `tunnel_type` takes effect only if `mode_value` is set to `tunnel`.
172
+ """
173
+ return pulumi.get(self, "tunnel_type")
174
+
175
+
125
176
  @pulumi.output_type
126
177
  class NetworkAclAttachmentResource(dict):
127
178
  @staticmethod