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
@@ -30,13 +30,14 @@ class BandwidthPackageArgs:
30
30
  promotion_option_no: Optional[pulumi.Input[str]] = None,
31
31
  ratio: Optional[pulumi.Input[int]] = None,
32
32
  renewal_status: Optional[pulumi.Input[str]] = None,
33
+ resource_group_id: Optional[pulumi.Input[str]] = None,
33
34
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
34
35
  """
35
36
  The set of arguments for constructing a BandwidthPackage resource.
36
37
  :param pulumi.Input[int] bandwidth: The bandwidth value of bandwidth packet.
37
38
  :param pulumi.Input[str] type: The type of the bandwidth packet. China station only supports return to basic. Valid values: `Basic`, `CrossDomain`.
38
39
  :param pulumi.Input[bool] auto_pay: Whether to pay automatically. Valid values:
39
- :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
40
+ :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
40
41
  :param pulumi.Input[bool] auto_use_coupon: Whether use vouchers. Default value: `false`. Valid values:
41
42
  :param pulumi.Input[str] bandwidth_package_name: The name of the bandwidth packet.
42
43
  :param pulumi.Input[str] bandwidth_type: The bandwidth type of the bandwidth. Valid values: `Advanced`, `Basic`, `Enhanced`. If `type` is set to `Basic`, this parameter is required.
@@ -53,6 +54,7 @@ class BandwidthPackageArgs:
53
54
  - `AutoRenewal`: Enable auto renewal.
54
55
  - `Normal`: Disable auto renewal.
55
56
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
57
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
56
58
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
57
59
  """
58
60
  pulumi.set(__self__, "bandwidth", bandwidth)
@@ -85,6 +87,8 @@ class BandwidthPackageArgs:
85
87
  pulumi.set(__self__, "ratio", ratio)
86
88
  if renewal_status is not None:
87
89
  pulumi.set(__self__, "renewal_status", renewal_status)
90
+ if resource_group_id is not None:
91
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
88
92
  if tags is not None:
89
93
  pulumi.set(__self__, "tags", tags)
90
94
 
@@ -128,7 +132,7 @@ class BandwidthPackageArgs:
128
132
  @pulumi.getter(name="autoRenewDuration")
129
133
  def auto_renew_duration(self) -> Optional[pulumi.Input[int]]:
130
134
  """
131
- Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
135
+ Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
132
136
  """
133
137
  return pulumi.get(self, "auto_renew_duration")
134
138
 
@@ -284,6 +288,18 @@ class BandwidthPackageArgs:
284
288
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
285
289
  pulumi.set(self, "renewal_status", value)
286
290
 
291
+ @property
292
+ @pulumi.getter(name="resourceGroupId")
293
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
294
+ """
295
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
296
+ """
297
+ return pulumi.get(self, "resource_group_id")
298
+
299
+ @resource_group_id.setter
300
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
301
+ pulumi.set(self, "resource_group_id", value)
302
+
287
303
  @property
288
304
  @pulumi.getter
289
305
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
@@ -315,13 +331,14 @@ class _BandwidthPackageState:
315
331
  promotion_option_no: Optional[pulumi.Input[str]] = None,
316
332
  ratio: Optional[pulumi.Input[int]] = None,
317
333
  renewal_status: Optional[pulumi.Input[str]] = None,
334
+ resource_group_id: Optional[pulumi.Input[str]] = None,
318
335
  status: Optional[pulumi.Input[str]] = None,
319
336
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
320
337
  type: Optional[pulumi.Input[str]] = None):
321
338
  """
322
339
  Input properties used for looking up and filtering BandwidthPackage resources.
323
340
  :param pulumi.Input[bool] auto_pay: Whether to pay automatically. Valid values:
324
- :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
341
+ :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
325
342
  :param pulumi.Input[bool] auto_use_coupon: Whether use vouchers. Default value: `false`. Valid values:
326
343
  :param pulumi.Input[int] bandwidth: The bandwidth value of bandwidth packet.
327
344
  :param pulumi.Input[str] bandwidth_package_name: The name of the bandwidth packet.
@@ -339,6 +356,7 @@ class _BandwidthPackageState:
339
356
  - `AutoRenewal`: Enable auto renewal.
340
357
  - `Normal`: Disable auto renewal.
341
358
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
359
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
342
360
  :param pulumi.Input[str] status: The status of the Bandwidth Package.
343
361
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
344
362
  :param pulumi.Input[str] type: The type of the bandwidth packet. China station only supports return to basic. Valid values: `Basic`, `CrossDomain`.
@@ -373,6 +391,8 @@ class _BandwidthPackageState:
373
391
  pulumi.set(__self__, "ratio", ratio)
374
392
  if renewal_status is not None:
375
393
  pulumi.set(__self__, "renewal_status", renewal_status)
394
+ if resource_group_id is not None:
395
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
376
396
  if status is not None:
377
397
  pulumi.set(__self__, "status", status)
378
398
  if tags is not None:
@@ -396,7 +416,7 @@ class _BandwidthPackageState:
396
416
  @pulumi.getter(name="autoRenewDuration")
397
417
  def auto_renew_duration(self) -> Optional[pulumi.Input[int]]:
398
418
  """
399
- Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
419
+ Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
400
420
  """
401
421
  return pulumi.get(self, "auto_renew_duration")
402
422
 
@@ -564,6 +584,18 @@ class _BandwidthPackageState:
564
584
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
565
585
  pulumi.set(self, "renewal_status", value)
566
586
 
587
+ @property
588
+ @pulumi.getter(name="resourceGroupId")
589
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
590
+ """
591
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
592
+ """
593
+ return pulumi.get(self, "resource_group_id")
594
+
595
+ @resource_group_id.setter
596
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
597
+ pulumi.set(self, "resource_group_id", value)
598
+
567
599
  @property
568
600
  @pulumi.getter
569
601
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -621,6 +653,7 @@ class BandwidthPackage(pulumi.CustomResource):
621
653
  promotion_option_no: Optional[pulumi.Input[str]] = None,
622
654
  ratio: Optional[pulumi.Input[int]] = None,
623
655
  renewal_status: Optional[pulumi.Input[str]] = None,
656
+ resource_group_id: Optional[pulumi.Input[str]] = None,
624
657
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
625
658
  type: Optional[pulumi.Input[str]] = None,
626
659
  __props__=None):
@@ -646,8 +679,7 @@ class BandwidthPackage(pulumi.CustomResource):
646
679
  type="Basic",
647
680
  bandwidth_type="Basic",
648
681
  duration="1",
649
- auto_pay=True,
650
- ratio=30)
682
+ auto_pay=True)
651
683
  ```
652
684
 
653
685
  ## Import
@@ -661,7 +693,7 @@ class BandwidthPackage(pulumi.CustomResource):
661
693
  :param str resource_name: The name of the resource.
662
694
  :param pulumi.ResourceOptions opts: Options for the resource.
663
695
  :param pulumi.Input[bool] auto_pay: Whether to pay automatically. Valid values:
664
- :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
696
+ :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
665
697
  :param pulumi.Input[bool] auto_use_coupon: Whether use vouchers. Default value: `false`. Valid values:
666
698
  :param pulumi.Input[int] bandwidth: The bandwidth value of bandwidth packet.
667
699
  :param pulumi.Input[str] bandwidth_package_name: The name of the bandwidth packet.
@@ -679,6 +711,7 @@ class BandwidthPackage(pulumi.CustomResource):
679
711
  - `AutoRenewal`: Enable auto renewal.
680
712
  - `Normal`: Disable auto renewal.
681
713
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
714
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
682
715
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
683
716
  :param pulumi.Input[str] type: The type of the bandwidth packet. China station only supports return to basic. Valid values: `Basic`, `CrossDomain`.
684
717
  """
@@ -710,8 +743,7 @@ class BandwidthPackage(pulumi.CustomResource):
710
743
  type="Basic",
711
744
  bandwidth_type="Basic",
712
745
  duration="1",
713
- auto_pay=True,
714
- ratio=30)
746
+ auto_pay=True)
715
747
  ```
716
748
 
717
749
  ## Import
@@ -752,6 +784,7 @@ class BandwidthPackage(pulumi.CustomResource):
752
784
  promotion_option_no: Optional[pulumi.Input[str]] = None,
753
785
  ratio: Optional[pulumi.Input[int]] = None,
754
786
  renewal_status: Optional[pulumi.Input[str]] = None,
787
+ resource_group_id: Optional[pulumi.Input[str]] = None,
755
788
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
756
789
  type: Optional[pulumi.Input[str]] = None,
757
790
  __props__=None):
@@ -780,6 +813,7 @@ class BandwidthPackage(pulumi.CustomResource):
780
813
  __props__.__dict__["promotion_option_no"] = promotion_option_no
781
814
  __props__.__dict__["ratio"] = ratio
782
815
  __props__.__dict__["renewal_status"] = renewal_status
816
+ __props__.__dict__["resource_group_id"] = resource_group_id
783
817
  __props__.__dict__["tags"] = tags
784
818
  if type is None and not opts.urn:
785
819
  raise TypeError("Missing required property 'type'")
@@ -810,6 +844,7 @@ class BandwidthPackage(pulumi.CustomResource):
810
844
  promotion_option_no: Optional[pulumi.Input[str]] = None,
811
845
  ratio: Optional[pulumi.Input[int]] = None,
812
846
  renewal_status: Optional[pulumi.Input[str]] = None,
847
+ resource_group_id: Optional[pulumi.Input[str]] = None,
813
848
  status: Optional[pulumi.Input[str]] = None,
814
849
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
815
850
  type: Optional[pulumi.Input[str]] = None) -> 'BandwidthPackage':
@@ -821,7 +856,7 @@ class BandwidthPackage(pulumi.CustomResource):
821
856
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
822
857
  :param pulumi.ResourceOptions opts: Options for the resource.
823
858
  :param pulumi.Input[bool] auto_pay: Whether to pay automatically. Valid values:
824
- :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
859
+ :param pulumi.Input[int] auto_renew_duration: Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
825
860
  :param pulumi.Input[bool] auto_use_coupon: Whether use vouchers. Default value: `false`. Valid values:
826
861
  :param pulumi.Input[int] bandwidth: The bandwidth value of bandwidth packet.
827
862
  :param pulumi.Input[str] bandwidth_package_name: The name of the bandwidth packet.
@@ -839,6 +874,7 @@ class BandwidthPackage(pulumi.CustomResource):
839
874
  - `AutoRenewal`: Enable auto renewal.
840
875
  - `Normal`: Disable auto renewal.
841
876
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
877
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
842
878
  :param pulumi.Input[str] status: The status of the Bandwidth Package.
843
879
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
844
880
  :param pulumi.Input[str] type: The type of the bandwidth packet. China station only supports return to basic. Valid values: `Basic`, `CrossDomain`.
@@ -862,6 +898,7 @@ class BandwidthPackage(pulumi.CustomResource):
862
898
  __props__.__dict__["promotion_option_no"] = promotion_option_no
863
899
  __props__.__dict__["ratio"] = ratio
864
900
  __props__.__dict__["renewal_status"] = renewal_status
901
+ __props__.__dict__["resource_group_id"] = resource_group_id
865
902
  __props__.__dict__["status"] = status
866
903
  __props__.__dict__["tags"] = tags
867
904
  __props__.__dict__["type"] = type
@@ -877,9 +914,9 @@ class BandwidthPackage(pulumi.CustomResource):
877
914
 
878
915
  @property
879
916
  @pulumi.getter(name="autoRenewDuration")
880
- def auto_renew_duration(self) -> pulumi.Output[Optional[int]]:
917
+ def auto_renew_duration(self) -> pulumi.Output[int]:
881
918
  """
882
- Auto renewal period of a bandwidth packet, in the unit of month. The value range is 1-12.
919
+ Auto renewal period of a bandwidth packet, in the unit of month. Valid values: `1` to `12`.
883
920
  """
884
921
  return pulumi.get(self, "auto_renew_duration")
885
922
 
@@ -991,6 +1028,14 @@ class BandwidthPackage(pulumi.CustomResource):
991
1028
  """
992
1029
  return pulumi.get(self, "renewal_status")
993
1030
 
1031
+ @property
1032
+ @pulumi.getter(name="resourceGroupId")
1033
+ def resource_group_id(self) -> pulumi.Output[str]:
1034
+ """
1035
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
1036
+ """
1037
+ return pulumi.get(self, "resource_group_id")
1038
+
994
1039
  @property
995
1040
  @pulumi.getter
996
1041
  def status(self) -> pulumi.Output[str]:
@@ -18,8 +18,8 @@ class BandwidthPackageAttachmentArgs:
18
18
  bandwidth_package_id: pulumi.Input[str]):
19
19
  """
20
20
  The set of arguments for constructing a BandwidthPackageAttachment resource.
21
- :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
22
- :param pulumi.Input[str] bandwidth_package_id: The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
21
+ :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance.
22
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
23
23
  """
24
24
  pulumi.set(__self__, "accelerator_id", accelerator_id)
25
25
  pulumi.set(__self__, "bandwidth_package_id", bandwidth_package_id)
@@ -28,7 +28,7 @@ class BandwidthPackageAttachmentArgs:
28
28
  @pulumi.getter(name="acceleratorId")
29
29
  def accelerator_id(self) -> pulumi.Input[str]:
30
30
  """
31
- The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
31
+ The ID of the Global Accelerator instance.
32
32
  """
33
33
  return pulumi.get(self, "accelerator_id")
34
34
 
@@ -40,7 +40,7 @@ class BandwidthPackageAttachmentArgs:
40
40
  @pulumi.getter(name="bandwidthPackageId")
41
41
  def bandwidth_package_id(self) -> pulumi.Input[str]:
42
42
  """
43
- The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
43
+ The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
44
44
  """
45
45
  return pulumi.get(self, "bandwidth_package_id")
46
46
 
@@ -58,9 +58,9 @@ class _BandwidthPackageAttachmentState:
58
58
  status: Optional[pulumi.Input[str]] = None):
59
59
  """
60
60
  Input properties used for looking up and filtering BandwidthPackageAttachment resources.
61
- :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
61
+ :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance.
62
62
  :param pulumi.Input[Sequence[pulumi.Input[str]]] accelerators: Accelerators bound with current Bandwidth Package.
63
- :param pulumi.Input[str] bandwidth_package_id: The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
63
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
64
64
  :param pulumi.Input[str] status: State of Bandwidth Package.
65
65
  """
66
66
  if accelerator_id is not None:
@@ -76,7 +76,7 @@ class _BandwidthPackageAttachmentState:
76
76
  @pulumi.getter(name="acceleratorId")
77
77
  def accelerator_id(self) -> Optional[pulumi.Input[str]]:
78
78
  """
79
- The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
79
+ The ID of the Global Accelerator instance.
80
80
  """
81
81
  return pulumi.get(self, "accelerator_id")
82
82
 
@@ -100,7 +100,7 @@ class _BandwidthPackageAttachmentState:
100
100
  @pulumi.getter(name="bandwidthPackageId")
101
101
  def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
102
102
  """
103
- The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
103
+ The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
104
104
  """
105
105
  return pulumi.get(self, "bandwidth_package_id")
106
106
 
@@ -144,34 +144,34 @@ class BandwidthPackageAttachment(pulumi.CustomResource):
144
144
  import pulumi
145
145
  import pulumi_alicloud as alicloud
146
146
 
147
- example = alicloud.ga.Accelerator("example",
147
+ default = alicloud.ga.Accelerator("default",
148
148
  duration=1,
149
149
  auto_use_coupon=True,
150
150
  spec="1")
151
- example_bandwidth_package = alicloud.ga.BandwidthPackage("example",
152
- bandwidth=20,
151
+ default_bandwidth_package = alicloud.ga.BandwidthPackage("default",
152
+ bandwidth=100,
153
153
  type="Basic",
154
154
  bandwidth_type="Basic",
155
- duration="1",
156
- auto_pay=True,
155
+ payment_type="PayAsYouGo",
156
+ billing_type="PayBy95",
157
157
  ratio=30)
158
- example_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("example",
159
- accelerator_id=example.id,
160
- bandwidth_package_id=example_bandwidth_package.id)
158
+ default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("default",
159
+ accelerator_id=default.id,
160
+ bandwidth_package_id=default_bandwidth_package.id)
161
161
  ```
162
162
 
163
163
  ## Import
164
164
 
165
- Ga Bandwidth Package Attachment can be imported using the id. Format to `<accelerator_id>:<bandwidth_package_id>`, e.g.
165
+ Ga Bandwidth Package Attachment can be imported using the id, e.g.
166
166
 
167
167
  ```sh
168
- $ pulumi import alicloud:ga/bandwidthPackageAttachment:BandwidthPackageAttachment example your_accelerator_id:your_bandwidth_package_id
168
+ $ pulumi import alicloud:ga/bandwidthPackageAttachment:BandwidthPackageAttachment example <accelerator_id>:<bandwidth_package_id>
169
169
  ```
170
170
 
171
171
  :param str resource_name: The name of the resource.
172
172
  :param pulumi.ResourceOptions opts: Options for the resource.
173
- :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
174
- :param pulumi.Input[str] bandwidth_package_id: The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
173
+ :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance.
174
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
175
175
  """
176
176
  ...
177
177
  @overload
@@ -194,28 +194,28 @@ class BandwidthPackageAttachment(pulumi.CustomResource):
194
194
  import pulumi
195
195
  import pulumi_alicloud as alicloud
196
196
 
197
- example = alicloud.ga.Accelerator("example",
197
+ default = alicloud.ga.Accelerator("default",
198
198
  duration=1,
199
199
  auto_use_coupon=True,
200
200
  spec="1")
201
- example_bandwidth_package = alicloud.ga.BandwidthPackage("example",
202
- bandwidth=20,
201
+ default_bandwidth_package = alicloud.ga.BandwidthPackage("default",
202
+ bandwidth=100,
203
203
  type="Basic",
204
204
  bandwidth_type="Basic",
205
- duration="1",
206
- auto_pay=True,
205
+ payment_type="PayAsYouGo",
206
+ billing_type="PayBy95",
207
207
  ratio=30)
208
- example_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("example",
209
- accelerator_id=example.id,
210
- bandwidth_package_id=example_bandwidth_package.id)
208
+ default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("default",
209
+ accelerator_id=default.id,
210
+ bandwidth_package_id=default_bandwidth_package.id)
211
211
  ```
212
212
 
213
213
  ## Import
214
214
 
215
- Ga Bandwidth Package Attachment can be imported using the id. Format to `<accelerator_id>:<bandwidth_package_id>`, e.g.
215
+ Ga Bandwidth Package Attachment can be imported using the id, e.g.
216
216
 
217
217
  ```sh
218
- $ pulumi import alicloud:ga/bandwidthPackageAttachment:BandwidthPackageAttachment example your_accelerator_id:your_bandwidth_package_id
218
+ $ pulumi import alicloud:ga/bandwidthPackageAttachment:BandwidthPackageAttachment example <accelerator_id>:<bandwidth_package_id>
219
219
  ```
220
220
 
221
221
  :param str resource_name: The name of the resource.
@@ -273,9 +273,9 @@ class BandwidthPackageAttachment(pulumi.CustomResource):
273
273
  :param str resource_name: The unique name of the resulting resource.
274
274
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
275
275
  :param pulumi.ResourceOptions opts: Options for the resource.
276
- :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
276
+ :param pulumi.Input[str] accelerator_id: The ID of the Global Accelerator instance.
277
277
  :param pulumi.Input[Sequence[pulumi.Input[str]]] accelerators: Accelerators bound with current Bandwidth Package.
278
- :param pulumi.Input[str] bandwidth_package_id: The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
278
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
279
279
  :param pulumi.Input[str] status: State of Bandwidth Package.
280
280
  """
281
281
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -292,7 +292,7 @@ class BandwidthPackageAttachment(pulumi.CustomResource):
292
292
  @pulumi.getter(name="acceleratorId")
293
293
  def accelerator_id(self) -> pulumi.Output[str]:
294
294
  """
295
- The ID of the Global Accelerator instance from which you want to disassociate the bandwidth plan.
295
+ The ID of the Global Accelerator instance.
296
296
  """
297
297
  return pulumi.get(self, "accelerator_id")
298
298
 
@@ -308,7 +308,7 @@ class BandwidthPackageAttachment(pulumi.CustomResource):
308
308
  @pulumi.getter(name="bandwidthPackageId")
309
309
  def bandwidth_package_id(self) -> pulumi.Output[str]:
310
310
  """
311
- The ID of the bandwidth plan to disassociate. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
311
+ The ID of the Bandwidth Package. **NOTE:** From version 1.192.0, `bandwidth_package_id` can be modified.
312
312
  """
313
313
  return pulumi.get(self, "bandwidth_package_id")
314
314
 
@@ -26,6 +26,7 @@ class BasicAcceleratorArgs:
26
26
  payment_type: Optional[pulumi.Input[str]] = None,
27
27
  pricing_cycle: Optional[pulumi.Input[str]] = None,
28
28
  promotion_option_no: Optional[pulumi.Input[str]] = None,
29
+ resource_group_id: Optional[pulumi.Input[str]] = None,
29
30
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
30
31
  """
31
32
  The set of arguments for constructing a BasicAccelerator resource.
@@ -43,6 +44,7 @@ class BasicAcceleratorArgs:
43
44
  :param pulumi.Input[str] payment_type: The payment type. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
44
45
  :param pulumi.Input[str] pricing_cycle: The billing cycle. Default value: `Month`. Valid values: `Month`, `Year`.
45
46
  :param pulumi.Input[str] promotion_option_no: The code of the coupon. **NOTE:** The `promotion_option_no` takes effect only for accounts registered on the international site (alibabacloud.com).
47
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
46
48
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
47
49
  """
48
50
  if auto_pay is not None:
@@ -69,6 +71,8 @@ class BasicAcceleratorArgs:
69
71
  pulumi.set(__self__, "pricing_cycle", pricing_cycle)
70
72
  if promotion_option_no is not None:
71
73
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
74
+ if resource_group_id is not None:
75
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
72
76
  if tags is not None:
73
77
  pulumi.set(__self__, "tags", tags)
74
78
 
@@ -218,6 +222,18 @@ class BasicAcceleratorArgs:
218
222
  def promotion_option_no(self, value: Optional[pulumi.Input[str]]):
219
223
  pulumi.set(self, "promotion_option_no", value)
220
224
 
225
+ @property
226
+ @pulumi.getter(name="resourceGroupId")
227
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
228
+ """
229
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
230
+ """
231
+ return pulumi.get(self, "resource_group_id")
232
+
233
+ @resource_group_id.setter
234
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
235
+ pulumi.set(self, "resource_group_id", value)
236
+
221
237
  @property
222
238
  @pulumi.getter
223
239
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
@@ -246,6 +262,7 @@ class _BasicAcceleratorState:
246
262
  payment_type: Optional[pulumi.Input[str]] = None,
247
263
  pricing_cycle: Optional[pulumi.Input[str]] = None,
248
264
  promotion_option_no: Optional[pulumi.Input[str]] = None,
265
+ resource_group_id: Optional[pulumi.Input[str]] = None,
249
266
  status: Optional[pulumi.Input[str]] = None,
250
267
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
251
268
  """
@@ -264,6 +281,7 @@ class _BasicAcceleratorState:
264
281
  :param pulumi.Input[str] payment_type: The payment type. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
265
282
  :param pulumi.Input[str] pricing_cycle: The billing cycle. Default value: `Month`. Valid values: `Month`, `Year`.
266
283
  :param pulumi.Input[str] promotion_option_no: The code of the coupon. **NOTE:** The `promotion_option_no` takes effect only for accounts registered on the international site (alibabacloud.com).
284
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
267
285
  :param pulumi.Input[str] status: The status of the Basic Accelerator instance.
268
286
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
269
287
  """
@@ -291,6 +309,8 @@ class _BasicAcceleratorState:
291
309
  pulumi.set(__self__, "pricing_cycle", pricing_cycle)
292
310
  if promotion_option_no is not None:
293
311
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
312
+ if resource_group_id is not None:
313
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
294
314
  if status is not None:
295
315
  pulumi.set(__self__, "status", status)
296
316
  if tags is not None:
@@ -442,6 +462,18 @@ class _BasicAcceleratorState:
442
462
  def promotion_option_no(self, value: Optional[pulumi.Input[str]]):
443
463
  pulumi.set(self, "promotion_option_no", value)
444
464
 
465
+ @property
466
+ @pulumi.getter(name="resourceGroupId")
467
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
468
+ """
469
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
470
+ """
471
+ return pulumi.get(self, "resource_group_id")
472
+
473
+ @resource_group_id.setter
474
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
475
+ pulumi.set(self, "resource_group_id", value)
476
+
445
477
  @property
446
478
  @pulumi.getter
447
479
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -484,6 +516,7 @@ class BasicAccelerator(pulumi.CustomResource):
484
516
  payment_type: Optional[pulumi.Input[str]] = None,
485
517
  pricing_cycle: Optional[pulumi.Input[str]] = None,
486
518
  promotion_option_no: Optional[pulumi.Input[str]] = None,
519
+ resource_group_id: Optional[pulumi.Input[str]] = None,
487
520
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
488
521
  __props__=None):
489
522
  """
@@ -502,13 +535,13 @@ class BasicAccelerator(pulumi.CustomResource):
502
535
  import pulumi_alicloud as alicloud
503
536
 
504
537
  default = alicloud.ga.BasicAccelerator("default",
538
+ bandwidth_billing_type="BandwidthPackage",
539
+ auto_pay=True,
505
540
  duration=1,
506
541
  pricing_cycle="Month",
542
+ auto_use_coupon="true",
507
543
  basic_accelerator_name="tf-example-value",
508
- description="tf-example-value",
509
- bandwidth_billing_type="BandwidthPackage",
510
- auto_pay=True,
511
- auto_use_coupon="true")
544
+ description="tf-example-value")
512
545
  ```
513
546
 
514
547
  ## Import
@@ -535,6 +568,7 @@ class BasicAccelerator(pulumi.CustomResource):
535
568
  :param pulumi.Input[str] payment_type: The payment type. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
536
569
  :param pulumi.Input[str] pricing_cycle: The billing cycle. Default value: `Month`. Valid values: `Month`, `Year`.
537
570
  :param pulumi.Input[str] promotion_option_no: The code of the coupon. **NOTE:** The `promotion_option_no` takes effect only for accounts registered on the international site (alibabacloud.com).
571
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
538
572
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
539
573
  """
540
574
  ...
@@ -559,13 +593,13 @@ class BasicAccelerator(pulumi.CustomResource):
559
593
  import pulumi_alicloud as alicloud
560
594
 
561
595
  default = alicloud.ga.BasicAccelerator("default",
596
+ bandwidth_billing_type="BandwidthPackage",
597
+ auto_pay=True,
562
598
  duration=1,
563
599
  pricing_cycle="Month",
600
+ auto_use_coupon="true",
564
601
  basic_accelerator_name="tf-example-value",
565
- description="tf-example-value",
566
- bandwidth_billing_type="BandwidthPackage",
567
- auto_pay=True,
568
- auto_use_coupon="true")
602
+ description="tf-example-value")
569
603
  ```
570
604
 
571
605
  ## Import
@@ -603,6 +637,7 @@ class BasicAccelerator(pulumi.CustomResource):
603
637
  payment_type: Optional[pulumi.Input[str]] = None,
604
638
  pricing_cycle: Optional[pulumi.Input[str]] = None,
605
639
  promotion_option_no: Optional[pulumi.Input[str]] = None,
640
+ resource_group_id: Optional[pulumi.Input[str]] = None,
606
641
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
607
642
  __props__=None):
608
643
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -625,6 +660,7 @@ class BasicAccelerator(pulumi.CustomResource):
625
660
  __props__.__dict__["payment_type"] = payment_type
626
661
  __props__.__dict__["pricing_cycle"] = pricing_cycle
627
662
  __props__.__dict__["promotion_option_no"] = promotion_option_no
663
+ __props__.__dict__["resource_group_id"] = resource_group_id
628
664
  __props__.__dict__["tags"] = tags
629
665
  __props__.__dict__["status"] = None
630
666
  super(BasicAccelerator, __self__).__init__(
@@ -649,6 +685,7 @@ class BasicAccelerator(pulumi.CustomResource):
649
685
  payment_type: Optional[pulumi.Input[str]] = None,
650
686
  pricing_cycle: Optional[pulumi.Input[str]] = None,
651
687
  promotion_option_no: Optional[pulumi.Input[str]] = None,
688
+ resource_group_id: Optional[pulumi.Input[str]] = None,
652
689
  status: Optional[pulumi.Input[str]] = None,
653
690
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'BasicAccelerator':
654
691
  """
@@ -672,6 +709,7 @@ class BasicAccelerator(pulumi.CustomResource):
672
709
  :param pulumi.Input[str] payment_type: The payment type. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
673
710
  :param pulumi.Input[str] pricing_cycle: The billing cycle. Default value: `Month`. Valid values: `Month`, `Year`.
674
711
  :param pulumi.Input[str] promotion_option_no: The code of the coupon. **NOTE:** The `promotion_option_no` takes effect only for accounts registered on the international site (alibabacloud.com).
712
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
675
713
  :param pulumi.Input[str] status: The status of the Basic Accelerator instance.
676
714
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
677
715
  """
@@ -691,6 +729,7 @@ class BasicAccelerator(pulumi.CustomResource):
691
729
  __props__.__dict__["payment_type"] = payment_type
692
730
  __props__.__dict__["pricing_cycle"] = pricing_cycle
693
731
  __props__.__dict__["promotion_option_no"] = promotion_option_no
732
+ __props__.__dict__["resource_group_id"] = resource_group_id
694
733
  __props__.__dict__["status"] = status
695
734
  __props__.__dict__["tags"] = tags
696
735
  return BasicAccelerator(resource_name, opts=opts, __props__=__props__)
@@ -793,6 +832,14 @@ class BasicAccelerator(pulumi.CustomResource):
793
832
  """
794
833
  return pulumi.get(self, "promotion_option_no")
795
834
 
835
+ @property
836
+ @pulumi.getter(name="resourceGroupId")
837
+ def resource_group_id(self) -> pulumi.Output[str]:
838
+ """
839
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
840
+ """
841
+ return pulumi.get(self, "resource_group_id")
842
+
796
843
  @property
797
844
  @pulumi.getter
798
845
  def status(self) -> pulumi.Output[str]: