pulumi-alicloud 3.58.0a1720026262__py3-none-any.whl → 3.59.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 (30) hide show
  1. pulumi_alicloud/__init__.py +48 -0
  2. pulumi_alicloud/adb/resource_group.py +115 -119
  3. pulumi_alicloud/clickhouse/get_regions.py +2 -2
  4. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
  5. pulumi_alicloud/dfs/file_system.py +52 -19
  6. pulumi_alicloud/ecs/_inputs.py +132 -8
  7. pulumi_alicloud/ecs/image.py +607 -121
  8. pulumi_alicloud/ecs/outputs.py +131 -8
  9. pulumi_alicloud/emrv2/_inputs.py +490 -0
  10. pulumi_alicloud/emrv2/cluster.py +14 -14
  11. pulumi_alicloud/emrv2/outputs.py +500 -0
  12. pulumi_alicloud/ens/__init__.py +2 -0
  13. pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
  14. pulumi_alicloud/ens/instance.py +16 -17
  15. pulumi_alicloud/ens/nat_gateway.py +458 -0
  16. pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
  17. pulumi_alicloud/ess/scaling_group.py +94 -0
  18. pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
  19. pulumi_alicloud/ga/listener.py +122 -0
  20. pulumi_alicloud/gpdb/__init__.py +4 -0
  21. pulumi_alicloud/gpdb/external_data_service.py +485 -0
  22. pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
  23. pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
  24. pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
  25. pulumi_alicloud/pulumi-plugin.json +1 -1
  26. pulumi_alicloud/redis/tair_instance.py +161 -67
  27. {pulumi_alicloud-3.58.0a1720026262.dist-info → pulumi_alicloud-3.59.0.dist-info}/METADATA +1 -1
  28. {pulumi_alicloud-3.58.0a1720026262.dist-info → pulumi_alicloud-3.59.0.dist-info}/RECORD +30 -24
  29. {pulumi_alicloud-3.58.0a1720026262.dist-info → pulumi_alicloud-3.59.0.dist-info}/WHEEL +1 -1
  30. {pulumi_alicloud-3.58.0a1720026262.dist-info → pulumi_alicloud-3.59.0.dist-info}/top_level.txt +0 -0
@@ -16,23 +16,27 @@ class GatewayCacheDiskArgs:
16
16
  def __init__(__self__, *,
17
17
  cache_disk_size_in_gb: pulumi.Input[int],
18
18
  gateway_id: pulumi.Input[str],
19
- cache_disk_category: Optional[pulumi.Input[str]] = None):
19
+ cache_disk_category: Optional[pulumi.Input[str]] = None,
20
+ performance_level: Optional[pulumi.Input[str]] = None):
20
21
  """
21
22
  The set of arguments for constructing a GatewayCacheDisk resource.
22
- :param pulumi.Input[int] cache_disk_size_in_gb: size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
23
+ :param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
23
24
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
24
- :param pulumi.Input[str] cache_disk_category: The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
25
+ :param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
26
+ :param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
25
27
  """
26
28
  pulumi.set(__self__, "cache_disk_size_in_gb", cache_disk_size_in_gb)
27
29
  pulumi.set(__self__, "gateway_id", gateway_id)
28
30
  if cache_disk_category is not None:
29
31
  pulumi.set(__self__, "cache_disk_category", cache_disk_category)
32
+ if performance_level is not None:
33
+ pulumi.set(__self__, "performance_level", performance_level)
30
34
 
31
35
  @property
32
36
  @pulumi.getter(name="cacheDiskSizeInGb")
33
37
  def cache_disk_size_in_gb(self) -> pulumi.Input[int]:
34
38
  """
35
- size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
39
+ The capacity of the cache disk.
36
40
  """
37
41
  return pulumi.get(self, "cache_disk_size_in_gb")
38
42
 
@@ -56,7 +60,7 @@ class GatewayCacheDiskArgs:
56
60
  @pulumi.getter(name="cacheDiskCategory")
57
61
  def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
58
62
  """
59
- The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
63
+ The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
60
64
  """
61
65
  return pulumi.get(self, "cache_disk_category")
