pulumi-alicloud 3.58.0a1719956927__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 (46) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/adb/resource_group.py +115 -119
  3. pulumi_alicloud/alb/__init__.py +1 -0
  4. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +327 -0
  5. pulumi_alicloud/cen/__init__.py +1 -0
  6. pulumi_alicloud/cen/transit_router_ecr_attachment.py +584 -0
  7. pulumi_alicloud/clickhouse/get_regions.py +2 -2
  8. pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
  9. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
  10. pulumi_alicloud/ddos/__init__.py +1 -0
  11. pulumi_alicloud/ddos/_inputs.py +712 -0
  12. pulumi_alicloud/ddos/bgp_policy.py +343 -0
  13. pulumi_alicloud/ddos/outputs.py +666 -0
  14. pulumi_alicloud/dfs/file_system.py +52 -19
  15. pulumi_alicloud/ecs/_inputs.py +132 -8
  16. pulumi_alicloud/ecs/ecs_launch_template.py +142 -1
  17. pulumi_alicloud/ecs/image.py +607 -121
  18. pulumi_alicloud/ecs/launch_template.py +103 -1
  19. pulumi_alicloud/ecs/outputs.py +131 -8
  20. pulumi_alicloud/emrv2/_inputs.py +490 -0
  21. pulumi_alicloud/emrv2/cluster.py +14 -14
  22. pulumi_alicloud/emrv2/outputs.py +500 -0
  23. pulumi_alicloud/ens/__init__.py +2 -0
  24. pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
  25. pulumi_alicloud/ens/instance.py +16 -17
  26. pulumi_alicloud/ens/nat_gateway.py +458 -0
  27. pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
  28. pulumi_alicloud/ess/scaling_group.py +94 -0
  29. pulumi_alicloud/ga/accelerator.py +47 -0
  30. pulumi_alicloud/ga/acl.py +47 -0
  31. pulumi_alicloud/ga/bandwidth_package.py +57 -12
  32. pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
  33. pulumi_alicloud/ga/basic_accelerator.py +55 -8
  34. pulumi_alicloud/ga/listener.py +122 -0
  35. pulumi_alicloud/gpdb/__init__.py +4 -0
  36. pulumi_alicloud/gpdb/external_data_service.py +485 -0
  37. pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
  38. pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
  39. pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
  40. pulumi_alicloud/kvstore/instance.py +101 -0
  41. pulumi_alicloud/pulumi-plugin.json +1 -1
  42. pulumi_alicloud/redis/tair_instance.py +161 -67
  43. {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/METADATA +1 -1
  44. {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/RECORD +46 -37
  45. {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/WHEEL +1 -1
  46. {pulumi_alicloud-3.58.0a1719956927.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
 
@@ -8,6 +8,7 @@ import typing
8
8
  from .basic_defense_threshold import *
9
9
  from .basic_threshold import *
10
10
  from .bgp_ip import *
11
+ from .bgp_policy import *
11
12
  from .ddos_bgp_instance import *
12
13
  from .ddos_coo_instance import *
13
14
  from .domain_resource import *