pulumi-alicloud 3.58.0a1719956927__py3-none-any.whl → 3.58.0a1720026262__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.

@@ -26,6 +26,7 @@ class AcceleratorArgs:
26
26
  pricing_cycle: Optional[pulumi.Input[str]] = None,
27
27
  promotion_option_no: Optional[pulumi.Input[str]] = None,
28
28
  renewal_status: Optional[pulumi.Input[str]] = None,
29
+ resource_group_id: Optional[pulumi.Input[str]] = None,
29
30
  spec: Optional[pulumi.Input[str]] = None,
30
31
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
31
32
  """
@@ -51,6 +52,7 @@ class AcceleratorArgs:
51
52
  - `AutoRenewal`: Enable auto renewal.
52
53
  - `Normal`: Disable auto renewal.
53
54
  - `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.
55
+ :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.
54
56
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
55
57
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
56
58
  """
@@ -78,6 +80,8 @@ class AcceleratorArgs:
78
80
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
79
81
  if renewal_status is not None:
80
82
  pulumi.set(__self__, "renewal_status", renewal_status)
83
+ if resource_group_id is not None:
84
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
81
85
  if spec is not None:
82
86
  pulumi.set(__self__, "spec", spec)
83
87
  if tags is not None:
@@ -236,6 +240,18 @@ class AcceleratorArgs:
236
240
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
237
241
  pulumi.set(self, "renewal_status", value)
238
242
 
243
+ @property
244
+ @pulumi.getter(name="resourceGroupId")
245
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
248
+ """
249
+ return pulumi.get(self, "resource_group_id")
250
+
251
+ @resource_group_id.setter
252
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "resource_group_id", value)
254
+
239
255
  @property
240
256
  @pulumi.getter
241
257
  def spec(self) -> Optional[pulumi.Input[str]]:
@@ -276,6 +292,7 @@ class _AcceleratorState:
276
292
  pricing_cycle: Optional[pulumi.Input[str]] = None,
277
293
  promotion_option_no: Optional[pulumi.Input[str]] = None,
278
294
  renewal_status: Optional[pulumi.Input[str]] = None,
295
+ resource_group_id: Optional[pulumi.Input[str]] = None,
279
296
  spec: Optional[pulumi.Input[str]] = None,
280
297
  status: Optional[pulumi.Input[str]] = None,
281
298
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
@@ -302,6 +319,7 @@ class _AcceleratorState:
302
319
  - `AutoRenewal`: Enable auto renewal.
303
320
  - `Normal`: Disable auto renewal.
304
321
  - `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.
322
+ :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.
305
323
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
306
324
  :param pulumi.Input[str] status: The status of the GA instance.
307
325
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -330,6 +348,8 @@ class _AcceleratorState:
330
348
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
331
349
  if renewal_status is not None:
332
350
  pulumi.set(__self__, "renewal_status", renewal_status)
351
+ if resource_group_id is not None:
352
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
333
353
  if spec is not None:
334
354
  pulumi.set(__self__, "spec", spec)
335
355
  if status is not None:
@@ -490,6 +510,18 @@ class _AcceleratorState:
490
510
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
491
511
  pulumi.set(self, "renewal_status", value)
492
512
 
513
+ @property
514
+ @pulumi.getter(name="resourceGroupId")
515
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
516
+ """
517
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
518
+ """
519
+ return pulumi.get(self, "resource_group_id")
520
+
521
+ @resource_group_id.setter
522
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
523
+ pulumi.set(self, "resource_group_id", value)
524
+
493
525
  @property
494
526
  @pulumi.getter
495
527
  def spec(self) -> Optional[pulumi.Input[str]]:
@@ -544,6 +576,7 @@ class Accelerator(pulumi.CustomResource):
544
576
  pricing_cycle: Optional[pulumi.Input[str]] = None,
545
577
  promotion_option_no: Optional[pulumi.Input[str]] = None,
546
578
  renewal_status: Optional[pulumi.Input[str]] = None,
579
+ resource_group_id: Optional[pulumi.Input[str]] = None,
547
580
  spec: Optional[pulumi.Input[str]] = None,
548
581
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
549
582
  __props__=None):
@@ -599,6 +632,7 @@ class Accelerator(pulumi.CustomResource):
599
632
  - `AutoRenewal`: Enable auto renewal.
600
633
  - `Normal`: Disable auto renewal.
601
634
  - `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.
635
+ :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.
602
636
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
603
637
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
604
638
  """
@@ -664,6 +698,7 @@ class Accelerator(pulumi.CustomResource):
664
698
  pricing_cycle: Optional[pulumi.Input[str]] = None,
665
699
  promotion_option_no: Optional[pulumi.Input[str]] = None,
666
700
  renewal_status: Optional[pulumi.Input[str]] = None,
701
+ resource_group_id: Optional[pulumi.Input[str]] = None,
667
702
  spec: Optional[pulumi.Input[str]] = None,
668
703
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
669
704
  __props__=None):