62
66
 
@@ -64,6 +68,18 @@ class GatewayCacheDiskArgs:
64
68
  def cache_disk_category(self, value: Optional[pulumi.Input[str]]):
65
69
  pulumi.set(self, "cache_disk_category", value)
66
70
 
71
+ @property
72
+ @pulumi.getter(name="performanceLevel")
73
+ def performance_level(self) -> Optional[pulumi.Input[str]]:
74
+ """
75
+ The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
76
+ """
77
+ return pulumi.get(self, "performance_level")
78
+
79
+ @performance_level.setter
80
+ def performance_level(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "performance_level", value)
82
+
67
83
 
68
84
  @pulumi.input_type
69
85
  class _GatewayCacheDiskState:
@@ -73,15 +89,17 @@ class _GatewayCacheDiskState:
73
89
  cache_id: Optional[pulumi.Input[str]] = None,
74
90
  gateway_id: Optional[pulumi.Input[str]] = None,
75
91
  local_file_path: Optional[pulumi.Input[str]] = None,
92
+ performance_level: Optional[pulumi.Input[str]] = None,
76
93
  status: Optional[pulumi.Input[int]] = None):
77
94
  """
78
95
  Input properties used for looking up and filtering GatewayCacheDisk resources.
79
- :param pulumi.Input[str] cache_disk_category: The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
80
- :param pulumi.Input[int] cache_disk_size_in_gb: size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
81
- :param pulumi.Input[str] cache_id: The ID of the cache.
96
+ :param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
97
+ :param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
98
+ :param pulumi.Input[str] cache_id: The ID of the cache disk.
82
99
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
83
- :param pulumi.Input[str] local_file_path: The cache disk inside the device name.
84
- :param pulumi.Input[int] status: The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
100
+ :param pulumi.Input[str] local_file_path: The path of the cache disk.
101
+ :param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
102
+ :param pulumi.Input[int] status: The status of the Gateway Cache Disk.
85
103
  """
86
104
  if cache_disk_category is not None:
87
105
  pulumi.set(__self__, "cache_disk_category", cache_disk_category)
@@ -93,6 +111,8 @@ class _GatewayCacheDiskState:
93
111
  pulumi.set(__self__, "gateway_id", gateway_id)
94
112
  if local_file_path is not None:
95
113
  pulumi.set(__self__, "local_file_path", local_file_path)
114
+ if performance_level is not None:
115
+ pulumi.set(__self__, "performance_level", performance_level)
96
116
  if status is not None:
97
117
  pulumi.set(__self__, "status", status)
98
118
 
@@ -100,7 +120,7 @@ class _GatewayCacheDiskState:
100
120
  @pulumi.getter(name="cacheDiskCategory")
101
121
  def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
102
122
  """
103
- The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
123
+ The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
104
124
  """
105
125
  return pulumi.get(self, "cache_disk_category")
106
126
 
@@ -112,7 +132,7 @@ class _GatewayCacheDiskState:
112
132
  @pulumi.getter(name="cacheDiskSizeInGb")
113
133
  def cache_disk_size_in_gb(self) -> Optional[pulumi.Input[int]]:
114
134
  """
115
- size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
135
+ The capacity of the cache disk.
116
136
  """
117
137
  return pulumi.get(self, "cache_disk_size_in_gb")
118
138
 
@@ -124,7 +144,7 @@ class _GatewayCacheDiskState:
124
144
  @pulumi.getter(name="cacheId")
125
145
  def cache_id(self) -> Optional[pulumi.Input[str]]:
126
146
  """
127
- The ID of the cache.
147
+ The ID of the cache disk.
128
148
  """
129
149
  return pulumi.get(self, "cache_id")
130
150
 
@@ -148,7 +168,7 @@ class _GatewayCacheDiskState:
148
168
  @pulumi.getter(name="localFilePath")
149
169
  def local_file_path(self) -> Optional[pulumi.Input[str]]:
150
170
  """
151
- The cache disk inside the device name.
171
+ The path of the cache disk.
152
172
  """
153
173
  return pulumi.get(self, "local_file_path")
154
174
 
