pulumi-alicloud 3.69.0__py3-none-any.whl → 3.69.0a1733203178__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 +0 -56
  2. pulumi_alicloud/adb/db_cluster.py +0 -7
  3. pulumi_alicloud/arms/__init__.py +0 -2
  4. pulumi_alicloud/arms/_inputs.py +4 -42
  5. pulumi_alicloud/arms/dispatch_rule.py +0 -4
  6. pulumi_alicloud/arms/get_dispatch_rules.py +6 -99
  7. pulumi_alicloud/arms/outputs.py +13 -154
  8. pulumi_alicloud/cfg/rule.py +4 -4
  9. pulumi_alicloud/cs/autoscaling_config.py +0 -51
  10. pulumi_alicloud/dataworks/__init__.py +0 -4
  11. pulumi_alicloud/dataworks/outputs.py +0 -44
  12. pulumi_alicloud/dataworks/project.py +140 -294
  13. pulumi_alicloud/ecs/__init__.py +0 -1
  14. pulumi_alicloud/ecs/_inputs.py +0 -34
  15. pulumi_alicloud/ecs/disk.py +14 -156
  16. pulumi_alicloud/ecs/ecs_disk.py +97 -308
  17. pulumi_alicloud/ecs/ecs_key_pair.py +49 -77
  18. pulumi_alicloud/ecs/instance.py +0 -145
  19. pulumi_alicloud/ecs/key_pair.py +7 -27
  20. pulumi_alicloud/ecs/outputs.py +0 -37
  21. pulumi_alicloud/oss/__init__.py +0 -1
  22. pulumi_alicloud/oss/_inputs.py +0 -1750
  23. pulumi_alicloud/oss/outputs.py +0 -1338
  24. pulumi_alicloud/polardb/cluster.py +7 -7
  25. pulumi_alicloud/polardb/get_clusters.py +1 -1
  26. pulumi_alicloud/polardb/outputs.py +2 -2
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/redis/tair_instance.py +30 -63
  29. pulumi_alicloud/sae/application.py +1 -1
  30. pulumi_alicloud/slb/attachment.py +6 -2
  31. pulumi_alicloud/sls/__init__.py +0 -1
  32. pulumi_alicloud/sls/_inputs.py +0 -484
  33. pulumi_alicloud/sls/outputs.py +0 -346
  34. pulumi_alicloud/vpc/network.py +7 -7
  35. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/METADATA +1 -1
  36. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/RECORD +38 -47
  37. pulumi_alicloud/arms/alert_robot.py +0 -421
  38. pulumi_alicloud/arms/get_alert_robots.py +0 -230
  39. pulumi_alicloud/dataworks/_inputs.py +0 -95
  40. pulumi_alicloud/dataworks/data_source.py +0 -686
  41. pulumi_alicloud/dataworks/data_source_shared_rule.py +0 -378
  42. pulumi_alicloud/dataworks/project_member.py +0 -380
  43. pulumi_alicloud/ecs/image_pipeline_execution.py +0 -245
  44. pulumi_alicloud/oss/bucket_website.py +0 -416
  45. pulumi_alicloud/sls/oss_export_sink.py +0 -428
  46. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,6 @@ class EcsDiskArgs:
21
21
  def __init__(__self__, *,
22
22
  advanced_features: Optional[pulumi.Input[str]] = None,
23
23
  availability_zone: Optional[pulumi.Input[str]] = None,
24
- bursting_enabled: Optional[pulumi.Input[bool]] = None,
25
24
  category: Optional[pulumi.Input[str]] = None,
26
25
  delete_auto_snapshot: Optional[pulumi.Input[bool]] = None,
27
26
  delete_with_instance: Optional[pulumi.Input[bool]] = None,
@@ -33,11 +32,9 @@ class EcsDiskArgs:
33
32
  encrypted: Optional[pulumi.Input[bool]] = None,
34
33
  instance_id: Optional[pulumi.Input[str]] = None,
35
34
  kms_key_id: Optional[pulumi.Input[str]] = None,
36
- multi_attach: Optional[pulumi.Input[str]] = None,
37
35
  name: Optional[pulumi.Input[str]] = None,
38
36
  payment_type: Optional[pulumi.Input[str]] = None,
39
37
  performance_level: Optional[pulumi.Input[str]] = None,
40
- provisioned_iops: Optional[pulumi.Input[int]] = None,
41
38
  resource_group_id: Optional[pulumi.Input[str]] = None,
42
39
  size: Optional[pulumi.Input[int]] = None,
43
40
  snapshot_id: Optional[pulumi.Input[str]] = None,
@@ -49,31 +46,26 @@ class EcsDiskArgs:
49
46
  """
50
47
  The set of arguments for constructing a EcsDisk resource.
51
48
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
52
- :param pulumi.Input[bool] bursting_enabled: Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
53
- :param pulumi.Input[str] category: The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
54
- :param pulumi.Input[bool] delete_auto_snapshot: Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
55
- :param pulumi.Input[bool] delete_with_instance: Specifies whether to release the disk along with its associated instance. Default value: `false`.
56
- :param pulumi.Input[str] description: The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
57
- :param pulumi.Input[str] disk_name: The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
58
- :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
59
- :param pulumi.Input[bool] enable_auto_snapshot: Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
49
+ :param pulumi.Input[str] category: Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
50
+ :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
51
+ :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
52
+ :param pulumi.Input[str] description: Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
53
+ :param pulumi.Input[str] disk_name: Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
54
+ :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
55
+ :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
60
56
  :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
61
57
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
62
58
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
63
59
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
64
- :param pulumi.Input[str] kms_key_id: The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
65
- :param pulumi.Input[str] multi_attach: Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
60
+ :param pulumi.Input[str] kms_key_id: The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
66
61
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
67
-
68
- > **NOTE:** 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.
69
- :param pulumi.Input[str] payment_type: The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
70
- :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
62
+ :param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
63
+ :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
71
64
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
72
65
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
73
66
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
74
67
  - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
75
- :param pulumi.Input[int] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
76
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the disk.
68
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
77
69
  :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
78
70
  - If `category` is set to `cloud`. Valid values: `5` to `2000`.
79
71
  - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
@@ -97,12 +89,10 @@ class EcsDiskArgs:
97
89
  if advanced_features is not None:
98
90
  pulumi.set(__self__, "advanced_features", advanced_features)
99
91
  if availability_zone is not None:
100
- warnings.warn("""Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""", DeprecationWarning)
101
- pulumi.log.warn("""availability_zone is deprecated: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""")
92
+ warnings.warn("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""", DeprecationWarning)
93
+ pulumi.log.warn("""availability_zone is deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
102
94
  if availability_zone is not None:
103
95
  pulumi.set(__self__, "availability_zone", availability_zone)
104
- if bursting_enabled is not None:
105
- pulumi.set(__self__, "bursting_enabled", bursting_enabled)
106
96
  if category is not None:
107
97
  pulumi.set(__self__, "category", category)
108
98
  if delete_auto_snapshot is not None:
@@ -125,19 +115,15 @@ class EcsDiskArgs:
125
115
  pulumi.set(__self__, "instance_id", instance_id)
126
116
  if kms_key_id is not None:
127
117
  pulumi.set(__self__, "kms_key_id", kms_key_id)
128
- if multi_attach is not None:
129
- pulumi.set(__self__, "multi_attach", multi_attach)
130
118
  if name is not None:
131
- warnings.warn("""Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""", DeprecationWarning)
132
- pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""")
119
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""", DeprecationWarning)
120
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""")
133
121
  if name is not None:
