pulumi-alicloud 3.64.0a1729894283__py3-none-any.whl → 3.65.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (94) hide show
  1. pulumi_alicloud/__init__.py +35 -0
  2. pulumi_alicloud/amqp/instance.py +8 -8
  3. pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
  4. pulumi_alicloud/bss/get_open_api_products.py +4 -4
  5. pulumi_alicloud/cas/get_certificates.py +17 -1
  6. pulumi_alicloud/cas/get_service_certificates.py +153 -17
  7. pulumi_alicloud/cas/outputs.py +40 -36
  8. pulumi_alicloud/cen/instance.py +108 -53
  9. pulumi_alicloud/cen/transit_router_route_table_association.py +72 -68
  10. pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
  11. pulumi_alicloud/cloudfirewall/instance.py +64 -36
  12. pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
  13. pulumi_alicloud/cs/_inputs.py +390 -26
  14. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
  15. pulumi_alicloud/cs/kubernetes.py +48 -35
  16. pulumi_alicloud/cs/managed_kubernetes.py +91 -35
  17. pulumi_alicloud/cs/node_pool.py +68 -14
  18. pulumi_alicloud/cs/outputs.py +293 -16
  19. pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
  20. pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
  21. pulumi_alicloud/databasefilesystem/instance.py +31 -0
  22. pulumi_alicloud/databasefilesystem/outputs.py +0 -4
  23. pulumi_alicloud/dns/get_alidns_records.py +26 -4
  24. pulumi_alicloud/dns/outputs.py +2 -2
  25. pulumi_alicloud/eais/instance.py +55 -57
  26. pulumi_alicloud/ecp/instance.py +177 -219
  27. pulumi_alicloud/ecs/disk.py +2 -2
  28. pulumi_alicloud/ecs/ecs_disk.py +142 -58
  29. pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
  30. pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
  31. pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
  32. pulumi_alicloud/ecs/instance.py +131 -98
  33. pulumi_alicloud/ecs/key_pair.py +1 -1
  34. pulumi_alicloud/ecs/launch_template.py +102 -0
  35. pulumi_alicloud/ecs/outputs.py +57 -24
  36. pulumi_alicloud/ens/disk.py +2 -2
  37. pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
  38. pulumi_alicloud/ess/_inputs.py +342 -2
  39. pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
  40. pulumi_alicloud/ess/outputs.py +226 -2
  41. pulumi_alicloud/ess/scaling_configuration.py +377 -1
  42. pulumi_alicloud/ess/scaling_group.py +54 -7
  43. pulumi_alicloud/fc/_inputs.py +3 -3
  44. pulumi_alicloud/fc/outputs.py +2 -2
  45. pulumi_alicloud/ga/_inputs.py +57 -22
  46. pulumi_alicloud/ga/outputs.py +39 -15
  47. pulumi_alicloud/governance/baseline.py +18 -18
  48. pulumi_alicloud/governance/get_baselines.py +18 -18
  49. pulumi_alicloud/gpdb/__init__.py +1 -0
  50. pulumi_alicloud/gpdb/database.py +545 -0
  51. pulumi_alicloud/gpdb/instance.py +1 -1
  52. pulumi_alicloud/kms/get_secrets.py +5 -5
  53. pulumi_alicloud/kms/outputs.py +18 -18
  54. pulumi_alicloud/kvstore/instance.py +24 -5
  55. pulumi_alicloud/log/alert.py +14 -14
  56. pulumi_alicloud/mse/__init__.py +2 -0
  57. pulumi_alicloud/mse/cluster.py +149 -51
  58. pulumi_alicloud/mse/engine_namespace.py +176 -74
  59. pulumi_alicloud/mse/get_clusters.py +70 -10
  60. pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
  61. pulumi_alicloud/mse/get_nacos_configs.py +394 -0
  62. pulumi_alicloud/mse/nacos_config.py +762 -0
  63. pulumi_alicloud/mse/outputs.py +165 -8
  64. pulumi_alicloud/nas/data_flow.py +6 -6
  65. pulumi_alicloud/nas/fileset.py +6 -6
  66. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  67. pulumi_alicloud/nas/recycle_bin.py +6 -6
  68. pulumi_alicloud/nas/snapshot.py +6 -6
  69. pulumi_alicloud/ocean/base_instance.py +2 -2
  70. pulumi_alicloud/pai/__init__.py +8 -0
  71. pulumi_alicloud/pai/workspace_workspace.py +447 -0
  72. pulumi_alicloud/polardb/cluster.py +176 -14
  73. pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
  74. pulumi_alicloud/privatelink/outputs.py +17 -6
  75. pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
  76. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
  77. pulumi_alicloud/pulumi-plugin.json +1 -1
  78. pulumi_alicloud/rds/instance.py +50 -3
  79. pulumi_alicloud/resourcemanager/get_folders.py +35 -28
  80. pulumi_alicloud/resourcemanager/outputs.py +8 -8
  81. pulumi_alicloud/servicemesh/_inputs.py +656 -174
  82. pulumi_alicloud/servicemesh/outputs.py +507 -117
  83. pulumi_alicloud/servicemesh/service_mesh.py +120 -78
  84. pulumi_alicloud/sls/__init__.py +1 -0
  85. pulumi_alicloud/sls/_inputs.py +307 -0
  86. pulumi_alicloud/sls/collection_policy.py +561 -0
  87. pulumi_alicloud/sls/outputs.py +263 -0
  88. pulumi_alicloud/threatdetection/instance.py +331 -43
  89. pulumi_alicloud/vpc/subnet.py +59 -27
  90. pulumi_alicloud/vpc/switch.py +104 -87
  91. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/METADATA +1 -1
  92. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/RECORD +94 -88
  93. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/WHEEL +1 -1
  94. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/top_level.txt +0 -0
