pulumi-alicloud 3.69.0a1733375908__py3-none-any.whl → 3.69.0a1733740345__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.

Files changed (47) hide show
  1. pulumi_alicloud/__init__.py +56 -0
  2. pulumi_alicloud/adb/db_cluster.py +7 -0
  3. pulumi_alicloud/arms/__init__.py +2 -0
  4. pulumi_alicloud/arms/_inputs.py +42 -4
  5. pulumi_alicloud/arms/alert_robot.py +421 -0
  6. pulumi_alicloud/arms/dispatch_rule.py +4 -0
  7. pulumi_alicloud/arms/get_alert_robots.py +230 -0
  8. pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
  9. pulumi_alicloud/arms/outputs.py +154 -13
  10. pulumi_alicloud/cfg/rule.py +4 -4
  11. pulumi_alicloud/cs/autoscaling_config.py +51 -0
  12. pulumi_alicloud/dataworks/__init__.py +4 -0
  13. pulumi_alicloud/dataworks/_inputs.py +95 -0
  14. pulumi_alicloud/dataworks/data_source.py +686 -0
  15. pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
  16. pulumi_alicloud/dataworks/outputs.py +44 -0
  17. pulumi_alicloud/dataworks/project.py +294 -140
  18. pulumi_alicloud/dataworks/project_member.py +380 -0
  19. pulumi_alicloud/ecs/__init__.py +1 -0
  20. pulumi_alicloud/ecs/_inputs.py +34 -0
  21. pulumi_alicloud/ecs/disk.py +156 -14
  22. pulumi_alicloud/ecs/ecs_disk.py +308 -97
  23. pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
  24. pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
  25. pulumi_alicloud/ecs/instance.py +145 -0
  26. pulumi_alicloud/ecs/key_pair.py +27 -7
  27. pulumi_alicloud/ecs/outputs.py +37 -0
  28. pulumi_alicloud/oss/__init__.py +1 -0
  29. pulumi_alicloud/oss/_inputs.py +1750 -0
  30. pulumi_alicloud/oss/bucket_website.py +416 -0
  31. pulumi_alicloud/oss/outputs.py +1338 -0
  32. pulumi_alicloud/polardb/cluster.py +7 -7
  33. pulumi_alicloud/polardb/get_clusters.py +1 -1
  34. pulumi_alicloud/polardb/outputs.py +2 -2
  35. pulumi_alicloud/pulumi-plugin.json +1 -1
  36. pulumi_alicloud/redis/tair_instance.py +63 -30
  37. pulumi_alicloud/sae/application.py +1 -1
  38. pulumi_alicloud/slb/attachment.py +2 -6
  39. pulumi_alicloud/sls/__init__.py +1 -0
  40. pulumi_alicloud/sls/_inputs.py +484 -0
  41. pulumi_alicloud/sls/oss_export_sink.py +428 -0
  42. pulumi_alicloud/sls/outputs.py +346 -0
  43. pulumi_alicloud/vpc/network.py +7 -7
  44. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
  45. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
  46. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
@@ -40,6 +40,7 @@ class InstanceArgs:
40
40
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
41
41
  http_tokens: Optional[pulumi.Input[str]] = None,
42
42
  image_id: Optional[pulumi.Input[str]] = None,
43
+ image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
43
44
  include_data_disks: Optional[pulumi.Input[bool]] = None,
44
45
  instance_charge_type: Optional[pulumi.Input[str]] = None,
45
46
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -129,6 +130,21 @@ class InstanceArgs:
129
130
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
130
131
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
131
132
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
133
+ :param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
134
+
135
+ > **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.
136
+
137
+ > **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.
138
+
139
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
140
+
141
+ > **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.
142
+
143
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
144
+ 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).
145
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
146
+
147
+ > **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.
132
148
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
133
149
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
134
150
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -257,6 +273,8 @@ class InstanceArgs:
257
273
  pulumi.set(__self__, "http_tokens", http_tokens)
258
274
  if image_id is not None:
259
275
  pulumi.set(__self__, "image_id", image_id)