134
122
  pulumi.set(__self__, "name", name)
135
123
  if payment_type is not None:
136
124
  pulumi.set(__self__, "payment_type", payment_type)
137
125
  if performance_level is not None:
138
126
  pulumi.set(__self__, "performance_level", performance_level)
139
- if provisioned_iops is not None:
140
- pulumi.set(__self__, "provisioned_iops", provisioned_iops)
141
127
  if resource_group_id is not None:
142
128
  pulumi.set(__self__, "resource_group_id", resource_group_id)
143
129
  if size is not None:
@@ -166,7 +152,7 @@ class EcsDiskArgs:
166
152
 
167
153
  @property
168
154
  @pulumi.getter(name="availabilityZone")
169
- @_utilities.deprecated("""Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""")
155
+ @_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
170
156
  def availability_zone(self) -> Optional[pulumi.Input[str]]:
171
157
  """
172
158
  Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
@@ -177,23 +163,11 @@ class EcsDiskArgs:
177
163
  def availability_zone(self, value: Optional[pulumi.Input[str]]):
178
164
  pulumi.set(self, "availability_zone", value)
179
165
 
180
- @property
181
- @pulumi.getter(name="burstingEnabled")
182
- def bursting_enabled(self) -> Optional[pulumi.Input[bool]]:
183
- """
184
- Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
185
- """
186
- return pulumi.get(self, "bursting_enabled")
187
-
188
- @bursting_enabled.setter
189
- def bursting_enabled(self, value: Optional[pulumi.Input[bool]]):
190
- pulumi.set(self, "bursting_enabled", value)
191
-
192
166
  @property
193
167
  @pulumi.getter
194
168
  def category(self) -> Optional[pulumi.Input[str]]:
195
169
  """
196
- The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
170
+ Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
197
171
  """
198
172
  return pulumi.get(self, "category")
199
173
 
@@ -205,7 +179,7 @@ class EcsDiskArgs:
205
179
  @pulumi.getter(name="deleteAutoSnapshot")
206
180
  def delete_auto_snapshot(self) -> Optional[pulumi.Input[bool]]:
207
181
  """
208
- Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
182
+ Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
209
183
  """
210
184
  return pulumi.get(self, "delete_auto_snapshot")
211
185
 
@@ -217,7 +191,7 @@ class EcsDiskArgs:
217
191
  @pulumi.getter(name="deleteWithInstance")
218
192
  def delete_with_instance(self) -> Optional[pulumi.Input[bool]]:
219
193
  """
220
- Specifies whether to release the disk along with its associated instance. Default value: `false`.
194
+ Indicates whether the disk is released together with the instance. Default value: `false`.
221
195
  """
222
196
  return pulumi.get(self, "delete_with_instance")
223
197
 
@@ -229,7 +203,7 @@ class EcsDiskArgs:
229
203
  @pulumi.getter
230
204
  def description(self) -> Optional[pulumi.Input[str]]:
231
205
  """
232
- The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
206
+ Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
233
207
  """
234
208
  return pulumi.get(self, "description")
235
209
 
@@ -241,7 +215,7 @@ class EcsDiskArgs:
241
215
  @pulumi.getter(name="diskName")
242
216
  def disk_name(self) -> Optional[pulumi.Input[str]]:
243
217
  """
244
- The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
218
+ Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
245
219
  """
246
220
  return pulumi.get(self, "disk_name")
247
221
 
@@ -253,7 +227,7 @@ class EcsDiskArgs:
253
227
  @pulumi.getter(name="dryRun")
254
228
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
255
229
  """
256
- Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
230
+ Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
257
231
  """
258
232
  return pulumi.get(self, "dry_run")
259
233
 
@@ -265,7 +239,7 @@ class EcsDiskArgs:
265
239
  @pulumi.getter(name="enableAutoSnapshot")
266
240
  def enable_auto_snapshot(self) -> Optional[pulumi.Input[bool]]:
267
241
  """
268
- Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
242
+ Indicates whether to enable creating snapshot automatically.
269
243
  """
270
244
  return pulumi.get(self, "enable_auto_snapshot")
271
245
 
@@ -312,7 +286,7 @@ class EcsDiskArgs:
312
286
  @pulumi.getter(name="kmsKeyId")
313
287
  def kms_key_id(self) -> Optional[pulumi.Input[str]]:
314
288
  """
315
- The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
289
+ The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
316
290
  """
317
291
  return pulumi.get(self, "kms_key_id")
318
292
 
@@ -320,26 +294,12 @@ class EcsDiskArgs:
320
294
  def kms_key_id(self, value: Optional[pulumi.Input[str]]):
321
295
  pulumi.set(self, "kms_key_id", value)
322
296
 
323
- @property
324
- @pulumi.getter(name="multiAttach")
325
- def multi_attach(self) -> Optional[pulumi.Input[str]]:
326
- """
327
- Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
328
- """
329
- return pulumi.get(self, "multi_attach")
330
-
331
- @multi_attach.setter
332
- def multi_attach(self, value: Optional[pulumi.Input[str]]):
333
- pulumi.set(self, "multi_attach", value)
334
-
335
297
  @property
336
298
  @pulumi.getter
337
- @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""")
299
+ @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""")
338
300
  def name(self) -> Optional[pulumi.Input[str]]:
339
301
  """
