pulumi-alicloud 3.56.0a1715923185__py3-none-any.whl → 3.56.0a1716440817__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_alicloud/cs/_inputs.py +128 -16
- pulumi_alicloud/cs/edge_kubernetes.py +29 -15
- pulumi_alicloud/cs/kubernetes.py +54 -7
- pulumi_alicloud/cs/managed_kubernetes.py +34 -0
- pulumi_alicloud/cs/outputs.py +150 -16
- pulumi_alicloud/ecs/_inputs.py +49 -1
- pulumi_alicloud/ecs/ecs_deployment_set.py +9 -9
- pulumi_alicloud/ecs/eip.py +68 -0
- pulumi_alicloud/ecs/eip_address.py +115 -0
- pulumi_alicloud/ecs/instance.py +166 -126
- pulumi_alicloud/ecs/outputs.py +43 -1
- pulumi_alicloud/ess/_inputs.py +2 -2
- pulumi_alicloud/ess/outputs.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +7 -7
- pulumi_alicloud/kms/instance.py +218 -128
- pulumi_alicloud/message/service_queue.py +100 -82
- pulumi_alicloud/nas/access_rule.py +38 -18
- pulumi_alicloud/nas/auto_snapshot_policy.py +111 -26
- pulumi_alicloud/privatelink/vpc_endpoint.py +124 -41
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/simpleapplicationserver/snapshot.py +4 -4
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/RECORD +25 -25
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -27,6 +27,7 @@ class InstanceArgs:
|
|
|
27
27
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
28
28
|
description: Optional[pulumi.Input[str]] = None,
|
|
29
29
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
30
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
30
31
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
31
32
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
32
33
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -88,7 +89,7 @@ class InstanceArgs:
|
|
|
88
89
|
"""
|
|
89
90
|
The set of arguments for constructing a Instance resource.
|
|
90
91
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
91
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
92
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
92
93
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
93
94
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
94
95
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -103,9 +104,24 @@ class InstanceArgs:
|
|
|
103
104
|
- false: Disable deletion protection.
|
|
104
105
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
105
106
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
106
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
107
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
107
108
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
108
109
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
110
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
111
|
+
|
|
112
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
113
|
+
|
|
114
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
115
|
+
|
|
116
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
117
|
+
|
|
118
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
119
|
+
|
|
120
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
121
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
122
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
123
|
+
|
|
124
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
109
125
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
110
126
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
111
127
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -135,21 +151,6 @@ class InstanceArgs:
|
|
|
135
151
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
136
152
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
137
153
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
141
|
-
|
|
142
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
143
|
-
|
|
144
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
145
|
-
|
|
146
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
147
|
-
|
|
148
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
149
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
150
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
151
|
-
|
|
152
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
153
154
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
154
155
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
155
156
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
@@ -183,7 +184,7 @@ class InstanceArgs:
|
|
|
183
184
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
184
185
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
185
186
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
186
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
187
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
187
188
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
188
189
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
189
190
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -229,6 +230,8 @@ class InstanceArgs:
|
|
|
229
230
|
pulumi.set(__self__, "description", description)
|
|
230
231
|
if dry_run is not None:
|
|
231
232
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
233
|
+
if enable_jumbo_frame is not None:
|
|
234
|
+
pulumi.set(__self__, "enable_jumbo_frame", enable_jumbo_frame)
|
|
232
235
|
if force_delete is not None:
|
|
233
236
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
234
237
|
if host_name is not None:
|
|
@@ -368,7 +371,7 @@ class InstanceArgs:
|
|
|
368
371
|
@pulumi.getter(name="autoReleaseTime")
|
|
369
372
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
370
373
|
"""
|
|
371
|
-
The automatic release time of the `PostPaid` instance.
|
|
374
|
+
The automatic release time of the `PostPaid` instance.
|
|
372
375
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
373
376
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
374
377
|
"""
|
|
@@ -482,7 +485,7 @@ class InstanceArgs:
|
|
|
482
485
|
@pulumi.getter(name="dryRun")
|
|
483
486
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
484
487
|
"""
|
|
485
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
488
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
486
489
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
487
490
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
488
491
|
"""
|
|
@@ -492,6 +495,32 @@ class InstanceArgs:
|
|
|
492
495
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
493
496
|
pulumi.set(self, "dry_run", value)
|
|
494
497
|
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
500
|
+
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
501
|
+
"""
|
|
502
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
503
|
+
|
|
504
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
505
|
+
|
|
506
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
507
|
+
|
|
508
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
509
|
+
|
|
510
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
511
|
+
|
|
512
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
513
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
514
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
515
|
+
|
|
516
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
517
|
+
"""
|
|
518
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
519
|
+
|
|
520
|
+
@enable_jumbo_frame.setter
|
|
521
|
+
def enable_jumbo_frame(self, value: Optional[pulumi.Input[bool]]):
|
|
522
|
+
pulumi.set(self, "enable_jumbo_frame", value)
|
|
523
|
+
|
|
495
524
|
@property
|
|
496
525
|
@pulumi.getter(name="forceDelete")
|
|
497
526
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -768,21 +797,6 @@ class InstanceArgs:
|
|
|
768
797
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
769
798
|
"""
|
|
770
799
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
774
|
-
|
|
775
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
776
|
-
|
|
777
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
778
|
-
|
|
779
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
780
|
-
|
|
781
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
782
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
783
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
784
|
-
|
|
785
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
786
800
|
"""
|
|
787
801
|
return pulumi.get(self, "launch_template_version")
|
|
788
802
|
|
|
@@ -1069,7 +1083,7 @@ class InstanceArgs:
|
|
|
1069
1083
|
@pulumi.getter(name="systemDiskCategory")
|
|
1070
1084
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
1071
1085
|
"""
|
|
1072
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
1086
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
1073
1087
|
"""
|
|
1074
1088
|
return pulumi.get(self, "system_disk_category")
|
|
1075
1089
|
|
|
@@ -1245,6 +1259,7 @@ class _InstanceState:
|
|
|
1245
1259
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
1246
1260
|
description: Optional[pulumi.Input[str]] = None,
|
|
1247
1261
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
1262
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
1248
1263
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
1249
1264
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
1250
1265
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1313,7 +1328,7 @@ class _InstanceState:
|
|
|
1313
1328
|
"""
|
|
1314
1329
|
Input properties used for looking up and filtering Instance resources.
|
|
1315
1330
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
1316
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
1331
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
1317
1332
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
1318
1333
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1319
1334
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -1330,9 +1345,24 @@ class _InstanceState:
|
|
|
1330
1345
|
:param pulumi.Input[str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
|
|
1331
1346
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
1332
1347
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
1333
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
1348
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
1334
1349
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
1335
1350
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1351
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1352
|
+
|
|
1353
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1354
|
+
|
|
1355
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1356
|
+
|
|
1357
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1358
|
+
|
|
1359
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1360
|
+
|
|
1361
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1362
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1363
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1364
|
+
|
|
1365
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1336
1366
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1337
1367
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
1338
1368
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -1362,21 +1392,6 @@ class _InstanceState:
|
|
|
1362
1392
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
1363
1393
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
1364
1394
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1368
|
-
|
|
1369
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1370
|
-
|
|
1371
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1372
|
-
|
|
1373
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1374
|
-
|
|
1375
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1376
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1377
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1378
|
-
|
|
1379
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1380
1395
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
1381
1396
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
1382
1397
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
@@ -1416,7 +1431,7 @@ class _InstanceState:
|
|
|
1416
1431
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
1417
1432
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
1418
1433
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
1419
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
1434
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
1420
1435
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
1421
1436
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
1422
1437
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -1467,6 +1482,8 @@ class _InstanceState:
|
|
|
1467
1482
|
pulumi.set(__self__, "description", description)
|
|
1468
1483
|
if dry_run is not None:
|
|
1469
1484
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
1485
|
+
if enable_jumbo_frame is not None:
|
|
1486
|
+
pulumi.set(__self__, "enable_jumbo_frame", enable_jumbo_frame)
|
|
1470
1487
|
if force_delete is not None:
|
|
1471
1488
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
1472
1489
|
if host_name is not None:
|
|
@@ -1620,7 +1637,7 @@ class _InstanceState:
|
|
|
1620
1637
|
@pulumi.getter(name="autoReleaseTime")
|
|
1621
1638
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
1622
1639
|
"""
|
|
1623
|
-
The automatic release time of the `PostPaid` instance.
|
|
1640
|
+
The automatic release time of the `PostPaid` instance.
|
|
1624
1641
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
1625
1642
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1626
1643
|
"""
|
|
@@ -1758,7 +1775,7 @@ class _InstanceState:
|
|
|
1758
1775
|
@pulumi.getter(name="dryRun")
|
|
1759
1776
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
1760
1777
|
"""
|
|
1761
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
1778
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
1762
1779
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
1763
1780
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1764
1781
|
"""
|
|
@@ -1768,6 +1785,32 @@ class _InstanceState:
|
|
|
1768
1785
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
1769
1786
|
pulumi.set(self, "dry_run", value)
|
|
1770
1787
|
|
|
1788
|
+
@property
|
|
1789
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
1790
|
+
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
1791
|
+
"""
|
|
1792
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1793
|
+
|
|
1794
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1795
|
+
|
|
1796
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1797
|
+
|
|
1798
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1799
|
+
|
|
1800
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1801
|
+
|
|
1802
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1803
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1804
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1805
|
+
|
|
1806
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1807
|
+
"""
|
|
1808
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
1809
|
+
|
|
1810
|
+
@enable_jumbo_frame.setter
|
|
1811
|
+
def enable_jumbo_frame(self, value: Optional[pulumi.Input[bool]]):
|
|
1812
|
+
pulumi.set(self, "enable_jumbo_frame", value)
|
|
1813
|
+
|
|
1771
1814
|
@property
|
|
1772
1815
|
@pulumi.getter(name="forceDelete")
|
|
1773
1816
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -2044,21 +2087,6 @@ class _InstanceState:
|
|
|
2044
2087
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
2045
2088
|
"""
|
|
2046
2089
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2050
|
-
|
|
2051
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2052
|
-
|
|
2053
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2054
|
-
|
|
2055
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2056
|
-
|
|
2057
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2058
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2059
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2060
|
-
|
|
2061
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2062
2090
|
"""
|
|
2063
2091
|
return pulumi.get(self, "launch_template_version")
|
|
2064
2092
|
|
|
@@ -2417,7 +2445,7 @@ class _InstanceState:
|
|
|
2417
2445
|
@pulumi.getter(name="systemDiskCategory")
|
|
2418
2446
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
2419
2447
|
"""
|
|
2420
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
2448
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
2421
2449
|
"""
|
|
2422
2450
|
return pulumi.get(self, "system_disk_category")
|
|
2423
2451
|
|
|
@@ -2605,6 +2633,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2605
2633
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2606
2634
|
description: Optional[pulumi.Input[str]] = None,
|
|
2607
2635
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
2636
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2608
2637
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2609
2638
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2610
2639
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2738,7 +2767,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2738
2767
|
:param str resource_name: The name of the resource.
|
|
2739
2768
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2740
2769
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
2741
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
2770
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
2742
2771
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
2743
2772
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
2744
2773
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -2753,9 +2782,24 @@ class Instance(pulumi.CustomResource):
|
|
|
2753
2782
|
- false: Disable deletion protection.
|
|
2754
2783
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
2755
2784
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
2756
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
2785
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
2757
2786
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
2758
2787
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
2788
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
2789
|
+
|
|
2790
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2791
|
+
|
|
2792
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2793
|
+
|
|
2794
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2795
|
+
|
|
2796
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2797
|
+
|
|
2798
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2799
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2800
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2801
|
+
|
|
2802
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2759
2803
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
2760
2804
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
2761
2805
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -2785,21 +2829,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2785
2829
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
2786
2830
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
2787
2831
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2791
|
-
|
|
2792
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2793
|
-
|
|
2794
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2795
|
-
|
|
2796
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2797
|
-
|
|
2798
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2799
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2800
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2801
|
-
|
|
2802
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2803
2832
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
2804
2833
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
2805
2834
|
:param pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
@@ -2833,7 +2862,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2833
2862
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
2834
2863
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
2835
2864
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
2836
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
2865
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
2837
2866
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
2838
2867
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
2839
2868
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -2957,6 +2986,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2957
2986
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2958
2987
|
description: Optional[pulumi.Input[str]] = None,
|
|
2959
2988
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
2989
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2960
2990
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2961
2991
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2962
2992
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3035,6 +3065,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3035
3065
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3036
3066
|
__props__.__dict__["description"] = description
|
|
3037
3067
|
__props__.__dict__["dry_run"] = dry_run
|
|
3068
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3038
3069
|
__props__.__dict__["force_delete"] = force_delete
|
|
3039
3070
|
__props__.__dict__["host_name"] = host_name
|
|
3040
3071
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3127,6 +3158,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3127
3158
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
3128
3159
|
description: Optional[pulumi.Input[str]] = None,
|
|
3129
3160
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
3161
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
3130
3162
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
3131
3163
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
3132
3164
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3200,7 +3232,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3200
3232
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3201
3233
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3202
3234
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
3203
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
3235
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
3204
3236
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
3205
3237
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3206
3238
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -3217,9 +3249,24 @@ class Instance(pulumi.CustomResource):
|
|
|
3217
3249
|
:param pulumi.Input[str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
|
|
3218
3250
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
3219
3251
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
3220
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
3252
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
3221
3253
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
3222
3254
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3255
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3256
|
+
|
|
3257
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3258
|
+
|
|
3259
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3260
|
+
|
|
3261
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3262
|
+
|
|
3263
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3264
|
+
|
|
3265
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3266
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3267
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3268
|
+
|
|
3269
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3223
3270
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3224
3271
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
3225
3272
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -3249,21 +3296,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3249
3296
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
3250
3297
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
3251
3298
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3255
|
-
|
|
3256
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3257
|
-
|
|
3258
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3259
|
-
|
|
3260
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3261
|
-
|
|
3262
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3263
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3264
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3265
|
-
|
|
3266
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3267
3299
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
3268
3300
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
3269
3301
|
:param pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
@@ -3303,7 +3335,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3303
3335
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
3304
3336
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
3305
3337
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
3306
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
3338
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
3307
3339
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
3308
3340
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
3309
3341
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -3342,6 +3374,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3342
3374
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3343
3375
|
__props__.__dict__["description"] = description
|
|
3344
3376
|
__props__.__dict__["dry_run"] = dry_run
|
|
3377
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3345
3378
|
__props__.__dict__["force_delete"] = force_delete
|
|
3346
3379
|
__props__.__dict__["host_name"] = host_name
|
|
3347
3380
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3424,7 +3457,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3424
3457
|
@pulumi.getter(name="autoReleaseTime")
|
|
3425
3458
|
def auto_release_time(self) -> pulumi.Output[Optional[str]]:
|
|
3426
3459
|
"""
|
|
3427
|
-
The automatic release time of the `PostPaid` instance.
|
|
3460
|
+
The automatic release time of the `PostPaid` instance.
|
|
3428
3461
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
3429
3462
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3430
3463
|
"""
|
|
@@ -3518,12 +3551,34 @@ class Instance(pulumi.CustomResource):
|
|
|
3518
3551
|
@pulumi.getter(name="dryRun")
|
|
3519
3552
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
3520
3553
|
"""
|
|
3521
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
3554
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
3522
3555
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
3523
3556
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3524
3557
|
"""
|
|
3525
3558
|
return pulumi.get(self, "dry_run")
|
|
3526
3559
|
|
|
3560
|
+
@property
|
|
3561
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
3562
|
+
def enable_jumbo_frame(self) -> pulumi.Output[bool]:
|
|
3563
|
+
"""
|
|
3564
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3565
|
+
|
|
3566
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3567
|
+
|
|
3568
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3569
|
+
|
|
3570
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3571
|
+
|
|
3572
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3573
|
+
|
|
3574
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3575
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3576
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3577
|
+
|
|
3578
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3579
|
+
"""
|
|
3580
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
3581
|
+
|
|
3527
3582
|
@property
|
|
3528
3583
|
@pulumi.getter(name="forceDelete")
|
|
3529
3584
|
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -3712,21 +3767,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3712
3767
|
def launch_template_version(self) -> pulumi.Output[Optional[str]]:
|
|
3713
3768
|
"""
|
|
3714
3769
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3718
|
-
|
|
3719
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3720
|
-
|
|
3721
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3722
|
-
|
|
3723
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3724
|
-
|
|
3725
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3726
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3727
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3728
|
-
|
|
3729
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3730
3770
|
"""
|
|
3731
3771
|
return pulumi.get(self, "launch_template_version")
|
|
3732
3772
|
|
|
@@ -3969,7 +4009,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3969
4009
|
@pulumi.getter(name="systemDiskCategory")
|
|
3970
4010
|
def system_disk_category(self) -> pulumi.Output[str]:
|
|
3971
4011
|
"""
|
|
3972
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
4012
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
3973
4013
|
"""
|
|
3974
4014
|
return pulumi.get(self, "system_disk_category")
|
|
3975
4015
|
|