276
+ if image_options is not None:
277
+ pulumi.set(__self__, "image_options", image_options)
260
278
  if include_data_disks is not None:
261
279
  pulumi.set(__self__, "include_data_disks", include_data_disks)
262
280
  if instance_charge_type is not None:
@@ -614,6 +632,32 @@ class InstanceArgs:
614
632
  def image_id(self, value: Optional[pulumi.Input[str]]):
615
633
  pulumi.set(self, "image_id", value)
616
634
 
635
+ @property
636
+ @pulumi.getter(name="imageOptions")
637
+ def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
638
+ """
639
+ The options of images. See `image_options` below.
640
+
641
+ > **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.
642
+
643
+ > **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.
644
+
645
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
646
+
647
+ > **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.
648
+
649
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
650
+ 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).
651
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
652
+
653
+ > **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.
654
+ """
655
+ return pulumi.get(self, "image_options")
656
+
657
+ @image_options.setter
658
+ def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
659
+ pulumi.set(self, "image_options", value)
660
+
617
661
  @property
618
662
  @pulumi.getter(name="includeDataDisks")
619
663
  def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
@@ -1342,6 +1386,7 @@ class _InstanceState:
1342
1386
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
1343
1387
  http_tokens: Optional[pulumi.Input[str]] = None,
1344
1388
  image_id: Optional[pulumi.Input[str]] = None,
1389
+ image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
1345
1390
  include_data_disks: Optional[pulumi.Input[bool]] = None,
1346
1391
  instance_charge_type: Optional[pulumi.Input[str]] = None,
1347
1392
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -1443,6 +1488,21 @@ class _InstanceState:
1443
1488
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
1444
1489
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
1445
1490
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
1491
+ :param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
1492
+
1493
+ > **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.
1494
+
1495
+ > **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.
1496
+
1497
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
1498
+
1499
+ > **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.
1500
+
1501
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
1502
+ 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).
1503
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
1504
+
1505
+ > **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.
1446
1506
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
1447
1507
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
1448
1508
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -1587,6 +1647,8 @@ class _InstanceState:
1587
1647
  pulumi.set(__self__, "http_tokens", http_tokens)
1588
1648
  if image_id is not None:
1589
1649
  pulumi.set(__self__, "image_id", image_id)
1650
+ if image_options is not None:
1651
+ pulumi.set(__self__, "image_options", image_options)
1590
1652
  if include_data_disks is not None:
1591
1653
  pulumi.set(__self__, "include_data_disks", include_data_disks)
1592
1654
  if instance_charge_type is not None:
@@ -2008,6 +2070,32 @@ class _InstanceState:
2008
2070
  def image_id(self, value: Optional[pulumi.Input[str]]):
2009
2071
  pulumi.set(self, "image_id", value)
2010
2072
 
2073
+ @property
2074
+ @pulumi.getter(name="imageOptions")
2075
+ def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
2076
+ """
2077
+ The options of images. See `image_options` below.
2078
+
2079
+ > **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.
2080
+
2081
+ > **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.
2082
+
2083
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
2084
+
2085
+ > **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.
2086
+
2087
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
2088
+ 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).
2089
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
2090
+
2091
+ > **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.
2092
+ """
2093
+ return pulumi.get(self, "image_options")
2094
+
2095
+ @image_options.setter
2096
+ def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
2097
+ pulumi.set(self, "image_options", value)
2098
+
2011
2099
  @property
2012
2100
  @pulumi.getter(name="includeDataDisks")
2013
2101
  def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
@@ -2830,6 +2918,7 @@ class Instance(pulumi.CustomResource):
2830
2918
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
2831
2919
  http_tokens: Optional[pulumi.Input[str]] = None,
2832
2920
  image_id: Optional[pulumi.Input[str]] = None,
2921
+ image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
2833
2922
  include_data_disks: Optional[pulumi.Input[bool]] = None,
2834
2923
  instance_charge_type: Optional[pulumi.Input[str]] = None,