340
302
  Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
341
-
342
- > **NOTE:** 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.
343
303
  """
344
304
  return pulumi.get(self, "name")
345
305
 
@@ -351,7 +311,7 @@ class EcsDiskArgs:
351
311
  @pulumi.getter(name="paymentType")
352
312
  def payment_type(self) -> Optional[pulumi.Input[str]]:
353
313
  """
354
- The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
314
+ Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
355
315
  """
356
316
  return pulumi.get(self, "payment_type")
357
317
 
@@ -363,7 +323,7 @@ class EcsDiskArgs:
363
323
  @pulumi.getter(name="performanceLevel")
364
324
  def performance_level(self) -> Optional[pulumi.Input[str]]:
365
325
  """
366
- Specifies the performance level of an ESSD when you create the ESSD. Valid values:
326
+ Specifies the performance level of an ESSD when you create the ESSD. Valid values:
367
327
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
368
328
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
369
329
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
@@ -375,23 +335,11 @@ class EcsDiskArgs:
375
335
  def performance_level(self, value: Optional[pulumi.Input[str]]):
376
336
  pulumi.set(self, "performance_level", value)
377
337
 
378
- @property
379
- @pulumi.getter(name="provisionedIops")
380
- def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
381
- """
382
- The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
383
- """
384
- return pulumi.get(self, "provisioned_iops")
385
-
386
- @provisioned_iops.setter
387
- def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
388
- pulumi.set(self, "provisioned_iops", value)
389
-
390
338
  @property
391
339
  @pulumi.getter(name="resourceGroupId")
392
340
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
393
341
  """
394
- The ID of the resource group to which to add the disk.
342
+ The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
395
343
  """
396
344
  return pulumi.get(self, "resource_group_id")
397
345
 
@@ -501,9 +449,7 @@ class _EcsDiskState:
501
449
  def __init__(__self__, *,
502
450
  advanced_features: Optional[pulumi.Input[str]] = None,
503
451
  availability_zone: Optional[pulumi.Input[str]] = None,
504
- bursting_enabled: Optional[pulumi.Input[bool]] = None,
505
452
  category: Optional[pulumi.Input[str]] = None,
506
- create_time: Optional[pulumi.Input[str]] = None,
507
453
  delete_auto_snapshot: Optional[pulumi.Input[bool]] = None,
508
454
  delete_with_instance: Optional[pulumi.Input[bool]] = None,
509
455
  description: Optional[pulumi.Input[str]] = None,
@@ -514,12 +460,9 @@ class _EcsDiskState:
514
460
  encrypted: Optional[pulumi.Input[bool]] = None,
515
461
  instance_id: Optional[pulumi.Input[str]] = None,
516
462
  kms_key_id: Optional[pulumi.Input[str]] = None,
517
- multi_attach: Optional[pulumi.Input[str]] = None,
518
463
  name: Optional[pulumi.Input[str]] = None,
519
464
  payment_type: Optional[pulumi.Input[str]] = None,
520
465
  performance_level: Optional[pulumi.Input[str]] = None,
521
- provisioned_iops: Optional[pulumi.Input[int]] = None,
522
- region_id: Optional[pulumi.Input[str]] = None,
523
466
  resource_group_id: Optional[pulumi.Input[str]] = None,
524
467
  size: Optional[pulumi.Input[int]] = None,
525
468
  snapshot_id: Optional[pulumi.Input[str]] = None,
@@ -532,33 +475,26 @@ class _EcsDiskState:
532
475
  """
533
476
  Input properties used for looking up and filtering EcsDisk resources.
534
477
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
535
- :param pulumi.Input[bool] bursting_enabled: Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
536
- :param pulumi.Input[str] category: The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
537
- :param pulumi.Input[str] create_time: (Available since v1.237.0) The time when the disk was created.
538
- :param pulumi.Input[bool] delete_auto_snapshot: Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
539
- :param pulumi.Input[bool] delete_with_instance: Specifies whether to release the disk along with its associated instance. Default value: `false`.
540
- :param pulumi.Input[str] description: The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
541
- :param pulumi.Input[str] disk_name: The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
542
- :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
543
- :param pulumi.Input[bool] enable_auto_snapshot: Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
478
+ :param pulumi.Input[str] category: Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
479
+ :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
480
+ :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
481
+ :param pulumi.Input[str] description: Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
482
+ :param pulumi.Input[str] disk_name: Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
483
+ :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
484
+ :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
544
485
  :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
545
486
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
546
487
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
547
488
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
548
- :param pulumi.Input[str] kms_key_id: The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
549
- :param pulumi.Input[str] multi_attach: Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
489
+ :param pulumi.Input[str] kms_key_id: The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
550
490
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
551
-
552
- > **NOTE:** 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.
553
- :param pulumi.Input[str] payment_type: The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
554
- :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
491
+ :param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
492
+ :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
555
493
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
556
494
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
557
495
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
558
496
  - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
559
- :param pulumi.Input[int] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
560
- :param pulumi.Input[str] region_id: (Available since v1.237.0) The ID of the region to which the disk belongs.
561
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the disk.
497
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
562
498
  :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
563
499
  - If `category` is set to `cloud`. Valid values: `5` to `2000`.
564
500
  - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
@@ -573,7 +509,7 @@ class _EcsDiskState:
573
509
  - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
574
510
  - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
575
511
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot to use to create the disk. **NOTE:** If the size of the snapshot specified by `snapshot_id` is larger than the value of `size`, the size of the created disk is equal to the specified snapshot size. If the size of the snapshot specified by `snapshot_id` is smaller than the value of `size`, the size of the created disk is equal to the value of `size`.
576
- :param pulumi.Input[str] status: The status of the disk.
512
+ :param pulumi.Input[str] status: The disk status.
577
513
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
578
514
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
579
515
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
@@ -583,16 +519,12 @@ class _EcsDiskState:
583
519
  if advanced_features is not None:
584
520
  pulumi.set(__self__, "advanced_features", advanced_features)
585
521
  if availability_zone is not None:
586
- warnings.warn("""Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""", DeprecationWarning)
587
- pulumi.log.warn("""availability_zone is deprecated: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""")
522
+ warnings.warn("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""", DeprecationWarning)
523
+ pulumi.log.warn("""availability_zone is deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
588
524
  if availability_zone is not None:
589
525
  pulumi.set(__self__, "availability_zone", availability_zone)
590
- if bursting_enabled is not None:
591
- pulumi.set(__self__, "bursting_enabled", bursting_enabled)
592
526
  if category is not None:
593
527
  pulumi.set(__self__, "category", category)
594
- if create_time is not None:
595
- pulumi.set(__self__, "create_time", create_time)
596
528
  if delete_auto_snapshot is not None:
597
529
  pulumi.set(__self__, "delete_auto_snapshot", delete_auto_snapshot)
598
530
  if delete_with_instance is not None:
@@ -613,21 +545,15 @@ class _EcsDiskState:
613
545
  pulumi.set(__self__, "instance_id", instance_id)
614
546
  if kms_key_id is not None:
615
547
  pulumi.set(__self__, "kms_key_id", kms_key_id)
616
- if multi_attach is not None:
617
- pulumi.set(__self__, "multi_attach", multi_attach)
618
548
  if name is not None:
619
- warnings.warn("""Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""", DeprecationWarning)
620
- pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""")
549
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""", DeprecationWarning)
550
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""")
621
551
  if name is not None:
622
552
  pulumi.set(__self__, "name", name)
623
553
  if payment_type is not None:
624
554
  pulumi.set(__self__, "payment_type", payment_type)
625
555
  if performance_level is not None:
626
556
  pulumi.set(__self__, "performance_level", performance_level)
627
- if provisioned_iops is not None:
628
- pulumi.set(__self__, "provisioned_iops", provisioned_iops)
629
- if region_id is not None:
630
- pulumi.set(__self__, "region_id", region_id)
631
557
  if resource_group_id is not None:
632
558
  pulumi.set(__self__, "resource_group_id", resource_group_id)
633
559
  if size is not None:
@@ -658,7 +584,7 @@ class _EcsDiskState:
658
584
 
659
585
  @property
660
586
  @pulumi.getter(name="availabilityZone")
661
- @_utilities.deprecated("""Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""")
587
+ @_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
662
588
  def availability_zone(self) -> Optional[pulumi.Input[str]]:
663
589
  """
664
590
  Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
@@ -669,23 +595,11 @@ class _EcsDiskState:
669
595
  def availability_zone(self, value: Optional[pulumi.Input[str]]):
670
596
  pulumi.set(self, "availability_zone", value)
671
597
 
672
- @property
673
- @pulumi.getter(name="burstingEnabled")
674
- def bursting_enabled(self) -> Optional[pulumi.Input[bool]]:
675
- """
676
- Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
677
- """
678
- return pulumi.get(self, "bursting_enabled")
679
-
680
- @bursting_enabled.setter
681
- def bursting_enabled(self, value: Optional[pulumi.Input[bool]]):
682
- pulumi.set(self, "bursting_enabled", value)
683
-
684
598
  @property
685
599
  @pulumi.getter
686
600
  def category(self) -> Optional[pulumi.Input[str]]:
687
601
  """
688
- The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
602
+ Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
689
603
  """
690
604
  return pulumi.get(self, "category")
691
605
 
@@ -693,23 +607,11 @@ class _EcsDiskState:
693
607
  def category(self, value: Optional[pulumi.Input[str]]):
694
608
  pulumi.set(self, "category", value)
695
609
 
696
- @property
697
- @pulumi.getter(name="createTime")
698
- def create_time(self) -> Optional[pulumi.Input[str]]:
699
- """
700
- (Available since v1.237.0) The time when the disk was created.
701
- """
702
- return pulumi.get(self, "create_time")
703
-
704
- @create_time.setter
705
- def create_time(self, value: Optional[pulumi.Input[str]]):
706
- pulumi.set(self, "create_time", value)
707
-
708
610
  @property
709
611
  @pulumi.getter(name="deleteAutoSnapshot")
710
612
  def delete_auto_snapshot(self) -> Optional[pulumi.Input[bool]]:
711
613
  """
712
- Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
614
+ Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
713
615
  """
714
616
  return pulumi.get(self, "delete_auto_snapshot")
715
617
 
@@ -721,7 +623,7 @@ class _EcsDiskState:
721
623
  @pulumi.getter(name="deleteWithInstance")
722
624
  def delete_with_instance(self) -> Optional[pulumi.Input[bool]]:
723
625
  """
724
- Specifies whether to release the disk along with its associated instance. Default value: `false`.
626
+ Indicates whether the disk is released together with the instance. Default value: `false`.
725
627
  """
726
628
  return pulumi.get(self, "delete_with_instance")
727
629
 
@@ -733,7 +635,7 @@ class _EcsDiskState:
733
635
  @pulumi.getter
734
636
  def description(self) -> Optional[pulumi.Input[str]]:
735
637
  """
736
- The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
638
+ Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
737
639
  """
738
640
  return pulumi.get(self, "description")
739
641
 
@@ -745,7 +647,7 @@ class _EcsDiskState:
745
647
  @pulumi.getter(name="diskName")
746
648
  def disk_name(self) -> Optional[pulumi.Input[str]]:
747
649
  """
748
- The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
650
+ Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
749
651
  """
750
652
  return pulumi.get(self, "disk_name")
751
653
 
@@ -757,7 +659,7 @@ class _EcsDiskState:
757
659
  @pulumi.getter(name="dryRun")
758
660
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
759
661
  """
760
- Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
662
+ Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
761
663
  """
762
664
  return pulumi.get(self, "dry_run")
763
665
 
@@ -769,7 +671,7 @@ class _EcsDiskState:
769
671
  @pulumi.getter(name="enableAutoSnapshot")
770
672
  def enable_auto_snapshot(self) -> Optional[pulumi.Input[bool]]:
771
673
  """
772
- Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
674
+ Indicates whether to enable creating snapshot automatically.
773
675
  """
774
676
  return pulumi.get(self, "enable_auto_snapshot")
775
677
 
@@ -816,7 +718,7 @@ class _EcsDiskState:
816
718
  @pulumi.getter(name="kmsKeyId")
817
719
  def kms_key_id(self) -> Optional[pulumi.Input[str]]:
818
720
  """
