pulumi-alicloud 3.82.0a1751947305__py3-none-any.whl → 3.83.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

@@ -116,15 +116,13 @@ class InstanceArgs:
116
116
  :param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: The list of data disks created with instance. See `data_disks` below.
117
117
  :param pulumi.Input[builtins.str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
118
118
  :param pulumi.Input[builtins.bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
119
- - true: Enable deletion protection.
120
- - false: Disable deletion protection.
121
119
  :param pulumi.Input[builtins.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' = "".
122
120
  :param pulumi.Input[builtins.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.
123
121
  :param pulumi.Input[builtins.bool] dry_run: Specifies whether to send a dry-run request. Default to false.
124
122
  - 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.
125
123
  - false: A request is sent. If the validation succeeds, the instance is created.
126
124
  :param pulumi.Input[builtins.bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
127
- :param pulumi.Input[builtins.bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
125
+ :param pulumi.Input[builtins.bool] force_delete: If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
128
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".
129
127
  :param pulumi.Input[builtins.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.
130
128
  On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
@@ -139,7 +137,7 @@ class InstanceArgs:
139
137
 
140
138
  > **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
139
 
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.
140
+ > **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
141
 
144
142
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
145
143
 
@@ -506,8 +504,6 @@ class InstanceArgs:
506
504
  def deletion_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
507
505
  """
508
506
  Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
509
- - true: Enable deletion protection.
510
- - false: Disable deletion protection.
511
507
  """
512
508
  return pulumi.get(self, "deletion_protection")
513
509
 
@@ -569,7 +565,7 @@ class InstanceArgs:
569
565
  @pulumi.getter(name="forceDelete")
570
566
  def force_delete(self) -> Optional[pulumi.Input[builtins.bool]]:
571
567
  """
572
- If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
568
+ If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
573
569
  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".
574
570
  """
575
571
  return pulumi.get(self, "force_delete")
@@ -661,7 +657,7 @@ class InstanceArgs:
661
657
 
662
658
  > **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.
663
659
 
664
- > **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.
660
+ > **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.
665
661
 
666
662
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
667
663
 
@@ -1546,8 +1542,6 @@ class _InstanceState:
1546
1542
  :param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: The list of data disks created with instance. See `data_disks` below.
1547
1543
  :param pulumi.Input[builtins.str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
1548
1544
  :param pulumi.Input[builtins.bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
1549
- - true: Enable deletion protection.
1550
- - false: Disable deletion protection.
1551
1545
  :param pulumi.Input[builtins.str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
1552
1546
  :param pulumi.Input[builtins.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' = "".
1553
1547
  :param pulumi.Input[builtins.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.
@@ -1556,7 +1550,7 @@ class _InstanceState:
1556
1550
  - false: A request is sent. If the validation succeeds, the instance is created.
1557
1551
  :param pulumi.Input[builtins.bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
1558
1552
  :param pulumi.Input[builtins.str] expired_time: (Available since v1.232.0) The expiration time of the instance.
1559
- :param pulumi.Input[builtins.bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
1553
+ :param pulumi.Input[builtins.bool] force_delete: If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
1560
1554
  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".
1561
1555
  :param pulumi.Input[builtins.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.
1562
1556
  On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
@@ -1571,7 +1565,7 @@ class _InstanceState:
1571
1565
 
1572
1566
  > **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.
1573
1567
 
1574
- > **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.
1568
+ > **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.
1575
1569
 
1576
1570
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
1577
1571
 
@@ -1994,8 +1988,6 @@ class _InstanceState:
1994
1988
  def deletion_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
1995
1989
  """
1996
1990
  Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
1997
- - true: Enable deletion protection.
1998
- - false: Disable deletion protection.
1999
1991
  """
2000
1992
  return pulumi.get(self, "deletion_protection")
2001
1993
 
@@ -2081,7 +2073,7 @@ class _InstanceState:
2081
2073
  @pulumi.getter(name="forceDelete")
2082
2074
  def force_delete(self) -> Optional[pulumi.Input[builtins.bool]]:
2083
2075
  """
2084
- If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
2076
+ If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
2085
2077
  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".
2086
2078
  """
2087
2079
  return pulumi.get(self, "force_delete")
@@ -2173,7 +2165,7 @@ class _InstanceState:
2173
2165
 
2174
2166
  > **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.
2175
2167
 
2176
- > **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.
2168
+ > **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.
2177
2169
 
2178
2170
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
2179
2171
 
@@ -3222,15 +3214,13 @@ class Instance(pulumi.CustomResource):
3222
3214
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: The list of data disks created with instance. See `data_disks` below.
3223
3215
  :param pulumi.Input[builtins.str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
3224
3216
  :param pulumi.Input[builtins.bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
3225
- - true: Enable deletion protection.
3226
- - false: Disable deletion protection.
3227
3217
  :param pulumi.Input[builtins.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' = "".
3228
3218
  :param pulumi.Input[builtins.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.
3229
3219
  :param pulumi.Input[builtins.bool] dry_run: Specifies whether to send a dry-run request. Default to false.
3230
3220
  - 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.
3231
3221
  - false: A request is sent. If the validation succeeds, the instance is created.
3232
3222
  :param pulumi.Input[builtins.bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
3233
- :param pulumi.Input[builtins.bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
3223
+ :param pulumi.Input[builtins.bool] force_delete: If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
3234
3224
  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".
3235
3225
  :param pulumi.Input[builtins.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.
3236
3226
  On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
@@ -3245,7 +3235,7 @@ class Instance(pulumi.CustomResource):
3245
3235
 
3246
3236
  > **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.
3247
3237
 
3248
- > **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.
3238
+ > **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.
3249
3239
 
3250
3240
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3251
3241
 
@@ -3756,8 +3746,6 @@ class Instance(pulumi.CustomResource):
3756
3746
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: The list of data disks created with instance. See `data_disks` below.
3757
3747
  :param pulumi.Input[builtins.str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
3758
3748
  :param pulumi.Input[builtins.bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
3759
- - true: Enable deletion protection.
3760
- - false: Disable deletion protection.
3761
3749
  :param pulumi.Input[builtins.str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
3762
3750
  :param pulumi.Input[builtins.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' = "".
3763
3751
  :param pulumi.Input[builtins.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.
@@ -3766,7 +3754,7 @@ class Instance(pulumi.CustomResource):
3766
3754
  - false: A request is sent. If the validation succeeds, the instance is created.
3767
3755
  :param pulumi.Input[builtins.bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
3768
3756
  :param pulumi.Input[builtins.str] expired_time: (Available since v1.232.0) The expiration time of the instance.
3769
- :param pulumi.Input[builtins.bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
3757
+ :param pulumi.Input[builtins.bool] force_delete: If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
3770
3758
  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".
3771
3759
  :param pulumi.Input[builtins.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.
3772
3760
  On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
@@ -3781,7 +3769,7 @@ class Instance(pulumi.CustomResource):
3781
3769
 
3782
3770
  > **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.
3783
3771
 
3784
- > **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.
3772
+ > **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.
3785
3773
 
3786
3774
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3787
3775
 
@@ -4075,8 +4063,6 @@ class Instance(pulumi.CustomResource):
4075
4063
  def deletion_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
4076
4064
  """
4077
4065
  Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
4078
- - true: Enable deletion protection.
4079
- - false: Disable deletion protection.
4080
4066
  """
4081
4067
  return pulumi.get(self, "deletion_protection")
4082
4068
 
@@ -4134,7 +4120,7 @@ class Instance(pulumi.CustomResource):
4134
4120
  @pulumi.getter(name="forceDelete")
4135
4121
  def force_delete(self) -> pulumi.Output[Optional[builtins.bool]]:
4136
4122
  """
4137
- If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
4123
+ If it is true, the `PrePaid` instance will be change to `PostPaid` and then deleted forcibly.
4138
4124
  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".
4139
4125
  """
4140
4126
  return pulumi.get(self, "force_delete")
@@ -4198,7 +4184,7 @@ class Instance(pulumi.CustomResource):
4198
4184
 
4199
4185
  > **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.
4200
4186
 
4201
- > **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.
4187
+ > **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.
4202
4188
 
4203
4189
  > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
4204
4190
 
@@ -35,6 +35,7 @@ class LaunchTemplateArgs:
35
35
  http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None,
36
36
  http_tokens: Optional[pulumi.Input[builtins.str]] = None,
37
37
  image_id: Optional[pulumi.Input[builtins.str]] = None,
38
+ image_options: Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']] = None,
38
39
  image_owner_alias: Optional[pulumi.Input[builtins.str]] = None,
39
40
  instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
40
41
  instance_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -151,6 +152,8 @@ class LaunchTemplateArgs:
151
152
  pulumi.set(__self__, "http_tokens", http_tokens)
152
153
  if image_id is not None:
153
154
  pulumi.set(__self__, "image_id", image_id)
155
+ if image_options is not None:
156
+ pulumi.set(__self__, "image_options", image_options)
154
157
  if image_owner_alias is not None:
155
158
  pulumi.set(__self__, "image_owner_alias", image_owner_alias)
156
159
  if instance_charge_type is not None:
@@ -382,6 +385,15 @@ class LaunchTemplateArgs:
382
385
  def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
383
386
  pulumi.set(self, "image_id", value)
384
387
 
388
+ @property
389
+ @pulumi.getter(name="imageOptions")
390
+ def image_options(self) -> Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']]:
391
+ return pulumi.get(self, "image_options")
392
+
393
+ @image_options.setter
394
+ def image_options(self, value: Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']]):
395
+ pulumi.set(self, "image_options", value)
396
+
385
397
  @property
386
398
  @pulumi.getter(name="imageOwnerAlias")
387
399
  def image_owner_alias(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -855,6 +867,7 @@ class _LaunchTemplateState:
855
867
  http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None,
856
868
  http_tokens: Optional[pulumi.Input[builtins.str]] = None,
857
869
  image_id: Optional[pulumi.Input[builtins.str]] = None,
870
+ image_options: Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']] = None,
858
871
  image_owner_alias: Optional[pulumi.Input[builtins.str]] = None,
859
872
  instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
860
873
  instance_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -972,6 +985,8 @@ class _LaunchTemplateState:
972
985
  pulumi.set(__self__, "http_tokens", http_tokens)
973
986
  if image_id is not None:
974
987
  pulumi.set(__self__, "image_id", image_id)
988
+ if image_options is not None:
989
+ pulumi.set(__self__, "image_options", image_options)
975
990
  if image_owner_alias is not None:
976
991
  pulumi.set(__self__, "image_owner_alias", image_owner_alias)
977
992
  if instance_charge_type is not None:
@@ -1205,6 +1220,15 @@ class _LaunchTemplateState:
1205
1220
  def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
1206
1221
  pulumi.set(self, "image_id", value)
1207
1222
 
1223
+ @property
1224
+ @pulumi.getter(name="imageOptions")
1225
+ def image_options(self) -> Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']]:
1226
+ return pulumi.get(self, "image_options")
1227
+
1228
+ @image_options.setter
1229
+ def image_options(self, value: Optional[pulumi.Input['LaunchTemplateImageOptionsArgs']]):
1230
+ pulumi.set(self, "image_options", value)
1231
+
1208
1232
  @property
1209
1233
  @pulumi.getter(name="imageOwnerAlias")
1210
1234
  def image_owner_alias(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1690,6 +1714,7 @@ class LaunchTemplate(pulumi.CustomResource):
1690
1714
  http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None,
1691
1715
  http_tokens: Optional[pulumi.Input[builtins.str]] = None,
1692
1716
  image_id: Optional[pulumi.Input[builtins.str]] = None,
1717
+ image_options: Optional[pulumi.Input[Union['LaunchTemplateImageOptionsArgs', 'LaunchTemplateImageOptionsArgsDict']]] = None,
1693
1718
  image_owner_alias: Optional[pulumi.Input[builtins.str]] = None,
1694
1719
  instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
1695
1720
  instance_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -1963,6 +1988,7 @@ class LaunchTemplate(pulumi.CustomResource):
1963
1988
  http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None,
1964
1989
  http_tokens: Optional[pulumi.Input[builtins.str]] = None,
1965
1990
  image_id: Optional[pulumi.Input[builtins.str]] = None,
1991
+ image_options: Optional[pulumi.Input[Union['LaunchTemplateImageOptionsArgs', 'LaunchTemplateImageOptionsArgsDict']]] = None,
1966
1992
  image_owner_alias: Optional[pulumi.Input[builtins.str]] = None,
1967
1993
  instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
1968
1994
  instance_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -2025,6 +2051,7 @@ class LaunchTemplate(pulumi.CustomResource):
2025
2051
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
2026
2052
  __props__.__dict__["http_tokens"] = http_tokens
2027
2053
  __props__.__dict__["image_id"] = image_id
2054
+ __props__.__dict__["image_options"] = image_options
2028
2055
  __props__.__dict__["image_owner_alias"] = image_owner_alias
2029
2056
  __props__.__dict__["instance_charge_type"] = instance_charge_type
2030
2057
  __props__.__dict__["instance_name"] = instance_name
@@ -2089,6 +2116,7 @@ class LaunchTemplate(pulumi.CustomResource):
2089
2116
  http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None,
2090
2117
  http_tokens: Optional[pulumi.Input[builtins.str]] = None,
2091
2118
  image_id: Optional[pulumi.Input[builtins.str]] = None,
2119
+ image_options: Optional[pulumi.Input[Union['LaunchTemplateImageOptionsArgs', 'LaunchTemplateImageOptionsArgsDict']]] = None,
2092
2120
  image_owner_alias: Optional[pulumi.Input[builtins.str]] = None,
2093
2121
  instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
2094
2122
  instance_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -2202,6 +2230,7 @@ class LaunchTemplate(pulumi.CustomResource):
2202
2230
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
2203
2231
  __props__.__dict__["http_tokens"] = http_tokens
2204
2232
  __props__.__dict__["image_id"] = image_id
2233
+ __props__.__dict__["image_options"] = image_options
2205
2234
  __props__.__dict__["image_owner_alias"] = image_owner_alias
2206
2235
  __props__.__dict__["instance_charge_type"] = instance_charge_type
2207
2236
  __props__.__dict__["instance_name"] = instance_name
@@ -2325,6 +2354,11 @@ class LaunchTemplate(pulumi.CustomResource):
2325
2354
  """
2326
2355
  return pulumi.get(self, "image_id")
2327
2356
 
2357
+ @property
2358
+ @pulumi.getter(name="imageOptions")
2359
+ def image_options(self) -> pulumi.Output['outputs.LaunchTemplateImageOptions']:
2360
+ return pulumi.get(self, "image_options")
2361
+
2328
2362
  @property
2329
2363
  @pulumi.getter(name="imageOwnerAlias")
2330
2364
  def image_owner_alias(self) -> pulumi.Output[Optional[builtins.str]]:
@@ -24,6 +24,7 @@ __all__ = [
24
24
  'EcsInstanceSetExcludeInstanceFilter',
25
25
  'EcsInstanceSetNetworkInterface',
26
26
  'EcsLaunchTemplateDataDisk',
27
+ 'EcsLaunchTemplateImageOptions',
27
28
  'EcsLaunchTemplateNetworkInterfaces',
28
29
  'EcsLaunchTemplateSystemDisk',
29
30
  'EcsPrefixListEntry',
@@ -35,6 +36,7 @@ __all__ = [
35
36
  'InstanceMaintenanceTime',
36
37
  'InstanceNetworkInterfaces',
37
38
  'LaunchTemplateDataDisk',
39
+ 'LaunchTemplateImageOptions',
38
40
  'LaunchTemplateNetworkInterfaces',
39
41
  'LaunchTemplateSystemDisk',
40
42
  'ReservedInstanceOperationLock',
@@ -714,6 +716,42 @@ class EcsLaunchTemplateDataDisk(dict):
714
716
  return pulumi.get(self, "snapshot_id")
715
717
 
716
718
 
719
+ @pulumi.output_type
720
+ class EcsLaunchTemplateImageOptions(dict):
721
+ @staticmethod
722
+ def __key_warning(key: str):
723
+ suggest = None
724
+ if key == "loginAsNonRoot":
725
+ suggest = "login_as_non_root"
726
+
727
+ if suggest:
728
+ pulumi.log.warn(f"Key '{key}' not found in EcsLaunchTemplateImageOptions. Access the value via the '{suggest}' property getter instead.")
729
+
730
+ def __getitem__(self, key: str) -> Any:
731
+ EcsLaunchTemplateImageOptions.__key_warning(key)
732
+ return super().__getitem__(key)
733
+
734
+ def get(self, key: str, default = None) -> Any:
735
+ EcsLaunchTemplateImageOptions.__key_warning(key)
736
+ return super().get(key, default)
737
+
738
+ def __init__(__self__, *,
739
+ login_as_non_root: Optional[builtins.bool] = None):
740
+ """
741
+ :param builtins.bool login_as_non_root: Specifies whether the instance that uses the image supports logons of the ecs-user user. Default value: `false`. Valid values: `true`,`false`.
742
+ """
743
+ if login_as_non_root is not None:
744
+ pulumi.set(__self__, "login_as_non_root", login_as_non_root)
745
+
746
+ @property
747
+ @pulumi.getter(name="loginAsNonRoot")
748
+ def login_as_non_root(self) -> Optional[builtins.bool]:
749
+ """
750
+ Specifies whether the instance that uses the image supports logons of the ecs-user user. Default value: `false`. Valid values: `true`,`false`.
751
+ """
752
+ return pulumi.get(self, "login_as_non_root")
753
+
754
+
717
755
  @pulumi.output_type
718
756
  class EcsLaunchTemplateNetworkInterfaces(dict):
719
757
  @staticmethod
@@ -1856,6 +1894,36 @@ class LaunchTemplateDataDisk(dict):
1856
1894
  return pulumi.get(self, "snapshot_id")
1857
1895
 
1858
1896
 
1897
+ @pulumi.output_type
1898
+ class LaunchTemplateImageOptions(dict):
1899
+ @staticmethod
1900
+ def __key_warning(key: str):
1901
+ suggest = None
1902
+ if key == "loginAsNonRoot":
1903
+ suggest = "login_as_non_root"
1904
+
1905
+ if suggest:
1906
+ pulumi.log.warn(f"Key '{key}' not found in LaunchTemplateImageOptions. Access the value via the '{suggest}' property getter instead.")
1907
+
1908
+ def __getitem__(self, key: str) -> Any:
1909
+ LaunchTemplateImageOptions.__key_warning(key)
1910
+ return super().__getitem__(key)
1911
+
1912
+ def get(self, key: str, default = None) -> Any:
1913
+ LaunchTemplateImageOptions.__key_warning(key)
1914
+ return super().get(key, default)
1915
+
1916
+ def __init__(__self__, *,
1917
+ login_as_non_root: Optional[builtins.bool] = None):
1918
+ if login_as_non_root is not None:
1919
+ pulumi.set(__self__, "login_as_non_root", login_as_non_root)
1920
+
1921
+ @property
1922
+ @pulumi.getter(name="loginAsNonRoot")
1923
+ def login_as_non_root(self) -> Optional[builtins.bool]:
1924
+ return pulumi.get(self, "login_as_non_root")
1925
+
1926
+
1859
1927
  @pulumi.output_type
1860
1928
  class LaunchTemplateNetworkInterfaces(dict):
1861
1929
  @staticmethod
@@ -7176,28 +7244,32 @@ class GetEcsSnapshotsSnapshotResult(dict):
7176
7244
  type: builtins.str,
7177
7245
  usage: builtins.str):
7178
7246
  """
7179
- :param builtins.str category: The category of the snapshot.
7247
+ :param builtins.str category: The category of the snapshot. Valid Values: `flash` and `standard`.
7248
+ :param builtins.str creation_time: The time when the snapshot was created.
7180
7249
  :param builtins.str description: The description of the snapshot.
7181
- :param builtins.str disk_id: The source disk id.
7182
- :param builtins.bool encrypted: Whether the snapshot is encrypted.
7250
+ :param builtins.str disk_id: The ID of the source disk.
7251
+ :param builtins.bool encrypted: Specifies whether the snapshot is encrypted.
7183
7252
  :param builtins.str id: The ID of the Snapshot.
7184
- :param builtins.bool instant_access: Whether snapshot speed availability is enabled.
7185
- :param builtins.int instant_access_retention_days: Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
7186
- :param builtins.str product_code: The product number inherited from the mirror market.
7187
- :param builtins.str progress: Snapshot creation progress, in percentage.
7188
- :param builtins.int remain_time: Remaining completion time for the snapshot being created.
7253
+ :param builtins.bool instant_access: Indicates whether the instant access feature is enabled.
7254
+ :param builtins.int instant_access_retention_days: Indicates the validity period of the instant access feature.
7255
+ :param builtins.str name: The name of the snapshot.
7256
+ :param builtins.str product_code: The product code of the Alibaba Cloud Marketplace image.
7257
+ :param builtins.str progress: The progress of the snapshot creation task.
7258
+ :param builtins.int remain_time: The amount of remaining time required to create the snapshot.
7189
7259
  :param builtins.str resource_group_id: The resource group id.
7190
- :param builtins.int retention_days: Automatic snapshot retention days.
7191
- :param builtins.str snapshot_id: The snapshot id.
7192
- :param builtins.str snapshot_name: Snapshot Display Name.
7260
+ :param builtins.int retention_days: The retention period of the automatic snapshot.
7261
+ :param builtins.str snapshot_id: The ID of the snapshot.
7262
+ :param builtins.str snapshot_name: The name of the snapshot.
7193
7263
  :param builtins.str snapshot_sn: The serial number of the snapshot.
7194
- :param builtins.str snapshot_type: Snapshot creation type.
7195
- :param builtins.str source_disk_size: Source disk capacity.
7196
- :param builtins.str source_disk_type: Source disk attributes.
7197
- :param builtins.str source_storage_type: Original disk type.
7198
- :param builtins.str status: The status of the snapshot.
7199
- :param Mapping[str, builtins.str] tags: The tags.
7200
- :param builtins.str usage: A resource type that has a reference relationship.
7264
+ :param builtins.str snapshot_type: The type of the snapshot. Valid Values: `auto`, `user` and `all`. Default to: `all`.
7265
+ :param builtins.str source_disk_id: The ID of the source disk.
7266
+ :param builtins.str source_disk_size: The capacity of the source disk.
7267
+ :param builtins.str source_disk_type: The type of the disk for which the snapshot was created. Valid Values: `System`, `Data`.
7268
+ :param builtins.str source_storage_type: The category of the source disk.
7269
+ :param builtins.str status: The status of the snapshot. Valid Values: `accomplished`, `failed`, `progressing` and `all`.
7270
+ :param Mapping[str, builtins.str] tags: A mapping of tags to assign to the snapshot.
7271
+ :param builtins.str type: The type of the snapshot. Valid Values: `auto`, `user` and `all`. Default to: `all`.
7272
+ :param builtins.str usage: A resource type that has a reference relationship. Valid Values: `image`, `disk`, `image_disk` and `none`.
7201
7273
  """
7202
7274
  pulumi.set(__self__, "category", category)
7203
7275
  pulumi.set(__self__, "creation_time", creation_time)
@@ -7230,13 +7302,16 @@ class GetEcsSnapshotsSnapshotResult(dict):
7230
7302
  @pulumi.getter
7231
7303
  def category(self) -> builtins.str:
7232
7304
  """
7233
- The category of the snapshot.
7305
+ The category of the snapshot. Valid Values: `flash` and `standard`.
7234
7306
  """
7235
7307
  return pulumi.get(self, "category")
7236
7308
 
7237
7309
  @property
7238
7310
  @pulumi.getter(name="creationTime")
7239
7311
  def creation_time(self) -> builtins.str:
7312
+ """
7313
+ The time when the snapshot was created.
7314
+ """
7240
7315
  return pulumi.get(self, "creation_time")
7241
7316
 
7242
7317
  @property
@@ -7251,7 +7326,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7251
7326
  @pulumi.getter(name="diskId")
7252
7327
  def disk_id(self) -> builtins.str:
7253
7328
  """
7254
- The source disk id.
7329
+ The ID of the source disk.
7255
7330
  """
7256
7331
  return pulumi.get(self, "disk_id")
7257
7332
 
@@ -7259,7 +7334,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7259
7334
  @pulumi.getter
7260
7335
  def encrypted(self) -> builtins.bool:
7261
7336
  """
7262
- Whether the snapshot is encrypted.
7337
+ Specifies whether the snapshot is encrypted.
7263
7338
  """
7264
7339
  return pulumi.get(self, "encrypted")
7265
7340
 
@@ -7275,7 +7350,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7275
7350
  @pulumi.getter(name="instantAccess")
7276
7351
  def instant_access(self) -> builtins.bool:
7277
7352
  """
7278
- Whether snapshot speed availability is enabled.
7353
+ Indicates whether the instant access feature is enabled.
7279
7354
  """
7280
7355
  return pulumi.get(self, "instant_access")
7281
7356
 
@@ -7283,20 +7358,23 @@ class GetEcsSnapshotsSnapshotResult(dict):
7283
7358
  @pulumi.getter(name="instantAccessRetentionDays")
7284
7359
  def instant_access_retention_days(self) -> builtins.int:
7285
7360
  """
7286
- Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
7361
+ Indicates the validity period of the instant access feature.
7287
7362
  """
7288
7363
  return pulumi.get(self, "instant_access_retention_days")
7289
7364
 
7290
7365
  @property
7291
7366
  @pulumi.getter
7292
7367
  def name(self) -> builtins.str:
7368
+ """
7369
+ The name of the snapshot.
7370
+ """
7293
7371
  return pulumi.get(self, "name")
7294
7372
 
7295
7373
  @property
7296
7374
  @pulumi.getter(name="productCode")
7297
7375
  def product_code(self) -> builtins.str:
7298
7376
  """
7299
- The product number inherited from the mirror market.
7377
+ The product code of the Alibaba Cloud Marketplace image.
7300
7378
  """
7301
7379
  return pulumi.get(self, "product_code")
7302
7380
 
@@ -7304,7 +7382,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7304
7382
  @pulumi.getter
7305
7383
  def progress(self) -> builtins.str:
7306
7384
  """
7307
- Snapshot creation progress, in percentage.
7385
+ The progress of the snapshot creation task.
7308
7386
  """
7309
7387
  return pulumi.get(self, "progress")
7310
7388
 
@@ -7312,7 +7390,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7312
7390
  @pulumi.getter(name="remainTime")
7313
7391
  def remain_time(self) -> builtins.int:
7314
7392
  """
7315
- Remaining completion time for the snapshot being created.
7393
+ The amount of remaining time required to create the snapshot.
7316
7394
  """
7317
7395
  return pulumi.get(self, "remain_time")
7318
7396
 
@@ -7328,7 +7406,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7328
7406
  @pulumi.getter(name="retentionDays")
7329
7407
  def retention_days(self) -> builtins.int:
7330
7408
  """
7331
- Automatic snapshot retention days.
7409
+ The retention period of the automatic snapshot.
7332
7410
  """
7333
7411
  return pulumi.get(self, "retention_days")
7334
7412
 
@@ -7336,7 +7414,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7336
7414
  @pulumi.getter(name="snapshotId")
7337
7415
  def snapshot_id(self) -> builtins.str:
7338
7416
  """
7339
- The snapshot id.
7417
+ The ID of the snapshot.
7340
7418
  """
7341
7419
  return pulumi.get(self, "snapshot_id")
7342
7420
 
@@ -7344,7 +7422,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7344
7422
  @pulumi.getter(name="snapshotName")
7345
7423
  def snapshot_name(self) -> builtins.str:
7346
7424
  """
7347
- Snapshot Display Name.
7425
+ The name of the snapshot.
7348
7426
  """
7349
7427
  return pulumi.get(self, "snapshot_name")
7350
7428
 
@@ -7360,20 +7438,23 @@ class GetEcsSnapshotsSnapshotResult(dict):
7360
7438
  @pulumi.getter(name="snapshotType")
7361
7439
  def snapshot_type(self) -> builtins.str:
7362
7440
  """
7363
- Snapshot creation type.
7441
+ The type of the snapshot. Valid Values: `auto`, `user` and `all`. Default to: `all`.
7364
7442
  """
7365
7443
  return pulumi.get(self, "snapshot_type")
7366
7444
 
7367
7445
  @property
7368
7446
  @pulumi.getter(name="sourceDiskId")
7369
7447
  def source_disk_id(self) -> builtins.str:
7448
+ """
7449
+ The ID of the source disk.
7450
+ """
7370
7451
  return pulumi.get(self, "source_disk_id")
7371
7452
 
7372
7453
  @property
7373
7454
  @pulumi.getter(name="sourceDiskSize")
7374
7455
  def source_disk_size(self) -> builtins.str:
7375
7456
  """
7376
- Source disk capacity.
7457
+ The capacity of the source disk.
7377
7458
  """
7378
7459
  return pulumi.get(self, "source_disk_size")
7379
7460
 
@@ -7381,7 +7462,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7381
7462
  @pulumi.getter(name="sourceDiskType")
7382
7463
  def source_disk_type(self) -> builtins.str:
7383
7464
  """
7384
- Source disk attributes.
7465
+ The type of the disk for which the snapshot was created. Valid Values: `System`, `Data`.
7385
7466
  """
7386
7467
  return pulumi.get(self, "source_disk_type")
7387
7468
 
@@ -7389,7 +7470,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7389
7470
  @pulumi.getter(name="sourceStorageType")
7390
7471
  def source_storage_type(self) -> builtins.str:
7391
7472
  """
7392
- Original disk type.
7473
+ The category of the source disk.
7393
7474
  """
7394
7475
  return pulumi.get(self, "source_storage_type")
7395
7476
 
@@ -7397,7 +7478,7 @@ class GetEcsSnapshotsSnapshotResult(dict):
7397
7478
  @pulumi.getter
7398
7479
  def status(self) -> builtins.str:
7399
7480
  """
7400
- The status of the snapshot.
7481
+ The status of the snapshot. Valid Values: `accomplished`, `failed`, `progressing` and `all`.
7401
7482
  """
7402
7483
  return pulumi.get(self, "status")
7403
7484
 
@@ -7405,20 +7486,23 @@ class GetEcsSnapshotsSnapshotResult(dict):
7405
7486
  @pulumi.getter
7406
7487
  def tags(self) -> Mapping[str, builtins.str]:
7407
7488
  """
7408
- The tags.
7489
+ A mapping of tags to assign to the snapshot.
7409
7490
  """
7410
7491
  return pulumi.get(self, "tags")
7411
7492
 
7412
7493
  @property
7413
7494
  @pulumi.getter
7414
7495
  def type(self) -> builtins.str:
7496
+ """
7497
+ The type of the snapshot. Valid Values: `auto`, `user` and `all`. Default to: `all`.
7498
+ """
7415
7499
  return pulumi.get(self, "type")
7416
7500
 
7417
7501
  @property
7418
7502
  @pulumi.getter
7419
7503
  def usage(self) -> builtins.str:
7420
7504
  """
7421
- A resource type that has a reference relationship.
7505
+ A resource type that has a reference relationship. Valid Values: `image`, `disk`, `image_disk` and `none`.
7422
7506
  """
7423
7507
  return pulumi.get(self, "usage")
7424
7508