@@ -687,6 +722,7 @@ class Accelerator(pulumi.CustomResource):
687
722
  __props__.__dict__["pricing_cycle"] = pricing_cycle
688
723
  __props__.__dict__["promotion_option_no"] = promotion_option_no
689
724
  __props__.__dict__["renewal_status"] = renewal_status
725
+ __props__.__dict__["resource_group_id"] = resource_group_id
690
726
  __props__.__dict__["spec"] = spec
691
727
  __props__.__dict__["tags"] = tags
692
728
  __props__.__dict__["status"] = None
@@ -712,6 +748,7 @@ class Accelerator(pulumi.CustomResource):
712
748
  pricing_cycle: Optional[pulumi.Input[str]] = None,
713
749
  promotion_option_no: Optional[pulumi.Input[str]] = None,
714
750
  renewal_status: Optional[pulumi.Input[str]] = None,
751
+ resource_group_id: Optional[pulumi.Input[str]] = None,
715
752
  spec: Optional[pulumi.Input[str]] = None,
716
753
  status: Optional[pulumi.Input[str]] = None,
717
754
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'Accelerator':
@@ -743,6 +780,7 @@ class Accelerator(pulumi.CustomResource):
743
780
  - `AutoRenewal`: Enable auto renewal.
744
781
  - `Normal`: Disable auto renewal.