819
- The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
721
+ The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
820
722
  """
821
723
  return pulumi.get(self, "kms_key_id")
822
724
 
@@ -824,26 +726,12 @@ class _EcsDiskState:
824
726
  def kms_key_id(self, value: Optional[pulumi.Input[str]]):
825
727
  pulumi.set(self, "kms_key_id", value)
826
728
 
827
- @property
828
- @pulumi.getter(name="multiAttach")
829
- def multi_attach(self) -> Optional[pulumi.Input[str]]:
830
- """
831
- Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
832
- """
833
- return pulumi.get(self, "multi_attach")
834
-
835
- @multi_attach.setter
836
- def multi_attach(self, value: Optional[pulumi.Input[str]]):
837
- pulumi.set(self, "multi_attach", value)
838
-
839
729
  @property
840
730
  @pulumi.getter
841
- @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""")
731
+ @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""")
842
732
  def name(self) -> Optional[pulumi.Input[str]]:
843
733
  """
844
734
  Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
845
-
846
- > **NOTE:** 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.
847
735
  """
848
736
  return pulumi.get(self, "name")
849
737
 
@@ -855,7 +743,7 @@ class _EcsDiskState:
855
743
  @pulumi.getter(name="paymentType")
856
744
  def payment_type(self) -> Optional[pulumi.Input[str]]:
857
745
  """
858
- The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
746
+ Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
859
747
  """
860
748
  return pulumi.get(self, "payment_type")
861
749
 
@@ -867,7 +755,7 @@ class _EcsDiskState:
867
755
  @pulumi.getter(name="performanceLevel")
868
756
  def performance_level(self) -> Optional[pulumi.Input[str]]:
869
757
  """
870
- Specifies the performance level of an ESSD when you create the ESSD. Valid values:
758
+ Specifies the performance level of an ESSD when you create the ESSD. Valid values:
871
759
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
872
760
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
873
761
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
@@ -879,35 +767,11 @@ class _EcsDiskState:
879
767
  def performance_level(self, value: Optional[pulumi.Input[str]]):
880
768
  pulumi.set(self, "performance_level", value)
881
769
 
882
- @property
883
- @pulumi.getter(name="provisionedIops")
884
- def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
885
- """
886
- The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
887
- """
888
- return pulumi.get(self, "provisioned_iops")
889
-
890
- @provisioned_iops.setter
891
- def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
892
- pulumi.set(self, "provisioned_iops", value)
893
-
894
- @property
895
- @pulumi.getter(name="regionId")
896
- def region_id(self) -> Optional[pulumi.Input[str]]:
897
- """
898
- (Available since v1.237.0) The ID of the region to which the disk belongs.
899
- """
900
- return pulumi.get(self, "region_id")
901
-
902
- @region_id.setter
903
- def region_id(self, value: Optional[pulumi.Input[str]]):
904
- pulumi.set(self, "region_id", value)
905
-
906
770
  @property
907
771
  @pulumi.getter(name="resourceGroupId")
908
772
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
909
773
  """
910
- The ID of the resource group to which to add the disk.
774
+ The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
911
775
  """
912
776
  return pulumi.get(self, "resource_group_id")
913
777
 
@@ -955,7 +819,7 @@ class _EcsDiskState:
955
819
  @pulumi.getter
956
820
  def status(self) -> Optional[pulumi.Input[str]]:
957
821
  """
958
- The status of the disk.
822
+ The disk status.
959
823
  """
960
824
  return pulumi.get(self, "status")
961
825
 
@@ -1031,7 +895,6 @@ class EcsDisk(pulumi.CustomResource):
1031
895
  opts: Optional[pulumi.ResourceOptions] = None,
1032
896
  advanced_features: Optional[pulumi.Input[str]] = None,
1033
897
  availability_zone: Optional[pulumi.Input[str]] = None,
1034
- bursting_enabled: Optional[pulumi.Input[bool]] = None,
1035
898
  category: Optional[pulumi.Input[str]] = None,
1036
899
  delete_auto_snapshot: Optional[pulumi.Input[bool]] = None,
1037
900
  delete_with_instance: Optional[pulumi.Input[bool]] = None,
@@ -1043,11 +906,9 @@ class EcsDisk(pulumi.CustomResource):
1043
906
  encrypted: Optional[pulumi.Input[bool]] = None,
1044
907
  instance_id: Optional[pulumi.Input[str]] = None,
1045
908
  kms_key_id: Optional[pulumi.Input[str]] = None,
1046
- multi_attach: Optional[pulumi.Input[str]] = None,
1047
909
  name: Optional[pulumi.Input[str]] = None,
1048
910
  payment_type: Optional[pulumi.Input[str]] = None,
1049
911
  performance_level: Optional[pulumi.Input[str]] = None,
1050
- provisioned_iops: Optional[pulumi.Input[int]] = None,
1051
912
  resource_group_id: Optional[pulumi.Input[str]] = None,
1052
913
  size: Optional[pulumi.Input[int]] = None,
1053
914
  snapshot_id: Optional[pulumi.Input[str]] = None,
@@ -1063,37 +924,32 @@ class EcsDisk(pulumi.CustomResource):
1063
924
  ECS Disk can be imported using the id, e.g.
1064
925
 
1065
926
  ```sh
1066
- $ pulumi import alicloud:ecs/ecsDisk:EcsDisk example <id>
927
+ $ pulumi import alicloud:ecs/ecsDisk:EcsDisk example d-abcd12345
1067
928
  ```
1068
929
 
1069
930
  :param str resource_name: The name of the resource.
1070
931
  :param pulumi.ResourceOptions opts: Options for the resource.
1071
932
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
1072
- :param pulumi.Input[bool] bursting_enabled: Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
1073
- :param pulumi.Input[str] category: The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
1074
- :param pulumi.Input[bool] delete_auto_snapshot: Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
1075
- :param pulumi.Input[bool] delete_with_instance: Specifies whether to release the disk along with its associated instance. Default value: `false`.
1076
- :param pulumi.Input[str] description: The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
1077
- :param pulumi.Input[str] disk_name: The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
1078
- :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
1079
- :param pulumi.Input[bool] enable_auto_snapshot: Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
933
+ :param pulumi.Input[str] category: Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
934
+ :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
935
+ :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
936
+ :param pulumi.Input[str] description: Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
937
+ :param pulumi.Input[str] disk_name: Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
938
+ :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
939
+ :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
1080
940
  :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
1081
941
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
1082
942
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
1083
943
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
1084
- :param pulumi.Input[str] kms_key_id: The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
1085
- :param pulumi.Input[str] multi_attach: Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
944
+ :param pulumi.Input[str] kms_key_id: The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
1086
945
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
1087
-
1088
- > **NOTE:** 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.
1089
- :param pulumi.Input[str] payment_type: The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
1090
- :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
946
+ :param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
947
+ :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1091
948
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1092
949
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1093
950
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1094
951
  - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1095
