pulumi-alicloud 3.62.0a1725686385__py3-none-any.whl → 3.62.0a1725977819__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.
- pulumi_alicloud/__init__.py +80 -0
- pulumi_alicloud/actiontrail/trail.py +2 -2
- pulumi_alicloud/adb/cluster.py +34 -0
- pulumi_alicloud/adb/db_cluster.py +47 -0
- pulumi_alicloud/amqp/static_account.py +12 -12
- pulumi_alicloud/cen/transit_router_peer_attachment.py +38 -20
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
- pulumi_alicloud/cs/registry_enterprise_repo.py +4 -4
- pulumi_alicloud/ddos/_inputs.py +24 -0
- pulumi_alicloud/ddos/outputs.py +37 -0
- pulumi_alicloud/ddos/port.py +110 -40
- pulumi_alicloud/emrv2/_inputs.py +8 -8
- pulumi_alicloud/emrv2/get_clusters.py +25 -4
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +87 -0
- pulumi_alicloud/ens/load_balancer.py +74 -25
- pulumi_alicloud/ens/outputs.py +84 -0
- pulumi_alicloud/fc/__init__.py +3 -0
- pulumi_alicloud/fc/_inputs.py +320 -8
- pulumi_alicloud/fc/outputs.py +321 -8
- pulumi_alicloud/fc/v3_layer_version.py +511 -0
- pulumi_alicloud/fc/v3_provision_config.py +676 -0
- pulumi_alicloud/fc/v3_vpc_binding.py +283 -0
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +18 -3
- pulumi_alicloud/gpdb/__init__.py +2 -0
- pulumi_alicloud/gpdb/account.py +172 -83
- pulumi_alicloud/gpdb/db_resource_group.py +54 -9
- pulumi_alicloud/gpdb/hadoop_data_source.py +1135 -0
- pulumi_alicloud/gpdb/jdbc_data_source.py +643 -0
- pulumi_alicloud/hbr/_inputs.py +14 -14
- pulumi_alicloud/hbr/outputs.py +14 -14
- pulumi_alicloud/hbr/policy.py +18 -18
- pulumi_alicloud/hbr/policy_binding.py +203 -62
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/quotas/__init__.py +1 -0
- pulumi_alicloud/quotas/template_service.py +165 -0
- pulumi_alicloud/rds/rds_db_proxy.py +61 -0
- pulumi_alicloud/servicecatalog/__init__.py +4 -0
- pulumi_alicloud/servicecatalog/portfolio.py +31 -31
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +354 -0
- pulumi_alicloud/servicecatalog/product.py +383 -0
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +222 -0
- pulumi_alicloud/servicecatalog/product_version.py +539 -0
- pulumi_alicloud/vpc/get_route_tables.py +28 -5
- pulumi_alicloud/vpc/outputs.py +2 -2
- {pulumi_alicloud-3.62.0a1725686385.dist-info → pulumi_alicloud-3.62.0a1725977819.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0a1725686385.dist-info → pulumi_alicloud-3.62.0a1725977819.dist-info}/RECORD +49 -39
- {pulumi_alicloud-3.62.0a1725686385.dist-info → pulumi_alicloud-3.62.0a1725977819.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.62.0a1725686385.dist-info → pulumi_alicloud-3.62.0a1725977819.dist-info}/top_level.txt +0 -0
|
@@ -43,8 +43,8 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
43
43
|
:param pulumi.Input[str] default_link_type: DefaultLinkType. Valid values: `Platinum` and `Gold`.
|
|
44
44
|
:param pulumi.Input[bool] dry_run: Whether to perform pre-check for this request, including permission, instance status verification, etc.
|
|
45
45
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
46
|
-
:param pulumi.Input[bool] route_table_association_enabled:
|
|
47
|
-
:param pulumi.Input[bool] route_table_propagation_enabled:
|
|
46
|
+
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
47
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
48
48
|
:param pulumi.Input[str] transit_router_attachment_description: The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
|
|
49
49
|
:param pulumi.Input[str] transit_router_attachment_name: The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
|
|
50
50
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router to attach.
|
|
@@ -66,8 +66,14 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
66
66
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
67
67
|
if resource_type is not None:
|
|
68
68
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
69
|
+
if route_table_association_enabled is not None:
|
|
70
|
+
warnings.warn("""Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""", DeprecationWarning)
|
|
71
|
+
pulumi.log.warn("""route_table_association_enabled is deprecated: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""")
|
|
69
72
|
if route_table_association_enabled is not None:
|
|
70
73
|
pulumi.set(__self__, "route_table_association_enabled", route_table_association_enabled)
|
|
74
|
+
if route_table_propagation_enabled is not None:
|
|
75
|
+
warnings.warn("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""", DeprecationWarning)
|
|
76
|
+
pulumi.log.warn("""route_table_propagation_enabled is deprecated: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
71
77
|
if route_table_propagation_enabled is not None:
|
|
72
78
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
73
79
|
if transit_router_attachment_description is not None:
|
|
@@ -201,9 +207,10 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
201
207
|
|
|
202
208
|
@property
|
|
203
209
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
210
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""")
|
|
204
211
|
def route_table_association_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
205
212
|
"""
|
|
206
|
-
|
|
213
|
+
Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
207
214
|
"""
|
|
208
215
|
return pulumi.get(self, "route_table_association_enabled")
|
|
209
216
|
|
|
@@ -213,9 +220,10 @@ class TransitRouterPeerAttachmentArgs:
|
|
|
213
220
|
|
|
214
221
|
@property
|
|
215
222
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
223
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
216
224
|
def route_table_propagation_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
217
225
|
"""
|
|
218
|
-
|
|
226
|
+
Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
219
227
|
"""
|
|
220
228
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
221
229
|
|
|
@@ -296,11 +304,11 @@ class _TransitRouterPeerAttachmentState:
|
|
|
296
304
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
297
305
|
:param pulumi.Input[str] peer_transit_router_region_id: The region ID of peer transit router.
|
|
298
306
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
299
|
-
:param pulumi.Input[bool] route_table_association_enabled:
|
|
300
|
-
:param pulumi.Input[bool] route_table_propagation_enabled:
|
|
307
|
+
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
308
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
301
309
|
:param pulumi.Input[str] status: The status of the resource.
|
|
302
310
|
:param pulumi.Input[str] transit_router_attachment_description: The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
|
|
303
|
-
:param pulumi.Input[str] transit_router_attachment_id: The ID of transit router attachment
|
|
311
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of transit router attachment.
|
|
304
312
|
:param pulumi.Input[str] transit_router_attachment_name: The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
|
|
305
313
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router to attach.
|
|
306
314
|
"""
|
|
@@ -326,8 +334,14 @@ class _TransitRouterPeerAttachmentState:
|
|
|
326
334
|
pulumi.set(__self__, "peer_transit_router_region_id", peer_transit_router_region_id)
|
|
327
335
|
if resource_type is not None:
|
|
328
336
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
337
|
+
if route_table_association_enabled is not None:
|
|
338
|
+
warnings.warn("""Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""", DeprecationWarning)
|
|
339
|
+
pulumi.log.warn("""route_table_association_enabled is deprecated: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""")
|
|
329
340
|
if route_table_association_enabled is not None:
|
|
330
341
|
pulumi.set(__self__, "route_table_association_enabled", route_table_association_enabled)
|
|
342
|
+
if route_table_propagation_enabled is not None:
|
|
343
|
+
warnings.warn("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""", DeprecationWarning)
|
|
344
|
+
pulumi.log.warn("""route_table_propagation_enabled is deprecated: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
331
345
|
if route_table_propagation_enabled is not None:
|
|
332
346
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
333
347
|
if status is not None:
|
|
@@ -477,9 +491,10 @@ class _TransitRouterPeerAttachmentState:
|
|
|
477
491
|
|
|
478
492
|
@property
|
|
479
493
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
494
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""")
|
|
480
495
|
def route_table_association_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
481
496
|
"""
|
|
482
|
-
|
|
497
|
+
Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
483
498
|
"""
|
|
484
499
|
return pulumi.get(self, "route_table_association_enabled")
|
|
485
500
|
|
|
@@ -489,9 +504,10 @@ class _TransitRouterPeerAttachmentState:
|
|
|
489
504
|
|
|
490
505
|
@property
|
|
491
506
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
507
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
492
508
|
def route_table_propagation_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
493
509
|
"""
|
|
494
|
-
|
|
510
|
+
Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
495
511
|
"""
|
|
496
512
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
497
513
|
|
|
@@ -527,7 +543,7 @@ class _TransitRouterPeerAttachmentState:
|
|
|
527
543
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
528
544
|
def transit_router_attachment_id(self) -> Optional[pulumi.Input[str]]:
|
|
529
545
|
"""
|
|
530
|
-
The ID of transit router attachment
|
|
546
|
+
The ID of transit router attachment.
|
|
531
547
|
"""
|
|
532
548
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
533
549
|
|
|
@@ -633,7 +649,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
633
649
|
CEN Transit Router Peer Attachment can be imported using the id, e.g.
|
|
634
650
|
|
|
635
651
|
```sh
|
|
636
|
-
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <
|
|
652
|
+
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <cen_id>:<transit_router_attachment_id>
|
|
637
653
|
```
|
|
638
654
|
|
|
639
655
|
:param str resource_name: The name of the resource.
|
|
@@ -650,8 +666,8 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
650
666
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
651
667
|
:param pulumi.Input[str] peer_transit_router_region_id: The region ID of peer transit router.
|
|
652
668
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
653
|
-
:param pulumi.Input[bool] route_table_association_enabled:
|
|
654
|
-
:param pulumi.Input[bool] route_table_propagation_enabled:
|
|
669
|
+
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
670
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
655
671
|
:param pulumi.Input[str] transit_router_attachment_description: The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
|
|
656
672
|
:param pulumi.Input[str] transit_router_attachment_name: The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
|
|
657
673
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router to attach.
|
|
@@ -714,7 +730,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
714
730
|
CEN Transit Router Peer Attachment can be imported using the id, e.g.
|
|
715
731
|
|
|
716
732
|
```sh
|
|
717
|
-
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <
|
|
733
|
+
$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example <cen_id>:<transit_router_attachment_id>
|
|
718
734
|
```
|
|
719
735
|
|
|
720
736
|
:param str resource_name: The name of the resource.
|
|
@@ -828,11 +844,11 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
828
844
|
:param pulumi.Input[str] peer_transit_router_id: The ID of the peer transit router.
|
|
829
845
|
:param pulumi.Input[str] peer_transit_router_region_id: The region ID of peer transit router.
|
|
830
846
|
:param pulumi.Input[str] resource_type: The resource type to attachment. Only support `VR` and default value is `VR`.
|
|
831
|
-
:param pulumi.Input[bool] route_table_association_enabled:
|
|
832
|
-
:param pulumi.Input[bool] route_table_propagation_enabled:
|
|
847
|
+
:param pulumi.Input[bool] route_table_association_enabled: Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
848
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
833
849
|
:param pulumi.Input[str] status: The status of the resource.
|
|
834
850
|
:param pulumi.Input[str] transit_router_attachment_description: The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
|
|
835
|
-
:param pulumi.Input[str] transit_router_attachment_id: The ID of transit router attachment
|
|
851
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of transit router attachment.
|
|
836
852
|
:param pulumi.Input[str] transit_router_attachment_name: The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
|
|
837
853
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router to attach.
|
|
838
854
|
"""
|
|
@@ -952,17 +968,19 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
952
968
|
|
|
953
969
|
@property
|
|
954
970
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
971
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.""")
|
|
955
972
|
def route_table_association_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
956
973
|
"""
|
|
957
|
-
|
|
974
|
+
Field `route_table_association_enabled` has been deprecated from provider version 1.230.0.
|
|
958
975
|
"""
|
|
959
976
|
return pulumi.get(self, "route_table_association_enabled")
|
|
960
977
|
|
|
961
978
|
@property
|
|
962
979
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
980
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.""")
|
|
963
981
|
def route_table_propagation_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
964
982
|
"""
|
|
965
|
-
|
|
983
|
+
Field `route_table_propagation_enabled` has been deprecated from provider version 1.230.0.
|
|
966
984
|
"""
|
|
967
985
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
968
986
|
|
|
@@ -986,7 +1004,7 @@ class TransitRouterPeerAttachment(pulumi.CustomResource):
|
|
|
986
1004
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
987
1005
|
def transit_router_attachment_id(self) -> pulumi.Output[str]:
|
|
988
1006
|
"""
|
|
989
|
-
The ID of transit router attachment
|
|
1007
|
+
The ID of transit router attachment.
|
|
990
1008
|
"""
|
|
991
1009
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
992
1010
|
|
|
@@ -371,7 +371,7 @@ class TransitRouterVpnAttachment(pulumi.CustomResource):
|
|
|
371
371
|
transit_router_description=name,
|
|
372
372
|
transit_router_name=name)
|
|
373
373
|
example_customer_gateway = alicloud.vpn.CustomerGateway("example",
|
|
374
|
-
|
|
374
|
+
customer_gateway_name=name,
|
|
375
375
|
ip_address="42.104.22.210",
|
|
376
376
|
asn="45014",
|
|
377
377
|
description=name)
|
|
@@ -485,7 +485,7 @@ class TransitRouterVpnAttachment(pulumi.CustomResource):
|
|
|
485
485
|
transit_router_description=name,
|
|
486
486
|
transit_router_name=name)
|
|
487
487
|
example_customer_gateway = alicloud.vpn.CustomerGateway("example",
|
|
488
|
-
|
|
488
|
+
customer_gateway_name=name,
|
|
489
489
|
ip_address="42.104.22.210",
|
|
490
490
|
asn="45014",
|
|
491
491
|
description=name)
|
|
@@ -274,8 +274,8 @@ class RegistryEnterpriseRepo(pulumi.CustomResource):
|
|
|
274
274
|
if name is None:
|
|
275
275
|
name = "terraform-example"
|
|
276
276
|
default = random.index.Integer("default",
|
|
277
|
-
min=
|
|
278
|
-
max=
|
|
277
|
+
min=10000000,
|
|
278
|
+
max=99999999)
|
|
279
279
|
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
280
280
|
payment_type="Subscription",
|
|
281
281
|
period=1,
|
|
@@ -345,8 +345,8 @@ class RegistryEnterpriseRepo(pulumi.CustomResource):
|
|
|
345
345
|
if name is None:
|
|
346
346
|
name = "terraform-example"
|
|
347
347
|
default = random.index.Integer("default",
|
|
348
|
-
min=
|
|
349
|
-
max=
|
|
348
|
+
min=10000000,
|
|
349
|
+
max=99999999)
|
|
350
350
|
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
351
351
|
payment_type="Subscription",
|
|
352
352
|
period=1,
|
pulumi_alicloud/ddos/_inputs.py
CHANGED
|
@@ -18,6 +18,7 @@ __all__ = [
|
|
|
18
18
|
'BgpPolicyContentSourceBlockListArgs',
|
|
19
19
|
'BgpPolicyContentSourceLimitArgs',
|
|
20
20
|
'DomainResourceProxyTypeArgs',
|
|
21
|
+
'PortConfigArgs',
|
|
21
22
|
'SchedulerRuleRuleArgs',
|
|
22
23
|
]
|
|
23
24
|
|
|
@@ -927,6 +928,29 @@ class DomainResourceProxyTypeArgs:
|
|
|
927
928
|
pulumi.set(self, "proxy_type", value)
|
|
928
929
|
|
|
929
930
|
|
|
931
|
+
@pulumi.input_type
|
|
932
|
+
class PortConfigArgs:
|
|
933
|
+
def __init__(__self__, *,
|
|
934
|
+
persistence_timeout: Optional[pulumi.Input[int]] = None):
|
|
935
|
+
"""
|
|
936
|
+
:param pulumi.Input[int] persistence_timeout: The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
|
|
937
|
+
"""
|
|
938
|
+
if persistence_timeout is not None:
|
|
939
|
+
pulumi.set(__self__, "persistence_timeout", persistence_timeout)
|
|
940
|
+
|
|
941
|
+
@property
|
|
942
|
+
@pulumi.getter(name="persistenceTimeout")
|
|
943
|
+
def persistence_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
944
|
+
"""
|
|
945
|
+
The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
|
|
946
|
+
"""
|
|
947
|
+
return pulumi.get(self, "persistence_timeout")
|
|
948
|
+
|
|
949
|
+
@persistence_timeout.setter
|
|
950
|
+
def persistence_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
951
|
+
pulumi.set(self, "persistence_timeout", value)
|
|
952
|
+
|
|
953
|
+
|
|
930
954
|
@pulumi.input_type
|
|
931
955
|
class SchedulerRuleRuleArgs:
|
|
932
956
|
def __init__(__self__, *,
|
pulumi_alicloud/ddos/outputs.py
CHANGED
|
@@ -19,6 +19,7 @@ __all__ = [
|
|
|
19
19
|
'BgpPolicyContentSourceBlockList',
|
|
20
20
|
'BgpPolicyContentSourceLimit',
|
|
21
21
|
'DomainResourceProxyType',
|
|
22
|
+
'PortConfig',
|
|
22
23
|
'SchedulerRuleRule',
|
|
23
24
|
'GetDdosBgpInstancesInstanceResult',
|
|
24
25
|
'GetDdosBgpIpsIpResult',
|
|
@@ -899,6 +900,42 @@ class DomainResourceProxyType(dict):
|
|
|
899
900
|
return pulumi.get(self, "proxy_type")
|
|
900
901
|
|
|
901
902
|
|
|
903
|
+
@pulumi.output_type
|
|
904
|
+
class PortConfig(dict):
|
|
905
|
+
@staticmethod
|
|
906
|
+
def __key_warning(key: str):
|
|
907
|
+
suggest = None
|
|
908
|
+
if key == "persistenceTimeout":
|
|
909
|
+
suggest = "persistence_timeout"
|
|
910
|
+
|
|
911
|
+
if suggest:
|
|
912
|
+
pulumi.log.warn(f"Key '{key}' not found in PortConfig. Access the value via the '{suggest}' property getter instead.")
|
|
913
|
+
|
|
914
|
+
def __getitem__(self, key: str) -> Any:
|
|
915
|
+
PortConfig.__key_warning(key)
|
|
916
|
+
return super().__getitem__(key)
|
|
917
|
+
|
|
918
|
+
def get(self, key: str, default = None) -> Any:
|
|
919
|
+
PortConfig.__key_warning(key)
|
|
920
|
+
return super().get(key, default)
|
|
921
|
+
|
|
922
|
+
def __init__(__self__, *,
|
|
923
|
+
persistence_timeout: Optional[int] = None):
|
|
924
|
+
"""
|
|
925
|
+
:param int persistence_timeout: The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
|
|
926
|
+
"""
|
|
927
|
+
if persistence_timeout is not None:
|
|
928
|
+
pulumi.set(__self__, "persistence_timeout", persistence_timeout)
|
|
929
|
+
|
|
930
|
+
@property
|
|
931
|
+
@pulumi.getter(name="persistenceTimeout")
|
|
932
|
+
def persistence_timeout(self) -> Optional[int]:
|
|
933
|
+
"""
|
|
934
|
+
The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
|
|
935
|
+
"""
|
|
936
|
+
return pulumi.get(self, "persistence_timeout")
|
|
937
|
+
|
|
938
|
+
|
|
902
939
|
@pulumi.output_type
|
|
903
940
|
class SchedulerRuleRule(dict):
|
|
904
941
|
@staticmethod
|