pulumi-alicloud 3.70.0a1734412500__py3-none-any.whl → 3.71.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +35 -0
- pulumi_alicloud/arms/_inputs.py +185 -0
- pulumi_alicloud/arms/dispatch_rule.py +70 -1
- pulumi_alicloud/arms/get_dispatch_rules.py +2 -2
- pulumi_alicloud/arms/get_prometheis.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +2 -2
- pulumi_alicloud/arms/outputs.py +258 -11
- pulumi_alicloud/cen/private_zone.py +73 -69
- pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
- pulumi_alicloud/cfg/rule.py +2 -2
- pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +78 -1
- pulumi_alicloud/ecs/security_group.py +161 -81
- pulumi_alicloud/ecs/snapshot.py +40 -0
- pulumi_alicloud/eds/ram_directory.py +4 -0
- pulumi_alicloud/ess/_inputs.py +54 -0
- pulumi_alicloud/ess/outputs.py +51 -0
- pulumi_alicloud/ess/scaling_configuration.py +47 -0
- pulumi_alicloud/ess/scaling_group.py +47 -0
- pulumi_alicloud/expressconnect/__init__.py +1 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/fc/v3_trigger.py +96 -0
- pulumi_alicloud/kms/_inputs.py +5 -5
- pulumi_alicloud/kms/outputs.py +3 -3
- pulumi_alicloud/kvstore/backup_policy.py +32 -24
- pulumi_alicloud/live/__init__.py +8 -0
- pulumi_alicloud/live/caster.py +1343 -0
- pulumi_alicloud/nas/access_group.py +10 -2
- pulumi_alicloud/nas/access_point.py +10 -2
- pulumi_alicloud/nas/fileset.py +2 -2
- pulumi_alicloud/oos/execution.py +18 -10
- pulumi_alicloud/oos/template.py +14 -6
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/service.py +501 -0
- pulumi_alicloud/polardb/cluster.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/get_organizations.py +12 -2
- pulumi_alicloud/rdc/organization.py +6 -2
- pulumi_alicloud/redis/tair_instance.py +47 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +545 -0
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/RECORD +49 -44
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/snapshot.py
CHANGED
|
@@ -193,12 +193,14 @@ class SnapshotArgs:
|
|
|
193
193
|
class _SnapshotState:
|
|
194
194
|
def __init__(__self__, *,
|
|
195
195
|
category: Optional[pulumi.Input[str]] = None,
|
|
196
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
196
197
|
description: Optional[pulumi.Input[str]] = None,
|
|
197
198
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
198
199
|
force: Optional[pulumi.Input[bool]] = None,
|
|
199
200
|
instant_access: Optional[pulumi.Input[bool]] = None,
|
|
200
201
|
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
|
|
201
202
|
name: Optional[pulumi.Input[str]] = None,
|
|
203
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
202
204
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
203
205
|
retention_days: Optional[pulumi.Input[int]] = None,
|
|
204
206
|
snapshot_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -215,6 +217,8 @@ class _SnapshotState:
|
|
|
215
217
|
"""
|
|
216
218
|
if category is not None:
|
|
217
219
|
pulumi.set(__self__, "category", category)
|
|
220
|
+
if create_time is not None:
|
|
221
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
218
222
|
if description is not None:
|
|
219
223
|
pulumi.set(__self__, "description", description)
|
|
220
224
|
if disk_id is not None:
|
|
@@ -236,6 +240,8 @@ class _SnapshotState:
|
|
|
236
240
|
pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.120.0. New field `snapshot_name` instead.""")
|
|
237
241
|
if name is not None:
|
|
238
242
|
pulumi.set(__self__, "name", name)
|
|
243
|
+
if region_id is not None:
|
|
244
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
239
245
|
if resource_group_id is not None:
|
|
240
246
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
241
247
|
if retention_days is not None:
|
|
@@ -256,6 +262,15 @@ class _SnapshotState:
|
|
|
256
262
|
def category(self, value: Optional[pulumi.Input[str]]):
|
|
257
263
|
pulumi.set(self, "category", value)
|
|
258
264
|
|
|
265
|
+
@property
|
|
266
|
+
@pulumi.getter(name="createTime")
|
|
267
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
268
|
+
return pulumi.get(self, "create_time")
|
|
269
|
+
|
|
270
|
+
@create_time.setter
|
|
271
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
272
|
+
pulumi.set(self, "create_time", value)
|
|
273
|
+
|
|
259
274
|
@property
|
|
260
275
|
@pulumi.getter
|
|
261
276
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -323,6 +338,15 @@ class _SnapshotState:
|
|
|
323
338
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
324
339
|
pulumi.set(self, "name", value)
|
|
325
340
|
|
|
341
|
+
@property
|
|
342
|
+
@pulumi.getter(name="regionId")
|
|
343
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
344
|
+
return pulumi.get(self, "region_id")
|
|
345
|
+
|
|
346
|
+
@region_id.setter
|
|
347
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
348
|
+
pulumi.set(self, "region_id", value)
|
|
349
|
+
|
|
326
350
|
@property
|
|
327
351
|
@pulumi.getter(name="resourceGroupId")
|
|
328
352
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -515,6 +539,8 @@ class Snapshot(pulumi.CustomResource):
|
|
|
515
539
|
__props__.__dict__["retention_days"] = retention_days
|
|
516
540
|
__props__.__dict__["snapshot_name"] = snapshot_name
|
|
517
541
|
__props__.__dict__["tags"] = tags
|
|
542
|
+
__props__.__dict__["create_time"] = None
|
|
543
|
+
__props__.__dict__["region_id"] = None
|
|
518
544
|
__props__.__dict__["status"] = None
|
|
519
545
|
super(Snapshot, __self__).__init__(
|
|
520
546
|
'alicloud:ecs/snapshot:Snapshot',
|
|
@@ -527,12 +553,14 @@ class Snapshot(pulumi.CustomResource):
|
|
|
527
553
|
id: pulumi.Input[str],
|
|
528
554
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
529
555
|
category: Optional[pulumi.Input[str]] = None,
|
|
556
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
530
557
|
description: Optional[pulumi.Input[str]] = None,
|
|
531
558
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
532
559
|
force: Optional[pulumi.Input[bool]] = None,
|
|
533
560
|
instant_access: Optional[pulumi.Input[bool]] = None,
|
|
534
561
|
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
|
|
535
562
|
name: Optional[pulumi.Input[str]] = None,
|
|
563
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
536
564
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
537
565
|
retention_days: Optional[pulumi.Input[int]] = None,
|
|
538
566
|
snapshot_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -557,12 +585,14 @@ class Snapshot(pulumi.CustomResource):
|
|
|
557
585
|
__props__ = _SnapshotState.__new__(_SnapshotState)
|
|
558
586
|
|
|
559
587
|
__props__.__dict__["category"] = category
|
|
588
|
+
__props__.__dict__["create_time"] = create_time
|
|
560
589
|
__props__.__dict__["description"] = description
|
|
561
590
|
__props__.__dict__["disk_id"] = disk_id
|
|
562
591
|
__props__.__dict__["force"] = force
|
|
563
592
|
__props__.__dict__["instant_access"] = instant_access
|
|
564
593
|
__props__.__dict__["instant_access_retention_days"] = instant_access_retention_days
|
|
565
594
|
__props__.__dict__["name"] = name
|
|
595
|
+
__props__.__dict__["region_id"] = region_id
|
|
566
596
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
567
597
|
__props__.__dict__["retention_days"] = retention_days
|
|
568
598
|
__props__.__dict__["snapshot_name"] = snapshot_name
|
|
@@ -575,6 +605,11 @@ class Snapshot(pulumi.CustomResource):
|
|
|
575
605
|
def category(self) -> pulumi.Output[str]:
|
|
576
606
|
return pulumi.get(self, "category")
|
|
577
607
|
|
|
608
|
+
@property
|
|
609
|
+
@pulumi.getter(name="createTime")
|
|
610
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
611
|
+
return pulumi.get(self, "create_time")
|
|
612
|
+
|
|
578
613
|
@property
|
|
579
614
|
@pulumi.getter
|
|
580
615
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -618,6 +653,11 @@ class Snapshot(pulumi.CustomResource):
|
|
|
618
653
|
"""
|
|
619
654
|
return pulumi.get(self, "name")
|
|
620
655
|
|
|
656
|
+
@property
|
|
657
|
+
@pulumi.getter(name="regionId")
|
|
658
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
659
|
+
return pulumi.get(self, "region_id")
|
|
660
|
+
|
|
621
661
|
@property
|
|
622
662
|
@pulumi.getter(name="resourceGroupId")
|
|
623
663
|
def resource_group_id(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -224,6 +224,8 @@ class RamDirectory(pulumi.CustomResource):
|
|
|
224
224
|
|
|
225
225
|
> **NOTE:** Available since v1.174.0.
|
|
226
226
|
|
|
227
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.239.0`.
|
|
228
|
+
|
|
227
229
|
## Example Usage
|
|
228
230
|
|
|
229
231
|
Basic Usage
|
|
@@ -281,6 +283,8 @@ class RamDirectory(pulumi.CustomResource):
|
|
|
281
283
|
|
|
282
284
|
> **NOTE:** Available since v1.174.0.
|
|
283
285
|
|
|
286
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.239.0`.
|
|
287
|
+
|
|
284
288
|
## Example Usage
|
|
285
289
|
|
|
286
290
|
Basic Usage
|
pulumi_alicloud/ess/_inputs.py
CHANGED
|
@@ -47,6 +47,8 @@ __all__ = [
|
|
|
47
47
|
'EciScalingConfigurationVolumeArgsDict',
|
|
48
48
|
'EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs',
|
|
49
49
|
'EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgsDict',
|
|
50
|
+
'ScalingConfigurationCustomPriorityArgs',
|
|
51
|
+
'ScalingConfigurationCustomPriorityArgsDict',
|
|
50
52
|
'ScalingConfigurationDataDiskArgs',
|
|
51
53
|
'ScalingConfigurationDataDiskArgsDict',
|
|
52
54
|
'ScalingConfigurationInstancePatternInfoArgs',
|
|
@@ -2390,6 +2392,58 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs:
|
|
|
2390
2392
|
pulumi.set(self, "path", value)
|
|
2391
2393
|
|
|
2392
2394
|
|
|
2395
|
+
if not MYPY:
|
|
2396
|
+
class ScalingConfigurationCustomPriorityArgsDict(TypedDict):
|
|
2397
|
+
instance_type: NotRequired[pulumi.Input[str]]
|
|
2398
|
+
"""
|
|
2399
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the instance type specified by CustomPriorities.N.InstanceType is contained in the scaling configuration.
|
|
2400
|
+
"""
|
|
2401
|
+
vswitch_id: NotRequired[pulumi.Input[str]]
|
|
2402
|
+
"""
|
|
2403
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the vSwitch specified by CustomPriorities.N.VswitchId is included in the vSwitch list of your scaling group.
|
|
2404
|
+
"""
|
|
2405
|
+
elif False:
|
|
2406
|
+
ScalingConfigurationCustomPriorityArgsDict: TypeAlias = Mapping[str, Any]
|
|
2407
|
+
|
|
2408
|
+
@pulumi.input_type
|
|
2409
|
+
class ScalingConfigurationCustomPriorityArgs:
|
|
2410
|
+
def __init__(__self__, *,
|
|
2411
|
+
instance_type: Optional[pulumi.Input[str]] = None,
|
|
2412
|
+
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
2413
|
+
"""
|
|
2414
|
+
:param pulumi.Input[str] instance_type: This parameter takes effect only if you set Scaling Policy to Priority Policy and the instance type specified by CustomPriorities.N.InstanceType is contained in the scaling configuration.
|
|
2415
|
+
:param pulumi.Input[str] vswitch_id: This parameter takes effect only if you set Scaling Policy to Priority Policy and the vSwitch specified by CustomPriorities.N.VswitchId is included in the vSwitch list of your scaling group.
|
|
2416
|
+
"""
|
|
2417
|
+
if instance_type is not None:
|
|
2418
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
|
2419
|
+
if vswitch_id is not None:
|
|
2420
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
2421
|
+
|
|
2422
|
+
@property
|
|
2423
|
+
@pulumi.getter(name="instanceType")
|
|
2424
|
+
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
2425
|
+
"""
|
|
2426
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the instance type specified by CustomPriorities.N.InstanceType is contained in the scaling configuration.
|
|
2427
|
+
"""
|
|
2428
|
+
return pulumi.get(self, "instance_type")
|
|
2429
|
+
|
|
2430
|
+
@instance_type.setter
|
|
2431
|
+
def instance_type(self, value: Optional[pulumi.Input[str]]):
|
|
2432
|
+
pulumi.set(self, "instance_type", value)
|
|
2433
|
+
|
|
2434
|
+
@property
|
|
2435
|
+
@pulumi.getter(name="vswitchId")
|
|
2436
|
+
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
2437
|
+
"""
|
|
2438
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the vSwitch specified by CustomPriorities.N.VswitchId is included in the vSwitch list of your scaling group.
|
|
2439
|
+
"""
|
|
2440
|
+
return pulumi.get(self, "vswitch_id")
|
|
2441
|
+
|
|
2442
|
+
@vswitch_id.setter
|
|
2443
|
+
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
|
|
2444
|
+
pulumi.set(self, "vswitch_id", value)
|
|
2445
|
+
|
|
2446
|
+
|
|
2393
2447
|
if not MYPY:
|
|
2394
2448
|
class ScalingConfigurationDataDiskArgsDict(TypedDict):
|
|
2395
2449
|
auto_snapshot_policy_id: NotRequired[pulumi.Input[str]]
|
pulumi_alicloud/ess/outputs.py
CHANGED
|
@@ -32,6 +32,7 @@ __all__ = [
|
|
|
32
32
|
'EciScalingConfigurationSecurityContextSysctl',
|
|
33
33
|
'EciScalingConfigurationVolume',
|
|
34
34
|
'EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath',
|
|
35
|
+
'ScalingConfigurationCustomPriority',
|
|
35
36
|
'ScalingConfigurationDataDisk',
|
|
36
37
|
'ScalingConfigurationInstancePatternInfo',
|
|
37
38
|
'ScalingConfigurationInstanceTypeOverride',
|
|
@@ -1709,6 +1710,56 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath(dict):
|
|
|
1709
1710
|
return pulumi.get(self, "path")
|
|
1710
1711
|
|
|
1711
1712
|
|
|
1713
|
+
@pulumi.output_type
|
|
1714
|
+
class ScalingConfigurationCustomPriority(dict):
|
|
1715
|
+
@staticmethod
|
|
1716
|
+
def __key_warning(key: str):
|
|
1717
|
+
suggest = None
|
|
1718
|
+
if key == "instanceType":
|
|
1719
|
+
suggest = "instance_type"
|
|
1720
|
+
elif key == "vswitchId":
|
|
1721
|
+
suggest = "vswitch_id"
|
|
1722
|
+
|
|
1723
|
+
if suggest:
|
|
1724
|
+
pulumi.log.warn(f"Key '{key}' not found in ScalingConfigurationCustomPriority. Access the value via the '{suggest}' property getter instead.")
|
|
1725
|
+
|
|
1726
|
+
def __getitem__(self, key: str) -> Any:
|
|
1727
|
+
ScalingConfigurationCustomPriority.__key_warning(key)
|
|
1728
|
+
return super().__getitem__(key)
|
|
1729
|
+
|
|
1730
|
+
def get(self, key: str, default = None) -> Any:
|
|
1731
|
+
ScalingConfigurationCustomPriority.__key_warning(key)
|
|
1732
|
+
return super().get(key, default)
|
|
1733
|
+
|
|
1734
|
+
def __init__(__self__, *,
|
|
1735
|
+
instance_type: Optional[str] = None,
|
|
1736
|
+
vswitch_id: Optional[str] = None):
|
|
1737
|
+
"""
|
|
1738
|
+
:param str instance_type: This parameter takes effect only if you set Scaling Policy to Priority Policy and the instance type specified by CustomPriorities.N.InstanceType is contained in the scaling configuration.
|
|
1739
|
+
:param str vswitch_id: This parameter takes effect only if you set Scaling Policy to Priority Policy and the vSwitch specified by CustomPriorities.N.VswitchId is included in the vSwitch list of your scaling group.
|
|
1740
|
+
"""
|
|
1741
|
+
if instance_type is not None:
|
|
1742
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
|
1743
|
+
if vswitch_id is not None:
|
|
1744
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1745
|
+
|
|
1746
|
+
@property
|
|
1747
|
+
@pulumi.getter(name="instanceType")
|
|
1748
|
+
def instance_type(self) -> Optional[str]:
|
|
1749
|
+
"""
|
|
1750
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the instance type specified by CustomPriorities.N.InstanceType is contained in the scaling configuration.
|
|
1751
|
+
"""
|
|
1752
|
+
return pulumi.get(self, "instance_type")
|
|
1753
|
+
|
|
1754
|
+
@property
|
|
1755
|
+
@pulumi.getter(name="vswitchId")
|
|
1756
|
+
def vswitch_id(self) -> Optional[str]:
|
|
1757
|
+
"""
|
|
1758
|
+
This parameter takes effect only if you set Scaling Policy to Priority Policy and the vSwitch specified by CustomPriorities.N.VswitchId is included in the vSwitch list of your scaling group.
|
|
1759
|
+
"""
|
|
1760
|
+
return pulumi.get(self, "vswitch_id")
|
|
1761
|
+
|
|
1762
|
+
|
|
1712
1763
|
@pulumi.output_type
|
|
1713
1764
|
class ScalingConfigurationDataDisk(dict):
|
|
1714
1765
|
@staticmethod
|
|
@@ -24,6 +24,7 @@ class ScalingConfigurationArgs:
|
|
|
24
24
|
scaling_group_id: pulumi.Input[str],
|
|
25
25
|
active: Optional[pulumi.Input[bool]] = None,
|
|
26
26
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
custom_priorities: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]] = None,
|
|
27
28
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]]] = None,
|
|
28
29
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
29
30
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -78,6 +79,7 @@ class ScalingConfigurationArgs:
|
|
|
78
79
|
:param pulumi.Input[str] scaling_group_id: ID of the scaling group of a scaling configuration.
|
|
79
80
|
:param pulumi.Input[bool] active: Whether active current scaling configuration in the specified scaling group. Default to `false`.
|
|
80
81
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
82
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]] custom_priorities: You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
81
83
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]] data_disks: DataDisk mappings to attach to ecs instance. See `data_disk` below for details.
|
|
82
84
|
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable the Release Protection feature for ECS instances. This parameter is applicable to only pay-as-you-go instances. You can use this parameter to specify whether an ECS instance can be directly released by using the ECS console or calling the DeleteInstance operation. Valid values: true, false. Default value: false.
|
|
83
85
|
:param pulumi.Input[bool] enable: Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
|
|
@@ -149,6 +151,8 @@ class ScalingConfigurationArgs:
|
|
|
149
151
|
pulumi.set(__self__, "active", active)
|
|
150
152
|
if credit_specification is not None:
|
|
151
153
|
pulumi.set(__self__, "credit_specification", credit_specification)
|
|
154
|
+
if custom_priorities is not None:
|
|
155
|
+
pulumi.set(__self__, "custom_priorities", custom_priorities)
|
|
152
156
|
if data_disks is not None:
|
|
153
157
|
pulumi.set(__self__, "data_disks", data_disks)
|
|
154
158
|
if deletion_protection is not None:
|
|
@@ -290,6 +294,18 @@ class ScalingConfigurationArgs:
|
|
|
290
294
|
def credit_specification(self, value: Optional[pulumi.Input[str]]):
|
|
291
295
|
pulumi.set(self, "credit_specification", value)
|
|
292
296
|
|
|
297
|
+
@property
|
|
298
|
+
@pulumi.getter(name="customPriorities")
|
|
299
|
+
def custom_priorities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]]:
|
|
300
|
+
"""
|
|
301
|
+
You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
302
|
+
"""
|
|
303
|
+
return pulumi.get(self, "custom_priorities")
|
|
304
|
+
|
|
305
|
+
@custom_priorities.setter
|
|
306
|
+
def custom_priorities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]]):
|
|
307
|
+
pulumi.set(self, "custom_priorities", value)
|
|
308
|
+
|
|
293
309
|
@property
|
|
294
310
|
@pulumi.getter(name="dataDisks")
|
|
295
311
|
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]]]:
|
|
@@ -902,6 +918,7 @@ class _ScalingConfigurationState:
|
|
|
902
918
|
def __init__(__self__, *,
|
|
903
919
|
active: Optional[pulumi.Input[bool]] = None,
|
|
904
920
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
921
|
+
custom_priorities: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]] = None,
|
|
905
922
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]]] = None,
|
|
906
923
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
907
924
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -956,6 +973,7 @@ class _ScalingConfigurationState:
|
|
|
956
973
|
Input properties used for looking up and filtering ScalingConfiguration resources.
|
|
957
974
|
:param pulumi.Input[bool] active: Whether active current scaling configuration in the specified scaling group. Default to `false`.
|
|
958
975
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
976
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]] custom_priorities: You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
959
977
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]] data_disks: DataDisk mappings to attach to ecs instance. See `data_disk` below for details.
|
|
960
978
|
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable the Release Protection feature for ECS instances. This parameter is applicable to only pay-as-you-go instances. You can use this parameter to specify whether an ECS instance can be directly released by using the ECS console or calling the DeleteInstance operation. Valid values: true, false. Default value: false.
|
|
961
979
|
:param pulumi.Input[bool] enable: Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
|
|
@@ -1027,6 +1045,8 @@ class _ScalingConfigurationState:
|
|
|
1027
1045
|
pulumi.set(__self__, "active", active)
|
|
1028
1046
|
if credit_specification is not None:
|
|
1029
1047
|
pulumi.set(__self__, "credit_specification", credit_specification)
|
|
1048
|
+
if custom_priorities is not None:
|
|
1049
|
+
pulumi.set(__self__, "custom_priorities", custom_priorities)
|
|
1030
1050
|
if data_disks is not None:
|
|
1031
1051
|
pulumi.set(__self__, "data_disks", data_disks)
|
|
1032
1052
|
if deletion_protection is not None:
|
|
@@ -1158,6 +1178,18 @@ class _ScalingConfigurationState:
|
|
|
1158
1178
|
def credit_specification(self, value: Optional[pulumi.Input[str]]):
|
|
1159
1179
|
pulumi.set(self, "credit_specification", value)
|
|
1160
1180
|
|
|
1181
|
+
@property
|
|
1182
|
+
@pulumi.getter(name="customPriorities")
|
|
1183
|
+
def custom_priorities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]]:
|
|
1184
|
+
"""
|
|
1185
|
+
You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
1186
|
+
"""
|
|
1187
|
+
return pulumi.get(self, "custom_priorities")
|
|
1188
|
+
|
|
1189
|
+
@custom_priorities.setter
|
|
1190
|
+
def custom_priorities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationCustomPriorityArgs']]]]):
|
|
1191
|
+
pulumi.set(self, "custom_priorities", value)
|
|
1192
|
+
|
|
1161
1193
|
@property
|
|
1162
1194
|
@pulumi.getter(name="dataDisks")
|
|
1163
1195
|
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationDataDiskArgs']]]]:
|
|
@@ -1784,6 +1816,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
1784
1816
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1785
1817
|
active: Optional[pulumi.Input[bool]] = None,
|
|
1786
1818
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
1819
|
+
custom_priorities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationCustomPriorityArgs', 'ScalingConfigurationCustomPriorityArgsDict']]]]] = None,
|
|
1787
1820
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationDataDiskArgs', 'ScalingConfigurationDataDiskArgsDict']]]]] = None,
|
|
1788
1821
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1789
1822
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1920,6 +1953,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
1920
1953
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1921
1954
|
:param pulumi.Input[bool] active: Whether active current scaling configuration in the specified scaling group. Default to `false`.
|
|
1922
1955
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
1956
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationCustomPriorityArgs', 'ScalingConfigurationCustomPriorityArgsDict']]]] custom_priorities: You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
1923
1957
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationDataDiskArgs', 'ScalingConfigurationDataDiskArgsDict']]]] data_disks: DataDisk mappings to attach to ecs instance. See `data_disk` below for details.
|
|
1924
1958
|
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable the Release Protection feature for ECS instances. This parameter is applicable to only pay-as-you-go instances. You can use this parameter to specify whether an ECS instance can be directly released by using the ECS console or calling the DeleteInstance operation. Valid values: true, false. Default value: false.
|
|
1925
1959
|
:param pulumi.Input[bool] enable: Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
|
|
@@ -2091,6 +2125,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2091
2125
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
2092
2126
|
active: Optional[pulumi.Input[bool]] = None,
|
|
2093
2127
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2128
|
+
custom_priorities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationCustomPriorityArgs', 'ScalingConfigurationCustomPriorityArgsDict']]]]] = None,
|
|
2094
2129
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationDataDiskArgs', 'ScalingConfigurationDataDiskArgsDict']]]]] = None,
|
|
2095
2130
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2096
2131
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -2152,6 +2187,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2152
2187
|
|
|
2153
2188
|
__props__.__dict__["active"] = active
|
|
2154
2189
|
__props__.__dict__["credit_specification"] = credit_specification
|
|
2190
|
+
__props__.__dict__["custom_priorities"] = custom_priorities
|
|
2155
2191
|
__props__.__dict__["data_disks"] = data_disks
|
|
2156
2192
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
2157
2193
|
__props__.__dict__["enable"] = enable
|
|
@@ -2216,6 +2252,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2216
2252
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
2217
2253
|
active: Optional[pulumi.Input[bool]] = None,
|
|
2218
2254
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2255
|
+
custom_priorities: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationCustomPriorityArgs', 'ScalingConfigurationCustomPriorityArgsDict']]]]] = None,
|
|
2219
2256
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationDataDiskArgs', 'ScalingConfigurationDataDiskArgsDict']]]]] = None,
|
|
2220
2257
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2221
2258
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -2275,6 +2312,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2275
2312
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2276
2313
|
:param pulumi.Input[bool] active: Whether active current scaling configuration in the specified scaling group. Default to `false`.
|
|
2277
2314
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
2315
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationCustomPriorityArgs', 'ScalingConfigurationCustomPriorityArgsDict']]]] custom_priorities: You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
2278
2316
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationDataDiskArgs', 'ScalingConfigurationDataDiskArgsDict']]]] data_disks: DataDisk mappings to attach to ecs instance. See `data_disk` below for details.
|
|
2279
2317
|
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable the Release Protection feature for ECS instances. This parameter is applicable to only pay-as-you-go instances. You can use this parameter to specify whether an ECS instance can be directly released by using the ECS console or calling the DeleteInstance operation. Valid values: true, false. Default value: false.
|
|
2280
2318
|
:param pulumi.Input[bool] enable: Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
|
|
@@ -2348,6 +2386,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2348
2386
|
|
|
2349
2387
|
__props__.__dict__["active"] = active
|
|
2350
2388
|
__props__.__dict__["credit_specification"] = credit_specification
|
|
2389
|
+
__props__.__dict__["custom_priorities"] = custom_priorities
|
|
2351
2390
|
__props__.__dict__["data_disks"] = data_disks
|
|
2352
2391
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
2353
2392
|
__props__.__dict__["enable"] = enable
|
|
@@ -2416,6 +2455,14 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2416
2455
|
"""
|
|
2417
2456
|
return pulumi.get(self, "credit_specification")
|
|
2418
2457
|
|
|
2458
|
+
@property
|
|
2459
|
+
@pulumi.getter(name="customPriorities")
|
|
2460
|
+
def custom_priorities(self) -> pulumi.Output[Optional[Sequence['outputs.ScalingConfigurationCustomPriority']]]:
|
|
2461
|
+
"""
|
|
2462
|
+
You can use CustomPriorities to specify the priority of a custom ECS instance type + vSwitch combination. See `custom_priorities` below for details.
|
|
2463
|
+
"""
|
|
2464
|
+
return pulumi.get(self, "custom_priorities")
|
|
2465
|
+
|
|
2419
2466
|
@property
|
|
2420
2467
|
@pulumi.getter(name="dataDisks")
|
|
2421
2468
|
def data_disks(self) -> pulumi.Output[Optional[Sequence['outputs.ScalingConfigurationDataDisk']]]:
|
|
@@ -51,6 +51,7 @@ class ScalingGroupArgs:
|
|
|
51
51
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
52
52
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
53
53
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
54
|
+
stop_instance_timeout: Optional[pulumi.Input[int]] = None,
|
|
54
55
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
55
56
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
56
57
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
@@ -99,6 +100,7 @@ class ScalingGroupArgs:
|
|
|
99
100
|
: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.
|
|
100
101
|
: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.
|
|
101
102
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
103
|
+
:param pulumi.Input[int] stop_instance_timeout: The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
102
104
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
103
105
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
104
106
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
@@ -163,6 +165,8 @@ class ScalingGroupArgs:
|
|
|
163
165
|
pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
|
|
164
166
|
if spot_instance_remedy is not None:
|
|
165
167
|
pulumi.set(__self__, "spot_instance_remedy", spot_instance_remedy)
|
|
168
|
+
if stop_instance_timeout is not None:
|
|
169
|
+
pulumi.set(__self__, "stop_instance_timeout", stop_instance_timeout)
|
|
166
170
|
if tags is not None:
|
|
167
171
|
pulumi.set(__self__, "tags", tags)
|
|
168
172
|
if vswitch_id is not None:
|
|
@@ -546,6 +550,18 @@ class ScalingGroupArgs:
|
|
|
546
550
|
def spot_instance_remedy(self, value: Optional[pulumi.Input[bool]]):
|
|
547
551
|
pulumi.set(self, "spot_instance_remedy", value)
|
|
548
552
|
|
|
553
|
+
@property
|
|
554
|
+
@pulumi.getter(name="stopInstanceTimeout")
|
|
555
|
+
def stop_instance_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
556
|
+
"""
|
|
557
|
+
The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
558
|
+
"""
|
|
559
|
+
return pulumi.get(self, "stop_instance_timeout")
|
|
560
|
+
|
|
561
|
+
@stop_instance_timeout.setter
|
|
562
|
+
def stop_instance_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
563
|
+
pulumi.set(self, "stop_instance_timeout", value)
|
|
564
|
+
|
|
549
565
|
@property
|
|
550
566
|
@pulumi.getter
|
|
551
567
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
@@ -619,6 +635,7 @@ class _ScalingGroupState:
|
|
|
619
635
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
620
636
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
621
637
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
638
|
+
stop_instance_timeout: Optional[pulumi.Input[int]] = None,
|
|
622
639
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
623
640
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
624
641
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
@@ -667,6 +684,7 @@ class _ScalingGroupState:
|
|
|
667
684
|
: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.
|
|
668
685
|
: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.
|
|
669
686
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
687
|
+
:param pulumi.Input[int] stop_instance_timeout: The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
670
688
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
671
689
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
672
690
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
@@ -733,6 +751,8 @@ class _ScalingGroupState:
|
|
|
733
751
|
pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
|
|
734
752
|
if spot_instance_remedy is not None:
|
|
735
753
|
pulumi.set(__self__, "spot_instance_remedy", spot_instance_remedy)
|
|
754
|
+
if stop_instance_timeout is not None:
|
|
755
|
+
pulumi.set(__self__, "stop_instance_timeout", stop_instance_timeout)
|
|
736
756
|
if tags is not None:
|
|
737
757
|
pulumi.set(__self__, "tags", tags)
|
|
738
758
|
if vswitch_id is not None:
|
|
@@ -1116,6 +1136,18 @@ class _ScalingGroupState:
|
|
|
1116
1136
|
def spot_instance_remedy(self, value: Optional[pulumi.Input[bool]]):
|
|
1117
1137
|
pulumi.set(self, "spot_instance_remedy", value)
|
|
1118
1138
|
|
|
1139
|
+
@property
|
|
1140
|
+
@pulumi.getter(name="stopInstanceTimeout")
|
|
1141
|
+
def stop_instance_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1142
|
+
"""
|
|
1143
|
+
The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
1144
|
+
"""
|
|
1145
|
+
return pulumi.get(self, "stop_instance_timeout")
|
|
1146
|
+
|
|
1147
|
+
@stop_instance_timeout.setter
|
|
1148
|
+
def stop_instance_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1149
|
+
pulumi.set(self, "stop_instance_timeout", value)
|
|
1150
|
+
|
|
1119
1151
|
@property
|
|
1120
1152
|
@pulumi.getter
|
|
1121
1153
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
@@ -1191,6 +1223,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1191
1223
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1192
1224
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1193
1225
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
1226
|
+
stop_instance_timeout: Optional[pulumi.Input[int]] = None,
|
|
1194
1227
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1195
1228
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1196
1229
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1327,6 +1360,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1327
1360
|
: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.
|
|
1328
1361
|
: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.
|
|
1329
1362
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
1363
|
+
:param pulumi.Input[int] stop_instance_timeout: The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
1330
1364
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1331
1365
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
1332
1366
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
@@ -1471,6 +1505,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1471
1505
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1472
1506
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1473
1507
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
1508
|
+
stop_instance_timeout: Optional[pulumi.Input[int]] = None,
|
|
1474
1509
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1475
1510
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1476
1511
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1517,6 +1552,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1517
1552
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1518
1553
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1519
1554
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
1555
|
+
__props__.__dict__["stop_instance_timeout"] = stop_instance_timeout
|
|
1520
1556
|
__props__.__dict__["tags"] = tags
|
|
1521
1557
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1522
1558
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
@@ -1560,6 +1596,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1560
1596
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1561
1597
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1562
1598
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
1599
|
+
stop_instance_timeout: Optional[pulumi.Input[int]] = None,
|
|
1563
1600
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1564
1601
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1565
1602
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ScalingGroup':
|
|
@@ -1613,6 +1650,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1613
1650
|
: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.
|
|
1614
1651
|
: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.
|
|
1615
1652
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
1653
|
+
:param pulumi.Input[int] stop_instance_timeout: The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
1616
1654
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1617
1655
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
1618
1656
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
@@ -1653,6 +1691,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1653
1691
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1654
1692
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1655
1693
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
1694
|
+
__props__.__dict__["stop_instance_timeout"] = stop_instance_timeout
|
|
1656
1695
|
__props__.__dict__["tags"] = tags
|
|
1657
1696
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1658
1697
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
@@ -1911,6 +1950,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1911
1950
|
"""
|
|
1912
1951
|
return pulumi.get(self, "spot_instance_remedy")
|
|
1913
1952
|
|
|
1953
|
+
@property
|
|
1954
|
+
@pulumi.getter(name="stopInstanceTimeout")
|
|
1955
|
+
def stop_instance_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
1956
|
+
"""
|
|
1957
|
+
The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
1958
|
+
"""
|
|
1959
|
+
return pulumi.get(self, "stop_instance_timeout")
|
|
1960
|
+
|
|
1914
1961
|
@property
|
|
1915
1962
|
@pulumi.getter
|
|
1916
1963
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
@@ -17,6 +17,7 @@ from .get_virtual_physical_connections import *
|
|
|
17
17
|
from .grant_rule_to_cen import *
|
|
18
18
|
from .physical_connection import *
|
|
19
19
|
from .router_express_connect_router import *
|
|
20
|
+
from .router_grant_association import *
|
|
20
21
|
from .router_interface import *
|
|
21
22
|
from .router_tr_association import *
|
|
22
23
|
from .router_vbr_child_instance import *
|