pulumi-alicloud 3.58.0a1719956927__py3-none-any.whl → 3.59.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 +72 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +327 -0
- pulumi_alicloud/cen/__init__.py +1 -0
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +584 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/ddos/__init__.py +1 -0
- pulumi_alicloud/ddos/_inputs.py +712 -0
- pulumi_alicloud/ddos/bgp_policy.py +343 -0
- pulumi_alicloud/ddos/outputs.py +666 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/ecs/_inputs.py +132 -8
- pulumi_alicloud/ecs/ecs_launch_template.py +142 -1
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/launch_template.py +103 -1
- pulumi_alicloud/ecs/outputs.py +131 -8
- pulumi_alicloud/emrv2/_inputs.py +490 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +500 -0
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
- pulumi_alicloud/ens/instance.py +16 -17
- pulumi_alicloud/ens/nat_gateway.py +458 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ga/accelerator.py +47 -0
- pulumi_alicloud/ga/acl.py +47 -0
- pulumi_alicloud/ga/bandwidth_package.py +57 -12
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/basic_accelerator.py +55 -8
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
- pulumi_alicloud/kvstore/instance.py +101 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +161 -67
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/RECORD +46 -37
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/top_level.txt +0 -0
|
@@ -31,6 +31,7 @@ class ScalingGroupArgs:
|
|
|
31
31
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupLaunchTemplateOverrideArgs']]]] = None,
|
|
32
32
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
33
33
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
34
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
34
35
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
35
36
|
on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
36
37
|
on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
|
|
@@ -38,6 +39,7 @@ class ScalingGroupArgs:
|
|
|
38
39
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
40
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
40
41
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
41
43
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
42
44
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
43
45
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -70,6 +72,7 @@ class ScalingGroupArgs:
|
|
|
70
72
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
71
73
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
72
74
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
75
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
73
76
|
:param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
|
|
74
77
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
|
|
75
78
|
:param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
|
|
@@ -81,6 +84,7 @@ class ScalingGroupArgs:
|
|
|
81
84
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
82
85
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
83
86
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
87
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
84
88
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
85
89
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
86
90
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -118,6 +122,8 @@ class ScalingGroupArgs:
|
|
|
118
122
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
119
123
|
if loadbalancer_ids is not None:
|
|
120
124
|
pulumi.set(__self__, "loadbalancer_ids", loadbalancer_ids)
|
|
125
|
+
if max_instance_lifetime is not None:
|
|
126
|
+
pulumi.set(__self__, "max_instance_lifetime", max_instance_lifetime)
|
|
121
127
|
if multi_az_policy is not None:
|
|
122
128
|
pulumi.set(__self__, "multi_az_policy", multi_az_policy)
|
|
123
129
|
if on_demand_base_capacity is not None:
|
|
@@ -132,6 +138,8 @@ class ScalingGroupArgs:
|
|
|
132
138
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
133
139
|
if scaling_group_name is not None:
|
|
134
140
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
141
|
+
if scaling_policy is not None:
|
|
142
|
+
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
135
143
|
if spot_allocation_strategy is not None:
|
|
136
144
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
137
145
|
if spot_instance_pools is not None:
|
|
@@ -337,6 +345,18 @@ class ScalingGroupArgs:
|
|
|
337
345
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
338
346
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
339
347
|
|
|
348
|
+
@property
|
|
349
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
350
|
+
def max_instance_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
351
|
+
"""
|
|
352
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
353
|
+
"""
|
|
354
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
355
|
+
|
|
356
|
+
@max_instance_lifetime.setter
|
|
357
|
+
def max_instance_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
358
|
+
pulumi.set(self, "max_instance_lifetime", value)
|
|
359
|
+
|
|
340
360
|
@property
|
|
341
361
|
@pulumi.getter(name="multiAzPolicy")
|
|
342
362
|
def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -425,6 +445,18 @@ class ScalingGroupArgs:
|
|
|
425
445
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
426
446
|
pulumi.set(self, "scaling_group_name", value)
|
|
427
447
|
|
|
448
|
+
@property
|
|
449
|
+
@pulumi.getter(name="scalingPolicy")
|
|
450
|
+
def scaling_policy(self) -> Optional[pulumi.Input[str]]:
|
|
451
|
+
"""
|
|
452
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
453
|
+
"""
|
|
454
|
+
return pulumi.get(self, "scaling_policy")
|
|
455
|
+
|
|
456
|
+
@scaling_policy.setter
|
|
457
|
+
def scaling_policy(self, value: Optional[pulumi.Input[str]]):
|
|
458
|
+
pulumi.set(self, "scaling_policy", value)
|
|
459
|
+
|
|
428
460
|
@property
|
|
429
461
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
430
462
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -517,6 +549,7 @@ class _ScalingGroupState:
|
|
|
517
549
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupLaunchTemplateOverrideArgs']]]] = None,
|
|
518
550
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
519
551
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
552
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
520
553
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
521
554
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
522
555
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -526,6 +559,7 @@ class _ScalingGroupState:
|
|
|
526
559
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
527
560
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
528
561
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
562
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
529
563
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
530
564
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
531
565
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -554,6 +588,7 @@ class _ScalingGroupState:
|
|
|
554
588
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
555
589
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
556
590
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
591
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
557
592
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
558
593
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
559
594
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -569,6 +604,7 @@ class _ScalingGroupState:
|
|
|
569
604
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
570
605
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
571
606
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
607
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
572
608
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
573
609
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
574
610
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -604,6 +640,8 @@ class _ScalingGroupState:
|
|
|
604
640
|
pulumi.set(__self__, "launch_template_version", launch_template_version)
|
|
605
641
|
if loadbalancer_ids is not None:
|
|
606
642
|
pulumi.set(__self__, "loadbalancer_ids", loadbalancer_ids)
|
|
643
|
+
if max_instance_lifetime is not None:
|
|
644
|
+
pulumi.set(__self__, "max_instance_lifetime", max_instance_lifetime)
|
|
607
645
|
if max_size is not None:
|
|
608
646
|
pulumi.set(__self__, "max_size", max_size)
|
|
609
647
|
if min_size is not None:
|
|
@@ -622,6 +660,8 @@ class _ScalingGroupState:
|
|
|
622
660
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
623
661
|
if scaling_group_name is not None:
|
|
624
662
|
pulumi.set(__self__, "scaling_group_name", scaling_group_name)
|
|
663
|
+
if scaling_policy is not None:
|
|
664
|
+
pulumi.set(__self__, "scaling_policy", scaling_policy)
|
|
625
665
|
if spot_allocation_strategy is not None:
|
|
626
666
|
pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
|
|
627
667
|
if spot_instance_pools is not None:
|
|
@@ -801,6 +841,18 @@ class _ScalingGroupState:
|
|
|
801
841
|
def loadbalancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
802
842
|
pulumi.set(self, "loadbalancer_ids", value)
|
|
803
843
|
|
|
844
|
+
@property
|
|
845
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
846
|
+
def max_instance_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
847
|
+
"""
|
|
848
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
849
|
+
"""
|
|
850
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
851
|
+
|
|
852
|
+
@max_instance_lifetime.setter
|
|
853
|
+
def max_instance_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
854
|
+
pulumi.set(self, "max_instance_lifetime", value)
|
|
855
|
+
|
|
804
856
|
@property
|
|
805
857
|
@pulumi.getter(name="maxSize")
|
|
806
858
|
def max_size(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -915,6 +967,18 @@ class _ScalingGroupState:
|
|
|
915
967
|
def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
|
|
916
968
|
pulumi.set(self, "scaling_group_name", value)
|
|
917
969
|
|
|
970
|
+
@property
|
|
971
|
+
@pulumi.getter(name="scalingPolicy")
|
|
972
|
+
def scaling_policy(self) -> Optional[pulumi.Input[str]]:
|
|
973
|
+
"""
|
|
974
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
975
|
+
"""
|
|
976
|
+
return pulumi.get(self, "scaling_policy")
|
|
977
|
+
|
|
978
|
+
@scaling_policy.setter
|
|
979
|
+
def scaling_policy(self, value: Optional[pulumi.Input[str]]):
|
|
980
|
+
pulumi.set(self, "scaling_policy", value)
|
|
981
|
+
|
|
918
982
|
@property
|
|
919
983
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
920
984
|
def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1009,6 +1073,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1009
1073
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1010
1074
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1011
1075
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1076
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1012
1077
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1013
1078
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1014
1079
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1018,6 +1083,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1018
1083
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1019
1084
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1020
1085
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1086
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1021
1087
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1022
1088
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1023
1089
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1134,6 +1200,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1134
1200
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1135
1201
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1136
1202
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
1203
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1137
1204
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1138
1205
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1139
1206
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1149,6 +1216,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1149
1216
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1150
1217
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1151
1218
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
1219
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1152
1220
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1153
1221
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
1154
1222
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1279,6 +1347,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1279
1347
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1280
1348
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1281
1349
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1350
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1282
1351
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1283
1352
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1284
1353
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1288,6 +1357,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1288
1357
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1289
1358
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1290
1359
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1360
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1291
1361
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1292
1362
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1293
1363
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1316,6 +1386,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1316
1386
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1317
1387
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1318
1388
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1389
|
+
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1319
1390
|
if max_size is None and not opts.urn:
|
|
1320
1391
|
raise TypeError("Missing required property 'max_size'")
|
|
1321
1392
|
__props__.__dict__["max_size"] = max_size
|
|
@@ -1329,6 +1400,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1329
1400
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1330
1401
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1331
1402
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1403
|
+
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1332
1404
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1333
1405
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1334
1406
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1358,6 +1430,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1358
1430
|
launch_template_overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupLaunchTemplateOverrideArgs']]]]] = None,
|
|
1359
1431
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
1360
1432
|
loadbalancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1433
|
+
max_instance_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1361
1434
|
max_size: Optional[pulumi.Input[int]] = None,
|
|
1362
1435
|
min_size: Optional[pulumi.Input[int]] = None,
|
|
1363
1436
|
multi_az_policy: Optional[pulumi.Input[str]] = None,
|
|
@@ -1367,6 +1440,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1367
1440
|
removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1368
1441
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1369
1442
|
scaling_group_name: Optional[pulumi.Input[str]] = None,
|
|
1443
|
+
scaling_policy: Optional[pulumi.Input[str]] = None,
|
|
1370
1444
|
spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
|
|
1371
1445
|
spot_instance_pools: Optional[pulumi.Input[int]] = None,
|
|
1372
1446
|
spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1400,6 +1474,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1400
1474
|
targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
|
|
1401
1475
|
- The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
|
|
1402
1476
|
- The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
|
|
1477
|
+
:param pulumi.Input[int] max_instance_lifetime: The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1403
1478
|
:param pulumi.Input[int] max_size: Maximum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
1404
1479
|
**NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
|
|
1405
1480
|
:param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
|
|
@@ -1415,6 +1490,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1415
1490
|
- Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
|
|
1416
1491
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
|
|
1417
1492
|
:param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
|
|
1493
|
+
:param pulumi.Input[str] scaling_policy: The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1418
1494
|
:param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
|
|
1419
1495
|
:param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
|
|
1420
1496
|
:param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
|
|
@@ -1441,6 +1517,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1441
1517
|
__props__.__dict__["launch_template_overrides"] = launch_template_overrides
|
|
1442
1518
|
__props__.__dict__["launch_template_version"] = launch_template_version
|
|
1443
1519
|
__props__.__dict__["loadbalancer_ids"] = loadbalancer_ids
|
|
1520
|
+
__props__.__dict__["max_instance_lifetime"] = max_instance_lifetime
|
|
1444
1521
|
__props__.__dict__["max_size"] = max_size
|
|
1445
1522
|
__props__.__dict__["min_size"] = min_size
|
|
1446
1523
|
__props__.__dict__["multi_az_policy"] = multi_az_policy
|
|
@@ -1450,6 +1527,7 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1450
1527
|
__props__.__dict__["removal_policies"] = removal_policies
|
|
1451
1528
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1452
1529
|
__props__.__dict__["scaling_group_name"] = scaling_group_name
|
|
1530
|
+
__props__.__dict__["scaling_policy"] = scaling_policy
|
|
1453
1531
|
__props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
|
|
1454
1532
|
__props__.__dict__["spot_instance_pools"] = spot_instance_pools
|
|
1455
1533
|
__props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
|
|
@@ -1569,6 +1647,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1569
1647
|
"""
|
|
1570
1648
|
return pulumi.get(self, "loadbalancer_ids")
|
|
1571
1649
|
|
|
1650
|
+
@property
|
|
1651
|
+
@pulumi.getter(name="maxInstanceLifetime")
|
|
1652
|
+
def max_instance_lifetime(self) -> pulumi.Output[Optional[int]]:
|
|
1653
|
+
"""
|
|
1654
|
+
The maximum life span of an instance in the scaling group. Unit: seconds.
|
|
1655
|
+
"""
|
|
1656
|
+
return pulumi.get(self, "max_instance_lifetime")
|
|
1657
|
+
|
|
1572
1658
|
@property
|
|
1573
1659
|
@pulumi.getter(name="maxSize")
|
|
1574
1660
|
def max_size(self) -> pulumi.Output[int]:
|
|
@@ -1647,6 +1733,14 @@ class ScalingGroup(pulumi.CustomResource):
|
|
|
1647
1733
|
"""
|
|
1648
1734
|
return pulumi.get(self, "scaling_group_name")
|
|
1649
1735
|
|
|
1736
|
+
@property
|
|
1737
|
+
@pulumi.getter(name="scalingPolicy")
|
|
1738
|
+
def scaling_policy(self) -> pulumi.Output[str]:
|
|
1739
|
+
"""
|
|
1740
|
+
The reclaim mode of the scaling group. Optional values: recycle, release, forceRecycle, forceRelease.
|
|
1741
|
+
"""
|
|
1742
|
+
return pulumi.get(self, "scaling_policy")
|
|
1743
|
+
|
|
1650
1744
|
@property
|
|
1651
1745
|
@pulumi.getter(name="spotAllocationStrategy")
|
|
1652
1746
|
def spot_allocation_strategy(self) -> pulumi.Output[str]:
|
|
@@ -26,6 +26,7 @@ class AcceleratorArgs:
|
|
|
26
26
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
27
27
|
promotion_option_no: Optional[pulumi.Input[str]] = None,
|
|
28
28
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
29
30
|
spec: Optional[pulumi.Input[str]] = None,
|
|
30
31
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
|
31
32
|
"""
|
|
@@ -51,6 +52,7 @@ class AcceleratorArgs:
|
|
|
51
52
|
- `AutoRenewal`: Enable auto renewal.
|
|
52
53
|
- `Normal`: Disable auto renewal.
|
|
53
54
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
55
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
54
56
|
:param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
|
|
55
57
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
56
58
|
"""
|
|
@@ -78,6 +80,8 @@ class AcceleratorArgs:
|
|
|
78
80
|
pulumi.set(__self__, "promotion_option_no", promotion_option_no)
|
|
79
81
|
if renewal_status is not None:
|
|
80
82
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
83
|
+
if resource_group_id is not None:
|
|
84
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
81
85
|
if spec is not None:
|
|
82
86
|
pulumi.set(__self__, "spec", spec)
|
|
83
87
|
if tags is not None:
|
|
@@ -236,6 +240,18 @@ class AcceleratorArgs:
|
|
|
236
240
|
def renewal_status(self, value: Optional[pulumi.Input[str]]):
|
|
237
241
|
pulumi.set(self, "renewal_status", value)
|
|
238
242
|
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter(name="resourceGroupId")
|
|
245
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
246
|
+
"""
|
|
247
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "resource_group_id")
|
|
250
|
+
|
|
251
|
+
@resource_group_id.setter
|
|
252
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
253
|
+
pulumi.set(self, "resource_group_id", value)
|
|
254
|
+
|
|
239
255
|
@property
|
|
240
256
|
@pulumi.getter
|
|
241
257
|
def spec(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -276,6 +292,7 @@ class _AcceleratorState:
|
|
|
276
292
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
277
293
|
promotion_option_no: Optional[pulumi.Input[str]] = None,
|
|
278
294
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
279
296
|
spec: Optional[pulumi.Input[str]] = None,
|
|
280
297
|
status: Optional[pulumi.Input[str]] = None,
|
|
281
298
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
|
@@ -302,6 +319,7 @@ class _AcceleratorState:
|
|
|
302
319
|
- `AutoRenewal`: Enable auto renewal.
|
|
303
320
|
- `Normal`: Disable auto renewal.
|
|
304
321
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
322
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
305
323
|
:param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
|
|
306
324
|
:param pulumi.Input[str] status: The status of the GA instance.
|
|
307
325
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -330,6 +348,8 @@ class _AcceleratorState:
|
|
|
330
348
|
pulumi.set(__self__, "promotion_option_no", promotion_option_no)
|
|
331
349
|
if renewal_status is not None:
|
|
332
350
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
351
|
+
if resource_group_id is not None:
|
|
352
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
333
353
|
if spec is not None:
|
|
334
354
|
pulumi.set(__self__, "spec", spec)
|
|
335
355
|
if status is not None:
|
|
@@ -490,6 +510,18 @@ class _AcceleratorState:
|
|
|
490
510
|
def renewal_status(self, value: Optional[pulumi.Input[str]]):
|
|
491
511
|
pulumi.set(self, "renewal_status", value)
|
|
492
512
|
|
|
513
|
+
@property
|
|
514
|
+
@pulumi.getter(name="resourceGroupId")
|
|
515
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
516
|
+
"""
|
|
517
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
518
|
+
"""
|
|
519
|
+
return pulumi.get(self, "resource_group_id")
|
|
520
|
+
|
|
521
|
+
@resource_group_id.setter
|
|
522
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
523
|
+
pulumi.set(self, "resource_group_id", value)
|
|
524
|
+
|
|
493
525
|
@property
|
|
494
526
|
@pulumi.getter
|
|
495
527
|
def spec(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -544,6 +576,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
544
576
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
545
577
|
promotion_option_no: Optional[pulumi.Input[str]] = None,
|
|
546
578
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
579
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
547
580
|
spec: Optional[pulumi.Input[str]] = None,
|
|
548
581
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
549
582
|
__props__=None):
|
|
@@ -599,6 +632,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
599
632
|
- `AutoRenewal`: Enable auto renewal.
|
|
600
633
|
- `Normal`: Disable auto renewal.
|
|
601
634
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
635
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
602
636
|
:param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
|
|
603
637
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
604
638
|
"""
|
|
@@ -664,6 +698,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
664
698
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
665
699
|
promotion_option_no: Optional[pulumi.Input[str]] = None,
|
|
666
700
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
701
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
667
702
|
spec: Optional[pulumi.Input[str]] = None,
|
|
668
703
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
669
704
|
__props__=None):
|
|
@@ -687,6 +722,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
687
722
|
__props__.__dict__["pricing_cycle"] = pricing_cycle
|
|
688
723
|
__props__.__dict__["promotion_option_no"] = promotion_option_no
|
|
689
724
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
725
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
690
726
|
__props__.__dict__["spec"] = spec
|
|
691
727
|
__props__.__dict__["tags"] = tags
|
|
692
728
|
__props__.__dict__["status"] = None
|
|
@@ -712,6 +748,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
712
748
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
713
749
|
promotion_option_no: Optional[pulumi.Input[str]] = None,
|
|
714
750
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
751
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
715
752
|
spec: Optional[pulumi.Input[str]] = None,
|
|
716
753
|
status: Optional[pulumi.Input[str]] = None,
|
|
717
754
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'Accelerator':
|
|
@@ -743,6 +780,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
743
780
|
- `AutoRenewal`: Enable auto renewal.
|
|
744
781
|
- `Normal`: Disable auto renewal.
|
|
745
782
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
783
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
746
784
|
:param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
|
|
747
785
|
:param pulumi.Input[str] status: The status of the GA instance.
|
|
748
786
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
@@ -763,6 +801,7 @@ class Accelerator(pulumi.CustomResource):
|
|
|
763
801
|
__props__.__dict__["pricing_cycle"] = pricing_cycle
|
|
764
802
|
__props__.__dict__["promotion_option_no"] = promotion_option_no
|
|
765
803
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
804
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
766
805
|
__props__.__dict__["spec"] = spec
|
|
767
806
|
__props__.__dict__["status"] = status
|
|
768
807
|
__props__.__dict__["tags"] = tags
|
|
@@ -873,6 +912,14 @@ class Accelerator(pulumi.CustomResource):
|
|
|
873
912
|
"""
|
|
874
913
|
return pulumi.get(self, "renewal_status")
|
|
875
914
|
|
|
915
|
+
@property
|
|
916
|
+
@pulumi.getter(name="resourceGroupId")
|
|
917
|
+
def resource_group_id(self) -> pulumi.Output[str]:
|
|
918
|
+
"""
|
|
919
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
920
|
+
"""
|
|
921
|
+
return pulumi.get(self, "resource_group_id")
|
|
922
|
+
|
|
876
923
|
@property
|
|
877
924
|
@pulumi.getter
|
|
878
925
|
def spec(self) -> pulumi.Output[Optional[str]]:
|
pulumi_alicloud/ga/acl.py
CHANGED
|
@@ -20,6 +20,7 @@ class AclArgs:
|
|
|
20
20
|
acl_entries: Optional[pulumi.Input[Sequence[pulumi.Input['AclAclEntryArgs']]]] = None,
|
|
21
21
|
acl_name: Optional[pulumi.Input[str]] = None,
|
|
22
22
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
23
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
23
24
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
|
24
25
|
"""
|
|
25
26
|
The set of arguments for constructing a Acl resource.
|
|
@@ -27,6 +28,7 @@ class AclArgs:
|
|
|
27
28
|
:param pulumi.Input[Sequence[pulumi.Input['AclAclEntryArgs']]] acl_entries: The entries of the Acl. See `acl_entries` below. **NOTE:** "Field `acl_entries` has been deprecated from provider version 1.190.0 and it will be removed in the future version. Please use the new resource `ga.AclEntryAttachment`."
|
|
28
29
|
:param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
|
|
29
30
|
:param pulumi.Input[bool] dry_run: The dry run.
|
|
31
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
30
32
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
31
33
|
"""
|
|
32
34
|
pulumi.set(__self__, "address_ip_version", address_ip_version)
|
|
@@ -39,6 +41,8 @@ class AclArgs:
|
|
|
39
41
|
pulumi.set(__self__, "acl_name", acl_name)
|
|
40
42
|
if dry_run is not None:
|
|
41
43
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
44
|
+
if resource_group_id is not None:
|
|
45
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
42
46
|
if tags is not None:
|
|
43
47
|
pulumi.set(__self__, "tags", tags)
|
|
44
48
|
|
|
@@ -91,6 +95,18 @@ class AclArgs:
|
|
|
91
95
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
92
96
|
pulumi.set(self, "dry_run", value)
|
|
93
97
|
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="resourceGroupId")
|
|
100
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
101
|
+
"""
|
|
102
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "resource_group_id")
|
|
105
|
+
|
|
106
|
+
@resource_group_id.setter
|
|
107
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
108
|
+
pulumi.set(self, "resource_group_id", value)
|
|
109
|
+
|
|
94
110
|
@property
|
|
95
111
|
@pulumi.getter
|
|
96
112
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
@@ -111,6 +127,7 @@ class _AclState:
|
|
|
111
127
|
acl_name: Optional[pulumi.Input[str]] = None,
|
|
112
128
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
113
129
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
130
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
114
131
|
status: Optional[pulumi.Input[str]] = None,
|
|
115
132
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
|
116
133
|
"""
|
|
@@ -119,6 +136,7 @@ class _AclState:
|
|
|
119
136
|
:param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
|
|
120
137
|
:param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
|
|
121
138
|
:param pulumi.Input[bool] dry_run: The dry run.
|
|
139
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
122
140
|
:param pulumi.Input[str] status: The status of the resource.
|
|
123
141
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
124
142
|
"""
|
|
@@ -133,6 +151,8 @@ class _AclState:
|
|
|
133
151
|
pulumi.set(__self__, "address_ip_version", address_ip_version)
|
|
134
152
|
if dry_run is not None:
|
|
135
153
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
154
|
+
if resource_group_id is not None:
|
|
155
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
136
156
|
if status is not None:
|
|
137
157
|
pulumi.set(__self__, "status", status)
|
|
138
158
|
if tags is not None:
|
|
@@ -187,6 +207,18 @@ class _AclState:
|
|
|
187
207
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
188
208
|
pulumi.set(self, "dry_run", value)
|
|
189
209
|
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="resourceGroupId")
|
|
212
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
213
|
+
"""
|
|
214
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "resource_group_id")
|
|
217
|
+
|
|
218
|
+
@resource_group_id.setter
|
|
219
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
220
|
+
pulumi.set(self, "resource_group_id", value)
|
|
221
|
+
|
|
190
222
|
@property
|
|
191
223
|
@pulumi.getter
|
|
192
224
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -221,6 +253,7 @@ class Acl(pulumi.CustomResource):
|
|
|
221
253
|
acl_name: Optional[pulumi.Input[str]] = None,
|
|
222
254
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
223
255
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
256
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
224
257
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
225
258
|
__props__=None):
|
|
226
259
|
"""
|
|
@@ -261,6 +294,7 @@ class Acl(pulumi.CustomResource):
|
|
|
261
294
|
:param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
|
|
262
295
|
:param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
|
|
263
296
|
:param pulumi.Input[bool] dry_run: The dry run.
|
|
297
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
264
298
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
265
299
|
"""
|
|
266
300
|
...
|
|
@@ -320,6 +354,7 @@ class Acl(pulumi.CustomResource):
|
|
|
320
354
|
acl_name: Optional[pulumi.Input[str]] = None,
|
|
321
355
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
322
356
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
357
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
323
358
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
324
359
|
__props__=None):
|
|
325
360
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -336,6 +371,7 @@ class Acl(pulumi.CustomResource):
|
|
|
336
371
|
raise TypeError("Missing required property 'address_ip_version'")
|
|
337
372
|
__props__.__dict__["address_ip_version"] = address_ip_version
|
|
338
373
|
__props__.__dict__["dry_run"] = dry_run
|
|
374
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
339
375
|
__props__.__dict__["tags"] = tags
|
|
340
376
|
__props__.__dict__["status"] = None
|
|
341
377
|
super(Acl, __self__).__init__(
|
|
@@ -352,6 +388,7 @@ class Acl(pulumi.CustomResource):
|
|
|
352
388
|
acl_name: Optional[pulumi.Input[str]] = None,
|
|
353
389
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
354
390
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
391
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
355
392
|
status: Optional[pulumi.Input[str]] = None,
|
|
356
393
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'Acl':
|
|
357
394
|
"""
|
|
@@ -365,6 +402,7 @@ class Acl(pulumi.CustomResource):
|
|
|
365
402
|
:param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
|
|
366
403
|
:param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
|
|
367
404
|
:param pulumi.Input[bool] dry_run: The dry run.
|
|
405
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
368
406
|
:param pulumi.Input[str] status: The status of the resource.
|
|
369
407
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
370
408
|
"""
|
|
@@ -376,6 +414,7 @@ class Acl(pulumi.CustomResource):
|
|
|
376
414
|
__props__.__dict__["acl_name"] = acl_name
|
|
377
415
|
__props__.__dict__["address_ip_version"] = address_ip_version
|
|
378
416
|
__props__.__dict__["dry_run"] = dry_run
|
|
417
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
379
418
|
__props__.__dict__["status"] = status
|
|
380
419
|
__props__.__dict__["tags"] = tags
|
|
381
420
|
return Acl(resource_name, opts=opts, __props__=__props__)
|
|
@@ -413,6 +452,14 @@ class Acl(pulumi.CustomResource):
|
|
|
413
452
|
"""
|
|
414
453
|
return pulumi.get(self, "dry_run")
|
|
415
454
|
|
|
455
|
+
@property
|
|
456
|
+
@pulumi.getter(name="resourceGroupId")
|
|
457
|
+
def resource_group_id(self) -> pulumi.Output[str]:
|
|
458
|
+
"""
|
|
459
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
460
|
+
"""
|
|
461
|
+
return pulumi.get(self, "resource_group_id")
|
|
462
|
+
|
|
416
463
|
@property
|
|
417
464
|
@pulumi.getter
|
|
418
465
|
def status(self) -> pulumi.Output[str]:
|