pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720070286__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 +0 -48
  2. pulumi_alicloud/adb/resource_group.py +119 -115
  3. pulumi_alicloud/clickhouse/get_regions.py +2 -2
  4. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
  5. pulumi_alicloud/dfs/file_system.py +19 -52
  6. pulumi_alicloud/ecs/_inputs.py +8 -132
  7. pulumi_alicloud/ecs/image.py +121 -607
  8. pulumi_alicloud/ecs/outputs.py +8 -131
  9. pulumi_alicloud/emrv2/_inputs.py +0 -490
  10. pulumi_alicloud/emrv2/cluster.py +14 -14
  11. pulumi_alicloud/emrv2/outputs.py +0 -500
  12. pulumi_alicloud/ens/__init__.py +0 -2
  13. pulumi_alicloud/ens/instance.py +17 -16
  14. pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
  15. pulumi_alicloud/ess/scaling_group.py +0 -94
  16. pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
  17. pulumi_alicloud/ga/listener.py +0 -122
  18. pulumi_alicloud/gpdb/__init__.py +0 -4
  19. pulumi_alicloud/pulumi-plugin.json +1 -1
  20. pulumi_alicloud/redis/tair_instance.py +67 -161
  21. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720070286.dist-info}/METADATA +1 -1
  22. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720070286.dist-info}/RECORD +24 -30
  23. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720070286.dist-info}/WHEEL +1 -1
  24. pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
  25. pulumi_alicloud/ens/nat_gateway.py +0 -458
  26. pulumi_alicloud/gpdb/external_data_service.py +0 -485
  27. pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
  28. pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
  29. pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
  30. {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720070286.dist-info}/top_level.txt +0 -0
@@ -16,27 +16,23 @@ 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,
20
- performance_level: Optional[pulumi.Input[str]] = None):
19
+ cache_disk_category: Optional[pulumi.Input[str]] = None):
21
20
  """
22
21
  The set of arguments for constructing a GatewayCacheDisk resource.
23
- :param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
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.
24
23
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
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.
24
+ :param pulumi.Input[str] cache_disk_category: The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
27
25
  """
28
26
  pulumi.set(__self__, "cache_disk_size_in_gb", cache_disk_size_in_gb)
29
27
  pulumi.set(__self__, "gateway_id", gateway_id)
30
28
  if cache_disk_category is not None:
31
29
  pulumi.set(__self__, "cache_disk_category", cache_disk_category)
32
- if performance_level is not None:
33
- pulumi.set(__self__, "performance_level", performance_level)
34
30
 
35
31
  @property
36
32
  @pulumi.getter(name="cacheDiskSizeInGb")
37
33
  def cache_disk_size_in_gb(self) -> pulumi.Input[int]:
38
34
  """
39
- The capacity of the cache disk.
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.
40
36
  """
41
37
  return pulumi.get(self, "cache_disk_size_in_gb")
42
38
 
@@ -60,7 +56,7 @@ class GatewayCacheDiskArgs:
60
56
  @pulumi.getter(name="cacheDiskCategory")
61
57
  def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
62
58
  """
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`.
59
+ The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
64
60
  """
65
61
  return pulumi.get(self, "cache_disk_category")
66
62
 
@@ -68,18 +64,6 @@ class GatewayCacheDiskArgs:
68
64
  def cache_disk_category(self, value: Optional[pulumi.Input[str]]):
69
65
  pulumi.set(self, "cache_disk_category", value)
70
66
 
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
-
83
67
 
84
68
  @pulumi.input_type
85
69
  class _GatewayCacheDiskState:
@@ -89,17 +73,15 @@ class _GatewayCacheDiskState:
89
73
  cache_id: Optional[pulumi.Input[str]] = None,
90
74
  gateway_id: Optional[pulumi.Input[str]] = None,
91
75
  local_file_path: Optional[pulumi.Input[str]] = None,
92
- performance_level: Optional[pulumi.Input[str]] = None,
93
76
  status: Optional[pulumi.Input[int]] = None):
94
77
  """
95
78
  Input properties used for looking up and filtering GatewayCacheDisk resources.
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.
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.
99
82
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
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.
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.
103
85
  """
104
86
  if cache_disk_category is not None:
105
87
  pulumi.set(__self__, "cache_disk_category", cache_disk_category)
@@ -111,8 +93,6 @@ class _GatewayCacheDiskState:
111
93
  pulumi.set(__self__, "gateway_id", gateway_id)
112
94
  if local_file_path is not None:
113
95
  pulumi.set(__self__, "local_file_path", local_file_path)
114
- if performance_level is not None:
115
- pulumi.set(__self__, "performance_level", performance_level)
116
96
  if status is not None:
117
97
  pulumi.set(__self__, "status", status)
118
98
 
@@ -120,7 +100,7 @@ class _GatewayCacheDiskState:
120
100
  @pulumi.getter(name="cacheDiskCategory")
121
101
  def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
122
102
  """
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`.
103
+ The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
124
104
  """
125
105
  return pulumi.get(self, "cache_disk_category")
126
106
 
@@ -132,7 +112,7 @@ class _GatewayCacheDiskState:
132
112
  @pulumi.getter(name="cacheDiskSizeInGb")
133
113
  def cache_disk_size_in_gb(self) -> Optional[pulumi.Input[int]]:
134
114
  """
135
- The capacity of the cache disk.
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.
136
116
  """
137
117
  return pulumi.get(self, "cache_disk_size_in_gb")
138
118
 
@@ -144,7 +124,7 @@ class _GatewayCacheDiskState:
144
124
  @pulumi.getter(name="cacheId")
145
125
  def cache_id(self) -> Optional[pulumi.Input[str]]:
146
126
  """
147
- The ID of the cache disk.
127
+ The ID of the cache.
148
128
  """
149
129
  return pulumi.get(self, "cache_id")
150
130
 
@@ -168,7 +148,7 @@ class _GatewayCacheDiskState:
168
148
  @pulumi.getter(name="localFilePath")
169
149
  def local_file_path(self) -> Optional[pulumi.Input[str]]:
170
150
  """
171
- The path of the cache disk.
151
+ The cache disk inside the device name.
172
152
  """
173
153
  return pulumi.get(self, "local_file_path")
174
154
 
@@ -176,23 +156,11 @@ class _GatewayCacheDiskState:
176
156
  def local_file_path(self, value: Optional[pulumi.Input[str]]):
177
157
  pulumi.set(self, "local_file_path", value)
178
158
 
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
-
191
159
  @property
192
160
  @pulumi.getter
193
161
  def status(self) -> Optional[pulumi.Input[int]]:
194
162
  """
195
- The status of the Gateway Cache Disk.
163
+ The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
196
164
  """
197
165
  return pulumi.get(self, "status")
198
166
 
@@ -209,7 +177,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
209
177
  cache_disk_category: Optional[pulumi.Input[str]] = None,
210
178
  cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
211
179
  gateway_id: Optional[pulumi.Input[str]] = None,
212
- performance_level: Optional[pulumi.Input[str]] = None,
213
180
  __props__=None):
214
181
  """
215
182
  Provides a Cloud Storage Gateway Gateway Cache Disk resource.
@@ -218,44 +185,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
218
185
 
219
186
  > **NOTE:** Available since v1.144.0.
220
187
 
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
-
259
188
  ## Import
260
189
 
261
190
  Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
@@ -266,10 +195,9 @@ class GatewayCacheDisk(pulumi.CustomResource):
266
195
 
267
196
  :param str resource_name: The name of the resource.
268
197
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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.
271
200
  :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.
273
201
  """
274
202
  ...
275
203
  @overload
@@ -284,44 +212,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
284
212
 
285
213
  > **NOTE:** Available since v1.144.0.
286
214
 
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
-
325
215
  ## Import
326
216
 
327
217
  Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
@@ -348,7 +238,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
348
238
  cache_disk_category: Optional[pulumi.Input[str]] = None,
349
239
  cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
350
240
  gateway_id: Optional[pulumi.Input[str]] = None,
351
- performance_level: Optional[pulumi.Input[str]] = None,
352
241
  __props__=None):
353
242
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
354
243
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -365,7 +254,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
365
254
  if gateway_id is None and not opts.urn:
366
255
  raise TypeError("Missing required property 'gateway_id'")
367
256
  __props__.__dict__["gateway_id"] = gateway_id
368
- __props__.__dict__["performance_level"] = performance_level
369
257
  __props__.__dict__["cache_id"] = None
370
258
  __props__.__dict__["local_file_path"] = None
371
259
  __props__.__dict__["status"] = None
@@ -384,7 +272,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
384
272
  cache_id: Optional[pulumi.Input[str]] = None,
385
273
  gateway_id: Optional[pulumi.Input[str]] = None,
386
274
  local_file_path: Optional[pulumi.Input[str]] = None,
387
- performance_level: Optional[pulumi.Input[str]] = None,
388
275
  status: Optional[pulumi.Input[int]] = None) -> 'GatewayCacheDisk':
389
276
  """
390
277
  Get an existing GatewayCacheDisk resource's state with the given name, id, and optional extra
@@ -393,13 +280,12 @@ class GatewayCacheDisk(pulumi.CustomResource):
393
280
  :param str resource_name: The unique name of the resulting resource.
394
281
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
395
282
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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.
399
286
  :param pulumi.Input[str] gateway_id: The ID of the gateway.
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.
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.
403
289
  """
404
290
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
405
291
 
@@ -410,7 +296,6 @@ class GatewayCacheDisk(pulumi.CustomResource):
410
296
  __props__.__dict__["cache_id"] = cache_id
411
297
  __props__.__dict__["gateway_id"] = gateway_id
412
298
  __props__.__dict__["local_file_path"] = local_file_path
413
- __props__.__dict__["performance_level"] = performance_level
414
299
  __props__.__dict__["status"] = status
415
300
  return GatewayCacheDisk(resource_name, opts=opts, __props__=__props__)
416
301
 
@@ -418,7 +303,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
418
303
  @pulumi.getter(name="cacheDiskCategory")
419
304
  def cache_disk_category(self) -> pulumi.Output[str]:
420
305
  """
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`.
306
+ The cache disk type. Valid values: `cloud_efficiency`, `cloud_ssd`.
422
307
  """
423
308
  return pulumi.get(self, "cache_disk_category")
424
309
 
@@ -426,7 +311,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
426
311
  @pulumi.getter(name="cacheDiskSizeInGb")
427
312
  def cache_disk_size_in_gb(self) -> pulumi.Output[int]:
428
313
  """
429
- The capacity of the cache disk.
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.
430
315
  """
431
316
  return pulumi.get(self, "cache_disk_size_in_gb")
432
317
 
@@ -434,7 +319,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
434
319
  @pulumi.getter(name="cacheId")
435
320
  def cache_id(self) -> pulumi.Output[str]:
436
321
  """
437
- The ID of the cache disk.
322
+ The ID of the cache.
438
323
  """
439
324
  return pulumi.get(self, "cache_id")
440
325
 
@@ -450,23 +335,15 @@ class GatewayCacheDisk(pulumi.CustomResource):
450
335
  @pulumi.getter(name="localFilePath")
451
336
  def local_file_path(self) -> pulumi.Output[str]:
452
337
  """
453
- The path of the cache disk.
338
+ The cache disk inside the device name.
454
339
  """
455
340
  return pulumi.get(self, "local_file_path")
456
341
 
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
-
465
342
  @property
466
343
  @pulumi.getter
467
344
  def status(self) -> pulumi.Output[int]:
468
345
  """
469
- The status of the Gateway Cache Disk.
346
+ The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
470
347
  """
471
348
  return pulumi.get(self, "status")
472
349
 
@@ -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],
21
22
  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,
28
- zone_id: Optional[pulumi.Input[str]] = None):
27
+ throughput_mode: Optional[pulumi.Input[str]] = None):
29
28
  """
30
29
  The set of arguments for constructing a FileSystem resource.
31
30
  :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 (-).
32
31
  :param pulumi.Input[str] protocol_type: The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
33
32
  :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.
34
33
  :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,16 +40,14 @@ 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.
44
43
  """
45
44
  pulumi.set(__self__, "file_system_name", file_system_name)
46
45
  pulumi.set(__self__, "protocol_type", protocol_type)
47
46
  pulumi.set(__self__, "space_capacity", space_capacity)
48
47
  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)
53
51
  if description is not None:
54
52
  pulumi.set(__self__, "description", description)
55
53
  if partition_number is not None:
@@ -60,8 +58,6 @@ class FileSystemArgs:
60
58
  pulumi.set(__self__, "storage_set_name", storage_set_name)
61
59
  if throughput_mode is not None:
62
60
  pulumi.set(__self__, "throughput_mode", throughput_mode)
63
- if zone_id is not None:
64
- pulumi.set(__self__, "zone_id", zone_id)
65
61
 
66
62
  @property
67
63
  @pulumi.getter(name="fileSystemName")
@@ -111,6 +107,18 @@ class FileSystemArgs:
111
107
  def storage_type(self, value: pulumi.Input[str]):
112
108
  pulumi.set(self, "storage_type", value)
113
109
 
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
+
114
122
  @property
115
123
  @pulumi.getter(name="dataRedundancyType")
116
124
  def data_redundancy_type(self) -> Optional[pulumi.Input[str]]:
@@ -125,15 +133,6 @@ class FileSystemArgs:
125
133
  def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
126
134
  pulumi.set(self, "data_redundancy_type", value)
127
135
 
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
-
137
136
  @property
138
137
  @pulumi.getter
139
138
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -194,25 +193,12 @@ class FileSystemArgs:
194
193
  def throughput_mode(self, value: Optional[pulumi.Input[str]]):
195
194
  pulumi.set(self, "throughput_mode", value)
196
195
 
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
-
209
196
 
210
197
  @pulumi.input_type
211
198
  class _FileSystemState:
212
199
  def __init__(__self__, *,
213
200
  create_time: Optional[pulumi.Input[str]] = None,
214
201
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
215
- dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
216
202
  description: Optional[pulumi.Input[str]] = None,
217
203
  file_system_name: Optional[pulumi.Input[str]] = None,
218
204
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -244,8 +230,6 @@ class _FileSystemState:
244
230
  pulumi.set(__self__, "create_time", create_time)
245
231
  if data_redundancy_type is not None:
246
232
  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)
249
233
  if description is not None:
250
234
  pulumi.set(__self__, "description", description)
251
235
  if file_system_name is not None:
@@ -293,15 +277,6 @@ class _FileSystemState:
293
277
  def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
294
278
  pulumi.set(self, "data_redundancy_type", value)
295
279
 
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
-
305
280
  @property
306
281
  @pulumi.getter
307
282
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -429,7 +404,6 @@ class FileSystem(pulumi.CustomResource):
429
404
  resource_name: str,
430
405
  opts: Optional[pulumi.ResourceOptions] = None,
431
406
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
432
- dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
433
407
  description: Optional[pulumi.Input[str]] = None,
434
408
  file_system_name: Optional[pulumi.Input[str]] = None,
435
409
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -557,7 +531,6 @@ class FileSystem(pulumi.CustomResource):
557
531
  resource_name: str,
558
532
  opts: Optional[pulumi.ResourceOptions] = None,
559
533
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
560
- dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
561
534
  description: Optional[pulumi.Input[str]] = None,
562
535
  file_system_name: Optional[pulumi.Input[str]] = None,
563
536
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -578,7 +551,6 @@ class FileSystem(pulumi.CustomResource):
578
551
  __props__ = FileSystemArgs.__new__(FileSystemArgs)
579
552
 
580
553
  __props__.__dict__["data_redundancy_type"] = data_redundancy_type
581
- __props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
582
554
  __props__.__dict__["description"] = description
583
555
  if file_system_name is None and not opts.urn:
584
556
  raise TypeError("Missing required property 'file_system_name'")
@@ -596,6 +568,8 @@ class FileSystem(pulumi.CustomResource):
596
568
  raise TypeError("Missing required property 'storage_type'")
597
569
  __props__.__dict__["storage_type"] = storage_type
598
570
  __props__.__dict__["throughput_mode"] = throughput_mode
571
+ if zone_id is None and not opts.urn:
572
+ raise TypeError("Missing required property 'zone_id'")
599
573
  __props__.__dict__["zone_id"] = zone_id
600
574
  __props__.__dict__["create_time"] = None
601
575
  super(FileSystem, __self__).__init__(
@@ -610,7 +584,6 @@ class FileSystem(pulumi.CustomResource):
610
584
  opts: Optional[pulumi.ResourceOptions] = None,
611
585
  create_time: Optional[pulumi.Input[str]] = None,
612
586
  data_redundancy_type: Optional[pulumi.Input[str]] = None,
613
- dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
614
587
  description: Optional[pulumi.Input[str]] = None,
615
588
  file_system_name: Optional[pulumi.Input[str]] = None,
616
589
  partition_number: Optional[pulumi.Input[int]] = None,
@@ -649,7 +622,6 @@ class FileSystem(pulumi.CustomResource):
649
622
 
650
623
  __props__.__dict__["create_time"] = create_time
651
624
  __props__.__dict__["data_redundancy_type"] = data_redundancy_type
652
- __props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
653
625
  __props__.__dict__["description"] = description
654
626
  __props__.__dict__["file_system_name"] = file_system_name
655
627
  __props__.__dict__["partition_number"] = partition_number
@@ -680,11 +652,6 @@ class FileSystem(pulumi.CustomResource):
680
652
  """
681
653
  return pulumi.get(self, "data_redundancy_type")
682
654
 
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
-
688
655
  @property
689
656
  @pulumi.getter
690
657
  def description(self) -> pulumi.Output[Optional[str]]:
@@ -759,7 +726,7 @@ class FileSystem(pulumi.CustomResource):
759
726
 
760
727
  @property
761
728
  @pulumi.getter(name="zoneId")
762
- def zone_id(self) -> pulumi.Output[Optional[str]]:
729
+ def zone_id(self) -> pulumi.Output[str]:
763
730
  """
764
731
  Zone Id, which is used to create file system resources to the specified zone.
765
732
  """