2835
2924
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -2998,6 +3087,21 @@ class Instance(pulumi.CustomResource):
2998
3087
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
2999
3088
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3000
3089
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
3090
+ :param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
3091
+
3092
+ > **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.
3093
+
3094
+ > **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.
3095
+
3096
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3097
+
3098
+ > **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.
3099
+
3100
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
3101
+ 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).
3102
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
3103
+
3104
+ > **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.
3001
3105
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
3002
3106
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
3003
3107
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -3203,6 +3307,7 @@ class Instance(pulumi.CustomResource):
3203
3307
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
3204
3308
  http_tokens: Optional[pulumi.Input[str]] = None,
3205
3309
  image_id: Optional[pulumi.Input[str]] = None,
3310
+ image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
3206
3311
  include_data_disks: Optional[pulumi.Input[bool]] = None,
3207
3312
  instance_charge_type: Optional[pulumi.Input[str]] = None,
3208
3313
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -3287,6 +3392,7 @@ class Instance(pulumi.CustomResource):
3287
3392
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
3288
3393
  __props__.__dict__["http_tokens"] = http_tokens
3289
3394
  __props__.__dict__["image_id"] = image_id
3395
+ __props__.__dict__["image_options"] = image_options
3290
3396
  __props__.__dict__["include_data_disks"] = include_data_disks
3291
3397
  __props__.__dict__["instance_charge_type"] = instance_charge_type
3292
3398
  __props__.__dict__["instance_name"] = instance_name
@@ -3390,6 +3496,7 @@ class Instance(pulumi.CustomResource):
3390
3496
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
3391
3497
  http_tokens: Optional[pulumi.Input[str]] = None,
3392
3498
  image_id: Optional[pulumi.Input[str]] = None,
3499
+ image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
3393
3500
  include_data_disks: Optional[pulumi.Input[bool]] = None,
3394
3501
  instance_charge_type: Optional[pulumi.Input[str]] = None,
3395
3502
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -3496,6 +3603,21 @@ class Instance(pulumi.CustomResource):
3496
3603
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
3497
3604
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3498
3605
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
3606
+ :param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
3607
+
3608
+ > **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.
3609
+
3610
+ > **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.
3611
+
3612
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3613
+
3614
+ > **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.
3615
+
3616
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
3617
+ 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).
3618
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
3619
+
3620
+ > **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.
3499
3621
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
3500
3622
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
3501
3623
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -3618,6 +3740,7 @@ class Instance(pulumi.CustomResource):
3618
3740
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
3619
3741
  __props__.__dict__["http_tokens"] = http_tokens
3620
3742
  __props__.__dict__["image_id"] = image_id
3743
+ __props__.__dict__["image_options"] = image_options
3621
3744
  __props__.__dict__["include_data_disks"] = include_data_disks
3622
3745
  __props__.__dict__["instance_charge_type"] = instance_charge_type
3623
3746
  __props__.__dict__["instance_name"] = instance_name
