pulumi-alicloud 3.59.0a1720761596__py3-none-any.whl → 3.59.1__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 +48 -0
- pulumi_alicloud/_utilities.py +3 -4
- pulumi_alicloud/adb/_inputs.py +14 -0
- pulumi_alicloud/adb/outputs.py +14 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/_inputs.py +224 -0
- pulumi_alicloud/alb/outputs.py +260 -0
- pulumi_alicloud/arms/_inputs.py +438 -0
- pulumi_alicloud/arms/outputs.py +442 -0
- pulumi_alicloud/bp/_inputs.py +14 -0
- pulumi_alicloud/bp/outputs.py +14 -0
- pulumi_alicloud/cas/outputs.py +4 -0
- pulumi_alicloud/cddc/outputs.py +6 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +20 -0
- pulumi_alicloud/cfg/outputs.py +20 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/clickhouse/outputs.py +4 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cloudfirewall/outputs.py +40 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
- pulumi_alicloud/cloudmonitor/outputs.py +18 -0
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/cms/_inputs.py +188 -0
- pulumi_alicloud/cms/outputs.py +228 -0
- pulumi_alicloud/compute/_inputs.py +4 -0
- pulumi_alicloud/compute/outputs.py +4 -0
- pulumi_alicloud/cs/_inputs.py +22 -0
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +22 -0
- pulumi_alicloud/databasegateway/outputs.py +42 -0
- pulumi_alicloud/dcdn/_inputs.py +555 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +550 -22
- pulumi_alicloud/ddos/_inputs.py +162 -0
- pulumi_alicloud/ddos/outputs.py +162 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/ebs/_inputs.py +22 -0
- pulumi_alicloud/ebs/outputs.py +22 -0
- pulumi_alicloud/eci/_inputs.py +100 -0
- pulumi_alicloud/eci/outputs.py +100 -0
- pulumi_alicloud/ecs/_inputs.py +242 -16
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +348 -17
- pulumi_alicloud/edas/_inputs.py +28 -0
- pulumi_alicloud/edas/outputs.py +28 -0
- pulumi_alicloud/ehpc/_inputs.py +6 -0
- pulumi_alicloud/ehpc/outputs.py +6 -0
- pulumi_alicloud/emr/_inputs.py +134 -0
- pulumi_alicloud/emr/outputs.py +148 -0
- pulumi_alicloud/emrv2/_inputs.py +714 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +724 -0
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
- pulumi_alicloud/ens/instance.py +16 -17
- pulumi_alicloud/ens/nat_gateway.py +458 -0
- pulumi_alicloud/ess/_inputs.py +24 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/outputs.py +24 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/eventbridge/_inputs.py +156 -0
- pulumi_alicloud/eventbridge/outputs.py +156 -0
- pulumi_alicloud/expressconnect/_inputs.py +12 -0
- pulumi_alicloud/expressconnect/outputs.py +12 -0
- pulumi_alicloud/fc/_inputs.py +32 -0
- pulumi_alicloud/fc/outputs.py +32 -0
- pulumi_alicloud/ga/_inputs.py +24 -0
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/ga/outputs.py +24 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +48 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/outputs.py +60 -0
- pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
- pulumi_alicloud/hbr/_inputs.py +68 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/imp/_inputs.py +14 -0
- pulumi_alicloud/imp/outputs.py +14 -0
- pulumi_alicloud/log/_inputs.py +14 -0
- pulumi_alicloud/log/outputs.py +14 -0
- pulumi_alicloud/maxcompute/_inputs.py +54 -34
- pulumi_alicloud/maxcompute/outputs.py +54 -34
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/mongodb/_inputs.py +14 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/oss/_inputs.py +100 -0
- pulumi_alicloud/oss/outputs.py +100 -0
- pulumi_alicloud/ots/_inputs.py +60 -0
- pulumi_alicloud/ots/outputs.py +60 -0
- pulumi_alicloud/polardb/_inputs.py +10 -0
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +10 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +18 -0
- pulumi_alicloud/quotas/_inputs.py +10 -0
- pulumi_alicloud/quotas/outputs.py +10 -0
- pulumi_alicloud/ram/_inputs.py +24 -0
- pulumi_alicloud/ram/outputs.py +24 -0
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +6 -0
- pulumi_alicloud/realtimecompute/outputs.py +6 -0
- pulumi_alicloud/redis/tair_instance.py +161 -67
- pulumi_alicloud/rocketmq/_inputs.py +36 -0
- pulumi_alicloud/rocketmq/outputs.py +36 -0
- pulumi_alicloud/ros/_inputs.py +72 -0
- pulumi_alicloud/ros/outputs.py +72 -0
- pulumi_alicloud/sae/_inputs.py +118 -0
- pulumi_alicloud/sae/outputs.py +118 -0
- pulumi_alicloud/scdn/_inputs.py +56 -0
- pulumi_alicloud/scdn/outputs.py +56 -0
- pulumi_alicloud/servicecatalog/_inputs.py +10 -0
- pulumi_alicloud/servicecatalog/outputs.py +10 -0
- pulumi_alicloud/servicemesh/_inputs.py +150 -0
- pulumi_alicloud/servicemesh/outputs.py +154 -0
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/sls/_inputs.py +186 -0
- pulumi_alicloud/sls/outputs.py +186 -0
- pulumi_alicloud/threatdetection/_inputs.py +32 -0
- pulumi_alicloud/threatdetection/outputs.py +32 -0
- pulumi_alicloud/vod/_inputs.py +18 -0
- pulumi_alicloud/vod/outputs.py +18 -0
- pulumi_alicloud/vpc/_inputs.py +50 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +50 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- pulumi_alicloud/vpn/_inputs.py +10 -0
- pulumi_alicloud/vpn/outputs.py +14 -0
- pulumi_alicloud/wafv3/_inputs.py +10 -0
- pulumi_alicloud/wafv3/outputs.py +10 -0
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +144 -138
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/top_level.txt +0 -0
|
@@ -25,6 +25,8 @@ class EciScalingConfigurationArgs:
|
|
|
25
25
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]]] = None,
|
|
27
27
|
cpu: Optional[pulumi.Input[float]] = None,
|
|
28
|
+
cpu_options_core: Optional[pulumi.Input[int]] = None,
|
|
29
|
+
cpu_options_threads_per_core: Optional[pulumi.Input[int]] = None,
|
|
28
30
|
description: Optional[pulumi.Input[str]] = None,
|
|
29
31
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
30
32
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -65,6 +67,8 @@ class EciScalingConfigurationArgs:
|
|
|
65
67
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
66
68
|
:param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
|
|
67
69
|
:param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
|
|
70
|
+
:param pulumi.Input[int] cpu_options_core: The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
71
|
+
:param pulumi.Input[int] cpu_options_threads_per_core: The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
68
72
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
69
73
|
256 characters in length and cannot start with http:// or https://.
|
|
70
74
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -122,6 +126,10 @@ class EciScalingConfigurationArgs:
|
|
|
122
126
|
pulumi.set(__self__, "containers", containers)
|
|
123
127
|
if cpu is not None:
|
|
124
128
|
pulumi.set(__self__, "cpu", cpu)
|
|
129
|
+
if cpu_options_core is not None:
|
|
130
|
+
pulumi.set(__self__, "cpu_options_core", cpu_options_core)
|
|
131
|
+
if cpu_options_threads_per_core is not None:
|
|
132
|
+
pulumi.set(__self__, "cpu_options_threads_per_core", cpu_options_threads_per_core)
|
|
125
133
|
if description is not None:
|
|
126
134
|
pulumi.set(__self__, "description", description)
|
|
127
135
|
if dns_policy is not None:
|
|
@@ -287,6 +295,30 @@ class EciScalingConfigurationArgs:
|
|
|
287
295
|
def cpu(self, value: Optional[pulumi.Input[float]]):
|
|
288
296
|
pulumi.set(self, "cpu", value)
|
|
289
297
|
|
|
298
|
+
@property
|
|
299
|
+
@pulumi.getter(name="cpuOptionsCore")
|
|
300
|
+
def cpu_options_core(self) -> Optional[pulumi.Input[int]]:
|
|
301
|
+
"""
|
|
302
|
+
The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
303
|
+
"""
|
|
304
|
+
return pulumi.get(self, "cpu_options_core")
|
|
305
|
+
|
|
306
|
+
@cpu_options_core.setter
|
|
307
|
+
def cpu_options_core(self, value: Optional[pulumi.Input[int]]):
|
|
308
|
+
pulumi.set(self, "cpu_options_core", value)
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="cpuOptionsThreadsPerCore")
|
|
312
|
+
def cpu_options_threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
|
313
|
+
"""
|
|
314
|
+
The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "cpu_options_threads_per_core")
|
|
317
|
+
|
|
318
|
+
@cpu_options_threads_per_core.setter
|
|
319
|
+
def cpu_options_threads_per_core(self, value: Optional[pulumi.Input[int]]):
|
|
320
|
+
pulumi.set(self, "cpu_options_threads_per_core", value)
|
|
321
|
+
|
|
290
322
|
@property
|
|
291
323
|
@pulumi.getter
|
|
292
324
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -635,6 +667,8 @@ class _EciScalingConfigurationState:
|
|
|
635
667
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
636
668
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]]] = None,
|
|
637
669
|
cpu: Optional[pulumi.Input[float]] = None,
|
|
670
|
+
cpu_options_core: Optional[pulumi.Input[int]] = None,
|
|
671
|
+
cpu_options_threads_per_core: Optional[pulumi.Input[int]] = None,
|
|
638
672
|
description: Optional[pulumi.Input[str]] = None,
|
|
639
673
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
640
674
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -675,6 +709,8 @@ class _EciScalingConfigurationState:
|
|
|
675
709
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
676
710
|
:param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
|
|
677
711
|
:param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
|
|
712
|
+
:param pulumi.Input[int] cpu_options_core: The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
713
|
+
:param pulumi.Input[int] cpu_options_threads_per_core: The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
678
714
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
679
715
|
256 characters in length and cannot start with http:// or https://.
|
|
680
716
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -732,6 +768,10 @@ class _EciScalingConfigurationState:
|
|
|
732
768
|
pulumi.set(__self__, "containers", containers)
|
|
733
769
|
if cpu is not None:
|
|
734
770
|
pulumi.set(__self__, "cpu", cpu)
|
|
771
|
+
if cpu_options_core is not None:
|
|
772
|
+
pulumi.set(__self__, "cpu_options_core", cpu_options_core)
|
|
773
|
+
if cpu_options_threads_per_core is not None:
|
|
774
|
+
pulumi.set(__self__, "cpu_options_threads_per_core", cpu_options_threads_per_core)
|
|
735
775
|
if description is not None:
|
|
736
776
|
pulumi.set(__self__, "description", description)
|
|
737
777
|
if dns_policy is not None:
|
|
@@ -887,6 +927,30 @@ class _EciScalingConfigurationState:
|
|
|
887
927
|
def cpu(self, value: Optional[pulumi.Input[float]]):
|
|
888
928
|
pulumi.set(self, "cpu", value)
|
|
889
929
|
|
|
930
|
+
@property
|
|
931
|
+
@pulumi.getter(name="cpuOptionsCore")
|
|
932
|
+
def cpu_options_core(self) -> Optional[pulumi.Input[int]]:
|
|
933
|
+
"""
|
|
934
|
+
The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
935
|
+
"""
|
|
936
|
+
return pulumi.get(self, "cpu_options_core")
|
|
937
|
+
|
|
938
|
+
@cpu_options_core.setter
|
|
939
|
+
def cpu_options_core(self, value: Optional[pulumi.Input[int]]):
|
|
940
|
+
pulumi.set(self, "cpu_options_core", value)
|
|
941
|
+
|
|
942
|
+
@property
|
|
943
|
+
@pulumi.getter(name="cpuOptionsThreadsPerCore")
|
|
944
|
+
def cpu_options_threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
|
945
|
+
"""
|
|
946
|
+
The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
947
|
+
"""
|
|
948
|
+
return pulumi.get(self, "cpu_options_threads_per_core")
|
|
949
|
+
|
|
950
|
+
@cpu_options_threads_per_core.setter
|
|
951
|
+
def cpu_options_threads_per_core(self, value: Optional[pulumi.Input[int]]):
|
|
952
|
+
pulumi.set(self, "cpu_options_threads_per_core", value)
|
|
953
|
+
|
|
890
954
|
@property
|
|
891
955
|
@pulumi.getter
|
|
892
956
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1249,6 +1313,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1249
1313
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1250
1314
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1251
1315
|
cpu: Optional[pulumi.Input[float]] = None,
|
|
1316
|
+
cpu_options_core: Optional[pulumi.Input[int]] = None,
|
|
1317
|
+
cpu_options_threads_per_core: Optional[pulumi.Input[int]] = None,
|
|
1252
1318
|
description: Optional[pulumi.Input[str]] = None,
|
|
1253
1319
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1254
1320
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1359,6 +1425,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1359
1425
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
1360
1426
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]] containers: The list of containers. See `containers` below for details.
|
|
1361
1427
|
:param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
|
|
1428
|
+
:param pulumi.Input[int] cpu_options_core: The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
1429
|
+
:param pulumi.Input[int] cpu_options_threads_per_core: The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
1362
1430
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
1363
1431
|
256 characters in length and cannot start with http:// or https://.
|
|
1364
1432
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -1498,6 +1566,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1498
1566
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1499
1567
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1500
1568
|
cpu: Optional[pulumi.Input[float]] = None,
|
|
1569
|
+
cpu_options_core: Optional[pulumi.Input[int]] = None,
|
|
1570
|
+
cpu_options_threads_per_core: Optional[pulumi.Input[int]] = None,
|
|
1501
1571
|
description: Optional[pulumi.Input[str]] = None,
|
|
1502
1572
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1503
1573
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1543,6 +1613,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1543
1613
|
__props__.__dict__["container_group_name"] = container_group_name
|
|
1544
1614
|
__props__.__dict__["containers"] = containers
|
|
1545
1615
|
__props__.__dict__["cpu"] = cpu
|
|
1616
|
+
__props__.__dict__["cpu_options_core"] = cpu_options_core
|
|
1617
|
+
__props__.__dict__["cpu_options_threads_per_core"] = cpu_options_threads_per_core
|
|
1546
1618
|
__props__.__dict__["description"] = description
|
|
1547
1619
|
__props__.__dict__["dns_policy"] = dns_policy
|
|
1548
1620
|
__props__.__dict__["egress_bandwidth"] = egress_bandwidth
|
|
@@ -1591,6 +1663,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1591
1663
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1592
1664
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1593
1665
|
cpu: Optional[pulumi.Input[float]] = None,
|
|
1666
|
+
cpu_options_core: Optional[pulumi.Input[int]] = None,
|
|
1667
|
+
cpu_options_threads_per_core: Optional[pulumi.Input[int]] = None,
|
|
1594
1668
|
description: Optional[pulumi.Input[str]] = None,
|
|
1595
1669
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1596
1670
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1636,6 +1710,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1636
1710
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
1637
1711
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]] containers: The list of containers. See `containers` below for details.
|
|
1638
1712
|
:param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
|
|
1713
|
+
:param pulumi.Input[int] cpu_options_core: The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
1714
|
+
:param pulumi.Input[int] cpu_options_threads_per_core: The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
1639
1715
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
1640
1716
|
256 characters in length and cannot start with http:// or https://.
|
|
1641
1717
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -1689,6 +1765,8 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1689
1765
|
__props__.__dict__["container_group_name"] = container_group_name
|
|
1690
1766
|
__props__.__dict__["containers"] = containers
|
|
1691
1767
|
__props__.__dict__["cpu"] = cpu
|
|
1768
|
+
__props__.__dict__["cpu_options_core"] = cpu_options_core
|
|
1769
|
+
__props__.__dict__["cpu_options_threads_per_core"] = cpu_options_threads_per_core
|
|
1692
1770
|
__props__.__dict__["description"] = description
|
|
1693
1771
|
__props__.__dict__["dns_policy"] = dns_policy
|
|
1694
1772
|
__props__.__dict__["egress_bandwidth"] = egress_bandwidth
|
|
@@ -1785,6 +1863,22 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1785
1863
|
"""
|
|
1786
1864
|
return pulumi.get(self, "cpu")
|
|
1787
1865
|
|
|
1866
|
+
@property
|
|
1867
|
+
@pulumi.getter(name="cpuOptionsCore")
|
|
1868
|
+
def cpu_options_core(self) -> pulumi.Output[Optional[int]]:
|
|
1869
|
+
"""
|
|
1870
|
+
The number of physical CPU cores. You can specify this parameter for only specific instance types.
|
|
1871
|
+
"""
|
|
1872
|
+
return pulumi.get(self, "cpu_options_core")
|
|
1873
|
+
|
|
1874
|
+
@property
|
|
1875
|
+
@pulumi.getter(name="cpuOptionsThreadsPerCore")
|
|
1876
|
+
def cpu_options_threads_per_core(self) -> pulumi.Output[Optional[int]]:
|
|
1877
|
+
"""
|
|
1878
|
+
The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
|
|
1879
|
+
"""
|
|
1880
|
+
return pulumi.get(self, "cpu_options_threads_per_core")
|
|
1881
|
+
|
|
1788
1882
|
@property
|
|
1789
1883
|
@pulumi.getter
|
|
1790
1884
|
def description(self) -> pulumi.Output[Optional[str]]:
|
pulumi_alicloud/ess/outputs.py
CHANGED
|
@@ -1467,6 +1467,10 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath(dict):
|
|
|
1467
1467
|
def __init__(__self__, *,
|
|
1468
1468
|
content: Optional[str] = None,
|
|
1469
1469
|
path: Optional[str] = None):
|
|
1470
|
+
"""
|
|
1471
|
+
:param str content: The content of the configuration file. Maximum size: 32 KB.
|
|
1472
|
+
:param str path: The relative file path.
|
|
1473
|
+
"""
|
|
1470
1474
|
if content is not None:
|
|
1471
1475
|
pulumi.set(__self__, "content", content)
|
|
1472
1476
|
if path is not None:
|
|
@@ -1475,11 +1479,17 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath(dict):
|
|
|
1475
1479
|
@property
|
|
1476
1480
|
@pulumi.getter
|
|
1477
1481
|
def content(self) -> Optional[str]:
|
|
1482
|
+
"""
|
|
1483
|
+
The content of the configuration file. Maximum size: 32 KB.
|
|
1484
|
+
"""
|
|
1478
1485
|
return pulumi.get(self, "content")
|
|
1479
1486
|
|
|
1480
1487
|
@property
|
|
1481
1488
|
@pulumi.getter
|
|
1482
1489
|
def path(self) -> Optional[str]:
|
|
1490
|
+
"""
|
|
1491
|
+
The relative file path.
|
|
1492
|
+
"""
|
|
1483
1493
|
return pulumi.get(self, "path")
|
|
1484
1494
|
|
|
1485
1495
|
|
|
@@ -2071,6 +2081,11 @@ class ScalingGroupVServerGroupsVserverGroupVserverAttribute(dict):
|
|
|
2071
2081
|
port: int,
|
|
2072
2082
|
vserver_group_id: str,
|
|
2073
2083
|
weight: int):
|
|
2084
|
+
"""
|
|
2085
|
+
:param int port: The port will be used for VServer Group backend server.
|
|
2086
|
+
:param str vserver_group_id: ID of VServer Group.
|
|
2087
|
+
:param int weight: The weight of an ECS instance attached to the VServer Group.
|
|
2088
|
+
"""
|
|
2074
2089
|
pulumi.set(__self__, "port", port)
|
|
2075
2090
|
pulumi.set(__self__, "vserver_group_id", vserver_group_id)
|
|
2076
2091
|
pulumi.set(__self__, "weight", weight)
|
|
@@ -2078,16 +2093,25 @@ class ScalingGroupVServerGroupsVserverGroupVserverAttribute(dict):
|
|
|
2078
2093
|
@property
|
|
2079
2094
|
@pulumi.getter
|
|
2080
2095
|
def port(self) -> int:
|
|
2096
|
+
"""
|
|
2097
|
+
The port will be used for VServer Group backend server.
|
|
2098
|
+
"""
|
|
2081
2099
|
return pulumi.get(self, "port")
|
|
2082
2100
|
|
|
2083
2101
|
@property
|
|
2084
2102
|
@pulumi.getter(name="vserverGroupId")
|
|
2085
2103
|
def vserver_group_id(self) -> str:
|
|
2104
|
+
"""
|
|
2105
|
+
ID of VServer Group.
|
|
2106
|
+
"""
|
|
2086
2107
|
return pulumi.get(self, "vserver_group_id")
|
|
2087
2108
|
|
|
2088
2109
|
@property
|
|
2089
2110
|
@pulumi.getter
|
|
2090
2111
|
def weight(self) -> int:
|
|
2112
|
+
"""
|
|
2113
|
+
The weight of an ECS instance attached to the VServer Group.
|
|
2114
|
+
"""
|
|
2091
2115
|
return pulumi.get(self, "weight")
|
|
2092
2116
|
|
|
2093
2117
|
|
|
@@ -31,6 +31,7 @@ class ScalingGroupArgs:
|
|
|
31
31
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupLaunchTemplateOverrideArgs']]]] = None,
|
|
32
32
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
33
33
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
34
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
34
35
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
35
36
|
on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
36
37
|
on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -38,6 +39,7 @@ class ScalingGroupArgs:
|
|
|
38
39
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
40
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
40
41
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
41
43
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
42
44
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
43
45
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -70,6 +72,7 @@ class ScalingGroupArgs:
|
|
|
70
72
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
71
73
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
72
74
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
75
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
73
76
|
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
74
77
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
|
|
75
78
|
:param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
|
|
@@ -81,6 +84,7 @@ class ScalingGroupArgs:
|
|
|
81
84
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
82
85
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
83
86
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
87
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
84
88
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
85
89
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
86
90
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -118,6 +122,8 @@ class ScalingGroupArgs:
|
|
|
118
122
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
119
123
|
if loadbalancer_ids is not None:
|
|
120
124
|
pulumi.set(__self__, "loadbalancer_ids", loadbalancer_ids)
|
|
125
|
+
if max_instance_lifetime is not None:
|
|
126
|
+
pulumi.set(__self__, "max_instance_lifetime", max_instance_lifetime)
|
|
121
127
|
if multi_az_policy is not None:
|
|
122
128
|
pulumi.set(__self__, "multi_az_policy", multi_az_policy)
|
|
123
129
|
if on_demand_base_capacity is not None:
|
|
@@ -132,6 +138,8 @@ class ScalingGroupArgs:
|
|
|
132
138
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
133
139
|
if scaling_group_name is not None:
|
|
134
140
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
141
|
+
if scaling_policy is not None:
|
|
142
|
+
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
135
143
|
if spot_allocation_strategy is not None:
|
|
136
144
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
137
145
|
if spot_instance_pools is not None:
|
|
@@ -337,6 +345,18 @@ class ScalingGroupArgs:
|
|
|
337
345
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
338
346
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
339
347
|
|
|
348
|
+
@property
|
|
349
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
350
|
+
def max_instance_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
351
|
+
"""
|
|
352
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
353
|
+
"""
|
|
354
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
355
|
+
|
|
356
|
+
@max_instance_lifetime.setter
|
|
357
|
+
def max_instance_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
358
|
+
pulumi.set(self, "max_instance_lifetime", value)
|
|
359
|
+
|
|
340
360
|
@property
|
|
341
361
|
@pulumi.getter(name="multiAzPolicy")
|
|
342
362
|
def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -425,6 +445,18 @@ class ScalingGroupArgs:
|
|
|
425
445
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
426
446
|
pulumi.set(self, "scaling_group_name", value)
|
|
427
447
|
|
|
448
|
+
@property
|
|
449
|
+
@pulumi.getter(name="scalingPolicy")
|
|
450
|
+
def scaling_policy(self) -> Optional[pulumi.Input[str]]:
|
|
451
|
+
"""
|
|
452
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
453
|
+
"""
|
|
454
|
+
return pulumi.get(self, "scaling_policy")
|
|
455
|
+
|
|
456
|
+
@scaling_policy.setter
|
|
457
|
+
def scaling_policy(self, value: Optional[pulumi.Input[str]]):
|
|
458
|
+
pulumi.set(self, "scaling_policy", value)
|
|
459
|
+
|
|
428
460
|
@property
|
|
429
461
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
430
462
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -517,6 +549,7 @@ class _ScalingGroupState:
|
|
|
517
549
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupLaunchTemplateOverrideArgs']]]] = None,
|
|
518
550
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
519
551
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
552
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
520
553
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
521
554
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
522
555
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -526,6 +559,7 @@ class _ScalingGroupState:
|
|
|
526
559
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
527
560
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
528
561
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
562
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
529
563
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
530
564
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
531
565
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -554,6 +588,7 @@ class _ScalingGroupState:
|
|
|
554
588
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
555
589
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
556
590
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
591
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
557
592
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
558
593
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
559
594
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -569,6 +604,7 @@ class _ScalingGroupState:
|
|
|
569
604
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
570
605
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
571
606
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
607
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
572
608
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
573
609
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
574
610
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -604,6 +640,8 @@ class _ScalingGroupState:
|
|
|
604
640
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
605
641
|
if loadbalancer_ids is not None:
|
|
606
642
|
pulumi.set(__self__, "loadbalancer_ids", loadbalancer_ids)
|
|
643
|
+
if max_instance_lifetime is not None:
|
|
644
|
+
pulumi.set(__self__, "max_instance_lifetime", max_instance_lifetime)
|
|
607
645
|
if max_size is not None:
|
|
608
646
|
pulumi.set(__self__, "max_size", max_size)
|
|
609
647
|
if min_size is not None:
|
|
@@ -622,6 +660,8 @@ class _ScalingGroupState:
|
|
|
622
660
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
623
661
|
if scaling_group_name is not None:
|
|
624
662
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
663
|
+
if scaling_policy is not None:
|
|
664
|
+
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
625
665
|
if spot_allocation_strategy is not None:
|
|
626
666
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
627
667
|
if spot_instance_pools is not None:
|
|
@@ -801,6 +841,18 @@ class _ScalingGroupState:
|
|
|
801
841
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
802
842
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
803
843
|
|
|
844
|
+
@property
|
|
845
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
846
|
+
def max_instance_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
847
|
+
"""
|
|
848
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
849
|
+
"""
|
|
850
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
851
|
+
|
|
852
|
+
@max_instance_lifetime.setter
|
|
853
|
+
def max_instance_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
854
|
+
pulumi.set(self, "max_instance_lifetime", value)
|
|
855
|
+
|
|
804
856
|
@property
|
|
805
857
|
@pulumi.getter(name="maxSize")
|
|
806
858
|
def max_size(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -915,6 +967,18 @@ class _ScalingGroupState:
|
|
|
915
967
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
916
968
|
pulumi.set(self, "scaling_group_name", value)
|
|
917
969
|
|
|
970
|
+
@property
|
|
971
|
+
@pulumi.getter(name="scalingPolicy")
|
|
972
|
+
def scaling_policy(self) -> Optional[pulumi.Input[str]]:
|
|
973
|
+
"""
|
|
974
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
975
|
+
"""
|
|
976
|
+
return pulumi.get(self, "scaling_policy")
|
|
977
|
+
|
|
978
|
+
@scaling_policy.setter
|
|
979
|
+
def scaling_policy(self, value: Optional[pulumi.Input[str]]):
|
|
980
|
+
pulumi.set(self, "scaling_policy", value)
|
|
981
|
+
|
|
918
982
|
@property
|
|
919
983
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
920
984
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1009,6 +1073,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1009
1073
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1010
1074
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1011
1075
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1076
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1012
1077
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1013
1078
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1014
1079
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1018,6 +1083,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1018
1083
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1019
1084
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1020
1085
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1086
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1021
1087
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1022
1088
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1023
1089
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1134,6 +1200,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1134
1200
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1135
1201
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1136
1202
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
1203
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1137
1204
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1138
1205
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1139
1206
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1149,6 +1216,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1149
1216
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1150
1217
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1151
1218
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
1219
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1152
1220
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1153
1221
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
1154
1222
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1279,6 +1347,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1279
1347
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1280
1348
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1281
1349
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1350
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1282
1351
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1283
1352
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1284
1353
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1288,6 +1357,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1288
1357
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1289
1358
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1290
1359
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1360
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1291
1361
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1292
1362
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1293
1363
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1316,6 +1386,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1316
1386
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1317
1387
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1318
1388
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1389
|
+
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1319
1390
|
if max_size is None and not opts.urn:
|
|
1320
1391
|
raise TypeError("Missing required property 'max_size'")
|
|
1321
1392
|
__props__.__dict__["max_size"] = max_size
|
|
@@ -1329,6 +1400,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1329
1400
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1330
1401
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1331
1402
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1403
|
+
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1332
1404
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1333
1405
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1334
1406
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1358,6 +1430,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1358
1430
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1359
1431
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1360
1432
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1433
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1361
1434
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1362
1435
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1363
1436
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1367,6 +1440,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1367
1440
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1368
1441
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1369
1442
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1443
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1370
1444
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1371
1445
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1372
1446
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1400,6 +1474,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1400
1474
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1401
1475
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1402
1476
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
1477
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1403
1478
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1404
1479
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1405
1480
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1415,6 +1490,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1415
1490
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1416
1491
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1417
1492
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
1493
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1418
1494
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1419
1495
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
1420
1496
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1441,6 +1517,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1441
1517
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1442
1518
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1443
1519
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1520
|
+
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1444
1521
|
__props__.__dict__["max_size"] = max_size
|
|
1445
1522
|
__props__.__dict__["min_size"] = min_size
|
|
1446
1523
|
__props__.__dict__["multi_az_policy"] = multi_az_policy
|
|
@@ -1450,6 +1527,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1450
1527
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1451
1528
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1452
1529
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1530
|
+
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1453
1531
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1454
1532
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1455
1533
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1569,6 +1647,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1569
1647
|
"""
|
|
1570
1648
|
return pulumi.get(self, "loadbalancer_ids")
|
|
1571
1649
|
|
|
1650
|
+
@property
|
|
1651
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
1652
|
+
def max_instance_lifetime(self) -> pulumi.Output[Optional[int]]:
|
|
1653
|
+
"""
|
|
1654
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1655
|
+
"""
|
|
1656
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
1657
|
+
|
|
1572
1658
|
@property
|
|
1573
1659
|
@pulumi.getter(name="maxSize")
|
|
1574
1660
|
def max_size(self) -> pulumi.Output[int]:
|
|
@@ -1647,6 +1733,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1647
1733
|
"""
|
|
1648
1734
|
return pulumi.get(self, "scaling_group_name")
|
|
1649
1735
|
|
|
1736
|
+
@property
|
|
1737
|
+
@pulumi.getter(name="scalingPolicy")
|
|
1738
|
+
def scaling_policy(self) -> pulumi.Output[str]:
|
|
1739
|
+
"""
|
|
1740
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1741
|
+
"""
|
|
1742
|
+
return pulumi.get(self, "scaling_policy")
|
|
1743
|
+
|
|
1650
1744
|
@property
|
|
1651
1745
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
1652
1746
|
def spot_allocation_strategy(self) -> pulumi.Output[str]:
|