pulumi-alicloud 3.57.0a1718428539__py3-none-any.whl → 3.57.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +72 -0
- pulumi_alicloud/_inputs.py +9 -9
- pulumi_alicloud/_utilities.py +35 -0
- pulumi_alicloud/actiontrail/get_trails.py +1 -3
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +1 -3
- pulumi_alicloud/actiontrail/trail.py +9 -27
- pulumi_alicloud/actiontrail/trail_deprecated.py +9 -27
- pulumi_alicloud/adb/cluster.py +6 -18
- pulumi_alicloud/adb/db_cluster.py +6 -18
- pulumi_alicloud/alb/acl.py +3 -9
- pulumi_alicloud/alb/get_load_balancers.py +1 -3
- pulumi_alicloud/alb/listener.py +3 -9
- pulumi_alicloud/alb/outputs.py +1 -3
- pulumi_alicloud/alikafka/instance.py +3 -9
- pulumi_alicloud/cas/certificate.py +3 -9
- pulumi_alicloud/cas/outputs.py +2 -6
- pulumi_alicloud/cas/service_certificate.py +3 -9
- pulumi_alicloud/cddc/dedicated_host_account.py +4 -0
- pulumi_alicloud/cddc/dedicated_host_group.py +4 -0
- pulumi_alicloud/cdn/domain.py +45 -135
- pulumi_alicloud/cen/bandwidth_package.py +9 -27
- pulumi_alicloud/cen/get_transit_router_available_resources.py +32 -11
- pulumi_alicloud/cen/instance.py +3 -9
- pulumi_alicloud/cen/outputs.py +23 -1
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +6 -18
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +3 -9
- pulumi_alicloud/cfg/compliance_pack.py +3 -9
- pulumi_alicloud/cfg/get_rules.py +1 -3
- pulumi_alicloud/cfg/remediation.py +10 -2
- pulumi_alicloud/cfg/rule.py +9 -27
- pulumi_alicloud/clickhouse/account.py +6 -18
- pulumi_alicloud/clickhouse/db_cluster.py +47 -0
- pulumi_alicloud/cloudfirewall/instance.py +3 -9
- pulumi_alicloud/cms/__init__.py +1 -0
- pulumi_alicloud/cms/_inputs.py +18 -18
- pulumi_alicloud/cms/alarm.py +47 -53
- pulumi_alicloud/cms/get_site_monitors.py +243 -0
- pulumi_alicloud/cms/outputs.py +92 -18
- pulumi_alicloud/config/outputs.py +6 -6
- pulumi_alicloud/cs/_inputs.py +2 -6
- pulumi_alicloud/cs/cluster.py +3 -9
- pulumi_alicloud/cs/edge_kubernetes.py +6 -18
- pulumi_alicloud/cs/kubernetes.py +3 -9
- pulumi_alicloud/cs/kubernetes_addon.py +2 -2
- pulumi_alicloud/cs/node_pool.py +29 -59
- pulumi_alicloud/cs/outputs.py +2 -6
- pulumi_alicloud/cs/serverless_kubernetes.py +9 -27
- pulumi_alicloud/cs/swarm.py +3 -9
- pulumi_alicloud/databasefilesystem/instance.py +6 -18
- pulumi_alicloud/ddos/bgp_ip.py +53 -2
- pulumi_alicloud/dms/enterprise_instance.py +5 -15
- pulumi_alicloud/dms/enterprise_user.py +3 -9
- pulumi_alicloud/dns/domain_group.py +3 -9
- pulumi_alicloud/drds/get_instances.py +1 -3
- pulumi_alicloud/eci/_inputs.py +12 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/_inputs.py +10 -14
- pulumi_alicloud/ecs/copy_image.py +3 -9
- pulumi_alicloud/ecs/disk.py +6 -18
- pulumi_alicloud/ecs/ecs_disk.py +13 -25
- pulumi_alicloud/ecs/ecs_key_pair.py +3 -9
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +3 -9
- pulumi_alicloud/ecs/ecs_launch_template.py +18 -54
- pulumi_alicloud/ecs/ecs_network_interface.py +15 -45
- pulumi_alicloud/ecs/ecs_snapshot.py +3 -9
- pulumi_alicloud/ecs/eip.py +7 -19
- pulumi_alicloud/ecs/eip_address.py +501 -317
- pulumi_alicloud/ecs/eip_association.py +205 -58
- pulumi_alicloud/ecs/eip_segment_address.py +311 -133
- pulumi_alicloud/ecs/get_disks.py +2 -6
- pulumi_alicloud/ecs/get_ecs_disks.py +2 -6
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +1 -3
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +2 -6
- pulumi_alicloud/ecs/get_eip_addresses.py +2 -6
- pulumi_alicloud/ecs/get_eips.py +2 -6
- pulumi_alicloud/ecs/get_key_pairs.py +1 -3
- pulumi_alicloud/ecs/get_network_interfaces.py +2 -6
- pulumi_alicloud/ecs/image.py +3 -9
- pulumi_alicloud/ecs/image_copy.py +3 -9
- pulumi_alicloud/ecs/image_import.py +162 -100
- pulumi_alicloud/ecs/instance.py +26 -24
- pulumi_alicloud/ecs/key_pair.py +3 -9
- pulumi_alicloud/ecs/key_pair_attachment.py +3 -9
- pulumi_alicloud/ecs/launch_template.py +18 -54
- pulumi_alicloud/ecs/outputs.py +10 -14
- pulumi_alicloud/ecs/reserved_instance.py +3 -9
- pulumi_alicloud/ecs/security_group.py +3 -9
- pulumi_alicloud/ecs/security_group_rule.py +2 -2
- pulumi_alicloud/ecs/snapshot.py +3 -9
- pulumi_alicloud/edas/k8s_application.py +12 -36
- pulumi_alicloud/eds/network_package.py +22 -8
- pulumi_alicloud/eds/outputs.py +2 -6
- pulumi_alicloud/eds/simple_office_site.py +6 -18
- pulumi_alicloud/ess/_inputs.py +89 -3
- pulumi_alicloud/ess/alarm.py +132 -38
- pulumi_alicloud/ess/outputs.py +88 -3
- pulumi_alicloud/ess/scaling_configuration.py +6 -18
- pulumi_alicloud/ess/scaling_group.py +151 -16
- pulumi_alicloud/expressconnect/__init__.py +8 -0
- pulumi_alicloud/expressconnect/_inputs.py +40 -0
- pulumi_alicloud/expressconnect/outputs.py +51 -0
- pulumi_alicloud/expressconnect/router_express_connect_router.py +458 -0
- pulumi_alicloud/expressconnect/router_tr_association.py +578 -0
- pulumi_alicloud/expressconnect/router_vbr_child_instance.py +475 -0
- pulumi_alicloud/expressconnect/router_vpc_association.py +500 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +284 -0
- pulumi_alicloud/expressconnect/traffic_qos_association.py +336 -0
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +520 -0
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +1174 -0
- pulumi_alicloud/ga/acl.py +3 -9
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/db_resource_group.py +364 -0
- pulumi_alicloud/gpdb/instance.py +62 -45
- pulumi_alicloud/hbase/get_instance_types.py +2 -2
- pulumi_alicloud/hbr/ecs_backup_plan.py +3 -9
- pulumi_alicloud/hbr/nas_backup_plan.py +3 -9
- pulumi_alicloud/hbr/ots_backup_plan.py +3 -9
- pulumi_alicloud/kms/key.py +9 -27
- pulumi_alicloud/kvstore/_inputs.py +2 -6
- pulumi_alicloud/kvstore/get_instance_classes.py +3 -9
- pulumi_alicloud/kvstore/instance.py +23 -69
- pulumi_alicloud/kvstore/outputs.py +2 -6
- pulumi_alicloud/lindorm/instance.py +3 -9
- pulumi_alicloud/log/_inputs.py +1 -3
- pulumi_alicloud/log/alert.py +21 -63
- pulumi_alicloud/log/oss_shipper.py +4 -0
- pulumi_alicloud/log/outputs.py +1 -3
- pulumi_alicloud/log/project.py +3 -9
- pulumi_alicloud/log/store.py +6 -18
- pulumi_alicloud/mongodb/instance.py +7 -7
- pulumi_alicloud/mongodb/sharding_instance.py +54 -7
- pulumi_alicloud/nas/access_group.py +6 -18
- pulumi_alicloud/nas/get_access_groups.py +1 -3
- pulumi_alicloud/nas/get_mount_targets.py +2 -6
- pulumi_alicloud/nlb/server_group.py +3 -9
- pulumi_alicloud/oss/bucket.py +6 -18
- pulumi_alicloud/oss/bucket_cors.py +8 -4
- pulumi_alicloud/oss/bucket_data_redundancy_transition.py +12 -4
- pulumi_alicloud/oss/bucket_policy.py +2 -2
- pulumi_alicloud/oss/bucket_public_access_block.py +12 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -2
- pulumi_alicloud/ots/instance.py +7 -7
- pulumi_alicloud/ots/table.py +149 -8
- pulumi_alicloud/provider.py +8 -24
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone.py +3 -9
- pulumi_alicloud/pvtz/zone_record.py +3 -9
- pulumi_alicloud/ram/policy.py +12 -36
- pulumi_alicloud/ram/role.py +9 -27
- pulumi_alicloud/rds/account.py +15 -45
- pulumi_alicloud/rds/backup_policy.py +15 -45
- pulumi_alicloud/rds/get_zones.py +1 -3
- pulumi_alicloud/rds/instance.py +27 -18
- pulumi_alicloud/rds/rds_account.py +15 -45
- pulumi_alicloud/resourcemanager/policy.py +3 -9
- pulumi_alicloud/resourcemanager/policy_version.py +3 -9
- pulumi_alicloud/resourcemanager/resource_group.py +3 -9
- pulumi_alicloud/rocketmq/group.py +3 -9
- pulumi_alicloud/rocketmq/instance.py +3 -9
- pulumi_alicloud/rocketmq/topic.py +6 -18
- pulumi_alicloud/sae/application.py +30 -90
- pulumi_alicloud/sae/load_balancer_internet.py +4 -2
- pulumi_alicloud/sae/load_balancer_intranet.py +4 -2
- pulumi_alicloud/scdn/domain.py +3 -9
- pulumi_alicloud/servicecatalog/get_launch_options.py +1 -3
- pulumi_alicloud/servicecatalog/get_product_versions.py +1 -3
- pulumi_alicloud/servicecatalog/get_provisioned_products.py +1 -3
- pulumi_alicloud/servicemesh/_inputs.py +0 -6
- pulumi_alicloud/servicemesh/outputs.py +0 -6
- pulumi_alicloud/servicemesh/service_mesh.py +2 -2
- pulumi_alicloud/simpleapplicationserver/snapshot.py +10 -2
- pulumi_alicloud/slb/acl.py +3 -9
- pulumi_alicloud/slb/application_load_balancer.py +6 -18
- pulumi_alicloud/slb/ca_certificate.py +3 -9
- pulumi_alicloud/slb/get_application_load_balancers.py +1 -3
- pulumi_alicloud/slb/get_load_balancers.py +1 -3
- pulumi_alicloud/slb/get_zones.py +1 -3
- pulumi_alicloud/slb/listener.py +9 -27
- pulumi_alicloud/slb/load_balancer.py +6 -18
- pulumi_alicloud/slb/outputs.py +1 -3
- pulumi_alicloud/slb/server_certificate.py +6 -18
- pulumi_alicloud/slb/server_group.py +3 -9
- pulumi_alicloud/threatdetection/instance.py +3 -9
- pulumi_alicloud/vpc/bgp_peer.py +36 -8
- pulumi_alicloud/vpc/common_bandwith_package.py +200 -129
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +58 -30
- pulumi_alicloud/vpc/dhcp_options_set.py +3 -9
- pulumi_alicloud/vpc/forward_entry.py +3 -9
- pulumi_alicloud/vpc/ha_vip.py +3 -9
- pulumi_alicloud/vpc/ha_vip_attachment.py +3 -9
- pulumi_alicloud/vpc/ha_vipv2.py +3 -9
- pulumi_alicloud/vpc/ipv6_gateway.py +3 -9
- pulumi_alicloud/vpc/network.py +8 -28
- pulumi_alicloud/vpc/network_acl.py +3 -9
- pulumi_alicloud/vpc/network_interface.py +15 -45
- pulumi_alicloud/vpc/route_entry.py +3 -9
- pulumi_alicloud/vpc/route_table.py +3 -9
- pulumi_alicloud/vpc/router_interface.py +13 -39
- pulumi_alicloud/vpc/router_interface_connection.py +2 -2
- pulumi_alicloud/vpc/subnet.py +6 -18
- pulumi_alicloud/vpc/switch.py +6 -18
- pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +3 -9
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +3 -9
- pulumi_alicloud/vpn/connection.py +223 -9
- pulumi_alicloud/vpn/customer_gateway.py +3 -9
- pulumi_alicloud/vpn/gateway.py +6 -18
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +1 -3
- pulumi_alicloud/vpn/get_gateways.py +1 -3
- pulumi_alicloud/vpn/ipsec_server.py +20 -12
- pulumi_alicloud/vpn/pbr_route_entry.py +152 -16
- pulumi_alicloud/vpn/route_entry.py +158 -44
- pulumi_alicloud/waf/domain.py +3 -9
- {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/RECORD +217 -207
- {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/top_level.txt +0 -0
|
@@ -19,6 +19,8 @@ class ScalingGroupArgs:
|
|
|
19
19
|
max_size: pulumi.Input[int],
|
|
20
20
|
min_size: pulumi.Input[int],
|
|
21
21
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
|
|
22
|
+
allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
23
|
+
az_balance: Optional[pulumi.Input[bool]] = None,
|
|
22
24
|
db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
23
25
|
default_cooldown: Optional[pulumi.Input[int]] = None,
|
|
24
26
|
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -36,6 +38,7 @@ class ScalingGroupArgs:
|
|
|
36
38
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
37
39
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
38
40
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
41
|
+
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
39
42
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
40
43
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
41
44
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -48,6 +51,8 @@ class ScalingGroupArgs:
|
|
|
48
51
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
49
52
|
**NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
|
|
50
53
|
: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.
|
|
54
|
+
:param pulumi.Input[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.
|
|
55
|
+
:param pulumi.Input[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.
|
|
51
56
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
|
|
52
57
|
- The specified RDS instance must be in running status.
|
|
53
58
|
- The specified RDS instance’s whitelist must have room for more IP addresses.
|
|
@@ -65,7 +70,7 @@ class ScalingGroupArgs:
|
|
|
65
70
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
66
71
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
67
72
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
68
|
-
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
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).
|
|
69
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.
|
|
70
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.
|
|
71
76
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
|
|
@@ -76,6 +81,7 @@ class ScalingGroupArgs:
|
|
|
76
81
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
77
82
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
78
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.
|
|
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.
|
|
79
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.
|
|
80
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.
|
|
81
87
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -88,6 +94,10 @@ class ScalingGroupArgs:
|
|
|
88
94
|
pulumi.set(__self__, "min_size", min_size)
|
|
89
95
|
if alb_server_groups is not None:
|
|
90
96
|
pulumi.set(__self__, "alb_server_groups", alb_server_groups)
|
|
97
|
+
if allocation_strategy is not None:
|
|
98
|
+
pulumi.set(__self__, "allocation_strategy", allocation_strategy)
|
|
99
|
+
if az_balance is not None:
|
|
100
|
+
pulumi.set(__self__, "az_balance", az_balance)
|
|
91
101
|
if db_instance_ids is not None:
|
|
92
102
|
pulumi.set(__self__, "db_instance_ids", db_instance_ids)
|
|
93
103
|
if default_cooldown is not None:
|
|
@@ -122,6 +132,8 @@ class ScalingGroupArgs:
|
|
|
122
132
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
123
133
|
if scaling_group_name is not None:
|
|
124
134
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
135
|
+
if spot_allocation_strategy is not None:
|
|
136
|
+
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
125
137
|
if spot_instance_pools is not None:
|
|
126
138
|
pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
|
|
127
139
|
if spot_instance_remedy is not None:
|
|
@@ -174,6 +186,30 @@ class ScalingGroupArgs:
|
|
|
174
186
|
def alb_server_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]]):
|
|
175
187
|
pulumi.set(self, "alb_server_groups", value)
|
|
176
188
|
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter(name="allocationStrategy")
|
|
191
|
+
def allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
"""
|
|
193
|
+
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.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "allocation_strategy")
|
|
196
|
+
|
|
197
|
+
@allocation_strategy.setter
|
|
198
|
+
def allocation_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
pulumi.set(self, "allocation_strategy", value)
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
@pulumi.getter(name="azBalance")
|
|
203
|
+
def az_balance(self) -> Optional[pulumi.Input[bool]]:
|
|
204
|
+
"""
|
|
205
|
+
Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
206
|
+
"""
|
|
207
|
+
return pulumi.get(self, "az_balance")
|
|
208
|
+
|
|
209
|
+
@az_balance.setter
|
|
210
|
+
def az_balance(self, value: Optional[pulumi.Input[bool]]):
|
|
211
|
+
pulumi.set(self, "az_balance", value)
|
|
212
|
+
|
|
177
213
|
@property
|
|
178
214
|
@pulumi.getter(name="dbInstanceIds")
|
|
179
215
|
def db_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -305,7 +341,7 @@ class ScalingGroupArgs:
|
|
|
305
341
|
@pulumi.getter(name="multiAzPolicy")
|
|
306
342
|
def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
|
|
307
343
|
"""
|
|
308
|
-
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
344
|
+
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
309
345
|
"""
|
|
310
346
|
return pulumi.get(self, "multi_az_policy")
|
|
311
347
|
|
|
@@ -389,6 +425,18 @@ class ScalingGroupArgs:
|
|
|
389
425
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
390
426
|
pulumi.set(self, "scaling_group_name", value)
|
|
391
427
|
|
|
428
|
+
@property
|
|
429
|
+
@pulumi.getter(name="spotAllocationStrategy")
|
|
430
|
+
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
431
|
+
"""
|
|
432
|
+
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.
|
|
433
|
+
"""
|
|
434
|
+
return pulumi.get(self, "spot_allocation_strategy")
|
|
435
|
+
|
|
436
|
+
@spot_allocation_strategy.setter
|
|
437
|
+
def spot_allocation_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
438
|
+
pulumi.set(self, "spot_allocation_strategy", value)
|
|
439
|
+
|
|
392
440
|
@property
|
|
393
441
|
@pulumi.getter(name="spotInstancePools")
|
|
394
442
|
def spot_instance_pools(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -429,13 +477,11 @@ class ScalingGroupArgs:
|
|
|
429
477
|
|
|
430
478
|
@property
|
|
431
479
|
@pulumi.getter(name="vswitchId")
|
|
480
|
+
@_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
432
481
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
433
482
|
"""
|
|
434
483
|
It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
|
|
435
484
|
"""
|
|
436
|
-
warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
|
|
437
|
-
pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
438
|
-
|
|
439
485
|
return pulumi.get(self, "vswitch_id")
|
|
440
486
|
|
|
441
487
|
@vswitch_id.setter
|
|
@@ -459,6 +505,8 @@ class ScalingGroupArgs:
|
|
|
459
505
|
class _ScalingGroupState:
|
|
460
506
|
def __init__(__self__, *,
|
|
461
507
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
|
|
508
|
+
allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
509
|
+
az_balance: Optional[pulumi.Input[bool]] = None,
|
|
462
510
|
db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
463
511
|
default_cooldown: Optional[pulumi.Input[int]] = None,
|
|
464
512
|
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -478,6 +526,7 @@ class _ScalingGroupState:
|
|
|
478
526
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
479
527
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
480
528
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
529
|
+
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
481
530
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
482
531
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
483
532
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -486,6 +535,8 @@ class _ScalingGroupState:
|
|
|
486
535
|
"""
|
|
487
536
|
Input properties used for looking up and filtering ScalingGroup resources.
|
|
488
537
|
: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.
|
|
538
|
+
:param pulumi.Input[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.
|
|
539
|
+
:param pulumi.Input[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.
|
|
489
540
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
|
|
490
541
|
- The specified RDS instance must be in running status.
|
|
491
542
|
- The specified RDS instance’s whitelist must have room for more IP addresses.
|
|
@@ -507,7 +558,7 @@ class _ScalingGroupState:
|
|
|
507
558
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
508
559
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
509
560
|
**NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
|
|
510
|
-
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
561
|
+
: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).
|
|
511
562
|
: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.
|
|
512
563
|
: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.
|
|
513
564
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
|
|
@@ -518,6 +569,7 @@ class _ScalingGroupState:
|
|
|
518
569
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
519
570
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
520
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.
|
|
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.
|
|
521
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.
|
|
522
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.
|
|
523
575
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -528,6 +580,10 @@ class _ScalingGroupState:
|
|
|
528
580
|
"""
|
|
529
581
|
if alb_server_groups is not None:
|
|
530
582
|
pulumi.set(__self__, "alb_server_groups", alb_server_groups)
|
|
583
|
+
if allocation_strategy is not None:
|
|
584
|
+
pulumi.set(__self__, "allocation_strategy", allocation_strategy)
|
|
585
|
+
if az_balance is not None:
|
|
586
|
+
pulumi.set(__self__, "az_balance", az_balance)
|
|
531
587
|
if db_instance_ids is not None:
|
|
532
588
|
pulumi.set(__self__, "db_instance_ids", db_instance_ids)
|
|
533
589
|
if default_cooldown is not None:
|
|
@@ -566,6 +622,8 @@ class _ScalingGroupState:
|
|
|
566
622
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
567
623
|
if scaling_group_name is not None:
|
|
568
624
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
625
|
+
if spot_allocation_strategy is not None:
|
|
626
|
+
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
569
627
|
if spot_instance_pools is not None:
|
|
570
628
|
pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
|
|
571
629
|
if spot_instance_remedy is not None:
|
|
@@ -592,6 +650,30 @@ class _ScalingGroupState:
|
|
|
592
650
|
def alb_server_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]]):
|
|
593
651
|
pulumi.set(self, "alb_server_groups", value)
|
|
594
652
|
|
|
653
|
+
@property
|
|
654
|
+
@pulumi.getter(name="allocationStrategy")
|
|
655
|
+
def allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
656
|
+
"""
|
|
657
|
+
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.
|
|
658
|
+
"""
|
|
659
|
+
return pulumi.get(self, "allocation_strategy")
|
|
660
|
+
|
|
661
|
+
@allocation_strategy.setter
|
|
662
|
+
def allocation_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
663
|
+
pulumi.set(self, "allocation_strategy", value)
|
|
664
|
+
|
|
665
|
+
@property
|
|
666
|
+
@pulumi.getter(name="azBalance")
|
|
667
|
+
def az_balance(self) -> Optional[pulumi.Input[bool]]:
|
|
668
|
+
"""
|
|
669
|
+
Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
670
|
+
"""
|
|
671
|
+
return pulumi.get(self, "az_balance")
|
|
672
|
+
|
|
673
|
+
@az_balance.setter
|
|
674
|
+
def az_balance(self, value: Optional[pulumi.Input[bool]]):
|
|
675
|
+
pulumi.set(self, "az_balance", value)
|
|
676
|
+
|
|
595
677
|
@property
|
|
596
678
|
@pulumi.getter(name="dbInstanceIds")
|
|
597
679
|
def db_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -749,7 +831,7 @@ class _ScalingGroupState:
|
|
|
749
831
|
@pulumi.getter(name="multiAzPolicy")
|
|
750
832
|
def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
|
|
751
833
|
"""
|
|
752
|
-
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
834
|
+
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
753
835
|
"""
|
|
754
836
|
return pulumi.get(self, "multi_az_policy")
|
|
755
837
|
|
|
@@ -833,6 +915,18 @@ class _ScalingGroupState:
|
|
|
833
915
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
834
916
|
pulumi.set(self, "scaling_group_name", value)
|
|
835
917
|
|
|
918
|
+
@property
|
|
919
|
+
@pulumi.getter(name="spotAllocationStrategy")
|
|
920
|
+
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
921
|
+
"""
|
|
922
|
+
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.
|
|
923
|
+
"""
|
|
924
|
+
return pulumi.get(self, "spot_allocation_strategy")
|
|
925
|
+
|
|
926
|
+
@spot_allocation_strategy.setter
|
|
927
|
+
def spot_allocation_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
928
|
+
pulumi.set(self, "spot_allocation_strategy", value)
|
|
929
|
+
|
|
836
930
|
@property
|
|
837
931
|
@pulumi.getter(name="spotInstancePools")
|
|
838
932
|
def spot_instance_pools(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -873,13 +967,11 @@ class _ScalingGroupState:
|
|
|
873
967
|
|
|
874
968
|
@property
|
|
875
969
|
@pulumi.getter(name="vswitchId")
|
|
970
|
+
@_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
876
971
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
877
972
|
"""
|
|
878
973
|
It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
|
|
879
974
|
"""
|
|
880
|
-
warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
|
|
881
|
-
pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
882
|
-
|
|
883
975
|
return pulumi.get(self, "vswitch_id")
|
|
884
976
|
|
|
885
977
|
@vswitch_id.setter
|
|
@@ -905,6 +997,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
905
997
|
resource_name: str,
|
|
906
998
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
907
999
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
|
|
1000
|
+
allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1001
|
+
az_balance: Optional[pulumi.Input[bool]] = None,
|
|
908
1002
|
db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
909
1003
|
default_cooldown: Optional[pulumi.Input[int]] = None,
|
|
910
1004
|
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -924,6 +1018,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
924
1018
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
925
1019
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
926
1020
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1021
|
+
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
927
1022
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
928
1023
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
929
1024
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -1020,6 +1115,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1020
1115
|
:param str resource_name: The name of the resource.
|
|
1021
1116
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1022
1117
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
|
|
1118
|
+
:param pulumi.Input[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.
|
|
1119
|
+
:param pulumi.Input[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.
|
|
1023
1120
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
|
|
1024
1121
|
- The specified RDS instance must be in running status.
|
|
1025
1122
|
- The specified RDS instance’s whitelist must have room for more IP addresses.
|
|
@@ -1041,7 +1138,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1041
1138
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1042
1139
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1043
1140
|
**NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
|
|
1044
|
-
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
1141
|
+
: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).
|
|
1045
1142
|
: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.
|
|
1046
1143
|
: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.
|
|
1047
1144
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
|
|
@@ -1052,6 +1149,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1052
1149
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1053
1150
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1054
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.
|
|
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.
|
|
1055
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.
|
|
1056
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.
|
|
1057
1155
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -1169,6 +1267,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1169
1267
|
resource_name: str,
|
|
1170
1268
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1171
1269
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
|
|
1270
|
+
allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1271
|
+
az_balance: Optional[pulumi.Input[bool]] = None,
|
|
1172
1272
|
db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1173
1273
|
default_cooldown: Optional[pulumi.Input[int]] = None,
|
|
1174
1274
|
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -1188,6 +1288,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1188
1288
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1189
1289
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1190
1290
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1291
|
+
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1191
1292
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1192
1293
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
1193
1294
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -1203,6 +1304,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1203
1304
|
__props__ = ScalingGroupArgs.__new__(ScalingGroupArgs)
|
|
1204
1305
|
|
|
1205
1306
|
__props__.__dict__["alb_server_groups"] = alb_server_groups
|
|
1307
|
+
__props__.__dict__["allocation_strategy"] = allocation_strategy
|
|
1308
|
+
__props__.__dict__["az_balance"] = az_balance
|
|
1206
1309
|
__props__.__dict__["db_instance_ids"] = db_instance_ids
|
|
1207
1310
|
__props__.__dict__["default_cooldown"] = default_cooldown
|
|
1208
1311
|
__props__.__dict__["desired_capacity"] = desired_capacity
|
|
@@ -1226,6 +1329,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1226
1329
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1227
1330
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1228
1331
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1332
|
+
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1229
1333
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1230
1334
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
1231
1335
|
__props__.__dict__["tags"] = tags
|
|
@@ -1242,6 +1346,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1242
1346
|
id: pulumi.Input[str],
|
|
1243
1347
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1244
1348
|
alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
|
|
1349
|
+
allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1350
|
+
az_balance: Optional[pulumi.Input[bool]] = None,
|
|
1245
1351
|
db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1246
1352
|
default_cooldown: Optional[pulumi.Input[int]] = None,
|
|
1247
1353
|
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -1261,6 +1367,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1261
1367
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1262
1368
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1263
1369
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1370
|
+
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1264
1371
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1265
1372
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
1266
1373
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -1274,6 +1381,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1274
1381
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1275
1382
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1276
1383
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
|
|
1384
|
+
:param pulumi.Input[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.
|
|
1385
|
+
:param pulumi.Input[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.
|
|
1277
1386
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
|
|
1278
1387
|
- The specified RDS instance must be in running status.
|
|
1279
1388
|
- The specified RDS instance’s whitelist must have room for more IP addresses.
|
|
@@ -1295,7 +1404,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1295
1404
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1296
1405
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1297
1406
|
**NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
|
|
1298
|
-
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
1407
|
+
: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).
|
|
1299
1408
|
: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.
|
|
1300
1409
|
: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.
|
|
1301
1410
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
|
|
@@ -1306,6 +1415,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1306
1415
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1307
1416
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1308
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.
|
|
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.
|
|
1309
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.
|
|
1310
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.
|
|
1311
1421
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -1319,6 +1429,8 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1319
1429
|
__props__ = _ScalingGroupState.__new__(_ScalingGroupState)
|
|
1320
1430
|
|
|
1321
1431
|
__props__.__dict__["alb_server_groups"] = alb_server_groups
|
|
1432
|
+
__props__.__dict__["allocation_strategy"] = allocation_strategy
|
|
1433
|
+
__props__.__dict__["az_balance"] = az_balance
|
|
1322
1434
|
__props__.__dict__["db_instance_ids"] = db_instance_ids
|
|
1323
1435
|
__props__.__dict__["default_cooldown"] = default_cooldown
|
|
1324
1436
|
__props__.__dict__["desired_capacity"] = desired_capacity
|
|
@@ -1338,6 +1450,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1338
1450
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1339
1451
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1340
1452
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1453
|
+
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1341
1454
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1342
1455
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
1343
1456
|
__props__.__dict__["tags"] = tags
|
|
@@ -1353,6 +1466,22 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1353
1466
|
"""
|
|
1354
1467
|
return pulumi.get(self, "alb_server_groups")
|
|
1355
1468
|
|
|
1469
|
+
@property
|
|
1470
|
+
@pulumi.getter(name="allocationStrategy")
|
|
1471
|
+
def allocation_strategy(self) -> pulumi.Output[str]:
|
|
1472
|
+
"""
|
|
1473
|
+
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.
|
|
1474
|
+
"""
|
|
1475
|
+
return pulumi.get(self, "allocation_strategy")
|
|
1476
|
+
|
|
1477
|
+
@property
|
|
1478
|
+
@pulumi.getter(name="azBalance")
|
|
1479
|
+
def az_balance(self) -> pulumi.Output[Optional[bool]]:
|
|
1480
|
+
"""
|
|
1481
|
+
Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1482
|
+
"""
|
|
1483
|
+
return pulumi.get(self, "az_balance")
|
|
1484
|
+
|
|
1356
1485
|
@property
|
|
1357
1486
|
@pulumi.getter(name="dbInstanceIds")
|
|
1358
1487
|
def db_instance_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
@@ -1462,7 +1591,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1462
1591
|
@pulumi.getter(name="multiAzPolicy")
|
|
1463
1592
|
def multi_az_policy(self) -> pulumi.Output[Optional[str]]:
|
|
1464
1593
|
"""
|
|
1465
|
-
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
1594
|
+
Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
1466
1595
|
"""
|
|
1467
1596
|
return pulumi.get(self, "multi_az_policy")
|
|
1468
1597
|
|
|
@@ -1518,6 +1647,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1518
1647
|
"""
|
|
1519
1648
|
return pulumi.get(self, "scaling_group_name")
|
|
1520
1649
|
|
|
1650
|
+
@property
|
|
1651
|
+
@pulumi.getter(name="spotAllocationStrategy")
|
|
1652
|
+
def spot_allocation_strategy(self) -> pulumi.Output[str]:
|
|
1653
|
+
"""
|
|
1654
|
+
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.
|
|
1655
|
+
"""
|
|
1656
|
+
return pulumi.get(self, "spot_allocation_strategy")
|
|
1657
|
+
|
|
1521
1658
|
@property
|
|
1522
1659
|
@pulumi.getter(name="spotInstancePools")
|
|
1523
1660
|
def spot_instance_pools(self) -> pulumi.Output[int]:
|
|
@@ -1546,13 +1683,11 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1546
1683
|
|
|
1547
1684
|
@property
|
|
1548
1685
|
@pulumi.getter(name="vswitchId")
|
|
1686
|
+
@_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
1549
1687
|
def vswitch_id(self) -> pulumi.Output[Optional[str]]:
|
|
1550
1688
|
"""
|
|
1551
1689
|
It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
|
|
1552
1690
|
"""
|
|
1553
|
-
warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
|
|
1554
|
-
pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
|
|
1555
|
-
|
|
1556
1691
|
return pulumi.get(self, "vswitch_id")
|
|
1557
1692
|
|
|
1558
1693
|
@property
|
|
@@ -16,7 +16,15 @@ from .get_virtual_border_routers import *
|
|
|
16
16
|
from .get_virtual_physical_connections import *
|
|
17
17
|
from .grant_rule_to_cen import *
|
|
18
18
|
from .physical_connection import *
|
|
19
|
+
from .router_express_connect_router import *
|
|
19
20
|
from .router_interface import *
|
|
21
|
+
from .router_tr_association import *
|
|
22
|
+
from .router_vbr_child_instance import *
|
|
23
|
+
from .router_vpc_association import *
|
|
24
|
+
from .traffic_qos import *
|
|
25
|
+
from .traffic_qos_association import *
|
|
26
|
+
from .traffic_qos_queue import *
|
|
27
|
+
from .traffic_qos_rule import *
|
|
20
28
|
from .vbr_pconn_association import *
|
|
21
29
|
from .virtual_border_router import *
|
|
22
30
|
from .virtual_physical_connection import *
|
|
@@ -10,10 +10,50 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
|
10
10
|
from .. import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
13
|
+
'RouterExpressConnectRouterRegionArgs',
|
|
13
14
|
'GetRouterInterfacesFilterArgs',
|
|
14
15
|
'GetVirtualBorderRoutersFilterArgs',
|
|
15
16
|
]
|
|
16
17
|
|
|
18
|
+
@pulumi.input_type
|
|
19
|
+
class RouterExpressConnectRouterRegionArgs:
|
|
20
|
+
def __init__(__self__, *,
|
|
21
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
transit_mode: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
"""
|
|
24
|
+
:param pulumi.Input[str] region_id: Representative region ID.
|
|
25
|
+
:param pulumi.Input[str] transit_mode: Represents the forwarding mode of the current region.
|
|
26
|
+
"""
|
|
27
|
+
if region_id is not None:
|
|
28
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
29
|
+
if transit_mode is not None:
|
|
30
|
+
pulumi.set(__self__, "transit_mode", transit_mode)
|
|
31
|
+
|
|
32
|
+
@property
|
|
33
|
+
@pulumi.getter(name="regionId")
|
|
34
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
35
|
+
"""
|
|
36
|
+
Representative region ID.
|
|
37
|
+
"""
|
|
38
|
+
return pulumi.get(self, "region_id")
|
|
39
|
+
|
|
40
|
+
@region_id.setter
|
|
41
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
42
|
+
pulumi.set(self, "region_id", value)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
@pulumi.getter(name="transitMode")
|
|
46
|
+
def transit_mode(self) -> Optional[pulumi.Input[str]]:
|
|
47
|
+
"""
|
|
48
|
+
Represents the forwarding mode of the current region.
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "transit_mode")
|
|
51
|
+
|
|
52
|
+
@transit_mode.setter
|
|
53
|
+
def transit_mode(self, value: Optional[pulumi.Input[str]]):
|
|
54
|
+
pulumi.set(self, "transit_mode", value)
|
|
55
|
+
|
|
56
|
+
|
|
17
57
|
@pulumi.input_type
|
|
18
58
|
class GetRouterInterfacesFilterArgs:
|
|
19
59
|
def __init__(__self__, *,
|
|
@@ -11,6 +11,7 @@ from .. import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
+
'RouterExpressConnectRouterRegion',
|
|
14
15
|
'GetAccessPointsPointResult',
|
|
15
16
|
'GetAccessPointsPointAccessPointFeatureModelResult',
|
|
16
17
|
'GetGrantRuleToCensCenResult',
|
|
@@ -23,6 +24,56 @@ __all__ = [
|
|
|
23
24
|
'GetVirtualPhysicalConnectionsConnectionResult',
|
|
24
25
|
]
|
|
25
26
|
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class RouterExpressConnectRouterRegion(dict):
|
|
29
|
+
@staticmethod
|
|
30
|
+
def __key_warning(key: str):
|
|
31
|
+
suggest = None
|
|
32
|
+
if key == "regionId":
|
|
33
|
+
suggest = "region_id"
|
|
34
|
+
elif key == "transitMode":
|
|
35
|
+
suggest = "transit_mode"
|
|
36
|
+
|
|
37
|
+
if suggest:
|
|
38
|
+
pulumi.log.warn(f"Key '{key}' not found in RouterExpressConnectRouterRegion. Access the value via the '{suggest}' property getter instead.")
|
|
39
|
+
|
|
40
|
+
def __getitem__(self, key: str) -> Any:
|
|
41
|
+
RouterExpressConnectRouterRegion.__key_warning(key)
|
|
42
|
+
return super().__getitem__(key)
|
|
43
|
+
|
|
44
|
+
def get(self, key: str, default = None) -> Any:
|
|
45
|
+
RouterExpressConnectRouterRegion.__key_warning(key)
|
|
46
|
+
return super().get(key, default)
|
|
47
|
+
|
|
48
|
+
def __init__(__self__, *,
|
|
49
|
+
region_id: Optional[str] = None,
|
|
50
|
+
transit_mode: Optional[str] = None):
|
|
51
|
+
"""
|
|
52
|
+
:param str region_id: Representative region ID.
|
|
53
|
+
:param str transit_mode: Represents the forwarding mode of the current region.
|
|
54
|
+
"""
|
|
55
|
+
if region_id is not None:
|
|
56
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
57
|
+
if transit_mode is not None:
|
|
58
|
+
pulumi.set(__self__, "transit_mode", transit_mode)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
@pulumi.getter(name="regionId")
|
|
62
|
+
def region_id(self) -> Optional[str]:
|
|
63
|
+
"""
|
|
64
|
+
Representative region ID.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "region_id")
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter(name="transitMode")
|
|
70
|
+
def transit_mode(self) -> Optional[str]:
|
|
71
|
+
"""
|
|
72
|
+
Represents the forwarding mode of the current region.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "transit_mode")
|
|
75
|
+
|
|
76
|
+
|
|
26
77
|
@pulumi.output_type
|
|
27
78
|
class GetAccessPointsPointResult(dict):
|
|
28
79
|
def __init__(__self__, *,
|