@@ -1132,7 +1132,7 @@ class Disk(pulumi.CustomResource):
1132
1132
 
1133
1133
  @property
1134
1134
  @pulumi.getter
1135
- def encrypted(self) -> pulumi.Output[Optional[bool]]:
1135
+ def encrypted(self) -> pulumi.Output[bool]:
1136
1136
  """
1137
1137
  If true, the disk will be encrypted, conflict with `snapshot_id`.
1138
1138
  """
@@ -1195,7 +1195,7 @@ class Disk(pulumi.CustomResource):
1195
1195
 
1196
1196
  @property
1197
1197
  @pulumi.getter(name="snapshotId")
1198
- def snapshot_id(self) -> pulumi.Output[Optional[str]]:
1198
+ def snapshot_id(self) -> pulumi.Output[str]:
1199
1199
  """
1200
1200
  A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
1201
1201
  """
@@ -46,14 +46,14 @@ class EcsDiskArgs:
46
46
  """
47
47
  The set of arguments for constructing a EcsDisk resource.
48
48
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
49
- :param pulumi.Input[str] category: Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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
50
  :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
51
51
  :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
52
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
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
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
55
  :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
56
- :param pulumi.Input[bool] encrypted: If true, the disk will be encrypted, conflict with `snapshot_id`.
56
+ :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
57
57
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
58
58
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
59
59
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
@@ -61,13 +61,25 @@ class EcsDiskArgs:
61
61
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
62
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
63
  :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
64
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
65
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
66
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
67
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
64
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
65
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
66
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
67
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
68
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.
69
- :param pulumi.Input[int] size: The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
70
- :param pulumi.Input[str] snapshot_id: A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
69
+ :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
70
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
71
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
72
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
73
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
74
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
75
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
76
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
77
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
78
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
79
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
80
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
81
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
82
+ :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`.
71
83
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
72
84
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
73
85
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
@@ -155,7 +167,7 @@ class EcsDiskArgs:
155
167
  @pulumi.getter
156
168
  def category(self) -> Optional[pulumi.Input[str]]:
157
169
  """
158
- Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
159
171
  """
160
172
  return pulumi.get(self, "category")
161
173
 
@@ -248,7 +260,7 @@ class EcsDiskArgs:
248
260
  @pulumi.getter
249
261
  def encrypted(self) -> Optional[pulumi.Input[bool]]:
250
262
  """