@@ -156,11 +176,23 @@ class _GatewayCacheDiskState:
156
176
  def local_file_path(self, value: Optional[pulumi.Input[str]]):
157
177
  pulumi.set(self, "local_file_path", value)
158
178
 
179
+ @property
180
+ @pulumi.getter(name="performanceLevel")
181
+ def performance_level(self) -> Optional[pulumi.Input[str]]:
182
+ """
183
+ The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
184
+ """
185
+ return pulumi.get(self, "performance_level")
186
+
187
+ @performance_level.setter
188
+ def performance_level(self, value: Optional[pulumi.Input[str]]):
189
+ pulumi.set(self, "performance_level", value)
190
+
159
191
  @property
160
192
  @pulumi.getter
161
193
  def status(self) -> Optional[pulumi.Input[int]]:
162
194
  """
163
- The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
195
+ The status of the Gateway Cache Disk.
164
196
  """
165
197
  return pulumi.get(self, "status")
166
198
 
@@ -177,6 +209,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
177
209
  cache_disk_category: Optional[pulumi.Input[str]] = None,
178
210
  cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
179
211
  gateway_id: Optional[pulumi.Input[str]] = None,
212
+ performance_level: Optional[pulumi.Input[str]] = None,
180
213
  __props__=None):
181
214
  """
182
215
  Provides a Cloud Storage Gateway Gateway Cache Disk resource.
@@ -185,6 +218,44 @@ class GatewayCacheDisk(pulumi.CustomResource):
185
218
 
186
219
  > **NOTE:** Available since v1.144.0.
187
220
 
221
+ ## Example Usage
222
+
223
+ Basic Usage
224
+
225
+ ```python
226
+ import pulumi
227
+ import pulumi_alicloud as alicloud
228
+
229
+ config = pulumi.Config()
230
+ name = config.get("name")
231
+ if name is None:
232
+ name = "tf-example"
233
+ default = alicloud.cloudstoragegateway.get_stocks(gateway_class="Standard")
234
+ default_network = alicloud.vpc.Network("default",
235
+ vpc_name=name,
236
+ cidr_block="172.16.0.0/16")
237
+ default_switch = alicloud.vpc.Switch("default",
238
+ vpc_id=default_network.id,
239
+ cidr_block="172.16.0.0/24",
240
+ zone_id=default.stocks[0].zone_id,
241
+ vswitch_name=name)
242
+ default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=name)
243
+ default_gateway = alicloud.cloudstoragegateway.Gateway("default",
244
+ description=name,
245
+ gateway_class="Standard",
246
+ type="File",
247
+ payment_type="PayAsYouGo",
248
+ vswitch_id=default_switch.id,
249
+ release_after_expiration=True,
250
+ storage_bundle_id=default_storage_bundle.id,
251
+ location="Cloud",
252
+ gateway_name=name)
253
+ default_gateway_cache_disk = alicloud.cloudstoragegateway.GatewayCacheDisk("default",
254
+ gateway_id=default_gateway.id,
255
+ cache_disk_size_in_gb=50,
256
+ cache_disk_category="cloud_efficiency")
257
+ ```
258
+
188
259
  ## Import
189
260
 
190
261
  Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
@@ -195,9 +266,10 @@ class GatewayCacheDisk(pulumi.CustomResource):
195
266
 
196
267
  :param str resource_name: The name of the resource.
197
268
  :param pulumi.ResourceOptions opts: Options for the resource.
198
- :param pulumi.Input[str] cache_disk_category: The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
199
- :param pulumi.Input[int] cache_disk_size_in_gb: size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
269
+ :param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
270
+ :param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
200
271
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
272
+ :param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
201
273
  """
202
274
  ...
203
275
  @overload
@@ -212,6 +284,44 @@ class GatewayCacheDisk(pulumi.CustomResource):
212
284
 
213
285
  > **NOTE:** Available since v1.144.0.
214
286
 
