pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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 +0 -48
- pulumi_alicloud/adb/resource_group.py +119 -115
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
- pulumi_alicloud/dfs/file_system.py +19 -52
- pulumi_alicloud/ecs/_inputs.py +8 -132
- pulumi_alicloud/ecs/image.py +121 -607
- pulumi_alicloud/ecs/outputs.py +8 -131
- pulumi_alicloud/emrv2/_inputs.py +0 -490
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +0 -500
- pulumi_alicloud/ens/__init__.py +0 -2
- pulumi_alicloud/ens/instance.py +17 -16
- pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
- pulumi_alicloud/ess/scaling_group.py +0 -94
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +0 -122
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +67 -161
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
- pulumi_alicloud/ens/nat_gateway.py +0 -458
- pulumi_alicloud/gpdb/external_data_service.py +0 -485
- pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
- pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
- pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ens/instance.py
CHANGED
|
@@ -17,6 +17,7 @@ __all__ = ['InstanceArgs', 'Instance']
|
|
|
17
17
|
class InstanceArgs:
|
|
18
18
|
def __init__(__self__, *,
|
|
19
19
|
instance_type: pulumi.Input[str],
|
|
20
|
+
internet_max_bandwidth_out: pulumi.Input[int],
|
|
20
21
|
payment_type: pulumi.Input[str],
|
|
21
22
|
schedule_area_level: pulumi.Input[str],
|
|
22
23
|
amount: Optional[pulumi.Input[int]] = None,
|
|
@@ -33,7 +34,6 @@ class InstanceArgs:
|
|
|
33
34
|
instance_charge_strategy: Optional[pulumi.Input[str]] = None,
|
|
34
35
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
35
36
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
37
37
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
38
38
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
39
39
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -54,6 +54,7 @@ class InstanceArgs:
|
|
|
54
54
|
"""
|
|
55
55
|
The set of arguments for constructing a Instance resource.
|
|
56
56
|
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small.
|
|
57
|
+
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
57
58
|
:param pulumi.Input[str] payment_type: Instance payment method. Optional values:
|
|
58
59
|
- Subscription: prepaid, annual and monthly
|
|
59
60
|
- PayAsYouGo: Pay by volume.
|
|
@@ -88,7 +89,6 @@ class InstanceArgs:
|
|
|
88
89
|
:param pulumi.Input[str] internet_charge_type: Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
89
90
|
- BandwidthByDay: Daily peak bandwidth
|
|
90
91
|
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
91
|
-
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
92
92
|
:param pulumi.Input[str] ip_type: The IP type. Value:
|
|
93
93
|
- ipv4 (default):IPv4
|
|
94
94
|
- ipv6:IPv6
|
|
@@ -121,6 +121,7 @@ class InstanceArgs:
|
|
|
121
121
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
122
122
|
"""
|
|
123
123
|
pulumi.set(__self__, "instance_type", instance_type)
|
|
124
|
+
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
|
|
124
125
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
125
126
|
pulumi.set(__self__, "schedule_area_level", schedule_area_level)
|
|
126
127
|
if amount is not None:
|
|
@@ -151,8 +152,6 @@ class InstanceArgs:
|
|
|
151
152
|
pulumi.set(__self__, "instance_name", instance_name)
|
|
152
153
|
if internet_charge_type is not None:
|
|
153
154
|
pulumi.set(__self__, "internet_charge_type", internet_charge_type)
|
|
154
|
-
if internet_max_bandwidth_out is not None:
|
|
155
|
-
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
|
|
156
155
|
if ip_type is not None:
|
|
157
156
|
pulumi.set(__self__, "ip_type", ip_type)
|
|
158
157
|
if net_district_code is not None:
|
|
@@ -200,6 +199,18 @@ class InstanceArgs:
|
|
|
200
199
|
def instance_type(self, value: pulumi.Input[str]):
|
|
201
200
|
pulumi.set(self, "instance_type", value)
|
|
202
201
|
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter(name="internetMaxBandwidthOut")
|
|
204
|
+
def internet_max_bandwidth_out(self) -> pulumi.Input[int]:
|
|
205
|
+
"""
|
|
206
|
+
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "internet_max_bandwidth_out")
|
|
209
|
+
|
|
210
|
+
@internet_max_bandwidth_out.setter
|
|
211
|
+
def internet_max_bandwidth_out(self, value: pulumi.Input[int]):
|
|
212
|
+
pulumi.set(self, "internet_max_bandwidth_out", value)
|
|
213
|
+
|
|
203
214
|
@property
|
|
204
215
|
@pulumi.getter(name="paymentType")
|
|
205
216
|
def payment_type(self) -> pulumi.Input[str]:
|
|
@@ -410,18 +421,6 @@ class InstanceArgs:
|
|
|
410
421
|
def internet_charge_type(self, value: Optional[pulumi.Input[str]]):
|
|
411
422
|
pulumi.set(self, "internet_charge_type", value)
|
|
412
423
|
|
|
413
|
-
@property
|
|
414
|
-
@pulumi.getter(name="internetMaxBandwidthOut")
|
|
415
|
-
def internet_max_bandwidth_out(self) -> Optional[pulumi.Input[int]]:
|
|
416
|
-
"""
|
|
417
|
-
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
418
|
-
"""
|
|
419
|
-
return pulumi.get(self, "internet_max_bandwidth_out")
|
|
420
|
-
|
|
421
|
-
@internet_max_bandwidth_out.setter
|
|
422
|
-
def internet_max_bandwidth_out(self, value: Optional[pulumi.Input[int]]):
|
|
423
|
-
pulumi.set(self, "internet_max_bandwidth_out", value)
|
|
424
|
-
|
|
425
424
|
@property
|
|
426
425
|
@pulumi.getter(name="ipType")
|
|
427
426
|
def ip_type(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1480,6 +1479,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1480
1479
|
raise TypeError("Missing required property 'instance_type'")
|
|
1481
1480
|
__props__.__dict__["instance_type"] = instance_type
|
|
1482
1481
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
1482
|
+
if internet_max_bandwidth_out is None and not opts.urn:
|
|
1483
|
+
raise TypeError("Missing required property 'internet_max_bandwidth_out'")
|
|
1483
1484
|
__props__.__dict__["internet_max_bandwidth_out"] = internet_max_bandwidth_out
|
|
1484
1485
|
__props__.__dict__["ip_type"] = ip_type
|
|
1485
1486
|
__props__.__dict__["net_district_code"] = net_district_code
|
|
@@ -25,8 +25,6 @@ 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,
|
|
30
28
|
description: Optional[pulumi.Input[str]] = None,
|
|
31
29
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
32
30
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -67,8 +65,6 @@ class EciScalingConfigurationArgs:
|
|
|
67
65
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
68
66
|
:param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
|
|
69
67
|
: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.
|
|
72
68
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
73
69
|
256 characters in length and cannot start with http:// or https://.
|
|
74
70
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -126,10 +122,6 @@ class EciScalingConfigurationArgs:
|
|
|
126
122
|
pulumi.set(__self__, "containers", containers)
|
|
127
123
|
if cpu is not None:
|
|
128
124
|
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)
|
|
133
125
|
if description is not None:
|
|
134
126
|
pulumi.set(__self__, "description", description)
|
|
135
127
|
if dns_policy is not None:
|
|
@@ -295,30 +287,6 @@ class EciScalingConfigurationArgs:
|
|
|
295
287
|
def cpu(self, value: Optional[pulumi.Input[float]]):
|
|
296
288
|
pulumi.set(self, "cpu", value)
|
|
297
289
|
|
|
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
|
-
|
|
322
290
|
@property
|
|
323
291
|
@pulumi.getter
|
|
324
292
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -667,8 +635,6 @@ class _EciScalingConfigurationState:
|
|
|
667
635
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
668
636
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]]] = None,
|
|
669
637
|
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,
|
|
672
638
|
description: Optional[pulumi.Input[str]] = None,
|
|
673
639
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
674
640
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -709,8 +675,6 @@ class _EciScalingConfigurationState:
|
|
|
709
675
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
710
676
|
:param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
|
|
711
677
|
: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.
|
|
714
678
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
715
679
|
256 characters in length and cannot start with http:// or https://.
|
|
716
680
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -768,10 +732,6 @@ class _EciScalingConfigurationState:
|
|
|
768
732
|
pulumi.set(__self__, "containers", containers)
|
|
769
733
|
if cpu is not None:
|
|
770
734
|
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)
|
|
775
735
|
if description is not None:
|
|
776
736
|
pulumi.set(__self__, "description", description)
|
|
777
737
|
if dns_policy is not None:
|
|
@@ -927,30 +887,6 @@ class _EciScalingConfigurationState:
|
|
|
927
887
|
def cpu(self, value: Optional[pulumi.Input[float]]):
|
|
928
888
|
pulumi.set(self, "cpu", value)
|
|
929
889
|
|
|
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
|
-
|
|
954
890
|
@property
|
|
955
891
|
@pulumi.getter
|
|
956
892
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1313,8 +1249,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1313
1249
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1314
1250
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1315
1251
|
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,
|
|
1318
1252
|
description: Optional[pulumi.Input[str]] = None,
|
|
1319
1253
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1320
1254
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1425,8 +1359,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1425
1359
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
1426
1360
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]] containers: The list of containers. See `containers` below for details.
|
|
1427
1361
|
: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.
|
|
1430
1362
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
1431
1363
|
256 characters in length and cannot start with http:// or https://.
|
|
1432
1364
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -1566,8 +1498,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1566
1498
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1567
1499
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1568
1500
|
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,
|
|
1571
1501
|
description: Optional[pulumi.Input[str]] = None,
|
|
1572
1502
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1573
1503
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1613,8 +1543,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1613
1543
|
__props__.__dict__["container_group_name"] = container_group_name
|
|
1614
1544
|
__props__.__dict__["containers"] = containers
|
|
1615
1545
|
__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
|
|
1618
1546
|
__props__.__dict__["description"] = description
|
|
1619
1547
|
__props__.__dict__["dns_policy"] = dns_policy
|
|
1620
1548
|
__props__.__dict__["egress_bandwidth"] = egress_bandwidth
|
|
@@ -1663,8 +1591,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1663
1591
|
container_group_name: Optional[pulumi.Input[str]] = None,
|
|
1664
1592
|
containers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]]] = None,
|
|
1665
1593
|
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,
|
|
1668
1594
|
description: Optional[pulumi.Input[str]] = None,
|
|
1669
1595
|
dns_policy: Optional[pulumi.Input[str]] = None,
|
|
1670
1596
|
egress_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
@@ -1710,8 +1636,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1710
1636
|
English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
|
|
1711
1637
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EciScalingConfigurationContainerArgs']]]] containers: The list of containers. See `containers` below for details.
|
|
1712
1638
|
: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.
|
|
1715
1639
|
:param pulumi.Input[str] description: The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to
|
|
1716
1640
|
256 characters in length and cannot start with http:// or https://.
|
|
1717
1641
|
:param pulumi.Input[str] dns_policy: dns policy of contain group.
|
|
@@ -1765,8 +1689,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1765
1689
|
__props__.__dict__["container_group_name"] = container_group_name
|
|
1766
1690
|
__props__.__dict__["containers"] = containers
|
|
1767
1691
|
__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
|
|
1770
1692
|
__props__.__dict__["description"] = description
|
|
1771
1693
|
__props__.__dict__["dns_policy"] = dns_policy
|
|
1772
1694
|
__props__.__dict__["egress_bandwidth"] = egress_bandwidth
|
|
@@ -1863,22 +1785,6 @@ class EciScalingConfiguration(pulumi.CustomResource):
|
|
|
1863
1785
|
"""
|
|
1864
1786
|
return pulumi.get(self, "cpu")
|
|
1865
1787
|
|
|
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
|
-
|
|
1882
1788
|
@property
|
|
1883
1789
|
@pulumi.getter
|
|
1884
1790
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -31,7 +31,6 @@ 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,
|
|
35
34
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
36
35
|
on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
37
36
|
on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -39,7 +38,6 @@ class ScalingGroupArgs:
|
|
|
39
38
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
40
39
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
41
40
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
42
|
-
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
43
41
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
44
42
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
45
43
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -72,7 +70,6 @@ class ScalingGroupArgs:
|
|
|
72
70
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
73
71
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
74
72
|
- 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.
|
|
76
73
|
: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).
|
|
77
74
|
: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.
|
|
78
75
|
: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.
|
|
@@ -84,7 +81,6 @@ class ScalingGroupArgs:
|
|
|
84
81
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
85
82
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
86
83
|
: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.
|
|
88
84
|
: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.
|
|
89
85
|
: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.
|
|
90
86
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -122,8 +118,6 @@ class ScalingGroupArgs:
|
|
|
122
118
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
123
119
|
if loadbalancer_ids is not None:
|
|
124
120
|
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)
|
|
127
121
|
if multi_az_policy is not None:
|
|
128
122
|
pulumi.set(__self__, "multi_az_policy", multi_az_policy)
|
|
129
123
|
if on_demand_base_capacity is not None:
|
|
@@ -138,8 +132,6 @@ class ScalingGroupArgs:
|
|
|
138
132
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
139
133
|
if scaling_group_name is not None:
|
|
140
134
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
141
|
-
if scaling_policy is not None:
|
|
142
|
-
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
143
135
|
if spot_allocation_strategy is not None:
|
|
144
136
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
145
137
|
if spot_instance_pools is not None:
|
|
@@ -345,18 +337,6 @@ class ScalingGroupArgs:
|
|
|
345
337
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
346
338
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
347
339
|
|
|
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
|
-
|
|
360
340
|
@property
|
|
361
341
|
@pulumi.getter(name="multiAzPolicy")
|
|
362
342
|
def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -445,18 +425,6 @@ class ScalingGroupArgs:
|
|
|
445
425
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
446
426
|
pulumi.set(self, "scaling_group_name", value)
|
|
447
427
|
|
|
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
|
-
|
|
460
428
|
@property
|
|
461
429
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
462
430
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -549,7 +517,6 @@ class _ScalingGroupState:
|
|
|
549
517
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupLaunchTemplateOverrideArgs']]]] = None,
|
|
550
518
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
551
519
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
552
|
-
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
553
520
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
554
521
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
555
522
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -559,7 +526,6 @@ class _ScalingGroupState:
|
|
|
559
526
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
560
527
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
561
528
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
562
|
-
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
563
529
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
564
530
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
565
531
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -588,7 +554,6 @@ class _ScalingGroupState:
|
|
|
588
554
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
589
555
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
590
556
|
- 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.
|
|
592
557
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
593
558
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
594
559
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -604,7 +569,6 @@ class _ScalingGroupState:
|
|
|
604
569
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
605
570
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
606
571
|
: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.
|
|
608
572
|
: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.
|
|
609
573
|
: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.
|
|
610
574
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -640,8 +604,6 @@ class _ScalingGroupState:
|
|
|
640
604
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
641
605
|
if loadbalancer_ids is not None:
|
|
642
606
|
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)
|
|
645
607
|
if max_size is not None:
|
|
646
608
|
pulumi.set(__self__, "max_size", max_size)
|
|
647
609
|
if min_size is not None:
|
|
@@ -660,8 +622,6 @@ class _ScalingGroupState:
|
|
|
660
622
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
661
623
|
if scaling_group_name is not None:
|
|
662
624
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
663
|
-
if scaling_policy is not None:
|
|
664
|
-
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
665
625
|
if spot_allocation_strategy is not None:
|
|
666
626
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
667
627
|
if spot_instance_pools is not None:
|
|
@@ -841,18 +801,6 @@ class _ScalingGroupState:
|
|
|
841
801
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
842
802
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
843
803
|
|
|
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
|
-
|
|
856
804
|
@property
|
|
857
805
|
@pulumi.getter(name="maxSize")
|
|
858
806
|
def max_size(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -967,18 +915,6 @@ class _ScalingGroupState:
|
|
|
967
915
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
968
916
|
pulumi.set(self, "scaling_group_name", value)
|
|
969
917
|
|
|
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
|
-
|
|
982
918
|
@property
|
|
983
919
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
984
920
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1073,7 +1009,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1073
1009
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1074
1010
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1075
1011
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1076
|
-
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1077
1012
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1078
1013
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1079
1014
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1083,7 +1018,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1083
1018
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1084
1019
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1085
1020
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1086
|
-
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1087
1021
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1088
1022
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1089
1023
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1200,7 +1134,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1200
1134
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1201
1135
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1202
1136
|
- 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.
|
|
1204
1137
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1205
1138
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1206
1139
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1216,7 +1149,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1216
1149
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1217
1150
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1218
1151
|
: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.
|
|
1220
1152
|
: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.
|
|
1221
1153
|
: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.
|
|
1222
1154
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1347,7 +1279,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1347
1279
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1348
1280
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1349
1281
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1350
|
-
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1351
1282
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1352
1283
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1353
1284
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1357,7 +1288,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1357
1288
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1358
1289
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1359
1290
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1360
|
-
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1361
1291
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1362
1292
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1363
1293
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1386,7 +1316,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1386
1316
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1387
1317
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1388
1318
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1389
|
-
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1390
1319
|
if max_size is None and not opts.urn:
|
|
1391
1320
|
raise TypeError("Missing required property 'max_size'")
|
|
1392
1321
|
__props__.__dict__["max_size"] = max_size
|
|
@@ -1400,7 +1329,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1400
1329
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1401
1330
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1402
1331
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1403
|
-
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1404
1332
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1405
1333
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1406
1334
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1430,7 +1358,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1430
1358
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1431
1359
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1432
1360
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1433
|
-
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1434
1361
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1435
1362
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1436
1363
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1440,7 +1367,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1440
1367
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1441
1368
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1442
1369
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1443
|
-
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1444
1370
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1445
1371
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1446
1372
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1474,7 +1400,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1474
1400
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1475
1401
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1476
1402
|
- 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.
|
|
1478
1403
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1479
1404
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1480
1405
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1490,7 +1415,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1490
1415
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1491
1416
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1492
1417
|
: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.
|
|
1494
1418
|
: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.
|
|
1495
1419
|
: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.
|
|
1496
1420
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1517,7 +1441,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1517
1441
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1518
1442
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1519
1443
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1520
|
-
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1521
1444
|
__props__.__dict__["max_size"] = max_size
|
|
1522
1445
|
__props__.__dict__["min_size"] = min_size
|
|
1523
1446
|
__props__.__dict__["multi_az_policy"] = multi_az_policy
|
|
@@ -1527,7 +1450,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1527
1450
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1528
1451
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1529
1452
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1530
|
-
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1531
1453
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1532
1454
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1533
1455
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1647,14 +1569,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1647
1569
|
"""
|
|
1648
1570
|
return pulumi.get(self, "loadbalancer_ids")
|
|
1649
1571
|
|
|
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
|
-
|
|
1658
1572
|
@property
|
|
1659
1573
|
@pulumi.getter(name="maxSize")
|
|
1660
1574
|
def max_size(self) -> pulumi.Output[int]:
|
|
@@ -1733,14 +1647,6 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1733
1647
|
"""
|
|
1734
1648
|
return pulumi.get(self, "scaling_group_name")
|
|
1735
1649
|
|
|
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
|
-
|
|
1744
1650
|
@property
|
|
1745
1651
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
1746
1652
|
def spot_allocation_strategy(self) -> pulumi.Output[str]:
|