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.
- 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/kubernetes.py +7 -7
- pulumi_alicloud/cs/kubernetes_addon.py +4 -8
- pulumi_alicloud/cs/managed_kubernetes.py +7 -7
- pulumi_alicloud/cs/registry_enterprise_repo.py +4 -4
- pulumi_alicloud/cs/serverless_kubernetes.py +7 -7
- 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/get_instance_class_infos.py +20 -0
- pulumi_alicloud/rds/get_instance_classes.py +22 -0
- pulumi_alicloud/rds/get_instance_engines.py +22 -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.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/RECORD +56 -46
- {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.61.2.dist-info → pulumi_alicloud-3.62.0.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)
|
pulumi_alicloud/cs/kubernetes.py
CHANGED
|
@@ -71,7 +71,7 @@ class KubernetesArgs:
|
|
|
71
71
|
The set of arguments for constructing a Kubernetes resource.
|
|
72
72
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] master_instance_types: The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
|
|
73
73
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] master_vswitch_ids: The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
|
|
74
|
-
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
74
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
75
75
|
|
|
76
76
|
*Network params*
|
|
77
77
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `service_account_issuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -262,7 +262,7 @@ class KubernetesArgs:
|
|
|
262
262
|
@pulumi.getter
|
|
263
263
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]]]:
|
|
264
264
|
"""
|
|
265
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
265
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
266
266
|
|
|
267
267
|
*Network params*
|
|
268
268
|
"""
|
|
@@ -918,7 +918,7 @@ class _KubernetesState:
|
|
|
918
918
|
worker_ram_role_name: Optional[pulumi.Input[str]] = None):
|
|
919
919
|
"""
|
|
920
920
|
Input properties used for looking up and filtering Kubernetes resources.
|
|
921
|
-
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
921
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
922
922
|
|
|
923
923
|
*Network params*
|
|
924
924
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `service_account_issuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -1116,7 +1116,7 @@ class _KubernetesState:
|
|
|
1116
1116
|
@pulumi.getter
|
|
1117
1117
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]]]:
|
|
1118
1118
|
"""
|
|
1119
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
1119
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1120
1120
|
|
|
1121
1121
|
*Network params*
|
|
1122
1122
|
"""
|
|
@@ -1941,7 +1941,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1941
1941
|
|
|
1942
1942
|
:param str resource_name: The name of the resource.
|
|
1943
1943
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1944
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
1944
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1945
1945
|
|
|
1946
1946
|
*Network params*
|
|
1947
1947
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `service_account_issuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -2269,7 +2269,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2269
2269
|
:param str resource_name: The unique name of the resulting resource.
|
|
2270
2270
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
2271
2271
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2272
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
2272
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
2273
2273
|
|
|
2274
2274
|
*Network params*
|
|
2275
2275
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `service_account_issuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -2409,7 +2409,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2409
2409
|
@pulumi.getter
|
|
2410
2410
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesAddon']]]:
|
|
2411
2411
|
"""
|
|
2412
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
2412
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
2413
2413
|
|
|
2414
2414
|
*Network params*
|
|
2415
2415
|
"""
|
|
@@ -246,11 +246,9 @@ class KubernetesAddon(pulumi.CustomResource):
|
|
|
246
246
|
version: Optional[pulumi.Input[str]] = None,
|
|
247
247
|
__props__=None):
|
|
248
248
|
"""
|
|
249
|
-
|
|
249
|
+
## Example Usage
|
|
250
250
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
> **NOTE:** From version 1.166.0, support specifying addon customizable configuration.
|
|
251
|
+
Basic Usage
|
|
254
252
|
|
|
255
253
|
## Import
|
|
256
254
|
|
|
@@ -275,11 +273,9 @@ class KubernetesAddon(pulumi.CustomResource):
|
|
|
275
273
|
args: KubernetesAddonInitArgs,
|
|
276
274
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
277
275
|
"""
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
> **NOTE:** Available since v1.150.0.
|
|
276
|
+
## Example Usage
|
|
281
277
|
|
|
282
|
-
|
|
278
|
+
Basic Usage
|
|
283
279
|
|
|
284
280
|
## Import
|
|
285
281
|
|
|
@@ -55,7 +55,7 @@ class ManagedKubernetesArgs:
|
|
|
55
55
|
"""
|
|
56
56
|
The set of arguments for constructing a ManagedKubernetes resource.
|
|
57
57
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
59
59
|
|
|
60
60
|
*Network params*
|
|
61
61
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -189,7 +189,7 @@ class ManagedKubernetesArgs:
|
|
|
189
189
|
@pulumi.getter
|
|
190
190
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
191
191
|
"""
|
|
192
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
192
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
193
193
|
|
|
194
194
|
*Network params*
|
|
195
195
|
"""
|
|
@@ -662,7 +662,7 @@ class _ManagedKubernetesState:
|
|
|
662
662
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
663
663
|
"""
|
|
664
664
|
Input properties used for looking up and filtering ManagedKubernetes resources.
|
|
665
|
-
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
665
|
+
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
666
666
|
|
|
667
667
|
*Network params*
|
|
668
668
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -813,7 +813,7 @@ class _ManagedKubernetesState:
|
|
|
813
813
|
@pulumi.getter
|
|
814
814
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
815
815
|
"""
|
|
816
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
816
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
817
817
|
|
|
818
818
|
*Network params*
|
|
819
819
|
"""
|
|
@@ -1441,7 +1441,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1441
1441
|
|
|
1442
1442
|
:param str resource_name: The name of the resource.
|
|
1443
1443
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1444
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
1444
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1445
1445
|
|
|
1446
1446
|
*Network params*
|
|
1447
1447
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -1704,7 +1704,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1704
1704
|
:param str resource_name: The unique name of the resulting resource.
|
|
1705
1705
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1706
1706
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1707
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
1707
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1708
1708
|
|
|
1709
1709
|
*Network params*
|
|
1710
1710
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
@@ -1815,7 +1815,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1815
1815
|
@pulumi.getter
|
|
1816
1816
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedKubernetesAddon']]]:
|
|
1817
1817
|
"""
|
|
1818
|
-
The addon you want to install in cluster. See `addons` to manage addons if cluster is created.
|
|
1818
|
+
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1819
1819
|
|
|
1820
1820
|
*Network params*
|
|
1821
1821
|
"""
|
|
@@ -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,
|
|
@@ -47,7 +47,7 @@ class ServerlessKubernetesArgs:
|
|
|
47
47
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
48
48
|
"""
|
|
49
49
|
The set of arguments for constructing a ServerlessKubernetes resource.
|
|
50
|
-
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
51
51
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
52
52
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
53
53
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
@@ -160,7 +160,7 @@ class ServerlessKubernetesArgs:
|
|
|
160
160
|
@pulumi.getter
|
|
161
161
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]]]:
|
|
162
162
|
"""
|
|
163
|
-
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
163
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
164
164
|
"""
|
|
165
165
|
return pulumi.get(self, "addons")
|
|
166
166
|
|
|
@@ -546,7 +546,7 @@ class _ServerlessKubernetesState:
|
|
|
546
546
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
547
547
|
"""
|
|
548
548
|
Input properties used for looking up and filtering ServerlessKubernetes resources.
|
|
549
|
-
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
549
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
550
550
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
551
551
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
552
552
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
@@ -662,7 +662,7 @@ class _ServerlessKubernetesState:
|
|
|
662
662
|
@pulumi.getter
|
|
663
663
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]]]:
|
|
664
664
|
"""
|
|
665
|
-
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
665
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
666
666
|
"""
|
|
667
667
|
return pulumi.get(self, "addons")
|
|
668
668
|
|
|
@@ -1147,7 +1147,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1147
1147
|
|
|
1148
1148
|
:param str resource_name: The name of the resource.
|
|
1149
1149
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1150
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1150
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1151
1151
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
1152
1152
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1153
1153
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
@@ -1403,7 +1403,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1403
1403
|
:param str resource_name: The unique name of the resulting resource.
|
|
1404
1404
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1405
1405
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1406
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1406
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1407
1407
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
1408
1408
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1409
1409
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
@@ -1479,7 +1479,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1479
1479
|
@pulumi.getter
|
|
1480
1480
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.ServerlessKubernetesAddon']]]:
|
|
1481
1481
|
"""
|
|
1482
|
-
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1482
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1483
1483
|
"""
|
|
1484
1484
|
return pulumi.get(self, "addons")
|
|
1485
1485
|
|
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
|