251
- If true, the disk will be encrypted, conflict with `snapshot_id`.
263
+ Specifies whether to encrypt the disk. Default value: `false`. Valid values:
252
264
  """
253
265
  return pulumi.get(self, "encrypted")
254
266
 
@@ -312,10 +324,10 @@ class EcsDiskArgs:
312
324
  def performance_level(self) -> Optional[pulumi.Input[str]]:
313
325
  """
314
326
  Specifies the performance level of an ESSD when you create the ESSD. Valid values:
315
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
316
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
317
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
318
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
327
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
328
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
329
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
330
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
319
331
  """
320
332
  return pulumi.get(self, "performance_level")
321
333
 
@@ -339,7 +351,19 @@ class EcsDiskArgs:
339
351
  @pulumi.getter
340
352
  def size(self) -> Optional[pulumi.Input[int]]:
341
353
  """
342
- The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
354
+ The size of the disk. Unit: GiB. This parameter is required. Valid values:
355
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
356
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
357
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
358
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
359
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
360
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
361
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
362
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
363
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
364
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
365
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
366
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
343
367
  """
344
368
  return pulumi.get(self, "size")
345
369
 
@@ -351,7 +375,7 @@ class EcsDiskArgs:
351
375
  @pulumi.getter(name="snapshotId")
352
376
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
353
377
  """
354
- A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
378
+ 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`.
355
379
  """
356
380
  return pulumi.get(self, "snapshot_id")
357
381
 
@@ -451,14 +475,14 @@ class _EcsDiskState:
451
475
  """
452
476
  Input properties used for looking up and filtering EcsDisk resources.
453
477
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
454
- :param pulumi.Input[str] category: Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
455
479
  :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
456
480
  :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
457
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.
458
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`.
459
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:
460
484
  :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
461
- :param pulumi.Input[bool] encrypted: If true, the disk will be encrypted, conflict with `snapshot_id`.
485
+ :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
462
486
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
463
487
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
464
488
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
@@ -466,13 +490,25 @@ class _EcsDiskState:
466
490
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
467
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.
468
492
  :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
469
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
470
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
471
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
472
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
493
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
494
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
495
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
496
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
473
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.
474
- :param pulumi.Input[int] size: The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
475
- :param pulumi.Input[str] snapshot_id: A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
498
+ :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
499
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
500
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
501
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
502
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
503
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
504
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
505
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
506
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
507
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
508
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
509
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
510
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
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`.
476
512
  :param pulumi.Input[str] status: The disk status.
477
513
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
478
514
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
@@ -563,7 +599,7 @@ class _EcsDiskState:
563
599
  @pulumi.getter
564
600
  def category(self) -> Optional[pulumi.Input[str]]:
565
601
  """
566
- Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
567
603
  """
568
604
  return pulumi.get(self, "category")
569
605
 
@@ -656,7 +692,7 @@ class _EcsDiskState:
656
692
  @pulumi.getter
657
693
  def encrypted(self) -> Optional[pulumi.Input[bool]]:
658
694
  """
659
- If true, the disk will be encrypted, conflict with `snapshot_id`.
695
+ Specifies whether to encrypt the disk. Default value: `false`. Valid values:
660
696
  """
661
697
  return pulumi.get(self, "encrypted")
662
698
 
@@ -720,10 +756,10 @@ class _EcsDiskState:
720
756
  def performance_level(self) -> Optional[pulumi.Input[str]]:
721
757
  """
722
758
  Specifies the performance level of an ESSD when you create the ESSD. Valid values:
723
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
724
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
725
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
726
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
759
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
760
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
761
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
762
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
727
763
  """
728
764
  return pulumi.get(self, "performance_level")
729
765
 
@@ -747,7 +783,19 @@ class _EcsDiskState:
747
783
  @pulumi.getter
748
784
  def size(self) -> Optional[pulumi.Input[int]]:
749
785
  """
750
- The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
786
+ The size of the disk. Unit: GiB. This parameter is required. Valid values:
787
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
788
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
789
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
790
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
791
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
792
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
793
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
794
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
795
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
796
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
797
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
798
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
751
799
  """
752
800
  return pulumi.get(self, "size")
753
801
 
@@ -759,7 +807,7 @@ class _EcsDiskState:
759
807
  @pulumi.getter(name="snapshotId")
760
808
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
761
809
  """
762
- A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
810
+ 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`.
763
811
  """
764
812
  return pulumi.get(self, "snapshot_id")
765
813
 
@@ -882,14 +930,14 @@ class EcsDisk(pulumi.CustomResource):
882
930
  :param str resource_name: The name of the resource.
883
931
  :param pulumi.ResourceOptions opts: Options for the resource.
884
932
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
885
- :param pulumi.Input[str] category: Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
886
934
  :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
887
935
  :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
888
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.
889
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`.
890
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:
891
939
  :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
892
- :param pulumi.Input[bool] encrypted: If true, the disk will be encrypted, conflict with `snapshot_id`.
940
+ :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
893
941
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
894
942
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
895
943
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
@@ -897,13 +945,25 @@ class EcsDisk(pulumi.CustomResource):
897
945
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
898
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.
899
947
  :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
900
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
901
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
902
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
903
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
948
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
949
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
950
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
951
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
904
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.
905
- :param pulumi.Input[int] size: The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
906
- :param pulumi.Input[str] snapshot_id: A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
953
+ :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
954
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
955
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
956
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
957
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
958
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
959
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
960
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
961
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
962
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
963
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
964
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
965
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
966
+ :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`.
907
967
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
908
968
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
909
969
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
@@ -1041,14 +1101,14 @@ class EcsDisk(pulumi.CustomResource):
1041
1101
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1042
1102
  :param pulumi.ResourceOptions opts: Options for the resource.
1043
1103
  :param pulumi.Input[str] availability_zone: Field `availability_zone` has been deprecated from provider version 1.122.0. New field `zone_id` instead.
1044
- :param pulumi.Input[str] category: Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
1045
1105
  :param pulumi.Input[bool] delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`.
1046
1106
  :param pulumi.Input[bool] delete_with_instance: Indicates whether the disk is released together with the instance. Default value: `false`.
1047
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.
1048
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`.
1049
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:
1050
1110
  :param pulumi.Input[bool] enable_auto_snapshot: Indicates whether to enable creating snapshot automatically.
1051
- :param pulumi.Input[bool] encrypted: If true, the disk will be encrypted, conflict with `snapshot_id`.
1111
+ :param pulumi.Input[bool] encrypted: Specifies whether to encrypt the disk. Default value: `false`. Valid values:
1052
1112
  :param pulumi.Input[str] instance_id: The ID of the instance to which the created subscription disk is automatically attached.
1053
1113
  * After you specify the instance ID, the specified `resource_group_id`, `tags`, and `kms_key_id` parameters are ignored.
1054
1114
  * One of the `zone_id` and `instance_id` must be set but can not be set at the same time.
@@ -1056,13 +1116,25 @@ class EcsDisk(pulumi.CustomResource):
1056
1116
  :param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
1057
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.
1058
1118
  :param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1059
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1060
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1061
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1062
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1119
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1120
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1121
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1122
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1063
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.
1064
- :param pulumi.Input[int] size: The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
1065
- :param pulumi.Input[str] snapshot_id: A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
1124
+ :param pulumi.Input[int] size: The size of the disk. Unit: GiB. This parameter is required. Valid values:
1125
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
1126
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
1127
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
1128
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
1129
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
1130
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
1131
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
1132
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
1133
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
1134
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
1135
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
1136
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
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`.
1066
1138
  :param pulumi.Input[str] status: The disk status.
1067
1139
  :param pulumi.Input[str] storage_set_id: The ID of the storage set.
1068
1140
  :param pulumi.Input[int] storage_set_partition_number: The number of partitions in the storage set.
@@ -1119,7 +1191,7 @@ class EcsDisk(pulumi.CustomResource):
1119
1191
  @pulumi.getter
1120
1192
  def category(self) -> pulumi.Output[Optional[str]]:
1121
1193
  """
1122
- Category of the disk. Valid values are `cloud`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud_auto`, `cloud_essd_entry`, `elastic_ephemeral_disk_standard`, `elastic_ephemeral_disk_premium`. Default is `cloud_efficiency`.
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`.
1123
1195
  """
1124
1196
  return pulumi.get(self, "category")
1125
1197
 
@@ -1178,9 +1250,9 @@ class EcsDisk(pulumi.CustomResource):
1178
1250
 
1179
1251
  @property
1180
1252
  @pulumi.getter
1181
- def encrypted(self) -> pulumi.Output[Optional[bool]]:
1253
+ def encrypted(self) -> pulumi.Output[bool]:
1182
1254
  """
1183
- If true, the disk will be encrypted, conflict with `snapshot_id`.
1255
+ Specifies whether to encrypt the disk. Default value: `false`. Valid values:
1184
1256
  """
1185
1257
  return pulumi.get(self, "encrypted")
1186
1258
 
@@ -1224,10 +1296,10 @@ class EcsDisk(pulumi.CustomResource):
1224
1296
  def performance_level(self) -> pulumi.Output[str]:
1225
1297
  """
1226
1298
  Specifies the performance level of an ESSD when you create the ESSD. Valid values:
1227
- * `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1228
- * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1229
- * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1230
- * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1299
+ - `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
1300
+ - `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
1301
+ - `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
1302
+ - `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
1231
1303
  """
1232
1304
  return pulumi.get(self, "performance_level")
1233
1305
 
@@ -1243,15 +1315,27 @@ class EcsDisk(pulumi.CustomResource):
1243
1315
  @pulumi.getter
1244
1316
  def size(self) -> pulumi.Output[int]:
1245
1317
  """
1246
- The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`.
1318
+ The size of the disk. Unit: GiB. This parameter is required. Valid values:
1319
+ - If `category` is set to `cloud`. Valid values: `5` to `2000`.
1320
+ - If `category` is set to `cloud_efficiency`. Valid values: `20` to `32768`.
1321
+ - If `category` is set to `cloud_ssd`. Valid values: `20` to `32768`.
1322
+ - If `category` is set to `cloud_auto`. Valid values: `1` to `65536`.
1323
+ - If `category` is set to `cloud_essd_entry`. Valid values: `10` to `32768`.
1324
+ - If `category` is set to `elastic_ephemeral_disk_standard`. Valid values: `64` to `8192`.
1325
+ - If `category` is set to `elastic_ephemeral_disk_premium`. Valid values: `64` to `8192`.
1326
+ - If `category` is set to `cloud_essd`, the valid values are related to `performance_level`. Valid values:
1327
+ - If `performance_level` is set to `PL0`. Valid values: `1` to `65536`.
1328
+ - If `performance_level` is set to `PL1`. Valid values: `20` to `65536`.
1329
+ - If `performance_level` is set to `PL2`. Valid values: `461` to `65536`.
1330
+ - If `performance_level` is set to `PL3`. Valid values: `1261` to `65536`.
1247
1331
  """
1248
1332
  return pulumi.get(self, "size")
1249
1333
 
1250
1334
  @property
1251
1335
  @pulumi.getter(name="snapshotId")
1252
- def snapshot_id(self) -> pulumi.Output[Optional[str]]:
1336
+ def snapshot_id(self) -> pulumi.Output[str]:
1253
1337
  """
1254
- A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`.
1338
+ 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`.
1255
1339
  """
1256
1340
  return pulumi.get(self, "snapshot_id")
1257
1341
 
@@ -488,7 +488,7 @@ class EcsKeyPair(pulumi.CustomResource):
488
488
 
489
489
  @property
490
490
  @pulumi.getter(name="resourceGroupId")
491
- def resource_group_id(self) -> pulumi.Output[Optional[str]]:
491
+ def resource_group_id(self) -> pulumi.Output[str]:
492
492
  """
493
493
  The Id of resource group which the key pair belongs.
494
494
  """