@@ -3881,6 +4004,28 @@ class Instance(pulumi.CustomResource):
3881
4004
  """
3882
4005
  return pulumi.get(self, "image_id")
3883
4006
 
4007
+ @property
4008
+ @pulumi.getter(name="imageOptions")
4009
+ def image_options(self) -> pulumi.Output['outputs.InstanceImageOptions']:
4010
+ """
4011
+ The options of images. See `image_options` below.
4012
+
4013
+ > **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.
4014
+
4015
+ > **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.
4016
+
4017
+ > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
4018
+
4019
+ > **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.
4020
+
4021
+ > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
4022
+ 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).
4023
+ However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
4024
+
4025
+ > **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.
4026
+ """
4027
+ return pulumi.get(self, "image_options")
4028
+
3884
4029
  @property
3885
4030
  @pulumi.getter(name="includeDataDisks")
3886
4031
  def include_data_disks(self) -> pulumi.Output[Optional[bool]]:
@@ -36,8 +36,8 @@ class KeyPairArgs:
36
36
  if key_file is not None:
37
37
  pulumi.set(__self__, "key_file", key_file)
38
38
  if key_name is not None:
39
- warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
40
- pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
39
+ warnings.warn("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""", DeprecationWarning)
40
+ pulumi.log.warn("""key_name is deprecated: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
41
41
  if key_name is not None:
42
42
  pulumi.set(__self__, "key_name", key_name)
43
43
  if key_name_prefix is not None:
@@ -65,7 +65,7 @@ class KeyPairArgs:
65
65
 
66
66
  @property
67
67
  @pulumi.getter(name="keyName")
68
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
68
+ @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
69
69
  def key_name(self) -> Optional[pulumi.Input[str]]:
70
70
  """
71
71
  The key pair's name. It is the only in one Alicloud account.
@@ -131,6 +131,7 @@ class KeyPairArgs:
131
131
  @pulumi.input_type
132
132
  class _KeyPairState:
133
133
  def __init__(__self__, *,
134
+ create_time: Optional[pulumi.Input[str]] = None,
134
135
  finger_print: Optional[pulumi.Input[str]] = None,
135
136
  key_file: Optional[pulumi.Input[str]] = None,
136
137
  key_name: Optional[pulumi.Input[str]] = None,
@@ -146,13 +147,15 @@ class _KeyPairState:
146
147
  :param pulumi.Input[str] public_key: You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
147
148
  :param pulumi.Input[str] resource_group_id: The Id of resource group which the key pair belongs.
148
149
  """
150
+ if create_time is not None:
151
+ pulumi.set(__self__, "create_time", create_time)
149
152
  if finger_print is not None:
150
153
  pulumi.set(__self__, "finger_print", finger_print)
151
154
  if key_file is not None:
152
155
  pulumi.set(__self__, "key_file", key_file)
153
156
  if key_name is not None:
154
- warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
155
- pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
157
+ warnings.warn("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""", DeprecationWarning)
158
+ pulumi.log.warn("""key_name is deprecated: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
156
159
  if key_name is not None:
157
160
  pulumi.set(__self__, "key_name", key_name)
158
161
  if key_name_prefix is not None:
@@ -166,6 +169,15 @@ class _KeyPairState:
166
169
  if tags is not None:
167
170
  pulumi.set(__self__, "tags", tags)
168
171
 
172
+ @property
173
+ @pulumi.getter(name="createTime")
174
+ def create_time(self) -> Optional[pulumi.Input[str]]:
175
+ return pulumi.get(self, "create_time")
176
+
177
+ @create_time.setter
178
+ def create_time(self, value: Optional[pulumi.Input[str]]):
179
+ pulumi.set(self, "create_time", value)
180
+
169
181
  @property
170
182
  @pulumi.getter(name="fingerPrint")
171
183
  def finger_print(self) -> Optional[pulumi.Input[str]]:
@@ -189,7 +201,7 @@ class _KeyPairState:
189
201
 
190
202
  @property
191
203
  @pulumi.getter(name="keyName")
192
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
204
+ @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
193
205
  def key_name(self) -> Optional[pulumi.Input[str]]:
194
206
  """
195
207
  The key pair's name. It is the only in one Alicloud account.
@@ -376,6 +388,7 @@ class KeyPair(pulumi.CustomResource):
376
388
  __props__.__dict__["public_key"] = public_key
377
389
  __props__.__dict__["resource_group_id"] = resource_group_id
378
390
  __props__.__dict__["tags"] = tags
391
+ __props__.__dict__["create_time"] = None
379
392
  __props__.__dict__["finger_print"] = None
380
393
  super(KeyPair, __self__).__init__(
381
394
  'alicloud:ecs/keyPair:KeyPair',
@@ -387,6 +400,7 @@ class KeyPair(pulumi.CustomResource):
387
400
  def get(resource_name: str,
388
401
  id: pulumi.Input[str],
389
402
  opts: Optional[pulumi.ResourceOptions] = None,
403
+ create_time: Optional[pulumi.Input[str]] = None,
390
404
  finger_print: Optional[pulumi.Input[str]] = None,
391
405
  key_file: Optional[pulumi.Input[str]] = None,
392
406
  key_name: Optional[pulumi.Input[str]] = None,
@@ -411,6 +425,7 @@ class KeyPair(pulumi.CustomResource):
411
425
 
412
426
  __props__ = _KeyPairState.__new__(_KeyPairState)
413
427
 
428
+ __props__.__dict__["create_time"] = create_time
414
429
  __props__.__dict__["finger_print"] = finger_print
415
430
  __props__.__dict__["key_file"] = key_file
416
431
  __props__.__dict__["key_name"] = key_name
@@ -421,6 +436,11 @@ class KeyPair(pulumi.CustomResource):
421
436
  __props__.__dict__["tags"] = tags
422
437
  return KeyPair(resource_name, opts=opts, __props__=__props__)
423
438
 
439
+ @property
440
+ @pulumi.getter(name="createTime")
441
+ def create_time(self) -> pulumi.Output[str]:
442
+ return pulumi.get(self, "create_time")
443
+
424
444
  @property
425
445
  @pulumi.getter(name="fingerPrint")
426
446
  def finger_print(self) -> pulumi.Output[str]:
@@ -436,7 +456,7 @@ class KeyPair(pulumi.CustomResource):
436
456
 
437
457
  @property
438
458
  @pulumi.getter(name="keyName")
439
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
459
+ @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
440
460
  def key_name(self) -> pulumi.Output[str]:
441
461
  """
442
462
  The key pair's name. It is the only in one Alicloud account.
@@ -30,6 +30,7 @@ __all__ = [
30
30
  'ImageFeatures',
31
31
  'ImageImportDiskDeviceMapping',
32
32
  'InstanceDataDisk',
33
+ 'InstanceImageOptions',
33
34
  'InstanceMaintenanceTime',
34
35
  'InstanceNetworkInterfaces',
35
36
  'LaunchTemplateDataDisk',
@@ -1417,6 +1418,42 @@ class InstanceDataDisk(dict):
1417
1418
  return pulumi.get(self, "snapshot_id")
1418
1419
 
1419
1420
 
1421
+ @pulumi.output_type
1422
+ class InstanceImageOptions(dict):
1423
+ @staticmethod
1424
+ def __key_warning(key: str):
1425
+ suggest = None
1426
+ if key == "loginAsNonRoot":
1427
+ suggest = "login_as_non_root"
1428
+
1429
+ if suggest:
1430
+ pulumi.log.warn(f"Key '{key}' not found in InstanceImageOptions. Access the value via the '{suggest}' property getter instead.")
1431
+
1432
+ def __getitem__(self, key: str) -> Any:
1433
+ InstanceImageOptions.__key_warning(key)
1434
+ return super().__getitem__(key)
1435
+
1436
+ def get(self, key: str, default = None) -> Any:
1437
+ InstanceImageOptions.__key_warning(key)
1438
+ return super().get(key, default)
1439
+
1440
+ def __init__(__self__, *,
1441
+ login_as_non_root: Optional[bool] = None):
1442
+ """
1443
+ :param bool login_as_non_root: Whether to allow the instance logging in with the ecs-user user.
1444
+ """
1445
+ if login_as_non_root is not None:
1446
+ pulumi.set(__self__, "login_as_non_root", login_as_non_root)
1447
+
1448
+ @property
1449
+ @pulumi.getter(name="loginAsNonRoot")
1450
+ def login_as_non_root(self) -> Optional[bool]:
1451
+ """
1452
+ Whether to allow the instance logging in with the ecs-user user.
1453
+ """
1454
+ return pulumi.get(self, "login_as_non_root")
1455
+
1456
+
1420
1457
  @pulumi.output_type
1421
1458
  class InstanceMaintenanceTime(dict):
1422
1459
  @staticmethod
@@ -26,6 +26,7 @@ from .bucket_server_side_encryption import *
26
26
  from .bucket_transfer_acceleration import *
27
27
  from .bucket_user_defined_log_fields import *
28
28
  from .bucket_versioning import *
29
+ from .bucket_website import *
29
30
  from .get_bucket_objects import *
30
31
  from .get_buckets import *
31
32
  from .get_instance_attachments import *