pulumi-alicloud 3.57.0__py3-none-any.whl → 3.57.0a1717541877__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -72
- pulumi_alicloud/cen/get_transit_router_available_resources.py +11 -32
- pulumi_alicloud/cen/outputs.py +1 -23
- pulumi_alicloud/cfg/remediation.py +2 -10
- pulumi_alicloud/clickhouse/db_cluster.py +0 -47
- pulumi_alicloud/cms/__init__.py +0 -1
- pulumi_alicloud/cms/_inputs.py +18 -18
- pulumi_alicloud/cms/alarm.py +26 -38
- pulumi_alicloud/cms/outputs.py +18 -92
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/ecs/_inputs.py +14 -10
- pulumi_alicloud/ecs/image_import.py +100 -162
- pulumi_alicloud/ecs/outputs.py +14 -10
- pulumi_alicloud/ecs/security_group_rule.py +2 -2
- pulumi_alicloud/eds/network_package.py +8 -22
- pulumi_alicloud/expressconnect/__init__.py +0 -8
- pulumi_alicloud/expressconnect/_inputs.py +0 -40
- pulumi_alicloud/expressconnect/outputs.py +0 -51
- pulumi_alicloud/gpdb/__init__.py +0 -1
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/hbase/get_instance_types.py +2 -2
- pulumi_alicloud/mongodb/instance.py +7 -7
- pulumi_alicloud/oss/bucket_cors.py +4 -8
- pulumi_alicloud/oss/bucket_data_redundancy_transition.py +4 -12
- pulumi_alicloud/oss/bucket_public_access_block.py +4 -12
- pulumi_alicloud/ots/instance.py +7 -7
- pulumi_alicloud/ots/table.py +8 -149
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/load_balancer_internet.py +2 -4
- pulumi_alicloud/sae/load_balancer_intranet.py +2 -4
- pulumi_alicloud/servicemesh/_inputs.py +6 -0
- pulumi_alicloud/servicemesh/outputs.py +6 -0
- pulumi_alicloud/servicemesh/service_mesh.py +2 -2
- pulumi_alicloud/simpleapplicationserver/snapshot.py +2 -10
- pulumi_alicloud/vpc/bgp_peer.py +8 -36
- pulumi_alicloud/vpc/network.py +4 -0
- pulumi_alicloud/vpn/connection.py +0 -220
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +2 -2
- pulumi_alicloud/vpn/ipsec_server.py +12 -20
- pulumi_alicloud/vpn/pbr_route_entry.py +16 -152
- pulumi_alicloud/vpn/route_entry.py +44 -158
- {pulumi_alicloud-3.57.0.dist-info → pulumi_alicloud-3.57.0a1717541877.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.57.0.dist-info → pulumi_alicloud-3.57.0a1717541877.dist-info}/RECORD +45 -55
- pulumi_alicloud/cms/get_site_monitors.py +0 -243
- pulumi_alicloud/expressconnect/router_express_connect_router.py +0 -458
- pulumi_alicloud/expressconnect/router_tr_association.py +0 -578
- pulumi_alicloud/expressconnect/router_vbr_child_instance.py +0 -475
- pulumi_alicloud/expressconnect/router_vpc_association.py +0 -500
- pulumi_alicloud/expressconnect/traffic_qos.py +0 -284
- pulumi_alicloud/expressconnect/traffic_qos_association.py +0 -336
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +0 -520
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +0 -1174
- pulumi_alicloud/gpdb/db_resource_group.py +0 -364
- {pulumi_alicloud-3.57.0.dist-info → pulumi_alicloud-3.57.0a1717541877.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.57.0.dist-info → pulumi_alicloud-3.57.0a1717541877.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cms/alarm.py
CHANGED
|
@@ -734,12 +734,12 @@ class Alarm(pulumi.CustomResource):
|
|
|
734
734
|
name = config.get("name")
|
|
735
735
|
if name is None:
|
|
736
736
|
name = "tf-example"
|
|
737
|
-
default = alicloud.
|
|
738
|
-
available_resource_creation="VSwitch")
|
|
739
|
-
default_get_images = alicloud.ecs.get_images(most_recent=True,
|
|
737
|
+
default = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
740
738
|
owners="system")
|
|
741
|
-
|
|
742
|
-
|
|
739
|
+
default_get_zones = alicloud.get_zones(available_resource_creation="Instance")
|
|
740
|
+
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_get_zones.zones[0].id,
|
|
741
|
+
cpu_core_count=1,
|
|
742
|
+
memory_size=2)
|
|
743
743
|
default_network = alicloud.vpc.Network("default",
|
|
744
744
|
vpc_name=name,
|
|
745
745
|
cidr_block="10.4.0.0/16")
|
|
@@ -747,14 +747,14 @@ class Alarm(pulumi.CustomResource):
|
|
|
747
747
|
vswitch_name=name,
|
|
748
748
|
cidr_block="10.4.0.0/24",
|
|
749
749
|
vpc_id=default_network.id,
|
|
750
|
-
zone_id=
|
|
750
|
+
zone_id=default_get_zones.zones[0].id)
|
|
751
751
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
752
752
|
name=name,
|
|
753
753
|
vpc_id=default_network.id)
|
|
754
754
|
default_instance = alicloud.ecs.Instance("default",
|
|
755
|
-
availability_zone=
|
|
755
|
+
availability_zone=default_get_zones.zones[0].id,
|
|
756
756
|
instance_name=name,
|
|
757
|
-
image_id=
|
|
757
|
+
image_id=default.images[0].id,
|
|
758
758
|
instance_type=default_get_instance_types.instance_types[0].id,
|
|
759
759
|
security_groups=[default_security_group.id],
|
|
760
760
|
vswitch_id=default_switch.id)
|
|
@@ -763,22 +763,16 @@ class Alarm(pulumi.CustomResource):
|
|
|
763
763
|
name=name,
|
|
764
764
|
project="acs_ecs_dashboard",
|
|
765
765
|
metric="disk_writebytes",
|
|
766
|
-
|
|
767
|
-
contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
|
|
768
|
-
effective_interval="06:00-20:00",
|
|
769
|
-
metric_dimensions=default_instance.id.apply(lambda id: f\"\"\" [
|
|
770
|
-
{{
|
|
771
|
-
"instanceId": "{id}",
|
|
772
|
-
"device": "/dev/vda1"
|
|
773
|
-
}}
|
|
774
|
-
]
|
|
775
|
-
\"\"\"),
|
|
766
|
+
metric_dimensions=default_instance.id.apply(lambda id: f"[{{\\"instanceId\\":\\"{id}\\",\\"device\\":\\"/dev/vda1\\"}}]"),
|
|
776
767
|
escalations_critical=alicloud.cms.AlarmEscalationsCriticalArgs(
|
|
777
768
|
statistics="Average",
|
|
778
769
|
comparison_operator="<=",
|
|
779
770
|
threshold="35",
|
|
780
771
|
times=2,
|
|
781
|
-
)
|
|
772
|
+
),
|
|
773
|
+
period=900,
|
|
774
|
+
contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
|
|
775
|
+
effective_interval="06:00-20:00")
|
|
782
776
|
```
|
|
783
777
|
|
|
784
778
|
## Import
|
|
@@ -837,12 +831,12 @@ class Alarm(pulumi.CustomResource):
|
|
|
837
831
|
name = config.get("name")
|
|
838
832
|
if name is None:
|
|
839
833
|
name = "tf-example"
|
|
840
|
-
default = alicloud.
|
|
841
|
-
available_resource_creation="VSwitch")
|
|
842
|
-
default_get_images = alicloud.ecs.get_images(most_recent=True,
|
|
834
|
+
default = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
843
835
|
owners="system")
|
|
844
|
-
|
|
845
|
-
|
|
836
|
+
default_get_zones = alicloud.get_zones(available_resource_creation="Instance")
|
|
837
|
+
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_get_zones.zones[0].id,
|
|
838
|
+
cpu_core_count=1,
|
|
839
|
+
memory_size=2)
|
|
846
840
|
default_network = alicloud.vpc.Network("default",
|
|
847
841
|
vpc_name=name,
|
|
848
842
|
cidr_block="10.4.0.0/16")
|
|
@@ -850,14 +844,14 @@ class Alarm(pulumi.CustomResource):
|
|
|
850
844
|
vswitch_name=name,
|
|
851
845
|
cidr_block="10.4.0.0/24",
|
|
852
846
|
vpc_id=default_network.id,
|
|
853
|
-
zone_id=
|
|
847
|
+
zone_id=default_get_zones.zones[0].id)
|
|
854
848
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
855
849
|
name=name,
|
|
856
850
|
vpc_id=default_network.id)
|
|
857
851
|
default_instance = alicloud.ecs.Instance("default",
|
|
858
|
-
availability_zone=
|
|
852
|
+
availability_zone=default_get_zones.zones[0].id,
|
|
859
853
|
instance_name=name,
|
|
860
|
-
image_id=
|
|
854
|
+
image_id=default.images[0].id,
|
|
861
855
|
instance_type=default_get_instance_types.instance_types[0].id,
|
|
862
856
|
security_groups=[default_security_group.id],
|
|
863
857
|
vswitch_id=default_switch.id)
|
|
@@ -866,22 +860,16 @@ class Alarm(pulumi.CustomResource):
|
|
|
866
860
|
name=name,
|
|
867
861
|
project="acs_ecs_dashboard",
|
|
868
862
|
metric="disk_writebytes",
|
|
869
|
-
|
|
870
|
-
contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
|
|
871
|
-
effective_interval="06:00-20:00",
|
|
872
|
-
metric_dimensions=default_instance.id.apply(lambda id: f\"\"\" [
|
|
873
|
-
{{
|
|
874
|
-
"instanceId": "{id}",
|
|
875
|
-
"device": "/dev/vda1"
|
|
876
|
-
}}
|
|
877
|
-
]
|
|
878
|
-
\"\"\"),
|
|
863
|
+
metric_dimensions=default_instance.id.apply(lambda id: f"[{{\\"instanceId\\":\\"{id}\\",\\"device\\":\\"/dev/vda1\\"}}]"),
|
|
879
864
|
escalations_critical=alicloud.cms.AlarmEscalationsCriticalArgs(
|
|
880
865
|
statistics="Average",
|
|
881
866
|
comparison_operator="<=",
|
|
882
867
|
threshold="35",
|
|
883
868
|
times=2,
|
|
884
|
-
)
|
|
869
|
+
),
|
|
870
|
+
period=900,
|
|
871
|
+
contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
|
|
872
|
+
effective_interval="06:00-20:00")
|
|
885
873
|
```
|
|
886
874
|
|
|
887
875
|
## Import
|
pulumi_alicloud/cms/outputs.py
CHANGED
|
@@ -82,7 +82,6 @@ __all__ = [
|
|
|
82
82
|
'GetMonitorGroupInstancesInstanceInstanceResult',
|
|
83
83
|
'GetMonitorGroupsGroupResult',
|
|
84
84
|
'GetNamespacesNamespaceResult',
|
|
85
|
-
'GetSiteMonitorsMonitorResult',
|
|
86
85
|
'GetSlsGroupsGroupResult',
|
|
87
86
|
'GetSlsGroupsGroupSlsGroupConfigResult',
|
|
88
87
|
]
|
|
@@ -112,7 +111,7 @@ class AlarmEscalationsCritical(dict):
|
|
|
112
111
|
threshold: Optional[str] = None,
|
|
113
112
|
times: Optional[int] = None):
|
|
114
113
|
"""
|
|
115
|
-
:param str comparison_operator: Critical level alarm comparison operator. Default value:
|
|
114
|
+
:param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
116
115
|
:param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
117
116
|
:param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
118
117
|
:param int times: Critical level alarm retry times. Default value: `3`.
|
|
@@ -130,7 +129,7 @@ class AlarmEscalationsCritical(dict):
|
|
|
130
129
|
@pulumi.getter(name="comparisonOperator")
|
|
131
130
|
def comparison_operator(self) -> Optional[str]:
|
|
132
131
|
"""
|
|
133
|
-
Critical level alarm comparison operator. Default value:
|
|
132
|
+
Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
134
133
|
"""
|
|
135
134
|
return pulumi.get(self, "comparison_operator")
|
|
136
135
|
|
|
@@ -184,10 +183,10 @@ class AlarmEscalationsInfo(dict):
|
|
|
184
183
|
threshold: Optional[str] = None,
|
|
185
184
|
times: Optional[int] = None):
|
|
186
185
|
"""
|
|
187
|
-
:param str comparison_operator:
|
|
188
|
-
:param str statistics:
|
|
189
|
-
:param str threshold:
|
|
190
|
-
:param int times:
|
|
186
|
+
:param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
187
|
+
:param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
188
|
+
:param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
189
|
+
:param int times: Critical level alarm retry times. Default value: `3`.
|
|
191
190
|
"""
|
|
192
191
|
if comparison_operator is not None:
|
|
193
192
|
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
@@ -202,7 +201,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
202
201
|
@pulumi.getter(name="comparisonOperator")
|
|
203
202
|
def comparison_operator(self) -> Optional[str]:
|
|
204
203
|
"""
|
|
205
|
-
|
|
204
|
+
Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
206
205
|
"""
|
|
207
206
|
return pulumi.get(self, "comparison_operator")
|
|
208
207
|
|
|
@@ -210,7 +209,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
210
209
|
@pulumi.getter
|
|
211
210
|
def statistics(self) -> Optional[str]:
|
|
212
211
|
"""
|
|
213
|
-
|
|
212
|
+
Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
214
213
|
"""
|
|
215
214
|
return pulumi.get(self, "statistics")
|
|
216
215
|
|
|
@@ -218,7 +217,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
218
217
|
@pulumi.getter
|
|
219
218
|
def threshold(self) -> Optional[str]:
|
|
220
219
|
"""
|
|
221
|
-
|
|
220
|
+
Critical level alarm threshold value, which must be a numeric value currently.
|
|
222
221
|
"""
|
|
223
222
|
return pulumi.get(self, "threshold")
|
|
224
223
|
|
|
@@ -226,7 +225,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
226
225
|
@pulumi.getter
|
|
227
226
|
def times(self) -> Optional[int]:
|
|
228
227
|
"""
|
|
229
|
-
|
|
228
|
+
Critical level alarm retry times. Default value: `3`.
|
|
230
229
|
"""
|
|
231
230
|
return pulumi.get(self, "times")
|
|
232
231
|
|
|
@@ -256,10 +255,10 @@ class AlarmEscalationsWarn(dict):
|
|
|
256
255
|
threshold: Optional[str] = None,
|
|
257
256
|
times: Optional[int] = None):
|
|
258
257
|
"""
|
|
259
|
-
:param str comparison_operator:
|
|
260
|
-
:param str statistics:
|
|
261
|
-
:param str threshold:
|
|
262
|
-
:param int times:
|
|
258
|
+
:param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
259
|
+
:param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
260
|
+
:param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
261
|
+
:param int times: Critical level alarm retry times. Default value: `3`.
|
|
263
262
|
"""
|
|
264
263
|
if comparison_operator is not None:
|
|
265
264
|
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
@@ -274,7 +273,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
274
273
|
@pulumi.getter(name="comparisonOperator")
|
|
275
274
|
def comparison_operator(self) -> Optional[str]:
|
|
276
275
|
"""
|
|
277
|
-
|
|
276
|
+
Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
|
|
278
277
|
"""
|
|
279
278
|
return pulumi.get(self, "comparison_operator")
|
|
280
279
|
|
|
@@ -282,7 +281,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
282
281
|
@pulumi.getter
|
|
283
282
|
def statistics(self) -> Optional[str]:
|
|
284
283
|
"""
|
|
285
|
-
|
|
284
|
+
Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
286
285
|
"""
|
|
287
286
|
return pulumi.get(self, "statistics")
|
|
288
287
|
|
|
@@ -290,7 +289,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
290
289
|
@pulumi.getter
|
|
291
290
|
def threshold(self) -> Optional[str]:
|
|
292
291
|
"""
|
|
293
|
-
|
|
292
|
+
Critical level alarm threshold value, which must be a numeric value currently.
|
|
294
293
|
"""
|
|
295
294
|
return pulumi.get(self, "threshold")
|
|
296
295
|
|
|
@@ -298,7 +297,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
298
297
|
@pulumi.getter
|
|
299
298
|
def times(self) -> Optional[int]:
|
|
300
299
|
"""
|
|
301
|
-
|
|
300
|
+
Critical level alarm retry times. Default value: `3`.
|
|
302
301
|
"""
|
|
303
302
|
return pulumi.get(self, "times")
|
|
304
303
|
|
|
@@ -4629,79 +4628,6 @@ class GetNamespacesNamespaceResult(dict):
|
|
|
4629
4628
|
return pulumi.get(self, "specification")
|
|
4630
4629
|
|
|
4631
4630
|
|
|
4632
|
-
@pulumi.output_type
|
|
4633
|
-
class GetSiteMonitorsMonitorResult(dict):
|
|
4634
|
-
def __init__(__self__, *,
|
|
4635
|
-
address: str,
|
|
4636
|
-
create_time: str,
|
|
4637
|
-
interval: str,
|
|
4638
|
-
task_id: str,
|
|
4639
|
-
task_name: str,
|
|
4640
|
-
task_type: str):
|
|
4641
|
-
"""
|
|
4642
|
-
:param str address: Address.
|
|
4643
|
-
:param str create_time: CreateTime.
|
|
4644
|
-
:param str interval: Monitoring frequency.
|
|
4645
|
-
:param str task_id: Task ID.
|
|
4646
|
-
:param str task_name: Task Name.
|
|
4647
|
-
:param str task_type: Task Type.
|
|
4648
|
-
"""
|
|
4649
|
-
pulumi.set(__self__, "address", address)
|
|
4650
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
4651
|
-
pulumi.set(__self__, "interval", interval)
|
|
4652
|
-
pulumi.set(__self__, "task_id", task_id)
|
|
4653
|
-
pulumi.set(__self__, "task_name", task_name)
|
|
4654
|
-
pulumi.set(__self__, "task_type", task_type)
|
|
4655
|
-
|
|
4656
|
-
@property
|
|
4657
|
-
@pulumi.getter
|
|
4658
|
-
def address(self) -> str:
|
|
4659
|
-
"""
|
|
4660
|
-
Address.
|
|
4661
|
-
"""
|
|
4662
|
-
return pulumi.get(self, "address")
|
|
4663
|
-
|
|
4664
|
-
@property
|
|
4665
|
-
@pulumi.getter(name="createTime")
|
|
4666
|
-
def create_time(self) -> str:
|
|
4667
|
-
"""
|
|
4668
|
-
CreateTime.
|
|
4669
|
-
"""
|
|
4670
|
-
return pulumi.get(self, "create_time")
|
|
4671
|
-
|
|
4672
|
-
@property
|
|
4673
|
-
@pulumi.getter
|
|
4674
|
-
def interval(self) -> str:
|
|
4675
|
-
"""
|
|
4676
|
-
Monitoring frequency.
|
|
4677
|
-
"""
|
|
4678
|
-
return pulumi.get(self, "interval")
|
|
4679
|
-
|
|
4680
|
-
@property
|
|
4681
|
-
@pulumi.getter(name="taskId")
|
|
4682
|
-
def task_id(self) -> str:
|
|
4683
|
-
"""
|
|
4684
|
-
Task ID.
|
|
4685
|
-
"""
|
|
4686
|
-
return pulumi.get(self, "task_id")
|
|
4687
|
-
|
|
4688
|
-
@property
|
|
4689
|
-
@pulumi.getter(name="taskName")
|
|
4690
|
-
def task_name(self) -> str:
|
|
4691
|
-
"""
|
|
4692
|
-
Task Name.
|
|
4693
|
-
"""
|
|
4694
|
-
return pulumi.get(self, "task_name")
|
|
4695
|
-
|
|
4696
|
-
@property
|
|
4697
|
-
@pulumi.getter(name="taskType")
|
|
4698
|
-
def task_type(self) -> str:
|
|
4699
|
-
"""
|
|
4700
|
-
Task Type.
|
|
4701
|
-
"""
|
|
4702
|
-
return pulumi.get(self, "task_type")
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
4631
|
@pulumi.output_type
|
|
4706
4632
|
class GetSlsGroupsGroupResult(dict):
|
|
4707
4633
|
def __init__(__self__, *,
|
pulumi_alicloud/cs/node_pool.py
CHANGED
|
@@ -131,7 +131,7 @@ class NodePoolArgs:
|
|
|
131
131
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
132
132
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
133
133
|
- The node IP address is the complete private IP address of the node.
|
|
134
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
134
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
135
135
|
:param pulumi.Input[str] node_pool_name: The name of node pool.
|
|
136
136
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
137
137
|
:param pulumi.Input[int] on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
@@ -731,7 +731,7 @@ class NodePoolArgs:
|
|
|
731
731
|
Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
732
732
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
733
733
|
- The node IP address is the complete private IP address of the node.
|
|
734
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
734
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
735
735
|
"""
|
|
736
736
|
return pulumi.get(self, "node_name_mode")
|
|
737
737
|
|
|
@@ -1341,7 +1341,7 @@ class _NodePoolState:
|
|
|
1341
1341
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
1342
1342
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
1343
1343
|
- The node IP address is the complete private IP address of the node.
|
|
1344
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
1344
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
1345
1345
|
:param pulumi.Input[str] node_pool_id: The first ID of the resource.
|
|
1346
1346
|
:param pulumi.Input[str] node_pool_name: The name of node pool.
|
|
1347
1347
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
@@ -1939,7 +1939,7 @@ class _NodePoolState:
|
|
|
1939
1939
|
Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
1940
1940
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
1941
1941
|
- The node IP address is the complete private IP address of the node.
|
|
1942
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
1942
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
1943
1943
|
"""
|
|
1944
1944
|
return pulumi.get(self, "node_name_mode")
|
|
1945
1945
|
|
|
@@ -2599,7 +2599,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2599
2599
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
2600
2600
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
2601
2601
|
- The node IP address is the complete private IP address of the node.
|
|
2602
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
2602
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
2603
2603
|
:param pulumi.Input[str] node_pool_name: The name of node pool.
|
|
2604
2604
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
2605
2605
|
:param pulumi.Input[int] on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
@@ -2975,7 +2975,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2975
2975
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
2976
2976
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
2977
2977
|
- The node IP address is the complete private IP address of the node.
|
|
2978
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
2978
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
2979
2979
|
:param pulumi.Input[str] node_pool_id: The first ID of the resource.
|
|
2980
2980
|
:param pulumi.Input[str] node_pool_name: The name of node pool.
|
|
2981
2981
|
:param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
@@ -3370,7 +3370,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3370
3370
|
Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
|
|
3371
3371
|
- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
|
|
3372
3372
|
- The node IP address is the complete private IP address of the node.
|
|
3373
|
-
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `
|
|
3373
|
+
- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
|
|
3374
3374
|
"""
|
|
3375
3375
|
return pulumi.get(self, "node_name_mode")
|
|
3376
3376
|
|
pulumi_alicloud/ecs/_inputs.py
CHANGED
|
@@ -903,11 +903,13 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
903
903
|
oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
904
904
|
oss_object: Optional[pulumi.Input[str]] = None):
|
|
905
905
|
"""
|
|
906
|
-
:param pulumi.Input[str] device: The
|
|
907
|
-
:param pulumi.Input[int] disk_image_size:
|
|
908
|
-
:param pulumi.Input[str] format:
|
|
909
|
-
:param pulumi.Input[str] oss_bucket:
|
|
910
|
-
:param pulumi.Input[str] oss_object: The name
|
|
906
|
+
:param pulumi.Input[str] device: The name of disk N in the custom image.
|
|
907
|
+
:param pulumi.Input[int] disk_image_size: Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result.
|
|
908
|
+
:param pulumi.Input[str] format: Image format. Value range: When the `RAW`, `VHD`, `qcow2` is imported into the image, the system automatically detects the image format, whichever comes first.
|
|
909
|
+
:param pulumi.Input[str] oss_bucket: Save the exported OSS bucket.
|
|
910
|
+
:param pulumi.Input[str] oss_object: The file name of your OSS Object.
|
|
911
|
+
|
|
912
|
+
> **NOTE:** The disk_device_mapping is a list and it's first item will be used to system disk and other items are used to data disks.
|
|
911
913
|
"""
|
|
912
914
|
if device is not None:
|
|
913
915
|
pulumi.set(__self__, "device", device)
|
|
@@ -924,7 +926,7 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
924
926
|
@pulumi.getter
|
|
925
927
|
def device(self) -> Optional[pulumi.Input[str]]:
|
|
926
928
|
"""
|
|
927
|
-
The
|
|
929
|
+
The name of disk N in the custom image.
|
|
928
930
|
"""
|
|
929
931
|
return pulumi.get(self, "device")
|
|
930
932
|
|
|
@@ -936,7 +938,7 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
936
938
|
@pulumi.getter(name="diskImageSize")
|
|
937
939
|
def disk_image_size(self) -> Optional[pulumi.Input[int]]:
|
|
938
940
|
"""
|
|
939
|
-
|
|
941
|
+
Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result.
|
|
940
942
|
"""
|
|
941
943
|
return pulumi.get(self, "disk_image_size")
|
|
942
944
|
|
|
@@ -948,7 +950,7 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
948
950
|
@pulumi.getter
|
|
949
951
|
def format(self) -> Optional[pulumi.Input[str]]:
|
|
950
952
|
"""
|
|
951
|
-
|
|
953
|
+
Image format. Value range: When the `RAW`, `VHD`, `qcow2` is imported into the image, the system automatically detects the image format, whichever comes first.
|
|
952
954
|
"""
|
|
953
955
|
return pulumi.get(self, "format")
|
|
954
956
|
|
|
@@ -960,7 +962,7 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
960
962
|
@pulumi.getter(name="ossBucket")
|
|
961
963
|
def oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
962
964
|
"""
|
|
963
|
-
|
|
965
|
+
Save the exported OSS bucket.
|
|
964
966
|
"""
|
|
965
967
|
return pulumi.get(self, "oss_bucket")
|
|
966
968
|
|
|
@@ -972,7 +974,9 @@ class ImageImportDiskDeviceMappingArgs:
|
|
|
972
974
|
@pulumi.getter(name="ossObject")
|
|
973
975
|
def oss_object(self) -> Optional[pulumi.Input[str]]:
|
|
974
976
|
"""
|
|
975
|
-
The name
|
|
977
|
+
The file name of your OSS Object.
|
|
978
|
+
|
|
979
|
+
> **NOTE:** The disk_device_mapping is a list and it's first item will be used to system disk and other items are used to data disks.
|
|
976
980
|
"""
|
|
977
981
|
return pulumi.get(self, "oss_object")
|
|
978
982
|
|