pulumi-alicloud 3.77.0a1746163013__py3-none-any.whl → 3.77.0a1746220593__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 (83) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/_inputs.py +13 -0
  3. pulumi_alicloud/adb/db_cluster_lake_version.py +94 -0
  4. pulumi_alicloud/alb/_inputs.py +6 -3
  5. pulumi_alicloud/alb/outputs.py +4 -2
  6. pulumi_alicloud/apig/environment.py +2 -2
  7. pulumi_alicloud/apig/http_api.py +2 -2
  8. pulumi_alicloud/arms/grafana_workspace.py +56 -14
  9. pulumi_alicloud/cloudfirewall/instance_member.py +4 -4
  10. pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +2 -2
  11. pulumi_alicloud/cloudsso/_inputs.py +697 -7
  12. pulumi_alicloud/cloudsso/directory.py +345 -65
  13. pulumi_alicloud/cloudsso/outputs.py +557 -8
  14. pulumi_alicloud/config/outputs.py +8 -0
  15. pulumi_alicloud/cs/_inputs.py +18 -18
  16. pulumi_alicloud/cs/edge_kubernetes.py +136 -100
  17. pulumi_alicloud/cs/get_kubernetes_node_pools.py +21 -1
  18. pulumi_alicloud/cs/kubernetes.py +118 -39
  19. pulumi_alicloud/cs/managed_kubernetes.py +125 -46
  20. pulumi_alicloud/cs/outputs.py +14 -14
  21. pulumi_alicloud/cs/serverless_kubernetes.py +66 -73
  22. pulumi_alicloud/ddos/ddos_coo_instance.py +175 -25
  23. pulumi_alicloud/dns/ddos_coo_instance.py +175 -25
  24. pulumi_alicloud/dts/job_monitor_rule.py +2 -2
  25. pulumi_alicloud/dts/synchronization_job.py +2 -2
  26. pulumi_alicloud/ecs/get_instance_types.py +4 -4
  27. pulumi_alicloud/ecs/instance.py +28 -28
  28. pulumi_alicloud/ecs/outputs.py +2 -2
  29. pulumi_alicloud/ecs/security_group_rule.py +32 -4
  30. pulumi_alicloud/eflo/__init__.py +3 -0
  31. pulumi_alicloud/eflo/_inputs.py +623 -0
  32. pulumi_alicloud/eflo/experiment_plan.py +573 -0
  33. pulumi_alicloud/eflo/experiment_plan_template.py +464 -0
  34. pulumi_alicloud/eflo/outputs.py +476 -0
  35. pulumi_alicloud/eflo/resource.py +388 -0
  36. pulumi_alicloud/ens/disk.py +120 -69
  37. pulumi_alicloud/ens/eip.py +45 -41
  38. pulumi_alicloud/esa/__init__.py +2 -0
  39. pulumi_alicloud/esa/scheduled_preload_execution.py +479 -0
  40. pulumi_alicloud/esa/scheduled_preload_job.py +467 -0
  41. pulumi_alicloud/gwlb/listener.py +2 -2
  42. pulumi_alicloud/gwlb/load_balancer.py +2 -2
  43. pulumi_alicloud/gwlb/server_group.py +2 -2
  44. pulumi_alicloud/ims/__init__.py +2 -0
  45. pulumi_alicloud/ims/get_oidc_providers.py +216 -0
  46. pulumi_alicloud/ims/outputs.py +138 -0
  47. pulumi_alicloud/mongodb/__init__.py +2 -0
  48. pulumi_alicloud/mongodb/_inputs.py +154 -0
  49. pulumi_alicloud/mongodb/instance.py +7 -7
  50. pulumi_alicloud/mongodb/outputs.py +121 -0
  51. pulumi_alicloud/mongodb/public_network_address.py +275 -0
  52. pulumi_alicloud/mongodb/replica_set_role.py +533 -0
  53. pulumi_alicloud/nas/_inputs.py +252 -18
  54. pulumi_alicloud/nas/file_system.py +649 -264
  55. pulumi_alicloud/nas/outputs.py +198 -12
  56. pulumi_alicloud/nlb/server_group_server_attachment.py +4 -0
  57. pulumi_alicloud/pai/__init__.py +1 -0
  58. pulumi_alicloud/pai/flow_pipeline.py +491 -0
  59. pulumi_alicloud/pulumi-plugin.json +1 -1
  60. pulumi_alicloud/ram/__init__.py +1 -0
  61. pulumi_alicloud/ram/get_role_policy_attachments.py +272 -0
  62. pulumi_alicloud/ram/outputs.py +63 -0
  63. pulumi_alicloud/ram/security_preference.py +496 -110
  64. pulumi_alicloud/rdc/organization.py +2 -2
  65. pulumi_alicloud/rds/instance.py +1 -1
  66. pulumi_alicloud/sae/application_scaling_rule.py +2 -2
  67. pulumi_alicloud/sae/ingress.py +2 -2
  68. pulumi_alicloud/schedulerx/app_group.py +2 -2
  69. pulumi_alicloud/schedulerx/job.py +2 -2
  70. pulumi_alicloud/selectdb/db_cluster.py +2 -0
  71. pulumi_alicloud/selectdb/db_instance.py +43 -13
  72. pulumi_alicloud/selectdb/get_db_clusters.py +2 -0
  73. pulumi_alicloud/selectdb/get_db_instances.py +2 -0
  74. pulumi_alicloud/selectdb/outputs.py +3 -3
  75. pulumi_alicloud/sls/__init__.py +1 -0
  76. pulumi_alicloud/sls/_inputs.py +295 -0
  77. pulumi_alicloud/sls/etl.py +516 -0
  78. pulumi_alicloud/sls/outputs.py +209 -0
  79. pulumi_alicloud/vpc/network.py +156 -88
  80. {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/METADATA +1 -1
  81. {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/RECORD +83 -71
  82. {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/WHEEL +0 -0
  83. {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/top_level.txt +0 -0
@@ -27,21 +27,23 @@ class DiskArgs:
27
27
  encrypted: Optional[pulumi.Input[builtins.bool]] = None,
28
28
  kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
29
29
  size: Optional[pulumi.Input[builtins.int]] = None,
30
- snapshot_id: Optional[pulumi.Input[builtins.str]] = None):
30
+ snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
31
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
31
32
  """
32
33
  The set of arguments for constructing a Disk resource.
33
- :param pulumi.Input[builtins.str] category: Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
34
- :param pulumi.Input[builtins.str] ens_region_id: Ens node IDExample value: cn-chengdu-telecom.
35
- :param pulumi.Input[builtins.str] payment_type: Billing type of the disk instanceValue: PayAsYouGo.
36
- :param pulumi.Input[builtins.str] disk_name: Name of the disk instance.
37
- :param pulumi.Input[builtins.bool] encrypted: Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
38
- :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
34
+ :param pulumi.Input[builtins.str] category: The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
35
+ :param pulumi.Input[builtins.str] ens_region_id: The ID of the edge node.
36
+ :param pulumi.Input[builtins.str] payment_type: The billing method of the instance. Valid values: `PayAsYouGo`.
37
+ :param pulumi.Input[builtins.str] disk_name: The name of the disk.
38
+ :param pulumi.Input[builtins.bool] encrypted: Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
39
+ :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
39
40
  :param pulumi.Input[builtins.int] size: The size of the disk instance. Unit: GiB.
40
41
  :param pulumi.Input[builtins.str] snapshot_id: The ID of the snapshot used to create the cloud disk.
41
42
 
42
43
  The SnapshotId and Size parameters have the following limitations:
43
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
44
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
44
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
45
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
46
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The label to which the instance is bound.
45
47
  """
46
48
  pulumi.set(__self__, "category", category)
47
49
  pulumi.set(__self__, "ens_region_id", ens_region_id)
@@ -56,12 +58,14 @@ class DiskArgs:
56
58
  pulumi.set(__self__, "size", size)
57
59
  if snapshot_id is not None:
58
60
  pulumi.set(__self__, "snapshot_id", snapshot_id)
61
+ if tags is not None:
62
+ pulumi.set(__self__, "tags", tags)
59
63
 
60
64
  @property
61
65
  @pulumi.getter
62
66
  def category(self) -> pulumi.Input[builtins.str]:
63
67
  """
64
- Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
68
+ The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
65
69
  """
66
70
  return pulumi.get(self, "category")
67
71
 
@@ -73,7 +77,7 @@ class DiskArgs:
73
77
  @pulumi.getter(name="ensRegionId")
74
78
  def ens_region_id(self) -> pulumi.Input[builtins.str]:
75
79
  """
76
- Ens node IDExample value: cn-chengdu-telecom.
80
+ The ID of the edge node.
77
81
  """
78
82
  return pulumi.get(self, "ens_region_id")
79
83
 
@@ -85,7 +89,7 @@ class DiskArgs:
85
89
  @pulumi.getter(name="paymentType")
86
90
  def payment_type(self) -> pulumi.Input[builtins.str]:
87
91
  """
88
- Billing type of the disk instanceValue: PayAsYouGo.
92
+ The billing method of the instance. Valid values: `PayAsYouGo`.
89
93
  """
90
94
  return pulumi.get(self, "payment_type")
91
95
 
@@ -97,7 +101,7 @@ class DiskArgs:
97
101
  @pulumi.getter(name="diskName")
98
102
  def disk_name(self) -> Optional[pulumi.Input[builtins.str]]:
99
103
  """
100
- Name of the disk instance.
104
+ The name of the disk.
101
105
  """
102
106
  return pulumi.get(self, "disk_name")
103
107
 
@@ -109,7 +113,7 @@ class DiskArgs:
109
113
  @pulumi.getter
110
114
  def encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
111
115
  """
112
- Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
116
+ Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
113
117
  """
114
118
  return pulumi.get(self, "encrypted")
115
119
 
@@ -121,7 +125,7 @@ class DiskArgs:
121
125
  @pulumi.getter(name="kmsKeyId")
122
126
  def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
123
127
  """
124
- The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
128
+ The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
125
129
  """
126
130
  return pulumi.get(self, "kms_key_id")
127
131
 
@@ -148,8 +152,8 @@ class DiskArgs:
148
152
  The ID of the snapshot used to create the cloud disk.
149
153
 
150
154
  The SnapshotId and Size parameters have the following limitations:
151
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
152
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
155
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
156
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
153
157
  """
154
158
  return pulumi.get(self, "snapshot_id")
155
159
 
@@ -157,6 +161,18 @@ class DiskArgs:
157
161
  def snapshot_id(self, value: Optional[pulumi.Input[builtins.str]]):
158
162
  pulumi.set(self, "snapshot_id", value)
159
163
 
164
+ @property
165
+ @pulumi.getter
166
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
167
+ """
168
+ The label to which the instance is bound.
169
+ """
170
+ return pulumi.get(self, "tags")
171
+
172
+ @tags.setter
173
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
174
+ pulumi.set(self, "tags", value)
175
+
160
176
 
161
177
  @pulumi.input_type
162
178
  class _DiskState:
@@ -170,23 +186,25 @@ class _DiskState:
170
186
  payment_type: Optional[pulumi.Input[builtins.str]] = None,
171
187
  size: Optional[pulumi.Input[builtins.int]] = None,
172
188
  snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
173
- status: Optional[pulumi.Input[builtins.str]] = None):
189
+ status: Optional[pulumi.Input[builtins.str]] = None,
190
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
174
191
  """
175
192
  Input properties used for looking up and filtering Disk resources.
176
- :param pulumi.Input[builtins.str] category: Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
177
- :param pulumi.Input[builtins.str] create_time: Disk instance creation time.
178
- :param pulumi.Input[builtins.str] disk_name: Name of the disk instance.
179
- :param pulumi.Input[builtins.bool] encrypted: Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
180
- :param pulumi.Input[builtins.str] ens_region_id: Ens node IDExample value: cn-chengdu-telecom.
181
- :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
182
- :param pulumi.Input[builtins.str] payment_type: Billing type of the disk instanceValue: PayAsYouGo.
193
+ :param pulumi.Input[builtins.str] category: The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
194
+ :param pulumi.Input[builtins.str] create_time: The time when the disk was created.
195
+ :param pulumi.Input[builtins.str] disk_name: The name of the disk.
196
+ :param pulumi.Input[builtins.bool] encrypted: Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
197
+ :param pulumi.Input[builtins.str] ens_region_id: The ID of the edge node.
198
+ :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
199
+ :param pulumi.Input[builtins.str] payment_type: The billing method of the instance. Valid values: `PayAsYouGo`.
183
200
  :param pulumi.Input[builtins.int] size: The size of the disk instance. Unit: GiB.
184
201
  :param pulumi.Input[builtins.str] snapshot_id: The ID of the snapshot used to create the cloud disk.
185
202
 
186
203
  The SnapshotId and Size parameters have the following limitations:
187
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
188
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
189
- :param pulumi.Input[builtins.str] status: Status of the disk instance:Value:In-use: In useAvailable: To be mountedAttaching: AttachingDetaching: uninstallingCreating: CreatingReIniting: Resetting.
204
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
205
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
206
+ :param pulumi.Input[builtins.str] status: The status of the disk.
207
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The label to which the instance is bound.
190
208
  """
191
209
  if category is not None:
192
210
  pulumi.set(__self__, "category", category)
@@ -208,12 +226,14 @@ class _DiskState:
208
226
  pulumi.set(__self__, "snapshot_id", snapshot_id)
209
227
  if status is not None:
210
228
  pulumi.set(__self__, "status", status)
229
+ if tags is not None:
230
+ pulumi.set(__self__, "tags", tags)
211
231
 
212
232
  @property
213
233
  @pulumi.getter
214
234
  def category(self) -> Optional[pulumi.Input[builtins.str]]:
215
235
  """
216
- Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
236
+ The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
217
237
  """
218
238
  return pulumi.get(self, "category")
219
239
 
@@ -225,7 +245,7 @@ class _DiskState:
225
245
  @pulumi.getter(name="createTime")
226
246
  def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
227
247
  """
228
- Disk instance creation time.
248
+ The time when the disk was created.
229
249
  """
230
250
  return pulumi.get(self, "create_time")
231
251
 
@@ -237,7 +257,7 @@ class _DiskState:
237
257
  @pulumi.getter(name="diskName")
238
258
  def disk_name(self) -> Optional[pulumi.Input[builtins.str]]:
239
259
  """
240
- Name of the disk instance.
260
+ The name of the disk.
241
261
  """
242
262
  return pulumi.get(self, "disk_name")
243
263
 
@@ -249,7 +269,7 @@ class _DiskState:
249
269
  @pulumi.getter
250
270
  def encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
251
271
  """
252
- Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
272
+ Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
253
273
  """
254
274
  return pulumi.get(self, "encrypted")
255
275
 
@@ -261,7 +281,7 @@ class _DiskState:
261
281
  @pulumi.getter(name="ensRegionId")
262
282
  def ens_region_id(self) -> Optional[pulumi.Input[builtins.str]]:
263
283
  """
264
- Ens node IDExample value: cn-chengdu-telecom.
284
+ The ID of the edge node.
265
285
  """
266
286
  return pulumi.get(self, "ens_region_id")
267
287
 
@@ -273,7 +293,7 @@ class _DiskState:
273
293
  @pulumi.getter(name="kmsKeyId")
274
294
  def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
275
295
  """
276
- The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
296
+ The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
277
297
  """
278
298
  return pulumi.get(self, "kms_key_id")
279
299
 
@@ -285,7 +305,7 @@ class _DiskState:
285
305
  @pulumi.getter(name="paymentType")
286
306
  def payment_type(self) -> Optional[pulumi.Input[builtins.str]]:
287
307
  """
288
- Billing type of the disk instanceValue: PayAsYouGo.
308
+ The billing method of the instance. Valid values: `PayAsYouGo`.
289
309
  """
290
310
  return pulumi.get(self, "payment_type")
291
311
 
@@ -312,8 +332,8 @@ class _DiskState:
312
332
  The ID of the snapshot used to create the cloud disk.
313
333
 
314
334
  The SnapshotId and Size parameters have the following limitations:
315
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
316
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
335
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
336
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
317
337
  """
318
338
  return pulumi.get(self, "snapshot_id")
319
339
 
@@ -325,7 +345,7 @@ class _DiskState:
325
345
  @pulumi.getter
326
346
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
327
347
  """
328
- Status of the disk instance:Value:In-use: In useAvailable: To be mountedAttaching: AttachingDetaching: uninstallingCreating: CreatingReIniting: Resetting.
348
+ The status of the disk.
329
349
  """
330
350
  return pulumi.get(self, "status")
331
351
 
@@ -333,6 +353,18 @@ class _DiskState:
333
353
  def status(self, value: Optional[pulumi.Input[builtins.str]]):
334
354
  pulumi.set(self, "status", value)
335
355
 
356
+ @property
357
+ @pulumi.getter
358
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
359
+ """
360
+ The label to which the instance is bound.
361
+ """
362
+ return pulumi.get(self, "tags")
363
+
364
+ @tags.setter
365
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
366
+ pulumi.set(self, "tags", value)
367
+
336
368
 
337
369
  class Disk(pulumi.CustomResource):
338
370
 
@@ -350,9 +382,12 @@ class Disk(pulumi.CustomResource):
350
382
  payment_type: Optional[pulumi.Input[builtins.str]] = None,
351
383
  size: Optional[pulumi.Input[builtins.int]] = None,
352
384
  snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
385
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
353
386
  __props__=None):
354
387
  """
355
- Provides a ENS Disk resource. The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist.
388
+ Provides a ENS Disk resource.
389
+
390
+ The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist.
356
391
 
357
392
  For information about ENS Disk and how to use it, see [What is Disk](https://www.alibabacloud.com/help/en/ens/developer-reference/api-ens-2017-11-10-createdisk).
358
393
 
@@ -387,18 +422,19 @@ class Disk(pulumi.CustomResource):
387
422
 
388
423
  :param str resource_name: The name of the resource.
389
424
  :param pulumi.ResourceOptions opts: Options for the resource.
390
- :param pulumi.Input[builtins.str] category: Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
391
- :param pulumi.Input[builtins.str] disk_name: Name of the disk instance.
392
- :param pulumi.Input[builtins.bool] encrypted: Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
393
- :param pulumi.Input[builtins.str] ens_region_id: Ens node IDExample value: cn-chengdu-telecom.
394
- :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
395
- :param pulumi.Input[builtins.str] payment_type: Billing type of the disk instanceValue: PayAsYouGo.
425
+ :param pulumi.Input[builtins.str] category: The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
426
+ :param pulumi.Input[builtins.str] disk_name: The name of the disk.
427
+ :param pulumi.Input[builtins.bool] encrypted: Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
428
+ :param pulumi.Input[builtins.str] ens_region_id: The ID of the edge node.
429
+ :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
430
+ :param pulumi.Input[builtins.str] payment_type: The billing method of the instance. Valid values: `PayAsYouGo`.
396
431
  :param pulumi.Input[builtins.int] size: The size of the disk instance. Unit: GiB.
397
432
  :param pulumi.Input[builtins.str] snapshot_id: The ID of the snapshot used to create the cloud disk.
398
433
 
399
434
  The SnapshotId and Size parameters have the following limitations:
400
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
401
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
435
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
436
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
437
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The label to which the instance is bound.
402
438
  """
403
439
  ...
404
440
  @overload
@@ -407,7 +443,9 @@ class Disk(pulumi.CustomResource):
407
443
  args: DiskArgs,
408
444
  opts: Optional[pulumi.ResourceOptions] = None):
409
445
  """
410
- Provides a ENS Disk resource. The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist.
446
+ Provides a ENS Disk resource.
447
+
448
+ The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist.
411
449
 
412
450
  For information about ENS Disk and how to use it, see [What is Disk](https://www.alibabacloud.com/help/en/ens/developer-reference/api-ens-2017-11-10-createdisk).
413
451
 
@@ -463,6 +501,7 @@ class Disk(pulumi.CustomResource):
463
501
  payment_type: Optional[pulumi.Input[builtins.str]] = None,
464
502
  size: Optional[pulumi.Input[builtins.int]] = None,
465
503
  snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
504
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
466
505
  __props__=None):
467
506
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
468
507
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -486,6 +525,7 @@ class Disk(pulumi.CustomResource):
486
525
  __props__.__dict__["payment_type"] = payment_type
487
526
  __props__.__dict__["size"] = size
488
527
  __props__.__dict__["snapshot_id"] = snapshot_id
528
+ __props__.__dict__["tags"] = tags
489
529
  __props__.__dict__["create_time"] = None
490
530
  __props__.__dict__["status"] = None
491
531
  super(Disk, __self__).__init__(
@@ -507,7 +547,8 @@ class Disk(pulumi.CustomResource):
507
547
  payment_type: Optional[pulumi.Input[builtins.str]] = None,
508
548
  size: Optional[pulumi.Input[builtins.int]] = None,
509
549
  snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
510
- status: Optional[pulumi.Input[builtins.str]] = None) -> 'Disk':
550
+ status: Optional[pulumi.Input[builtins.str]] = None,
551
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'Disk':
511
552
  """
512
553
  Get an existing Disk resource's state with the given name, id, and optional extra
513
554
  properties used to qualify the lookup.
@@ -515,20 +556,21 @@ class Disk(pulumi.CustomResource):
515
556
  :param str resource_name: The unique name of the resulting resource.
516
557
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
517
558
  :param pulumi.ResourceOptions opts: Options for the resource.
518
- :param pulumi.Input[builtins.str] category: Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
519
- :param pulumi.Input[builtins.str] create_time: Disk instance creation time.
520
- :param pulumi.Input[builtins.str] disk_name: Name of the disk instance.
521
- :param pulumi.Input[builtins.bool] encrypted: Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
522
- :param pulumi.Input[builtins.str] ens_region_id: Ens node IDExample value: cn-chengdu-telecom.
523
- :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
524
- :param pulumi.Input[builtins.str] payment_type: Billing type of the disk instanceValue: PayAsYouGo.
559
+ :param pulumi.Input[builtins.str] category: The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
560
+ :param pulumi.Input[builtins.str] create_time: The time when the disk was created.
561
+ :param pulumi.Input[builtins.str] disk_name: The name of the disk.
562
+ :param pulumi.Input[builtins.bool] encrypted: Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
563
+ :param pulumi.Input[builtins.str] ens_region_id: The ID of the edge node.
564
+ :param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
565
+ :param pulumi.Input[builtins.str] payment_type: The billing method of the instance. Valid values: `PayAsYouGo`.
525
566
  :param pulumi.Input[builtins.int] size: The size of the disk instance. Unit: GiB.
526
567
  :param pulumi.Input[builtins.str] snapshot_id: The ID of the snapshot used to create the cloud disk.
527
568
 
528
569
  The SnapshotId and Size parameters have the following limitations:
529
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
530
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
531
- :param pulumi.Input[builtins.str] status: Status of the disk instance:Value:In-use: In useAvailable: To be mountedAttaching: AttachingDetaching: uninstallingCreating: CreatingReIniting: Resetting.
570
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
571
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
572
+ :param pulumi.Input[builtins.str] status: The status of the disk.
573
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The label to which the instance is bound.
532
574
  """
533
575
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
534
576
 
@@ -544,13 +586,14 @@ class Disk(pulumi.CustomResource):
544
586
  __props__.__dict__["size"] = size
545
587
  __props__.__dict__["snapshot_id"] = snapshot_id
546
588
  __props__.__dict__["status"] = status
589
+ __props__.__dict__["tags"] = tags
547
590
  return Disk(resource_name, opts=opts, __props__=__props__)
548
591
 
549
592
  @property
550
593
  @pulumi.getter
551
594
  def category(self) -> pulumi.Output[builtins.str]:
552
595
  """
553
- Types of disk instancesValues: cloud_efficiency (high-efficiency cloud disk),cloud_ssd (full Flash cloud disk),local_hdd (local HDD),local_ssd (local ssd).
596
+ The category of the disk. Valid values: `cloud_efficiency` (high-efficiency cloud disk), `cloud_ssd` (full Flash cloud disk), `local_hdd` (local HDD), `local_ssd` (local ssd).
554
597
  """
555
598
  return pulumi.get(self, "category")
556
599
 
@@ -558,7 +601,7 @@ class Disk(pulumi.CustomResource):
558
601
  @pulumi.getter(name="createTime")
559
602
  def create_time(self) -> pulumi.Output[builtins.str]:
560
603
  """
561
- Disk instance creation time.
604
+ The time when the disk was created.
562
605
  """
563
606
  return pulumi.get(self, "create_time")
564
607
 
@@ -566,7 +609,7 @@ class Disk(pulumi.CustomResource):
566
609
  @pulumi.getter(name="diskName")
567
610
  def disk_name(self) -> pulumi.Output[Optional[builtins.str]]:
568
611
  """
569
- Name of the disk instance.
612
+ The name of the disk.
570
613
  """
571
614
  return pulumi.get(self, "disk_name")
572
615
 
@@ -574,7 +617,7 @@ class Disk(pulumi.CustomResource):
574
617
  @pulumi.getter
575
618
  def encrypted(self) -> pulumi.Output[Optional[builtins.bool]]:
576
619
  """
577
- Indicates whether the cloud disk is Encrypted. If Encrypted = true, the default service key is used when KMSKeyId is not entered. Value range:`true`, `false`(default).
620
+ Specifies whether to encrypt the new system disk. Valid values: `true`, `false`(default).
578
621
  """
579
622
  return pulumi.get(self, "encrypted")
580
623
 
@@ -582,7 +625,7 @@ class Disk(pulumi.CustomResource):
582
625
  @pulumi.getter(name="ensRegionId")
583
626
  def ens_region_id(self) -> pulumi.Output[builtins.str]:
584
627
  """
585
- Ens node IDExample value: cn-chengdu-telecom.
628
+ The ID of the edge node.
586
629
  """
587
630
  return pulumi.get(self, "ens_region_id")
588
631
 
@@ -590,7 +633,7 @@ class Disk(pulumi.CustomResource):
590
633
  @pulumi.getter(name="kmsKeyId")
591
634
  def kms_key_id(self) -> pulumi.Output[builtins.str]:
592
635
  """
593
- The ID of the KMS key used by the cloud disk. If Encrypted is set to true, the service default key is used when KMSKeyId is empty.
636
+ The ID of the KMS key used by the cloud disk. If `encrypted` is set to `true`, the service default key is used when KMSKeyId is empty.
594
637
  """
595
638
  return pulumi.get(self, "kms_key_id")
596
639
 
@@ -598,7 +641,7 @@ class Disk(pulumi.CustomResource):
598
641
  @pulumi.getter(name="paymentType")
599
642
  def payment_type(self) -> pulumi.Output[builtins.str]:
600
643
  """
601
- Billing type of the disk instanceValue: PayAsYouGo.
644
+ The billing method of the instance. Valid values: `PayAsYouGo`.
602
645
  """
603
646
  return pulumi.get(self, "payment_type")
604
647
 
@@ -617,8 +660,8 @@ class Disk(pulumi.CustomResource):
617
660
  The ID of the snapshot used to create the cloud disk.
618
661
 
619
662
  The SnapshotId and Size parameters have the following limitations:
620
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is greater than the specified **Size** parameter, the Size of the cloud disk created is the Size of the specified snapshot.
621
- - If the snapshot capacity corresponding to the **SnapshotId** parameter is less than the set **Size** parameter value, the Size of the cloud disk created is the specified **Size** parameter value.
663
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is greater than the specified `size` parameter, the Size of the cloud disk created is the Size of the specified snapshot.
664
+ - If the snapshot capacity corresponding to the `snapshot_id` parameter is less than the set `size` parameter value, the Size of the cloud disk created is the specified `size` parameter value.
622
665
  """
623
666
  return pulumi.get(self, "snapshot_id")
624
667
 
@@ -626,7 +669,15 @@ class Disk(pulumi.CustomResource):
626
669
  @pulumi.getter
627
670
  def status(self) -> pulumi.Output[builtins.str]:
628
671
  """
629
- Status of the disk instance:Value:In-use: In useAvailable: To be mountedAttaching: AttachingDetaching: uninstallingCreating: CreatingReIniting: Resetting.
672
+ The status of the disk.
630
673
  """
631
674
  return pulumi.get(self, "status")
632
675
 
676
+ @property
677
+ @pulumi.getter
678
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
679
+ """
680
+ The label to which the instance is bound.
681
+ """
682
+ return pulumi.get(self, "tags")
683
+