pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__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.
- pulumi_alicloud/__init__.py +83 -0
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- pulumi_alicloud/alikafka/topic.py +278 -85
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +20 -0
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
- pulumi_alicloud/cloudsso/outputs.py +228 -0
- pulumi_alicloud/cloudsso/user.py +247 -80
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/cs/managed_kubernetes.py +6 -2
- pulumi_alicloud/ddos/domain_resource.py +89 -0
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eais/get_instances.py +8 -0
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/edas/get_deploy_groups.py +4 -0
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/emrv2/get_clusters.py +260 -0
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3774 -991
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
- pulumi_alicloud/esa/https_application_configuration.py +188 -0
- pulumi_alicloud/esa/https_basic_configuration.py +54 -7
- pulumi_alicloud/esa/image_transform.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/network_optimization.py +82 -21
- pulumi_alicloud/esa/origin_rule.py +470 -14
- pulumi_alicloud/esa/outputs.py +2080 -0
- pulumi_alicloud/esa/rate_plan_instance.py +64 -39
- pulumi_alicloud/esa/redirect_rule.py +68 -21
- pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
- pulumi_alicloud/esa/waf_rule.py +510 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +256 -0
- pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
- pulumi_alicloud/ess/attachment.py +10 -6
- pulumi_alicloud/ess/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/ess/scaling_configuration.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ess/server_group_attachment.py +2 -2
- pulumi_alicloud/ess/suspend_process.py +2 -2
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/gpdb/get_zones.py +24 -0
- pulumi_alicloud/hbase/get_instance_types.py +32 -0
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +18 -18
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/log/_inputs.py +29 -9
- pulumi_alicloud/log/etl.py +56 -9
- pulumi_alicloud/log/get_projects.py +24 -0
- pulumi_alicloud/log/outputs.py +18 -6
- pulumi_alicloud/marketplace/get_products.py +26 -0
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
- pulumi_alicloud/nas/get_access_rules.py +26 -0
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/ots/get_search_indexes.py +26 -0
- pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
- pulumi_alicloud/polardb/__init__.py +3 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/ram/get_policies.py +95 -81
- pulumi_alicloud/ram/get_roles.py +108 -31
- pulumi_alicloud/ram/outputs.py +64 -42
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/get_policies.py +4 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +694 -0
- pulumi_alicloud/resourcemanager/resource_share.py +341 -11
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/get_ingresses.py +122 -0
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/scdn/domain_config.py +56 -0
- pulumi_alicloud/servicemesh/extension_provider.py +138 -0
- pulumi_alicloud/servicemesh/user_permission.py +90 -0
- pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/bgp_group.py +250 -53
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/vpc/vbr_ha.py +127 -46
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ess/outputs.py
CHANGED
|
@@ -32,6 +32,10 @@ __all__ = [
|
|
|
32
32
|
'EciScalingConfigurationSecurityContextSysctl',
|
|
33
33
|
'EciScalingConfigurationVolume',
|
|
34
34
|
'EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath',
|
|
35
|
+
'InstanceRefreshCheckpoint',
|
|
36
|
+
'InstanceRefreshDesiredConfigurationContainer',
|
|
37
|
+
'InstanceRefreshDesiredConfigurationContainerEnvironmentVar',
|
|
38
|
+
'InstanceRefreshDesiredConfigurationLaunchTemplateOverride',
|
|
35
39
|
'ScalingConfigurationCustomPriority',
|
|
36
40
|
'ScalingConfigurationDataDisk',
|
|
37
41
|
'ScalingConfigurationInstancePatternInfo',
|
|
@@ -1717,6 +1721,205 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath(dict):
|
|
|
1717
1721
|
return pulumi.get(self, "path")
|
|
1718
1722
|
|
|
1719
1723
|
|
|
1724
|
+
@pulumi.output_type
|
|
1725
|
+
class InstanceRefreshCheckpoint(dict):
|
|
1726
|
+
def __init__(__self__, *,
|
|
1727
|
+
percentage: Optional[_builtins.int] = None):
|
|
1728
|
+
"""
|
|
1729
|
+
:param _builtins.int percentage: The percentage of new instances out of the total instances in the scaling group. The task automatically pauses when this percentage is reached.
|
|
1730
|
+
"""
|
|
1731
|
+
if percentage is not None:
|
|
1732
|
+
pulumi.set(__self__, "percentage", percentage)
|
|
1733
|
+
|
|
1734
|
+
@_builtins.property
|
|
1735
|
+
@pulumi.getter
|
|
1736
|
+
def percentage(self) -> Optional[_builtins.int]:
|
|
1737
|
+
"""
|
|
1738
|
+
The percentage of new instances out of the total instances in the scaling group. The task automatically pauses when this percentage is reached.
|
|
1739
|
+
"""
|
|
1740
|
+
return pulumi.get(self, "percentage")
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
@pulumi.output_type
|
|
1744
|
+
class InstanceRefreshDesiredConfigurationContainer(dict):
|
|
1745
|
+
@staticmethod
|
|
1746
|
+
def __key_warning(key: str):
|
|
1747
|
+
suggest = None
|
|
1748
|
+
if key == "environmentVars":
|
|
1749
|
+
suggest = "environment_vars"
|
|
1750
|
+
|
|
1751
|
+
if suggest:
|
|
1752
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationContainer. Access the value via the '{suggest}' property getter instead.")
|
|
1753
|
+
|
|
1754
|
+
def __getitem__(self, key: str) -> Any:
|
|
1755
|
+
InstanceRefreshDesiredConfigurationContainer.__key_warning(key)
|
|
1756
|
+
return super().__getitem__(key)
|
|
1757
|
+
|
|
1758
|
+
def get(self, key: str, default = None) -> Any:
|
|
1759
|
+
InstanceRefreshDesiredConfigurationContainer.__key_warning(key)
|
|
1760
|
+
return super().get(key, default)
|
|
1761
|
+
|
|
1762
|
+
def __init__(__self__, *,
|
|
1763
|
+
args: Optional[Sequence[_builtins.str]] = None,
|
|
1764
|
+
commands: Optional[Sequence[_builtins.str]] = None,
|
|
1765
|
+
environment_vars: Optional[Sequence['outputs.InstanceRefreshDesiredConfigurationContainerEnvironmentVar']] = None,
|
|
1766
|
+
image: Optional[_builtins.str] = None,
|
|
1767
|
+
name: Optional[_builtins.str] = None):
|
|
1768
|
+
"""
|
|
1769
|
+
:param Sequence[_builtins.str] args: The arguments for the container startup command.
|
|
1770
|
+
:param Sequence[_builtins.str] commands: The container startup command.
|
|
1771
|
+
:param Sequence['InstanceRefreshDesiredConfigurationContainerEnvironmentVarArgs'] environment_vars: Information about the environment variables. See `environment_vars` below for details.
|
|
1772
|
+
:param _builtins.str image: The container image.
|
|
1773
|
+
:param _builtins.str name: The custom name of the container.
|
|
1774
|
+
"""
|
|
1775
|
+
if args is not None:
|
|
1776
|
+
pulumi.set(__self__, "args", args)
|
|
1777
|
+
if commands is not None:
|
|
1778
|
+
pulumi.set(__self__, "commands", commands)
|
|
1779
|
+
if environment_vars is not None:
|
|
1780
|
+
pulumi.set(__self__, "environment_vars", environment_vars)
|
|
1781
|
+
if image is not None:
|
|
1782
|
+
pulumi.set(__self__, "image", image)
|
|
1783
|
+
if name is not None:
|
|
1784
|
+
pulumi.set(__self__, "name", name)
|
|
1785
|
+
|
|
1786
|
+
@_builtins.property
|
|
1787
|
+
@pulumi.getter
|
|
1788
|
+
def args(self) -> Optional[Sequence[_builtins.str]]:
|
|
1789
|
+
"""
|
|
1790
|
+
The arguments for the container startup command.
|
|
1791
|
+
"""
|
|
1792
|
+
return pulumi.get(self, "args")
|
|
1793
|
+
|
|
1794
|
+
@_builtins.property
|
|
1795
|
+
@pulumi.getter
|
|
1796
|
+
def commands(self) -> Optional[Sequence[_builtins.str]]:
|
|
1797
|
+
"""
|
|
1798
|
+
The container startup command.
|
|
1799
|
+
"""
|
|
1800
|
+
return pulumi.get(self, "commands")
|
|
1801
|
+
|
|
1802
|
+
@_builtins.property
|
|
1803
|
+
@pulumi.getter(name="environmentVars")
|
|
1804
|
+
def environment_vars(self) -> Optional[Sequence['outputs.InstanceRefreshDesiredConfigurationContainerEnvironmentVar']]:
|
|
1805
|
+
"""
|
|
1806
|
+
Information about the environment variables. See `environment_vars` below for details.
|
|
1807
|
+
"""
|
|
1808
|
+
return pulumi.get(self, "environment_vars")
|
|
1809
|
+
|
|
1810
|
+
@_builtins.property
|
|
1811
|
+
@pulumi.getter
|
|
1812
|
+
def image(self) -> Optional[_builtins.str]:
|
|
1813
|
+
"""
|
|
1814
|
+
The container image.
|
|
1815
|
+
"""
|
|
1816
|
+
return pulumi.get(self, "image")
|
|
1817
|
+
|
|
1818
|
+
@_builtins.property
|
|
1819
|
+
@pulumi.getter
|
|
1820
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1821
|
+
"""
|
|
1822
|
+
The custom name of the container.
|
|
1823
|
+
"""
|
|
1824
|
+
return pulumi.get(self, "name")
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
@pulumi.output_type
|
|
1828
|
+
class InstanceRefreshDesiredConfigurationContainerEnvironmentVar(dict):
|
|
1829
|
+
@staticmethod
|
|
1830
|
+
def __key_warning(key: str):
|
|
1831
|
+
suggest = None
|
|
1832
|
+
if key == "fieldRefFieldPath":
|
|
1833
|
+
suggest = "field_ref_field_path"
|
|
1834
|
+
|
|
1835
|
+
if suggest:
|
|
1836
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationContainerEnvironmentVar. Access the value via the '{suggest}' property getter instead.")
|
|
1837
|
+
|
|
1838
|
+
def __getitem__(self, key: str) -> Any:
|
|
1839
|
+
InstanceRefreshDesiredConfigurationContainerEnvironmentVar.__key_warning(key)
|
|
1840
|
+
return super().__getitem__(key)
|
|
1841
|
+
|
|
1842
|
+
def get(self, key: str, default = None) -> Any:
|
|
1843
|
+
InstanceRefreshDesiredConfigurationContainerEnvironmentVar.__key_warning(key)
|
|
1844
|
+
return super().get(key, default)
|
|
1845
|
+
|
|
1846
|
+
def __init__(__self__, *,
|
|
1847
|
+
field_ref_field_path: Optional[_builtins.str] = None,
|
|
1848
|
+
key: Optional[_builtins.str] = None,
|
|
1849
|
+
value: Optional[_builtins.str] = None):
|
|
1850
|
+
"""
|
|
1851
|
+
:param _builtins.str field_ref_field_path: This parameter is not available for use.
|
|
1852
|
+
:param _builtins.str key: The name of the environment variable.
|
|
1853
|
+
:param _builtins.str value: The value of the environment variable.
|
|
1854
|
+
"""
|
|
1855
|
+
if field_ref_field_path is not None:
|
|
1856
|
+
pulumi.set(__self__, "field_ref_field_path", field_ref_field_path)
|
|
1857
|
+
if key is not None:
|
|
1858
|
+
pulumi.set(__self__, "key", key)
|
|
1859
|
+
if value is not None:
|
|
1860
|
+
pulumi.set(__self__, "value", value)
|
|
1861
|
+
|
|
1862
|
+
@_builtins.property
|
|
1863
|
+
@pulumi.getter(name="fieldRefFieldPath")
|
|
1864
|
+
def field_ref_field_path(self) -> Optional[_builtins.str]:
|
|
1865
|
+
"""
|
|
1866
|
+
This parameter is not available for use.
|
|
1867
|
+
"""
|
|
1868
|
+
return pulumi.get(self, "field_ref_field_path")
|
|
1869
|
+
|
|
1870
|
+
@_builtins.property
|
|
1871
|
+
@pulumi.getter
|
|
1872
|
+
def key(self) -> Optional[_builtins.str]:
|
|
1873
|
+
"""
|
|
1874
|
+
The name of the environment variable.
|
|
1875
|
+
"""
|
|
1876
|
+
return pulumi.get(self, "key")
|
|
1877
|
+
|
|
1878
|
+
@_builtins.property
|
|
1879
|
+
@pulumi.getter
|
|
1880
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1881
|
+
"""
|
|
1882
|
+
The value of the environment variable.
|
|
1883
|
+
"""
|
|
1884
|
+
return pulumi.get(self, "value")
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
@pulumi.output_type
|
|
1888
|
+
class InstanceRefreshDesiredConfigurationLaunchTemplateOverride(dict):
|
|
1889
|
+
@staticmethod
|
|
1890
|
+
def __key_warning(key: str):
|
|
1891
|
+
suggest = None
|
|
1892
|
+
if key == "instanceType":
|
|
1893
|
+
suggest = "instance_type"
|
|
1894
|
+
|
|
1895
|
+
if suggest:
|
|
1896
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationLaunchTemplateOverride. Access the value via the '{suggest}' property getter instead.")
|
|
1897
|
+
|
|
1898
|
+
def __getitem__(self, key: str) -> Any:
|
|
1899
|
+
InstanceRefreshDesiredConfigurationLaunchTemplateOverride.__key_warning(key)
|
|
1900
|
+
return super().__getitem__(key)
|
|
1901
|
+
|
|
1902
|
+
def get(self, key: str, default = None) -> Any:
|
|
1903
|
+
InstanceRefreshDesiredConfigurationLaunchTemplateOverride.__key_warning(key)
|
|
1904
|
+
return super().get(key, default)
|
|
1905
|
+
|
|
1906
|
+
def __init__(__self__, *,
|
|
1907
|
+
instance_type: Optional[_builtins.str] = None):
|
|
1908
|
+
"""
|
|
1909
|
+
:param _builtins.str instance_type: The specified instance type, which overwrites the instance type in the launch template.
|
|
1910
|
+
"""
|
|
1911
|
+
if instance_type is not None:
|
|
1912
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
|
1913
|
+
|
|
1914
|
+
@_builtins.property
|
|
1915
|
+
@pulumi.getter(name="instanceType")
|
|
1916
|
+
def instance_type(self) -> Optional[_builtins.str]:
|
|
1917
|
+
"""
|
|
1918
|
+
The specified instance type, which overwrites the instance type in the launch template.
|
|
1919
|
+
"""
|
|
1920
|
+
return pulumi.get(self, "instance_type")
|
|
1921
|
+
|
|
1922
|
+
|
|
1720
1923
|
@pulumi.output_type
|
|
1721
1924
|
class ScalingConfigurationCustomPriority(dict):
|
|
1722
1925
|
@staticmethod
|
|
@@ -1908,7 +1908,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
1908
1908
|
zone_id=default.zones[0].id,
|
|
1909
1909
|
vswitch_name=my_name)
|
|
1910
1910
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
1911
|
-
|
|
1911
|
+
security_group_name=my_name,
|
|
1912
1912
|
vpc_id=default_network.id)
|
|
1913
1913
|
default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
|
|
1914
1914
|
type="ingress",
|
|
@@ -2067,7 +2067,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2067
2067
|
zone_id=default.zones[0].id,
|
|
2068
2068
|
vswitch_name=my_name)
|
|
2069
2069
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
2070
|
-
|
|
2070
|
+
security_group_name=my_name,
|
|
2071
2071
|
vpc_id=default_network.id)
|
|
2072
2072
|
default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
|
|
2073
2073
|
type="ingress",
|
|
@@ -25,7 +25,9 @@ class ScalingGroupArgs:
|
|
|
25
25
|
min_size: pulumi.Input[_builtins.int],
|
|
26
26
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
|
|
27
27
|
allocation_strategy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
auto_rebalance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
29
|
az_balance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
balance_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
31
|
capacity_options_compensate_with_on_demand: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
32
|
capacity_options_on_demand_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
31
33
|
capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -69,7 +71,9 @@ class ScalingGroupArgs:
|
|
|
69
71
|
**NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
|
|
70
72
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
|
|
71
73
|
:param pulumi.Input[_builtins.str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
74
|
+
:param pulumi.Input[_builtins.bool] auto_rebalance: Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
72
75
|
:param pulumi.Input[_builtins.bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
76
|
+
:param pulumi.Input[_builtins.str] balance_mode: The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
73
77
|
:param pulumi.Input[_builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
|
|
74
78
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
|
|
75
79
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
|
|
@@ -125,8 +129,12 @@ class ScalingGroupArgs:
|
|
|
125
129
|
pulumi.set(__self__, "alb_server_groups", alb_server_groups)
|
|
126
130
|
if allocation_strategy is not None:
|
|
127
131
|
pulumi.set(__self__, "allocation_strategy", allocation_strategy)
|
|
132
|
+
if auto_rebalance is not None:
|
|
133
|
+
pulumi.set(__self__, "auto_rebalance", auto_rebalance)
|
|
128
134
|
if az_balance is not None:
|
|
129
135
|
pulumi.set(__self__, "az_balance", az_balance)
|
|
136
|
+
if balance_mode is not None:
|
|
137
|
+
pulumi.set(__self__, "balance_mode", balance_mode)
|
|
130
138
|
if capacity_options_compensate_with_on_demand is not None:
|
|
131
139
|
pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
|
|
132
140
|
if capacity_options_on_demand_base_capacity is not None:
|
|
@@ -251,6 +259,18 @@ class ScalingGroupArgs:
|
|
|
251
259
|
def allocation_strategy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
252
260
|
pulumi.set(self, "allocation_strategy", value)
|
|
253
261
|
|
|
262
|
+
@_builtins.property
|
|
263
|
+
@pulumi.getter(name="autoRebalance")
|
|
264
|
+
def auto_rebalance(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
265
|
+
"""
|
|
266
|
+
Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "auto_rebalance")
|
|
269
|
+
|
|
270
|
+
@auto_rebalance.setter
|
|
271
|
+
def auto_rebalance(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
272
|
+
pulumi.set(self, "auto_rebalance", value)
|
|
273
|
+
|
|
254
274
|
@_builtins.property
|
|
255
275
|
@pulumi.getter(name="azBalance")
|
|
256
276
|
def az_balance(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -263,6 +283,18 @@ class ScalingGroupArgs:
|
|
|
263
283
|
def az_balance(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
264
284
|
pulumi.set(self, "az_balance", value)
|
|
265
285
|
|
|
286
|
+
@_builtins.property
|
|
287
|
+
@pulumi.getter(name="balanceMode")
|
|
288
|
+
def balance_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
289
|
+
"""
|
|
290
|
+
The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "balance_mode")
|
|
293
|
+
|
|
294
|
+
@balance_mode.setter
|
|
295
|
+
def balance_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
296
|
+
pulumi.set(self, "balance_mode", value)
|
|
297
|
+
|
|
266
298
|
@_builtins.property
|
|
267
299
|
@pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
|
|
268
300
|
def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -703,7 +735,9 @@ class _ScalingGroupState:
|
|
|
703
735
|
def __init__(__self__, *,
|
|
704
736
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
|
|
705
737
|
allocation_strategy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
738
|
+
auto_rebalance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
706
739
|
az_balance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
740
|
+
balance_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
707
741
|
capacity_options_compensate_with_on_demand: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
708
742
|
capacity_options_on_demand_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
709
743
|
capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -745,7 +779,9 @@ class _ScalingGroupState:
|
|
|
745
779
|
Input properties used for looking up and filtering ScalingGroup resources.
|
|
746
780
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
|
|
747
781
|
:param pulumi.Input[_builtins.str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
782
|
+
:param pulumi.Input[_builtins.bool] auto_rebalance: Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
748
783
|
:param pulumi.Input[_builtins.bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
784
|
+
:param pulumi.Input[_builtins.str] balance_mode: The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
749
785
|
:param pulumi.Input[_builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
|
|
750
786
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
|
|
751
787
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
|
|
@@ -803,8 +839,12 @@ class _ScalingGroupState:
|
|
|
803
839
|
pulumi.set(__self__, "alb_server_groups", alb_server_groups)
|
|
804
840
|
if allocation_strategy is not None:
|
|
805
841
|
pulumi.set(__self__, "allocation_strategy", allocation_strategy)
|
|
842
|
+
if auto_rebalance is not None:
|
|
843
|
+
pulumi.set(__self__, "auto_rebalance", auto_rebalance)
|
|
806
844
|
if az_balance is not None:
|
|
807
845
|
pulumi.set(__self__, "az_balance", az_balance)
|
|
846
|
+
if balance_mode is not None:
|
|
847
|
+
pulumi.set(__self__, "balance_mode", balance_mode)
|
|
808
848
|
if capacity_options_compensate_with_on_demand is not None:
|
|
809
849
|
pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
|
|
810
850
|
if capacity_options_on_demand_base_capacity is not None:
|
|
@@ -907,6 +947,18 @@ class _ScalingGroupState:
|
|
|
907
947
|
def allocation_strategy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
908
948
|
pulumi.set(self, "allocation_strategy", value)
|
|
909
949
|
|
|
950
|
+
@_builtins.property
|
|
951
|
+
@pulumi.getter(name="autoRebalance")
|
|
952
|
+
def auto_rebalance(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
953
|
+
"""
|
|
954
|
+
Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
955
|
+
"""
|
|
956
|
+
return pulumi.get(self, "auto_rebalance")
|
|
957
|
+
|
|
958
|
+
@auto_rebalance.setter
|
|
959
|
+
def auto_rebalance(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
960
|
+
pulumi.set(self, "auto_rebalance", value)
|
|
961
|
+
|
|
910
962
|
@_builtins.property
|
|
911
963
|
@pulumi.getter(name="azBalance")
|
|
912
964
|
def az_balance(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -919,6 +971,18 @@ class _ScalingGroupState:
|
|
|
919
971
|
def az_balance(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
920
972
|
pulumi.set(self, "az_balance", value)
|
|
921
973
|
|
|
974
|
+
@_builtins.property
|
|
975
|
+
@pulumi.getter(name="balanceMode")
|
|
976
|
+
def balance_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
977
|
+
"""
|
|
978
|
+
The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
979
|
+
"""
|
|
980
|
+
return pulumi.get(self, "balance_mode")
|
|
981
|
+
|
|
982
|
+
@balance_mode.setter
|
|
983
|
+
def balance_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
984
|
+
pulumi.set(self, "balance_mode", value)
|
|
985
|
+
|
|
922
986
|
@_builtins.property
|
|
923
987
|
@pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
|
|
924
988
|
def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -1388,7 +1452,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1388
1452
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1389
1453
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
|
|
1390
1454
|
allocation_strategy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1455
|
+
auto_rebalance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1391
1456
|
az_balance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1457
|
+
balance_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1392
1458
|
capacity_options_compensate_with_on_demand: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1393
1459
|
capacity_options_on_demand_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1394
1460
|
capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -1518,7 +1584,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1518
1584
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1519
1585
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
|
|
1520
1586
|
:param pulumi.Input[_builtins.str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1587
|
+
:param pulumi.Input[_builtins.bool] auto_rebalance: Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
1521
1588
|
:param pulumi.Input[_builtins.bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1589
|
+
:param pulumi.Input[_builtins.str] balance_mode: The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
1522
1590
|
:param pulumi.Input[_builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
|
|
1523
1591
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
|
|
1524
1592
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
|
|
@@ -1682,7 +1750,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1682
1750
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1683
1751
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
|
|
1684
1752
|
allocation_strategy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1753
|
+
auto_rebalance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1685
1754
|
az_balance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1755
|
+
balance_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1686
1756
|
capacity_options_compensate_with_on_demand: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1687
1757
|
capacity_options_on_demand_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1688
1758
|
capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -1731,7 +1801,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1731
1801
|
|
|
1732
1802
|
__props__.__dict__["alb_server_groups"] = alb_server_groups
|
|
1733
1803
|
__props__.__dict__["allocation_strategy"] = allocation_strategy
|
|
1804
|
+
__props__.__dict__["auto_rebalance"] = auto_rebalance
|
|
1734
1805
|
__props__.__dict__["az_balance"] = az_balance
|
|
1806
|
+
__props__.__dict__["balance_mode"] = balance_mode
|
|
1735
1807
|
__props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
|
|
1736
1808
|
__props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
|
|
1737
1809
|
__props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
|
|
@@ -1785,7 +1857,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1785
1857
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1786
1858
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
|
|
1787
1859
|
allocation_strategy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1860
|
+
auto_rebalance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1788
1861
|
az_balance: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1862
|
+
balance_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1789
1863
|
capacity_options_compensate_with_on_demand: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1790
1864
|
capacity_options_on_demand_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1791
1865
|
capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -1832,7 +1906,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1832
1906
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1833
1907
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
|
|
1834
1908
|
:param pulumi.Input[_builtins.str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1909
|
+
:param pulumi.Input[_builtins.bool] auto_rebalance: Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
1835
1910
|
:param pulumi.Input[_builtins.bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1911
|
+
:param pulumi.Input[_builtins.str] balance_mode: The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
1836
1912
|
:param pulumi.Input[_builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
|
|
1837
1913
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
|
|
1838
1914
|
:param pulumi.Input[_builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
|
|
@@ -1892,7 +1968,9 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1892
1968
|
|
|
1893
1969
|
__props__.__dict__["alb_server_groups"] = alb_server_groups
|
|
1894
1970
|
__props__.__dict__["allocation_strategy"] = allocation_strategy
|
|
1971
|
+
__props__.__dict__["auto_rebalance"] = auto_rebalance
|
|
1895
1972
|
__props__.__dict__["az_balance"] = az_balance
|
|
1973
|
+
__props__.__dict__["balance_mode"] = balance_mode
|
|
1896
1974
|
__props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
|
|
1897
1975
|
__props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
|
|
1898
1976
|
__props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
|
|
@@ -1948,6 +2026,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1948
2026
|
"""
|
|
1949
2027
|
return pulumi.get(self, "allocation_strategy")
|
|
1950
2028
|
|
|
2029
|
+
@_builtins.property
|
|
2030
|
+
@pulumi.getter(name="autoRebalance")
|
|
2031
|
+
def auto_rebalance(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
2032
|
+
"""
|
|
2033
|
+
Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values: false, true.
|
|
2034
|
+
"""
|
|
2035
|
+
return pulumi.get(self, "auto_rebalance")
|
|
2036
|
+
|
|
1951
2037
|
@_builtins.property
|
|
1952
2038
|
@pulumi.getter(name="azBalance")
|
|
1953
2039
|
def az_balance(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
@@ -1956,6 +2042,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1956
2042
|
"""
|
|
1957
2043
|
return pulumi.get(self, "az_balance")
|
|
1958
2044
|
|
|
2045
|
+
@_builtins.property
|
|
2046
|
+
@pulumi.getter(name="balanceMode")
|
|
2047
|
+
def balance_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2048
|
+
"""
|
|
2049
|
+
The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values: BalancedBestEffort, BalancedOnly.
|
|
2050
|
+
"""
|
|
2051
|
+
return pulumi.get(self, "balance_mode")
|
|
2052
|
+
|
|
1959
2053
|
@_builtins.property
|
|
1960
2054
|
@pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
|
|
1961
2055
|
def capacity_options_compensate_with_on_demand(self) -> pulumi.Output[_builtins.bool]:
|
|
@@ -281,7 +281,7 @@ class ServerGroupAttachment(pulumi.CustomResource):
|
|
|
281
281
|
zone_id=default.zones[0].id,
|
|
282
282
|
vswitch_name=my_name)
|
|
283
283
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
284
|
-
|
|
284
|
+
security_group_name=my_name,
|
|
285
285
|
vpc_id=default_network.id)
|
|
286
286
|
default_scaling_group = alicloud.ess.ScalingGroup("default",
|
|
287
287
|
min_size=0,
|
|
@@ -380,7 +380,7 @@ class ServerGroupAttachment(pulumi.CustomResource):
|
|
|
380
380
|
zone_id=default.zones[0].id,
|
|
381
381
|
vswitch_name=my_name)
|
|
382
382
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
383
|
-
|
|
383
|
+
security_group_name=my_name,
|
|
384
384
|
vpc_id=default_network.id)
|
|
385
385
|
default_scaling_group = alicloud.ess.ScalingGroup("default",
|
|
386
386
|
min_size=0,
|
|
@@ -142,7 +142,7 @@ class SuspendProcess(pulumi.CustomResource):
|
|
|
142
142
|
zone_id=default.zones[0].id,
|
|
143
143
|
vswitch_name=my_name)
|
|
144
144
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
145
|
-
|
|
145
|
+
security_group_name=my_name,
|
|
146
146
|
vpc_id=default_network.id)
|
|
147
147
|
default_scaling_group = alicloud.ess.ScalingGroup("default",
|
|
148
148
|
min_size=1,
|
|
@@ -222,7 +222,7 @@ class SuspendProcess(pulumi.CustomResource):
|
|
|
222
222
|
zone_id=default.zones[0].id,
|
|
223
223
|
vswitch_name=my_name)
|
|
224
224
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
225
|
-
|
|
225
|
+
security_group_name=my_name,
|
|
226
226
|
vpc_id=default_network.id)
|
|
227
227
|
default_scaling_group = alicloud.ess.ScalingGroup("default",
|
|
228
228
|
min_size=1,
|