745
782
  - `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.
783
+ :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.
746
784
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
747
785
  :param pulumi.Input[str] status: The status of the GA instance.
748
786
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -763,6 +801,7 @@ class Accelerator(pulumi.CustomResource):
763
801
  __props__.__dict__["pricing_cycle"] = pricing_cycle
764
802
  __props__.__dict__["promotion_option_no"] = promotion_option_no
765
803
  __props__.__dict__["renewal_status"] = renewal_status
804
+ __props__.__dict__["resource_group_id"] = resource_group_id
766
805
  __props__.__dict__["spec"] = spec
767
806
  __props__.__dict__["status"] = status
768
807
  __props__.__dict__["tags"] = tags
@@ -873,6 +912,14 @@ class Accelerator(pulumi.CustomResource):
873
912
  """
874
913
  return pulumi.get(self, "renewal_status")
875
914
 
915
+ @property
916
+ @pulumi.getter(name="resourceGroupId")
917
+ def resource_group_id(self) -> pulumi.Output[str]:
918
+ """
919
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
920
+ """
921
+ return pulumi.get(self, "resource_group_id")
922
+
876
923
  @property
877
924
  @pulumi.getter
878
925
  def spec(self) -> pulumi.Output[Optional[str]]:
pulumi_alicloud/ga/acl.py CHANGED
@@ -20,6 +20,7 @@ class AclArgs:
20
20
  acl_entries: Optional[pulumi.Input[Sequence[pulumi.Input['AclAclEntryArgs']]]] = None,
21
21
  acl_name: Optional[pulumi.Input[str]] = None,
22
22
  dry_run: Optional[pulumi.Input[bool]] = None,
23
+ resource_group_id: Optional[pulumi.Input[str]] = None,
23
24
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
24
25
  """
25
26
  The set of arguments for constructing a Acl resource.
@@ -27,6 +28,7 @@ class AclArgs:
27
28
  :param pulumi.Input[Sequence[pulumi.Input['AclAclEntryArgs']]] acl_entries: The entries of the Acl. See `acl_entries` below. **NOTE:** "Field `acl_entries` has been deprecated from provider version 1.190.0 and it will be removed in the future version. Please use the new resource `ga.AclEntryAttachment`."
28
29
  :param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
29
30
  :param pulumi.Input[bool] dry_run: The dry run.
31
+ :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.
30
32
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
31
33
  """
32
34
  pulumi.set(__self__, "address_ip_version", address_ip_version)
@@ -39,6 +41,8 @@ class AclArgs:
39
41
  pulumi.set(__self__, "acl_name", acl_name)
40
42
  if dry_run is not None:
41
43
  pulumi.set(__self__, "dry_run", dry_run)
44
+ if resource_group_id is not None:
45
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
42
46
  if tags is not None:
43
47
  pulumi.set(__self__, "tags", tags)
44
48
 
@@ -91,6 +95,18 @@ class AclArgs:
91
95
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
92
96
  pulumi.set(self, "dry_run", value)
93
97
 
98
+ @property
99
+ @pulumi.getter(name="resourceGroupId")
100
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
101
+ """
102
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
103
+ """
104
+ return pulumi.get(self, "resource_group_id")
105
+
106
+ @resource_group_id.setter
107
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
108
+ pulumi.set(self, "resource_group_id", value)
109
+
94
110
  @property
95
111
  @pulumi.getter
96
112
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
@@ -111,6 +127,7 @@ class _AclState:
111
127
  acl_name: Optional[pulumi.Input[str]] = None,
112
128
  address_ip_version: Optional[pulumi.Input[str]] = None,
113
129
  dry_run: Optional[pulumi.Input[bool]] = None,
130
+ resource_group_id: Optional[pulumi.Input[str]] = None,
114
131
  status: Optional[pulumi.Input[str]] = None,
115
132
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
116
133
  """
@@ -119,6 +136,7 @@ class _AclState:
119
136
  :param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
120
137
  :param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
121
138
  :param pulumi.Input[bool] dry_run: The dry run.
139
+ :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.
122
140
  :param pulumi.Input[str] status: The status of the resource.
123
141
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
124
142
  """
@@ -133,6 +151,8 @@ class _AclState:
133
151
  pulumi.set(__self__, "address_ip_version", address_ip_version)
134
152
  if dry_run is not None:
135
153
  pulumi.set(__self__, "dry_run", dry_run)
154
+ if resource_group_id is not None:
155
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
136
156
  if status is not None:
137
157
  pulumi.set(__self__, "status", status)
138
158
  if tags is not None:
@@ -187,6 +207,18 @@ class _AclState:
187
207
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
188
208
  pulumi.set(self, "dry_run", value)
189
209
 
210
+ @property
211
+ @pulumi.getter(name="resourceGroupId")
212
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
213
+ """
214
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
215
+ """
216
+ return pulumi.get(self, "resource_group_id")
217
+
218
+ @resource_group_id.setter
219
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
220
+ pulumi.set(self, "resource_group_id", value)
221
+
190
222
  @property
191
223
  @pulumi.getter
192
224
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -221,6 +253,7 @@ class Acl(pulumi.CustomResource):
221
253
  acl_name: Optional[pulumi.Input[str]] = None,
222
254
  address_ip_version: Optional[pulumi.Input[str]] = None,
223
255
  dry_run: Optional[pulumi.Input[bool]] = None,
256
+ resource_group_id: Optional[pulumi.Input[str]] = None,
224
257
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
225
258
  __props__=None):
226
259
  """
@@ -261,6 +294,7 @@ class Acl(pulumi.CustomResource):
261
294
  :param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
262
295
  :param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
263
296
  :param pulumi.Input[bool] dry_run: The dry run.
297
+ :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.
264
298
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
265
299
  """
266
300
  ...
@@ -320,6 +354,7 @@ class Acl(pulumi.CustomResource):
320
354
  acl_name: Optional[pulumi.Input[str]] = None,
321
355
  address_ip_version: Optional[pulumi.Input[str]] = None,
322
356
  dry_run: Optional[pulumi.Input[bool]] = None,
357
+ resource_group_id: Optional[pulumi.Input[str]] = None,
323
358
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
324
359
  __props__=None):
325
360
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -336,6 +371,7 @@ class Acl(pulumi.CustomResource):
336
371
  raise TypeError("Missing required property 'address_ip_version'")
337
372
  __props__.__dict__["address_ip_version"] = address_ip_version
338
373
  __props__.__dict__["dry_run"] = dry_run
374
+ __props__.__dict__["resource_group_id"] = resource_group_id
339
375
  __props__.__dict__["tags"] = tags
340
376
  __props__.__dict__["status"] = None
341
377
  super(Acl, __self__).__init__(
@@ -352,6 +388,7 @@ class Acl(pulumi.CustomResource):
352
388
  acl_name: Optional[pulumi.Input[str]] = None,
353
389
  address_ip_version: Optional[pulumi.Input[str]] = None,
354
390
  dry_run: Optional[pulumi.Input[bool]] = None,
391
+ resource_group_id: Optional[pulumi.Input[str]] = None,
355
392
  status: Optional[pulumi.Input[str]] = None,
356
393
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'Acl':
357
394
  """
@@ -365,6 +402,7 @@ class Acl(pulumi.CustomResource):
365
402
  :param pulumi.Input[str] acl_name: The name of the ACL. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.
366
403
  :param pulumi.Input[str] address_ip_version: The IP version. Valid values: `IPv4` and `IPv6`.
367
404
  :param pulumi.Input[bool] dry_run: The dry run.
405
+ :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.
368
406
  :param pulumi.Input[str] status: The status of the resource.
369
407
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
370
408
  """
@@ -376,6 +414,7 @@ class Acl(pulumi.CustomResource):
376
414
  __props__.__dict__["acl_name"] = acl_name
377
415
  __props__.__dict__["address_ip_version"] = address_ip_version
378
416
  __props__.__dict__["dry_run"] = dry_run
417
+ __props__.__dict__["resource_group_id"] = resource_group_id
379
418
  __props__.__dict__["status"] = status
380
419
  __props__.__dict__["tags"] = tags
381
420
  return Acl(resource_name, opts=opts, __props__=__props__)
@@ -413,6 +452,14 @@ class Acl(pulumi.CustomResource):
413
452
  """
414
453
  return pulumi.get(self, "dry_run")
415
454
 
455
+ @property
456
+ @pulumi.getter(name="resourceGroupId")
457
+ def resource_group_id(self) -> pulumi.Output[str]:
458
+ """
459
+ The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
460
+ """
461
+ return pulumi.get(self, "resource_group_id")
462
+
416
463
  @property
417
464
  @pulumi.getter
418
465
  def status(self) -> pulumi.Output[str]:
@@ -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]: