pulumi-alicloud 3.65.0a1730524658__py3-none-any.whl → 3.65.0a1730759410__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.

@@ -33,18 +33,18 @@ class GatewayArgs:
33
33
  vswitch_id: Optional[pulumi.Input[str]] = None):
34
34
  """
35
35
  The set of arguments for constructing a Gateway resource.
36
- :param pulumi.Input[str] gateway_name: The name of the gateway.
36
+ :param pulumi.Input[str] gateway_name: The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
37
37
  :param pulumi.Input[str] location: The location of the gateway. Valid values: `Cloud`, `On_Premise`.
38
38
  :param pulumi.Input[str] storage_bundle_id: The ID of the gateway cluster.
39
39
  :param pulumi.Input[str] type: The type of the gateway. Valid values: `File`, `Iscsi`.
40
40
  :param pulumi.Input[str] description: The description of the gateway.
41
- :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
42
- :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`.
43
- :param pulumi.Input[int] public_network_bandwidth: The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
44
- :param pulumi.Input[str] reason_detail: The reason detail of gateway.
45
- :param pulumi.Input[str] reason_type: The reason type when user deletes the gateway.
46
- :param pulumi.Input[bool] release_after_expiration: Whether to release the gateway due to expiration.
47
- :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
41
+ :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
42
+ :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
43
+ :param pulumi.Input[int] public_network_bandwidth: The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
44
+ :param pulumi.Input[str] reason_detail: The detailed reason why you want to delete the gateway.
45
+ :param pulumi.Input[str] reason_type: The type of the reason why you want to delete the gateway.
46
+ :param pulumi.Input[bool] release_after_expiration: Specifies whether to release the gateway after the subscription expires. Valid values:
47
+ :param pulumi.Input[str] vswitch_id: The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
48
48
  """
49
49
  pulumi.set(__self__, "gateway_name", gateway_name)
50
50
  pulumi.set(__self__, "location", location)
@@ -71,7 +71,7 @@ class GatewayArgs:
71
71
  @pulumi.getter(name="gatewayName")
72
72
  def gateway_name(self) -> pulumi.Input[str]:
73
73
  """
74
- The name of the gateway.
74
+ The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
75
75
  """
76
76
  return pulumi.get(self, "gateway_name")
77
77
 
@@ -131,7 +131,7 @@ class GatewayArgs:
131
131
  @pulumi.getter(name="gatewayClass")
132
132
  def gateway_class(self) -> Optional[pulumi.Input[str]]:
133
133
  """
134
- The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
134
+ The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
135
135
  """
136
136
  return pulumi.get(self, "gateway_class")
137
137
 
@@ -143,7 +143,7 @@ class GatewayArgs:
143
143
  @pulumi.getter(name="paymentType")
144
144
  def payment_type(self) -> Optional[pulumi.Input[str]]:
145
145
  """
146
- The Payment type of gateway. Valid values: `PayAsYouGo`.
146
+ The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
147
147
  """
148
148
  return pulumi.get(self, "payment_type")
149
149
 
@@ -155,7 +155,7 @@ class GatewayArgs:
155
155
  @pulumi.getter(name="publicNetworkBandwidth")
156
156
  def public_network_bandwidth(self) -> Optional[pulumi.Input[int]]:
157
157
  """
158
- The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
158
+ The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
159
159
  """
160
160
  return pulumi.get(self, "public_network_bandwidth")
161
161
 
@@ -167,7 +167,7 @@ class GatewayArgs:
167
167
  @pulumi.getter(name="reasonDetail")
168
168
  def reason_detail(self) -> Optional[pulumi.Input[str]]:
169
169
  """
170
- The reason detail of gateway.
170
+ The detailed reason why you want to delete the gateway.
171
171
  """
172
172
  return pulumi.get(self, "reason_detail")
173
173
 
@@ -179,7 +179,7 @@ class GatewayArgs:
179
179
  @pulumi.getter(name="reasonType")
180
180
  def reason_type(self) -> Optional[pulumi.Input[str]]:
181
181
  """
182
- The reason type when user deletes the gateway.
182
+ The type of the reason why you want to delete the gateway.
183
183
  """
184
184
  return pulumi.get(self, "reason_type")
185
185
 
@@ -191,7 +191,7 @@ class GatewayArgs:
191
191
  @pulumi.getter(name="releaseAfterExpiration")
192
192
  def release_after_expiration(self) -> Optional[pulumi.Input[bool]]:
193
193
  """
194
- Whether to release the gateway due to expiration.
194
+ Specifies whether to release the gateway after the subscription expires. Valid values:
195
195
  """
196
196
  return pulumi.get(self, "release_after_expiration")
197
197
 
@@ -203,7 +203,7 @@ class GatewayArgs:
203
203
  @pulumi.getter(name="vswitchId")
204
204
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
205
205
  """
206
- The ID of the vSwitch.
206
+ The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
207
207
  """
208
208
  return pulumi.get(self, "vswitch_id")
209
209
 
@@ -231,18 +231,18 @@ class _GatewayState:
231
231
  """
232
232
  Input properties used for looking up and filtering Gateway resources.
233
233
  :param pulumi.Input[str] description: The description of the gateway.
234
- :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
235
- :param pulumi.Input[str] gateway_name: The name of the gateway.
234
+ :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
235
+ :param pulumi.Input[str] gateway_name: The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
236
236
  :param pulumi.Input[str] location: The location of the gateway. Valid values: `Cloud`, `On_Premise`.
237
- :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`.
238
- :param pulumi.Input[int] public_network_bandwidth: The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
239
- :param pulumi.Input[str] reason_detail: The reason detail of gateway.
240
- :param pulumi.Input[str] reason_type: The reason type when user deletes the gateway.
241
- :param pulumi.Input[bool] release_after_expiration: Whether to release the gateway due to expiration.
237
+ :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
238
+ :param pulumi.Input[int] public_network_bandwidth: The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
239
+ :param pulumi.Input[str] reason_detail: The detailed reason why you want to delete the gateway.
240
+ :param pulumi.Input[str] reason_type: The type of the reason why you want to delete the gateway.
241
+ :param pulumi.Input[bool] release_after_expiration: Specifies whether to release the gateway after the subscription expires. Valid values:
242
242
  :param pulumi.Input[str] status: The status of the Gateway.
243
243
  :param pulumi.Input[str] storage_bundle_id: The ID of the gateway cluster.
244
244
  :param pulumi.Input[str] type: The type of the gateway. Valid values: `File`, `Iscsi`.
245
- :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
245
+ :param pulumi.Input[str] vswitch_id: The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
246
246
  """
247
247
  if description is not None:
248
248
  pulumi.set(__self__, "description", description)
@@ -287,7 +287,7 @@ class _GatewayState:
287
287
  @pulumi.getter(name="gatewayClass")
288
288
  def gateway_class(self) -> Optional[pulumi.Input[str]]:
289
289
  """
290
- The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
290
+ The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
291
291
  """
292
292
  return pulumi.get(self, "gateway_class")
293
293
 
@@ -299,7 +299,7 @@ class _GatewayState:
299
299
  @pulumi.getter(name="gatewayName")
300
300
  def gateway_name(self) -> Optional[pulumi.Input[str]]:
301
301
  """
302
- The name of the gateway.
302
+ The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
303
303
  """
304
304
  return pulumi.get(self, "gateway_name")
305
305
 
@@ -323,7 +323,7 @@ class _GatewayState:
323
323
  @pulumi.getter(name="paymentType")
324
324
  def payment_type(self) -> Optional[pulumi.Input[str]]:
325
325
  """
326
- The Payment type of gateway. Valid values: `PayAsYouGo`.
326
+ The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
327
327
  """
328
328
  return pulumi.get(self, "payment_type")
329
329
 
@@ -335,7 +335,7 @@ class _GatewayState:
335
335
  @pulumi.getter(name="publicNetworkBandwidth")
336
336
  def public_network_bandwidth(self) -> Optional[pulumi.Input[int]]:
337
337
  """
338
- The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
338
+ The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
339
339
  """
340
340
  return pulumi.get(self, "public_network_bandwidth")
341
341
 
@@ -347,7 +347,7 @@ class _GatewayState:
347
347
  @pulumi.getter(name="reasonDetail")
348
348
  def reason_detail(self) -> Optional[pulumi.Input[str]]:
349
349
  """
350
- The reason detail of gateway.
350
+ The detailed reason why you want to delete the gateway.
351
351
  """
352
352
  return pulumi.get(self, "reason_detail")
353
353
 
@@ -359,7 +359,7 @@ class _GatewayState:
359
359
  @pulumi.getter(name="reasonType")
360
360
  def reason_type(self) -> Optional[pulumi.Input[str]]:
361
361
  """
362
- The reason type when user deletes the gateway.
362
+ The type of the reason why you want to delete the gateway.
363
363
  """
364
364
  return pulumi.get(self, "reason_type")
365
365
 
@@ -371,7 +371,7 @@ class _GatewayState:
371
371
  @pulumi.getter(name="releaseAfterExpiration")
372
372
  def release_after_expiration(self) -> Optional[pulumi.Input[bool]]:
373
373
  """
374
- Whether to release the gateway due to expiration.
374
+ Specifies whether to release the gateway after the subscription expires. Valid values:
375
375
  """
376
376
  return pulumi.get(self, "release_after_expiration")
377
377
 
@@ -419,7 +419,7 @@ class _GatewayState:
419
419
  @pulumi.getter(name="vswitchId")
420
420
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
421
421
  """
422
- The ID of the vSwitch.
422
+ The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
423
423
  """
424
424
  return pulumi.get(self, "vswitch_id")
425
425
 
@@ -449,10 +449,48 @@ class Gateway(pulumi.CustomResource):
449
449
  """
450
450
  Provides a Cloud Storage Gateway Gateway resource.
451
451
 
452
- For information about Cloud Storage Gateway Gateway and how to use it, see [What is Gateway](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/deploygateway).
452
+ For information about Cloud Storage Gateway Gateway and how to use it, see [What is Gateway](https://www.alibabacloud.com/help/en/csg/developer-reference/api-mnz46x).
453
453
 
454
454
  > **NOTE:** Available since v1.132.0.
455
455
 
456
+ ## Example Usage
457
+
458
+ Basic Usage
459
+
460
+ ```python
461
+ import pulumi
462
+ import pulumi_alicloud as alicloud
463
+ import pulumi_random as random
464
+
465
+ config = pulumi.Config()
466
+ name = config.get("name")
467
+ if name is None:
468
+ name = "terraform-example"
469
+ default = alicloud.get_zones()
470
+ default_integer = random.index.Integer("default",
471
+ min=10000,
472
+ max=99999)
473
+ default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=f"{name}-{default_integer['result']}")
474
+ default_network = alicloud.vpc.Network("default",
475
+ vpc_name=f"{name}-{default_integer['result']}",
476
+ cidr_block="192.168.0.0/16")
477
+ default_switch = alicloud.vpc.Switch("default",
478
+ vswitch_name=f"{name}-{default_integer['result']}",
479
+ vpc_id=default_network.id,
480
+ cidr_block="192.168.192.0/24",
481
+ zone_id=default.zones[0].id)
482
+ default_gateway = alicloud.cloudstoragegateway.Gateway("default",
483
+ storage_bundle_id=default_storage_bundle.id,
484
+ type="File",
485
+ location="Cloud",
486
+ gateway_name=name,
487
+ gateway_class="Standard",
488
+ vswitch_id=default_switch.id,
489
+ public_network_bandwidth=50,
490
+ payment_type="PayAsYouGo",
491
+ description=name)
492
+ ```
493
+
456
494
  ## Import
457
495
 
458
496
  Cloud Storage Gateway Gateway can be imported using the id, e.g.
@@ -464,17 +502,17 @@ class Gateway(pulumi.CustomResource):
464
502
  :param str resource_name: The name of the resource.
465
503
  :param pulumi.ResourceOptions opts: Options for the resource.
466
504
  :param pulumi.Input[str] description: The description of the gateway.
467
- :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
468
- :param pulumi.Input[str] gateway_name: The name of the gateway.
505
+ :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
506
+ :param pulumi.Input[str] gateway_name: The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
469
507
  :param pulumi.Input[str] location: The location of the gateway. Valid values: `Cloud`, `On_Premise`.
470
- :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`.
471
- :param pulumi.Input[int] public_network_bandwidth: The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
472
- :param pulumi.Input[str] reason_detail: The reason detail of gateway.
473
- :param pulumi.Input[str] reason_type: The reason type when user deletes the gateway.
474
- :param pulumi.Input[bool] release_after_expiration: Whether to release the gateway due to expiration.
508
+ :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
509
+ :param pulumi.Input[int] public_network_bandwidth: The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
510
+ :param pulumi.Input[str] reason_detail: The detailed reason why you want to delete the gateway.
511
+ :param pulumi.Input[str] reason_type: The type of the reason why you want to delete the gateway.
512
+ :param pulumi.Input[bool] release_after_expiration: Specifies whether to release the gateway after the subscription expires. Valid values:
475
513
  :param pulumi.Input[str] storage_bundle_id: The ID of the gateway cluster.
476
514
  :param pulumi.Input[str] type: The type of the gateway. Valid values: `File`, `Iscsi`.
477
- :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
515
+ :param pulumi.Input[str] vswitch_id: The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
478
516
  """
479
517
  ...
480
518
  @overload
@@ -485,10 +523,48 @@ class Gateway(pulumi.CustomResource):
485
523
  """
486
524
  Provides a Cloud Storage Gateway Gateway resource.
487
525
 
488
- For information about Cloud Storage Gateway Gateway and how to use it, see [What is Gateway](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/deploygateway).
526
+ For information about Cloud Storage Gateway Gateway and how to use it, see [What is Gateway](https://www.alibabacloud.com/help/en/csg/developer-reference/api-mnz46x).
489
527
 
490
528
  > **NOTE:** Available since v1.132.0.
491
529
 
530
+ ## Example Usage
531
+
532
+ Basic Usage
533
+
534
+ ```python
535
+ import pulumi
536
+ import pulumi_alicloud as alicloud
537
+ import pulumi_random as random
538
+
539
+ config = pulumi.Config()
540
+ name = config.get("name")
541
+ if name is None:
542
+ name = "terraform-example"
543
+ default = alicloud.get_zones()
544
+ default_integer = random.index.Integer("default",
545
+ min=10000,
546
+ max=99999)
547
+ default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=f"{name}-{default_integer['result']}")
548
+ default_network = alicloud.vpc.Network("default",
549
+ vpc_name=f"{name}-{default_integer['result']}",
550
+ cidr_block="192.168.0.0/16")
551
+ default_switch = alicloud.vpc.Switch("default",
552
+ vswitch_name=f"{name}-{default_integer['result']}",
553
+ vpc_id=default_network.id,
554
+ cidr_block="192.168.192.0/24",
555
+ zone_id=default.zones[0].id)
556
+ default_gateway = alicloud.cloudstoragegateway.Gateway("default",
557
+ storage_bundle_id=default_storage_bundle.id,
558
+ type="File",
559
+ location="Cloud",
560
+ gateway_name=name,
561
+ gateway_class="Standard",
562
+ vswitch_id=default_switch.id,
563
+ public_network_bandwidth=50,
564
+ payment_type="PayAsYouGo",
565
+ description=name)
566
+ ```
567
+
492
568
  ## Import
493
569
 
494
570
  Cloud Storage Gateway Gateway can be imported using the id, e.g.
@@ -585,18 +661,18 @@ class Gateway(pulumi.CustomResource):
585
661
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
586
662
  :param pulumi.ResourceOptions opts: Options for the resource.
587
663
  :param pulumi.Input[str] description: The description of the gateway.
588
- :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
589
- :param pulumi.Input[str] gateway_name: The name of the gateway.
664
+ :param pulumi.Input[str] gateway_class: The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
665
+ :param pulumi.Input[str] gateway_name: The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
590
666
  :param pulumi.Input[str] location: The location of the gateway. Valid values: `Cloud`, `On_Premise`.
591
- :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`.
592
- :param pulumi.Input[int] public_network_bandwidth: The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
593
- :param pulumi.Input[str] reason_detail: The reason detail of gateway.
594
- :param pulumi.Input[str] reason_type: The reason type when user deletes the gateway.
595
- :param pulumi.Input[bool] release_after_expiration: Whether to release the gateway due to expiration.
667
+ :param pulumi.Input[str] payment_type: The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
668
+ :param pulumi.Input[int] public_network_bandwidth: The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
669
+ :param pulumi.Input[str] reason_detail: The detailed reason why you want to delete the gateway.
670
+ :param pulumi.Input[str] reason_type: The type of the reason why you want to delete the gateway.
671
+ :param pulumi.Input[bool] release_after_expiration: Specifies whether to release the gateway after the subscription expires. Valid values:
596
672
  :param pulumi.Input[str] status: The status of the Gateway.
597
673
  :param pulumi.Input[str] storage_bundle_id: The ID of the gateway cluster.
598
674
  :param pulumi.Input[str] type: The type of the gateway. Valid values: `File`, `Iscsi`.
599
- :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
675
+ :param pulumi.Input[str] vswitch_id: The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
600
676
  """
601
677
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
602
678
 
@@ -629,7 +705,7 @@ class Gateway(pulumi.CustomResource):
629
705
  @pulumi.getter(name="gatewayClass")
630
706
  def gateway_class(self) -> pulumi.Output[Optional[str]]:
631
707
  """
632
- The specification of the gateway. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
708
+ The specification of the gateway. Valid values: `Basic`, `Standard`, `Enhanced`, `Advanced`. **NOTE:** If `location` is set to `Cloud`, `gateway_class` is required. Otherwise, `gateway_class` will be ignored. If `payment_type` is set to `Subscription`, `gateway_class` cannot be modified.
633
709
  """
634
710
  return pulumi.get(self, "gateway_class")
635
711
 
@@ -637,7 +713,7 @@ class Gateway(pulumi.CustomResource):
637
713
  @pulumi.getter(name="gatewayName")
638
714
  def gateway_name(self) -> pulumi.Output[str]:
639
715
  """
640
- The name of the gateway.
716
+ The name of the gateway. The name must be `1` to `60` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
641
717
  """
642
718
  return pulumi.get(self, "gateway_name")
643
719
 
@@ -653,7 +729,7 @@ class Gateway(pulumi.CustomResource):
653
729
  @pulumi.getter(name="paymentType")
654
730
  def payment_type(self) -> pulumi.Output[Optional[str]]:
655
731
  """
656
- The Payment type of gateway. Valid values: `PayAsYouGo`.
732
+ The Payment type of gateway. Valid values: `PayAsYouGo`, `Subscription`. **NOTE:** From version 1.233.0, `payment_type` can be set to `Subscription`.
657
733
  """
658
734
  return pulumi.get(self, "payment_type")
659
735
 
@@ -661,7 +737,7 @@ class Gateway(pulumi.CustomResource):
661
737
  @pulumi.getter(name="publicNetworkBandwidth")
662
738
  def public_network_bandwidth(self) -> pulumi.Output[int]:
663
739
  """
664
- The public network bandwidth of gateway. Default value: `5`. Valid values: `5` to `200`.
740
+ The public bandwidth of the gateway. Default value: `5`. Valid values: `5` to `200`. **NOTE:** `public_network_bandwidth` is only valid when `location` is `Cloud`. If `payment_type` is set to `Subscription`, `public_network_bandwidth` cannot be modified.
665
741
  """
666
742
  return pulumi.get(self, "public_network_bandwidth")
667
743
 
@@ -669,7 +745,7 @@ class Gateway(pulumi.CustomResource):
669
745
  @pulumi.getter(name="reasonDetail")
670
746
  def reason_detail(self) -> pulumi.Output[Optional[str]]:
671
747
  """
672
- The reason detail of gateway.
748
+ The detailed reason why you want to delete the gateway.
673
749
  """
674
750
  return pulumi.get(self, "reason_detail")
675
751
 
@@ -677,7 +753,7 @@ class Gateway(pulumi.CustomResource):
677
753
  @pulumi.getter(name="reasonType")
678
754
  def reason_type(self) -> pulumi.Output[Optional[str]]:
679
755
  """
680
- The reason type when user deletes the gateway.
756
+ The type of the reason why you want to delete the gateway.
681
757
  """
682
758
  return pulumi.get(self, "reason_type")
683
759
 
@@ -685,7 +761,7 @@ class Gateway(pulumi.CustomResource):
685
761
  @pulumi.getter(name="releaseAfterExpiration")
686
762
  def release_after_expiration(self) -> pulumi.Output[Optional[bool]]:
687
763
  """
688
- Whether to release the gateway due to expiration.
764
+ Specifies whether to release the gateway after the subscription expires. Valid values:
689
765
  """
690
766
  return pulumi.get(self, "release_after_expiration")
691
767
 
@@ -717,7 +793,7 @@ class Gateway(pulumi.CustomResource):
717
793
  @pulumi.getter(name="vswitchId")
718
794
  def vswitch_id(self) -> pulumi.Output[Optional[str]]:
719
795
  """
720
- The ID of the vSwitch.
796
+ The ID of the VSwitch. **NOTE:** If `location` is set to `Cloud`, `vswitch_id` is required. Otherwise, `vswitch_id` will be ignored.
721
797
  """
722
798
  return pulumi.get(self, "vswitch_id")
723
799
 
@@ -2304,7 +2304,7 @@ if not MYPY:
2304
2304
  class ManagedKubernetesOperationPolicyClusterAutoUpgradeArgsDict(TypedDict):
2305
2305
  channel: NotRequired[pulumi.Input[str]]
2306
2306
  """
2307
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
2307
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
2308
2308
 
2309
2309
  for example:
2310
2310
  ```
@@ -2329,7 +2329,7 @@ class ManagedKubernetesOperationPolicyClusterAutoUpgradeArgs:
2329
2329
  channel: Optional[pulumi.Input[str]] = None,
2330
2330
  enabled: Optional[pulumi.Input[bool]] = None):
2331
2331
  """
2332
- :param pulumi.Input[str] channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
2332
+ :param pulumi.Input[str] channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
2333
2333
 
2334
2334
  for example:
2335
2335
  ```
@@ -2351,7 +2351,7 @@ class ManagedKubernetesOperationPolicyClusterAutoUpgradeArgs:
2351
2351
  @pulumi.getter
2352
2352
  def channel(self) -> Optional[pulumi.Input[str]]:
2353
2353
  """
2354
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
2354
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
2355
2355
 
2356
2356
  for example:
2357
2357
  ```
@@ -4427,7 +4427,7 @@ if not MYPY:
4427
4427
  class ServerlessKubernetesOperationPolicyClusterAutoUpgradeArgsDict(TypedDict):
4428
4428
  channel: NotRequired[pulumi.Input[str]]
4429
4429
  """
4430
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
4430
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
4431
4431
 
4432
4432
  for example:
4433
4433
  ```
@@ -4452,7 +4452,7 @@ class ServerlessKubernetesOperationPolicyClusterAutoUpgradeArgs:
4452
4452
  channel: Optional[pulumi.Input[str]] = None,
4453
4453
  enabled: Optional[pulumi.Input[bool]] = None):
4454
4454
  """
4455
- :param pulumi.Input[str] channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
4455
+ :param pulumi.Input[str] channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
4456
4456
 
4457
4457
  for example:
4458
4458
  ```
@@ -4474,7 +4474,7 @@ class ServerlessKubernetesOperationPolicyClusterAutoUpgradeArgs:
4474
4474
  @pulumi.getter
4475
4475
  def channel(self) -> Optional[pulumi.Input[str]]:
4476
4476
  """
4477
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
4477
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
4478
4478
 
4479
4479
  for example:
4480
4480
  ```
@@ -1729,7 +1729,7 @@ class ManagedKubernetesOperationPolicyClusterAutoUpgrade(dict):
1729
1729
  channel: Optional[str] = None,
1730
1730
  enabled: Optional[bool] = None):
1731
1731
  """
1732
- :param str channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
1732
+ :param str channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
1733
1733
 
1734
1734
  for example:
1735
1735
  ```
@@ -1751,7 +1751,7 @@ class ManagedKubernetesOperationPolicyClusterAutoUpgrade(dict):
1751
1751
  @pulumi.getter
1752
1752
  def channel(self) -> Optional[str]:
1753
1753
  """
1754
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
1754
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
1755
1755
 
1756
1756
  for example:
1757
1757
  ```
@@ -3355,7 +3355,7 @@ class ServerlessKubernetesOperationPolicyClusterAutoUpgrade(dict):
3355
3355
  channel: Optional[str] = None,
3356
3356
  enabled: Optional[bool] = None):
3357
3357
  """
3358
- :param str channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
3358
+ :param str channel: The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
3359
3359
 
3360
3360
  for example:
3361
3361
  ```
@@ -3377,7 +3377,7 @@ class ServerlessKubernetesOperationPolicyClusterAutoUpgrade(dict):
3377
3377
  @pulumi.getter
3378
3378
  def channel(self) -> Optional[str]:
3379
3379
  """
3380
- The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapic`.
3380
+ The automatic cluster upgrade channel. Valid values: `patch`, `stable`, `rapid`.
3381
3381
 
3382
3382
  for example:
3383
3383
  ```
@@ -2508,7 +2508,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2508
2508
 
2509
2509
  @property
2510
2510
  @pulumi.getter(name="internetMaxBandwidthIn")
2511
- def internet_max_bandwidth_in(self) -> pulumi.Output[int]:
2511
+ def internet_max_bandwidth_in(self) -> pulumi.Output[Optional[int]]:
2512
2512
  """
2513
2513
  Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
2514
2514
  """