287
+ ## Example Usage
288
+
289
+ Basic Usage
290
+
291
+ ```python
292
+ import pulumi
293
+ import pulumi_alicloud as alicloud
294
+
295
+ config = pulumi.Config()
296
+ name = config.get("name")
297
+ if name is None:
298
+ name = "tf-example"
299
+ default = alicloud.cloudstoragegateway.get_stocks(gateway_class="Standard")
300
+ default_network = alicloud.vpc.Network("default",
301
+ vpc_name=name,
302
+ cidr_block="172.16.0.0/16")
303
+ default_switch = alicloud.vpc.Switch("default",
304
+ vpc_id=default_network.id,
305
+ cidr_block="172.16.0.0/24",
306
+ zone_id=default.stocks[0].zone_id,
307
+ vswitch_name=name)
308
+ default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=name)
309
+ default_gateway = alicloud.cloudstoragegateway.Gateway("default",
310
+ description=name,
311
+ gateway_class="Standard",
312
+ type="File",
313
+ payment_type="PayAsYouGo",
314
+ vswitch_id=default_switch.id,
315
+ release_after_expiration=True,
316
+ storage_bundle_id=default_storage_bundle.id,
317
+ location="Cloud",
318
+ gateway_name=name)
319
+ default_gateway_cache_disk = alicloud.cloudstoragegateway.GatewayCacheDisk("default",
320
+ gateway_id=default_gateway.id,
321
+ cache_disk_size_in_gb=50,
322
+ cache_disk_category="cloud_efficiency")
323
+ ```
324
+
215
325
  ## Import
216
326
 
217
327
  Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
@@ -238,6 +348,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
238
348
  cache_disk_category: Optional[pulumi.Input[str]] = None,
239
349
  cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
240
350
  gateway_id: Optional[pulumi.Input[str]] = None,
351
+ performance_level: Optional[pulumi.Input[str]] = None,
241
352
  __props__=None):
242
353
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
243
354
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -254,6 +365,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
254
365
  if gateway_id is None and not opts.urn:
255
366
  raise TypeError("Missing required property 'gateway_id'")
256
367
  __props__.__dict__["gateway_id"] = gateway_id
368
+ __props__.__dict__["performance_level"] = performance_level
257
369
  __props__.__dict__["cache_id"] = None
258
370
  __props__.__dict__["local_file_path"] = None
259
371
  __props__.__dict__["status"] = None
@@ -272,6 +384,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
272
384
  cache_id: Optional[pulumi.Input[str]] = None,
273
385
  gateway_id: Optional[pulumi.Input[str]] = None,
274
386
  local_file_path: Optional[pulumi.Input[str]] = None,
387
+ performance_level: Optional[pulumi.Input[str]] = None,
275
388
  status: Optional[pulumi.Input[int]] = None) -> 'GatewayCacheDisk':
276
389
  """
277
390
  Get an existing GatewayCacheDisk resource's state with the given name, id, and optional extra
@@ -280,12 +393,13 @@ class GatewayCacheDisk(pulumi.CustomResource):
280
393
  :param str resource_name: The unique name of the resulting resource.
281
394
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
282
395
  :param pulumi.ResourceOptions opts: Options for the resource.
283
- :param pulumi.Input[str] cache_disk_category: The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
284
- :param pulumi.Input[int] cache_disk_size_in_gb: size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
285
- :param pulumi.Input[str] cache_id: The ID of the cache.
396
+ :param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
397
+ :param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
398
+ :param pulumi.Input[str] cache_id: The ID of the cache disk.
286
399
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
287
- :param pulumi.Input[str] local_file_path: The cache disk inside the device name.
288
- :param pulumi.Input[int] status: The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
400
+ :param pulumi.Input[str] local_file_path: The path of the cache disk.
401
+ :param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
402
+ :param pulumi.Input[int] status: The status of the Gateway Cache Disk.
289
403
  """
290
404
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
291
405
 
@@ -296,6 +410,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
296
410
  __props__.__dict__["cache_id"] = cache_id
297
411
  __props__.__dict__["gateway_id"] = gateway_id
298
412
  __props__.__dict__["local_file_path"] = local_file_path
413
+ __props__.__dict__["performance_level"] = performance_level
299
414
  __props__.__dict__["status"] = status
300
415
  return GatewayCacheDisk(resource_name, opts=opts, __props__=__props__)
301
416
 
@@ -303,7 +418,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
303
418
  @pulumi.getter(name="cacheDiskCategory")
304
419
  def cache_disk_category(self) -> pulumi.Output[str]:
305
420
  """
306
- The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
421
+ The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
307
422
  """
308
423
  return pulumi.get(self, "cache_disk_category")
309
424
 
@@ -311,7 +426,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
311
426
  @pulumi.getter(name="cacheDiskSizeInGb")
312
427
  def cache_disk_size_in_gb(self) -> pulumi.Output[int]:
313
428
  """
314
- size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
429
+ The capacity of the cache disk.
315
430
  """
316
431
  return pulumi.get(self, "cache_disk_size_in_gb")
317
432
 
@@ -319,7 +434,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
319
434
  @pulumi.getter(name="cacheId")
320
435
  def cache_id(self) -> pulumi.Output[str]:
321
436
  """
322
- The ID of the cache.
437
+ The ID of the cache disk.
323
438
  """
324
439
  return pulumi.get(self, "cache_id")
325
440
 
@@ -335,15 +450,23 @@ class GatewayCacheDisk(pulumi.CustomResource):
335
450
  @pulumi.getter(name="localFilePath")
336
451
  def local_file_path(self) -> pulumi.Output[str]:
337
452
  """
338
- The cache disk inside the device name.
453
+ The path of the cache disk.
339
454
  """
340
455
  return pulumi.get(self, "local_file_path")
341
456
 
457
+ @property
458
+ @pulumi.getter(name="performanceLevel")
459
+ def performance_level(self) -> pulumi.Output[Optional[str]]:
460
+ """
461
+ The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
462
+ """
463
+ return pulumi.get(self, "performance_level")
464
+
342
465
  @property
343
466
  @pulumi.getter
344
467
  def status(self) -> pulumi.Output[int]:
345
468
  """
346
- The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
469
+ The status of the Gateway Cache Disk.
347
470
  """
348
471
  return pulumi.get(self, "status")
349
472
 
@@ -18,20 +18,20 @@ class FileSystemArgs:
18
18
  protocol_type: pulumi.Input[str],
19
19
  space_capacity: pulumi.Input[int],
20
20
  storage_type: pulumi.Input[str],
21
- zone_id: pulumi.Input[str],
22
21
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
22
+ dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
23
23
  description: Optional[pulumi.Input[str]] = None,
24
24
  partition_number: Optional[pulumi.Input[int]] = None,
25
25
  provisioned_throughput_in_mi_bps: Optional[pulumi.Input[int]] = None,
26
26
  storage_set_name: Optional[pulumi.Input[str]] = None,
27
- throughput_mode: Optional[pulumi.Input[str]] = None):
27
+ throughput_mode: Optional[pulumi.Input[str]] = None,
28
+ zone_id: Optional[pulumi.Input[str]] = None):
28
29
  """
29
30
  The set of arguments for constructing a FileSystem resource.
30
31
  :param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
31
32
  :param pulumi.Input[str] protocol_type: The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
32
33
  :param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
33
34
  :param pulumi.Input[str] storage_type: The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
34
- :param pulumi.Input[str] zone_id: Zone Id, which is used to create file system resources to the specified zone.
35
35
  :param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
36
36
  - LRS (default): Local redundancy.
37
37
  - ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
@@ -40,14 +40,16 @@ class FileSystemArgs:
40
40
  :param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
41
41
  :param pulumi.Input[str] storage_set_name: Save set identity, used to select a user-specified save set.
42
42
  :param pulumi.Input[str] throughput_mode: The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
43
+ :param pulumi.Input[str] zone_id: Zone Id, which is used to create file system resources to the specified zone.
43
44
  """
44
45
  pulumi.set(__self__, "file_system_name", file_system_name)
45
46
  pulumi.set(__self__, "protocol_type", protocol_type)
46
47
  pulumi.set(__self__, "space_capacity", space_capacity)
47
48
  pulumi.set(__self__, "storage_type", storage_type)
48
- pulumi.set(__self__, "zone_id", zone_id)
49
49
  if data_redundancy_type is not None:
50
50
  pulumi.set(__self__, "data_redundancy_type", data_redundancy_type)
51
+ if dedicated_cluster_id is not None:
52
+ pulumi.set(__self__, "dedicated_cluster_id", dedicated_cluster_id)
51
53
  if description is not None:
52
54
  pulumi.set(__self__, "description", description)
53
55
  if partition_number is not None:
@@ -58,6 +60,8 @@ class FileSystemArgs:
58
60
  pulumi.set(__self__, "storage_set_name", storage_set_name)
59
61
  if throughput_mode is not None:
60
62
  pulumi.set(__self__, "throughput_mode", throughput_mode)
63
+ if zone_id is not None:
64
+ pulumi.set(__self__, "zone_id", zone_id)
61
65
 
62
66
  @property
63
67
  @pulumi.getter(name="fileSystemName")
@@ -107,18 +111,6 @@ class FileSystemArgs:
107
111
  def storage_type(self, value: pulumi.Input[str]):
108
112
  pulumi.set(self, "storage_type", value)
109
113
 
110
- @property
111
- @pulumi.getter(name="zoneId")
112
- def zone_id(self) -> pulumi.Input[str]:
113
- """
114
- Zone Id, which is used to create file system resources to the specified zone.
115
- """
116
- return pulumi.get(self, "zone_id")
117
-
118
- @zone_id.setter
119
- def zone_id(self, value: pulumi.Input[str]):
120
- pulumi.set(self, "zone_id", value)
121
-
122
114
  @property
123
115
  @pulumi.getter(name="dataRedundancyType")
124
116
  def data_redundancy_type(self) -> Optional[pulumi.Input[str]]:
@@ -133,6 +125,15 @@ class FileSystemArgs:
133
125
  def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
134
126
  pulumi.set(self, "data_redundancy_type", value)
135
127
 
128
+ @property
129
+ @pulumi.getter(name="dedicatedClusterId")
130
+ def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
131
+ return pulumi.get(self, "dedicated_cluster_id")
132
+
133
+ @dedicated_cluster_id.setter
134
+ def dedicated_cluster_id(self, value: Optional[pulumi.Input[str]]):
135
+ pulumi.set(self, "dedicated_cluster_id", value)
136
+
136
137
  @property
137
138
  @pulumi.getter
138
139
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -193,12 +194,25 @@ class FileSystemArgs:
193
194
  def throughput_mode(self, value: Optional[pulumi.Input[str]]):
194
195
  pulumi.set(self, "throughput_mode", value)
195
196
 
197
+ @property
198
+ @pulumi.getter(name="zoneId")
199
+ def zone_id(self) -> Optional[pulumi.Input[str]]:
200
+ """
201
+ Zone Id, which is used to create file system resources to the specified zone.
202
+ """
203
+ return pulumi.get(self, "zone_id")
204
+
205
+ @zone_id.setter
206
+ def zone_id(self, value: Optional[pulumi.Input[str]]):
207
+ pulumi.set(self, "zone_id", value)
208
+
196
209
 
197
210
  @pulumi.input_type
198
211
  class _FileSystemState:
199
212
  def __init__(__self__, *,
200
213
  create_time: Optional[pulumi.Input[str]] = None,
201
214
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
215
+ dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
202
216
  description: Optional[pulumi.Input[str]] = None,
203
217
  file_system_name: Optional[pulumi.Input[str]] = None,
204
218
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -230,6 +244,8 @@ class _FileSystemState:
230
244
  pulumi.set(__self__, "create_time", create_time)
231
245
  if data_redundancy_type is not None:
232
246
  pulumi.set(__self__, "data_redundancy_type", data_redundancy_type)
247
+ if dedicated_cluster_id is not None:
248
+ pulumi.set(__self__, "dedicated_cluster_id", dedicated_cluster_id)
233
249
  if description is not None:
234
250
  pulumi.set(__self__, "description", description)
235
251
  if file_system_name is not None:
@@ -277,6 +293,15 @@ class _FileSystemState:
277
293
  def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
278
294
  pulumi.set(self, "data_redundancy_type", value)
279
295
 
296
+ @property
297
+ @pulumi.getter(name="dedicatedClusterId")
298
+ def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
299
+ return pulumi.get(self, "dedicated_cluster_id")
300
+
301
+ @dedicated_cluster_id.setter
302
+ def dedicated_cluster_id(self, value: Optional[pulumi.Input[str]]):
303
+ pulumi.set(self, "dedicated_cluster_id", value)
304
+
280
305
  @property
281
306
  @pulumi.getter
282
307
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -404,6 +429,7 @@ class FileSystem(pulumi.CustomResource):
404
429
  resource_name: str,
405
430
  opts: Optional[pulumi.ResourceOptions] = None,
406
431
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
432
+ dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
407
433
  description: Optional[pulumi.Input[str]] = None,
408
434
  file_system_name: Optional[pulumi.Input[str]] = None,
409
435
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -531,6 +557,7 @@ class FileSystem(pulumi.CustomResource):
531
557
  resource_name: str,
532
558
  opts: Optional[pulumi.ResourceOptions] = None,
533
559
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
560
+ dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
534
561
  description: Optional[pulumi.Input[str]] = None,
535
562
  file_system_name: Optional[pulumi.Input[str]] = None,
536
563
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -551,6 +578,7 @@ class FileSystem(pulumi.CustomResource):
551
578
  __props__ = FileSystemArgs.__new__(FileSystemArgs)
552
579
 
553
580
  __props__.__dict__["data_redundancy_type"] = data_redundancy_type
581
+ __props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
554
582
  __props__.__dict__["description"] = description
555
583
  if file_system_name is None and not opts.urn:
556
584
  raise TypeError("Missing required property 'file_system_name'")
@@ -568,8 +596,6 @@ class FileSystem(pulumi.CustomResource):
568
596
  raise TypeError("Missing required property 'storage_type'")
569
597
  __props__.__dict__["storage_type"] = storage_type
570
598
  __props__.__dict__["throughput_mode"] = throughput_mode
571
- if zone_id is None and not opts.urn:
572
- raise TypeError("Missing required property 'zone_id'")
573
599
  __props__.__dict__["zone_id"] = zone_id
574
600
  __props__.__dict__["create_time"] = None
575
601
  super(FileSystem, __self__).__init__(
@@ -584,6 +610,7 @@ class FileSystem(pulumi.CustomResource):
584
610
  opts: Optional[pulumi.ResourceOptions] = None,
585
611
  create_time: Optional[pulumi.Input[str]] = None,
586
612
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
613
+ dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
587
614
  description: Optional[pulumi.Input[str]] = None,
588
615
  file_system_name: Optional[pulumi.Input[str]] = None,
589
616
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -622,6 +649,7 @@ class FileSystem(pulumi.CustomResource):
622
649
 
623
650
  __props__.__dict__["create_time"] = create_time
624
651
  __props__.__dict__["data_redundancy_type"] = data_redundancy_type
652
+ __props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
625
653
  __props__.__dict__["description"] = description
626
654
  __props__.__dict__["file_system_name"] = file_system_name
627
655
  __props__.__dict__["partition_number"] = partition_number
@@ -652,6 +680,11 @@ class FileSystem(pulumi.CustomResource):
652
680
  """
653
681
  return pulumi.get(self, "data_redundancy_type")
654
682
 
683
+ @property
684
+ @pulumi.getter(name="dedicatedClusterId")
685
+ def dedicated_cluster_id(self) -> pulumi.Output[Optional[str]]:
686
+ return pulumi.get(self, "dedicated_cluster_id")
687
+
655
688
  @property
656
689
  @pulumi.getter
657
690
  def description(self) -> pulumi.Output[Optional[str]]:
@@ -726,7 +759,7 @@ class FileSystem(pulumi.CustomResource):
726
759
 
727
760
  @property
728
761
  @pulumi.getter(name="zoneId")
729
- def zone_id(self) -> pulumi.Output[str]:
762
+ def zone_id(self) -> pulumi.Output[Optional[str]]:
730
763
  """
731
764
  Zone Id, which is used to create file system resources to the specified zone.
732
765
  """