- :param pulumi.Input[int] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
1096
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the disk.
952
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
1097
953
  :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
1098
954
  - If `category` is set to `cloud`. Valid values: `5` to `2000`.
1099
955
  - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
@@ -1126,7 +982,7 @@ class EcsDisk(pulumi.CustomResource):
1126
982
  ECS Disk can be imported using the id, e.g.
1127
983
 
1128
984
  ```sh
1129
- $ pulumi import alicloud:ecs/ecsDisk:EcsDisk example <id>
985
+ $ pulumi import alicloud:ecs/ecsDisk:EcsDisk example d-abcd12345
1130
986
  ```
1131
987
 
1132
988
  :param str resource_name: The name of the resource.
@@ -1146,7 +1002,6 @@ class EcsDisk(pulumi.CustomResource):
1146
1002
  opts: Optional[pulumi.ResourceOptions] = None,
1147
1003
  advanced_features: Optional[pulumi.Input[str]] = None,
1148
1004
  availability_zone: Optional[pulumi.Input[str]] = None,
1149
- bursting_enabled: Optional[pulumi.Input[bool]] = None,
1150
1005
  category: Optional[pulumi.Input[str]] = None,
1151
1006
  delete_auto_snapshot: Optional[pulumi.Input[bool]] = None,
1152
1007
  delete_with_instance: Optional[pulumi.Input[bool]] = None,
@@ -1158,11 +1013,9 @@ class EcsDisk(pulumi.CustomResource):
1158
1013
  encrypted: Optional[pulumi.Input[bool]] = None,
1159
1014
  instance_id: Optional[pulumi.Input[str]] = None,
1160
1015
  kms_key_id: Optional[pulumi.Input[str]] = None,
1161
- multi_attach: Optional[pulumi.Input[str]] = None,
1162
1016
  name: Optional[pulumi.Input[str]] = None,
1163
1017
  payment_type: Optional[pulumi.Input[str]] = None,
1164
1018
  performance_level: Optional[pulumi.Input[str]] = None,
1165
- provisioned_iops: Optional[pulumi.Input[int]] = None,
1166
1019
  resource_group_id: Optional[pulumi.Input[str]] = None,
1167
1020
  size: Optional[pulumi.Input[int]] = None,
1168
1021
  snapshot_id: Optional[pulumi.Input[str]] = None,
@@ -1182,7 +1035,6 @@ class EcsDisk(pulumi.CustomResource):
1182
1035
 
1183
1036
  __props__.__dict__["advanced_features"] = advanced_features
1184
1037
  __props__.__dict__["availability_zone"] = availability_zone
1185
- __props__.__dict__["bursting_enabled"] = bursting_enabled
1186
1038
  __props__.__dict__["category"] = category
1187
1039
  __props__.__dict__["delete_auto_snapshot"] = delete_auto_snapshot
1188
1040
  __props__.__dict__["delete_with_instance"] = delete_with_instance
@@ -1194,11 +1046,9 @@ class EcsDisk(pulumi.CustomResource):
1194
1046
  __props__.__dict__["encrypted"] = encrypted
1195
1047
  __props__.__dict__["instance_id"] = instance_id
1196
1048
  __props__.__dict__["kms_key_id"] = kms_key_id
1197
- __props__.__dict__["multi_attach"] = multi_attach
1198
1049
  __props__.__dict__["name"] = name
1199
1050
  __props__.__dict__["payment_type"] = payment_type
1200
1051
  __props__.__dict__["performance_level"] = performance_level
1201
- __props__.__dict__["provisioned_iops"] = provisioned_iops
1202
1052
  __props__.__dict__["resource_group_id"] = resource_group_id
1203
1053
  __props__.__dict__["size"] = size
1204
1054
  __props__.__dict__["snapshot_id"] = snapshot_id
@@ -1207,8 +1057,6 @@ class EcsDisk(pulumi.CustomResource):
1207
1057
  __props__.__dict__["tags"] = tags
1208
1058
  __props__.__dict__["type"] = type
1209
1059
  __props__.__dict__["zone_id"] = zone_id
1210
- __props__.__dict__["create_time"] = None
1211
- __props__.__dict__["region_id"] = None
1212
1060
  __props__.__dict__["status"] = None
1213
1061
  super(EcsDisk, __self__).__init__(
1214
1062
  'alicloud:ecs/ecsDisk:EcsDisk',
@@ -1222,9 +1070,7 @@ class EcsDisk(pulumi.CustomResource):
1222
1070
  opts: Optional[pulumi.ResourceOptions] = None,
1223
1071
  advanced_features: Optional[pulumi.Input[str]] = None,
1224
1072
  availability_zone: Optional[pulumi.Input[str]] = None,
1225
- bursting_enabled: Optional[pulumi.Input[bool]] = None,
1226
1073
  category: Optional[pulumi.Input[str]] = None,
1227
- create_time: Optional[pulumi.Input[str]] = None,
1228
1074
  delete_auto_snapshot: Optional[pulumi.Input[bool]] = None,
1229
1075
  delete_with_instance: Optional[pulumi.Input[bool]] = None,
1230
1076
  description: Optional[pulumi.Input[str]] = None,
@@ -1235,12 +1081,9 @@ class EcsDisk(pulumi.CustomResource):
1235
1081
  encrypted: Optional[pulumi.Input[bool]] = None,
1236
1082
  instance_id: Optional[pulumi.Input[str]] = None,
1237
1083
  kms_key_id: Optional[pulumi.Input[str]] = None,
1238
- multi_attach: Optional[pulumi.Input[str]] = None,
1239
1084
  name: Optional[pulumi.Input[str]] = None,
1240
1085
  payment_type: Optional[pulumi.Input[str]] = None,
1241
1086
  performance_level: Optional[pulumi.Input[str]] = None,
1242
- provisioned_iops: Optional[pulumi.Input[int]] = None,
1243
- region_id: Optional[pulumi.Input[str]] = None,
1244
1087
  resource_group_id: Optional[pulumi.Input[str]] = None,
1245
1088
  size: Optional[pulumi.Input[int]] = None,
1246
1089
  snapshot_id: Optional[pulumi.Input[str]] = None,
@@ -1258,33 +1101,26 @@ class EcsDisk(pulumi.CustomResource):
1258
1101
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1259
1102
  :param pulumi.ResourceOptions opts: Options for the resource.
1260
1103
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
1261
- :param pulumi.Input[bool] bursting_enabled: Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
1262
- :param pulumi.Input[str] category: The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
1263
- :param pulumi.Input[str] create_time: (Available since v1.237.0) The time when the disk was created.
1264
- :param pulumi.Input[bool] delete_auto_snapshot: Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
1265
- :param pulumi.Input[bool] delete_with_instance: Specifies whether to release the disk along with its associated instance. Default value: `false`.
1266
- :param pulumi.Input[str] description: The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
1267
- :param pulumi.Input[str] disk_name: The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
1268
- :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
1269
- :param pulumi.Input[bool] enable_auto_snapshot: Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
1104
+ :param pulumi.Input[str] category: Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
1105
+ :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
1106
+ :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
1107
+ :param pulumi.Input[str] description: Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
1108
+ :param pulumi.Input[str] disk_name: Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
1109
+ :param pulumi.Input[bool] dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
1110
+ :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
1270
1111
  :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
1271
1112
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
1272
1113
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
1273
1114
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
1274
- :param pulumi.Input[str] kms_key_id: The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
1275
- :param pulumi.Input[str] multi_attach: Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
1115
+ :param pulumi.Input[str] kms_key_id: The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
1276
1116
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
1277
-
1278
- > **NOTE:** 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.
1279
- :param pulumi.Input[str] payment_type: The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
1280
- :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1117
+ :param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
1118
+ :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1281
1119
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1282
1120
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1283
1121
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1284
1122
  - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1285
- :param pulumi.Input[int] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
1286
- :param pulumi.Input[str] region_id: (Available since v1.237.0) The ID of the region to which the disk belongs.
1287
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the disk.
1123
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
1288
1124
  :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
1289
1125
  - If `category` is set to `cloud`. Valid values: `5` to `2000`.
1290
1126
  - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
@@ -1299,7 +1135,7 @@ class EcsDisk(pulumi.CustomResource):
1299
1135
  - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
1300
1136
  - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
1301
1137
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot to use to create the disk. **NOTE:** If the size of the snapshot specified by `snapshot_id` is larger than the value of `size`, the size of the created disk is equal to the specified snapshot size. If the size of the snapshot specified by `snapshot_id` is smaller than the value of `size`, the size of the created disk is equal to the value of `size`.
1302
- :param pulumi.Input[str] status: The status of the disk.
1138
+ :param pulumi.Input[str] status: The disk status.
1303
1139
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
1304
1140
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
1305
1141
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
@@ -1312,9 +1148,7 @@ class EcsDisk(pulumi.CustomResource):
1312
1148
 
1313
1149
  __props__.__dict__["advanced_features"] = advanced_features
1314
1150
  __props__.__dict__["availability_zone"] = availability_zone
1315
- __props__.__dict__["bursting_enabled"] = bursting_enabled
1316
1151
  __props__.__dict__["category"] = category
1317
- __props__.__dict__["create_time"] = create_time
1318
1152
  __props__.__dict__["delete_auto_snapshot"] = delete_auto_snapshot
1319
1153
  __props__.__dict__["delete_with_instance"] = delete_with_instance
1320
1154
  __props__.__dict__["description"] = description
@@ -1325,12 +1159,9 @@ class EcsDisk(pulumi.CustomResource):
1325
1159
  __props__.__dict__["encrypted"] = encrypted
1326
1160
  __props__.__dict__["instance_id"] = instance_id
1327
1161
  __props__.__dict__["kms_key_id"] = kms_key_id
1328
- __props__.__dict__["multi_attach"] = multi_attach
1329
1162
  __props__.__dict__["name"] = name
1330
1163
  __props__.__dict__["payment_type"] = payment_type
1331
1164
  __props__.__dict__["performance_level"] = performance_level
1332
- __props__.__dict__["provisioned_iops"] = provisioned_iops
1333
- __props__.__dict__["region_id"] = region_id
1334
1165
  __props__.__dict__["resource_group_id"] = resource_group_id
1335
1166
  __props__.__dict__["size"] = size
1336
1167
  __props__.__dict__["snapshot_id"] = snapshot_id
@@ -1349,42 +1180,26 @@ class EcsDisk(pulumi.CustomResource):
1349
1180
 
1350
1181
  @property
1351
1182
  @pulumi.getter(name="availabilityZone")
1352
- @_utilities.deprecated("""Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead""")
1183
+ @_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
1353
1184
  def availability_zone(self) -> pulumi.Output[str]:
1354
1185
  """
1355
1186
  Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
1356
1187
  """
1357
1188
  return pulumi.get(self, "availability_zone")
1358
1189
 
1359
- @property
1360
- @pulumi.getter(name="burstingEnabled")
1361
- def bursting_enabled(self) -> pulumi.Output[Optional[bool]]:
1362
- """
1363
- Specifies whether to enable the performance burst feature. Valid values: `true`, `false`. **NOTE:** `bursting_enabled` is only valid when `category` is `cloud_auto`.
1364
- """
1365
- return pulumi.get(self, "bursting_enabled")
1366
-
1367
1190
  @property
1368
1191
  @pulumi.getter
1369
1192
  def category(self) -> pulumi.Output[Optional[str]]:
1370
1193
  """
1371
- The category of the data disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
1194
+ Category of the disk. Default value: `cloud_efficiency`. Valid Values: `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`.
1372
1195
  """
1373
1196
  return pulumi.get(self, "category")
1374
1197
 
1375
- @property
1376
- @pulumi.getter(name="createTime")
1377
- def create_time(self) -> pulumi.Output[str]:
1378
- """
1379
- (Available since v1.237.0) The time when the disk was created.
1380
- """
1381
- return pulumi.get(self, "create_time")
1382
-
1383
1198
  @property
1384
1199
  @pulumi.getter(name="deleteAutoSnapshot")
1385
1200
  def delete_auto_snapshot(self) -> pulumi.Output[Optional[bool]]:
1386
1201
  """
1387
- Specifies whether to delete the automatic snapshots of the disk when the disk is released. Default value: `false`.
1202
+ Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
1388
1203
  """
1389
1204
  return pulumi.get(self, "delete_auto_snapshot")
1390
1205
 
@@ -1392,7 +1207,7 @@ class EcsDisk(pulumi.CustomResource):
1392
1207
  @pulumi.getter(name="deleteWithInstance")
1393
1208
  def delete_with_instance(self) -> pulumi.Output[bool]:
1394
1209
  """
1395
- Specifies whether to release the disk along with its associated instance. Default value: `false`.
1210
+ Indicates whether the disk is released together with the instance. Default value: `false`.
1396
1211
  """
1397
1212
  return pulumi.get(self, "delete_with_instance")
1398
1213
 
@@ -1400,7 +1215,7 @@ class EcsDisk(pulumi.CustomResource):
1400
1215
  @pulumi.getter
1401
1216
  def description(self) -> pulumi.Output[Optional[str]]:
1402
1217
  """
1403
- The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
1218
+ Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
1404
1219
  """
1405
1220
  return pulumi.get(self, "description")
1406
1221
 
@@ -1408,7 +1223,7 @@ class EcsDisk(pulumi.CustomResource):
1408
1223
  @pulumi.getter(name="diskName")
1409
1224
  def disk_name(self) -> pulumi.Output[str]:
1410
1225
  """
1411
- The name of the data disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
1226
+ Name of the ECS disk. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with `http://` or `https://`. Default value is `null`.
1412
1227
  """
1413
1228
  return pulumi.get(self, "disk_name")
1414
1229
 
@@ -1416,7 +1231,7 @@ class EcsDisk(pulumi.CustomResource):
1416
1231
  @pulumi.getter(name="dryRun")
1417
1232
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
1418
1233
  """
1419
- Specifies whether to check the validity of the request without actually making the request.request Default value: `false`. Valid values:
1234
+ Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
1420
1235
  """
1421
1236
  return pulumi.get(self, "dry_run")
1422
1237
 
@@ -1424,7 +1239,7 @@ class EcsDisk(pulumi.CustomResource):
1424
1239
  @pulumi.getter(name="enableAutoSnapshot")
1425
1240
  def enable_auto_snapshot(self) -> pulumi.Output[bool]:
1426
1241
  """
1427
- Specifies whether to enable the automatic snapshot policy feature for the cloud disk. Valid values: `true`, `false`.
1242
+ Indicates whether to enable creating snapshot automatically.
1428
1243
  """
1429
1244
  return pulumi.get(self, "enable_auto_snapshot")
1430
1245
 
@@ -1455,26 +1270,16 @@ class EcsDisk(pulumi.CustomResource):
1455
1270
  @pulumi.getter(name="kmsKeyId")
1456
1271
  def kms_key_id(self) -> pulumi.Output[Optional[str]]:
1457
1272
  """
1458
- The ID of the Key Management Service (KMS) key that is used for the disk. **NOTE:** `kms_key_id` is only valid when `encrypted` is `true`.
1273
+ The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty.
1459
1274
  """
1460
1275
  return pulumi.get(self, "kms_key_id")
1461
1276
 
1462
- @property
1463
- @pulumi.getter(name="multiAttach")
1464
- def multi_attach(self) -> pulumi.Output[str]:
1465
- """
1466
- Specifies whether to enable the multi-attach feature for the disk. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`. **NOTE:** Currently, `multi_attach` can only be set to `Enabled` when `category` is set to `cloud_essd`.
1467
- """
1468
- return pulumi.get(self, "multi_attach")
1469
-
1470
1277
  @property
1471
1278
  @pulumi.getter
1472
- @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.""")
1279
+ @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead.""")
1473
1280
  def name(self) -> pulumi.Output[str]:
1474
1281
  """
1475
1282
  Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
1476
-
1477
- > **NOTE:** 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.
1478
1283
  """
1479
1284
  return pulumi.get(self, "name")
1480
1285
 
@@ -1482,7 +1287,7 @@ class EcsDisk(pulumi.CustomResource):
1482
1287
  @pulumi.getter(name="paymentType")
1483
1288
  def payment_type(self) -> pulumi.Output[str]:
1484
1289
  """
1485
- The payment type of the disk. Default to `PayAsYouGo`. Valid values: `PayAsYouGo`, `Subscription`. If you want to change the disk payment type, the `instance_id` is required.
1290
+ Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
1486
1291
  """
1487
1292
  return pulumi.get(self, "payment_type")
1488
1293
 
@@ -1490,7 +1295,7 @@ class EcsDisk(pulumi.CustomResource):
1490
1295
  @pulumi.getter(name="performanceLevel")
1491
1296
  def performance_level(self) -> pulumi.Output[str]:
1492
1297
  """
1493
- Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1298
+ Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1494
1299
  - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1495
1300
  - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1496
1301
  - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
@@ -1498,27 +1303,11 @@ class EcsDisk(pulumi.CustomResource):
1498
1303
  """
1499
1304
  return pulumi.get(self, "performance_level")
1500
1305
 
1501
- @property
1502
- @pulumi.getter(name="provisionedIops")
1503
- def provisioned_iops(self) -> pulumi.Output[Optional[int]]:
1504
- """
1505
- The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. **NOTE:** `provisioned_iops` is only valid when `category` is `cloud_auto`.
1506
- """
1507
- return pulumi.get(self, "provisioned_iops")
1508
-
1509
- @property
1510
- @pulumi.getter(name="regionId")
1511
- def region_id(self) -> pulumi.Output[str]:
1512
- """
1513
- (Available since v1.237.0) The ID of the region to which the disk belongs.
1514
- """
1515
- return pulumi.get(self, "region_id")
1516
-
1517
1306
  @property
1518
1307
  @pulumi.getter(name="resourceGroupId")
1519
1308
  def resource_group_id(self) -> pulumi.Output[str]:
1520
1309
  """
1521
- The ID of the resource group to which to add the disk.
1310
+ The Id of resource group which the disk belongs. This attribute only supports adding or updating, not destroying.
1522
1311
  """
1523
1312
  return pulumi.get(self, "resource_group_id")
1524
1313
 
@@ -1554,7 +1343,7 @@ class EcsDisk(pulumi.CustomResource):
1554
1343
  @pulumi.getter
1555
1344
  def status(self) -> pulumi.Output[str]:
1556
1345
  """
1557
- The status of the disk.
1346
+ The disk status.
1558
1347
  """
1559
1348
  return pulumi.get(self, "status")
1560
1349