pulumi-alicloud 3.58.0__py3-none-any.whl → 3.58.0a1718943944__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 (185) hide show
  1. pulumi_alicloud/__init__.py +0 -24
  2. pulumi_alicloud/_inputs.py +9 -9
  3. pulumi_alicloud/_utilities.py +0 -35
  4. pulumi_alicloud/actiontrail/get_trails.py +3 -1
  5. pulumi_alicloud/actiontrail/get_trails_deprecated.py +3 -1
  6. pulumi_alicloud/actiontrail/trail.py +27 -9
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +27 -9
  8. pulumi_alicloud/adb/cluster.py +18 -6
  9. pulumi_alicloud/adb/db_cluster.py +18 -6
  10. pulumi_alicloud/alb/__init__.py +0 -1
  11. pulumi_alicloud/alb/acl.py +9 -3
  12. pulumi_alicloud/alb/get_load_balancers.py +3 -1
  13. pulumi_alicloud/alb/listener.py +9 -3
  14. pulumi_alicloud/alb/outputs.py +3 -1
  15. pulumi_alicloud/alikafka/instance.py +9 -3
  16. pulumi_alicloud/cas/certificate.py +9 -3
  17. pulumi_alicloud/cas/outputs.py +6 -2
  18. pulumi_alicloud/cas/service_certificate.py +9 -3
  19. pulumi_alicloud/cddc/dedicated_host_account.py +0 -4
  20. pulumi_alicloud/cddc/dedicated_host_group.py +0 -4
  21. pulumi_alicloud/cdn/domain.py +135 -45
  22. pulumi_alicloud/cen/__init__.py +0 -1
  23. pulumi_alicloud/cen/bandwidth_package.py +27 -9
  24. pulumi_alicloud/cen/instance.py +9 -3
  25. pulumi_alicloud/cen/transit_router_vpc_attachment.py +18 -6
  26. pulumi_alicloud/cfg/aggregate_compliance_pack.py +9 -3
  27. pulumi_alicloud/cfg/compliance_pack.py +9 -3
  28. pulumi_alicloud/cfg/get_rules.py +3 -1
  29. pulumi_alicloud/cfg/rule.py +27 -9
  30. pulumi_alicloud/clickhouse/account.py +18 -6
  31. pulumi_alicloud/cloudfirewall/instance.py +9 -3
  32. pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
  33. pulumi_alicloud/cms/alarm.py +27 -9
  34. pulumi_alicloud/config/outputs.py +6 -6
  35. pulumi_alicloud/cs/_inputs.py +6 -2
  36. pulumi_alicloud/cs/cluster.py +9 -3
  37. pulumi_alicloud/cs/edge_kubernetes.py +18 -6
  38. pulumi_alicloud/cs/kubernetes.py +9 -3
  39. pulumi_alicloud/cs/kubernetes_addon.py +2 -2
  40. pulumi_alicloud/cs/node_pool.py +52 -22
  41. pulumi_alicloud/cs/outputs.py +6 -2
  42. pulumi_alicloud/cs/serverless_kubernetes.py +27 -9
  43. pulumi_alicloud/cs/swarm.py +9 -3
  44. pulumi_alicloud/databasefilesystem/instance.py +18 -6
  45. pulumi_alicloud/ddos/__init__.py +0 -1
  46. pulumi_alicloud/ddos/_inputs.py +0 -712
  47. pulumi_alicloud/ddos/bgp_ip.py +2 -53
  48. pulumi_alicloud/ddos/outputs.py +0 -666
  49. pulumi_alicloud/dms/enterprise_instance.py +15 -5
  50. pulumi_alicloud/dms/enterprise_user.py +9 -3
  51. pulumi_alicloud/dns/domain_group.py +9 -3
  52. pulumi_alicloud/drds/get_instances.py +3 -1
  53. pulumi_alicloud/eci/_inputs.py +0 -12
  54. pulumi_alicloud/eci/outputs.py +0 -8
  55. pulumi_alicloud/ecs/copy_image.py +9 -3
  56. pulumi_alicloud/ecs/disk.py +18 -6
  57. pulumi_alicloud/ecs/ecs_disk.py +25 -13
  58. pulumi_alicloud/ecs/ecs_key_pair.py +9 -3
  59. pulumi_alicloud/ecs/ecs_key_pair_attachment.py +9 -3
  60. pulumi_alicloud/ecs/ecs_launch_template.py +55 -160
  61. pulumi_alicloud/ecs/ecs_network_interface.py +45 -15
  62. pulumi_alicloud/ecs/ecs_snapshot.py +9 -3
  63. pulumi_alicloud/ecs/eip.py +19 -7
  64. pulumi_alicloud/ecs/eip_address.py +317 -501
  65. pulumi_alicloud/ecs/eip_association.py +58 -205
  66. pulumi_alicloud/ecs/eip_segment_address.py +133 -311
  67. pulumi_alicloud/ecs/get_disks.py +6 -2
  68. pulumi_alicloud/ecs/get_ecs_disks.py +6 -2
  69. pulumi_alicloud/ecs/get_ecs_key_pairs.py +3 -1
  70. pulumi_alicloud/ecs/get_ecs_network_interfaces.py +6 -2
  71. pulumi_alicloud/ecs/get_eip_addresses.py +6 -2
  72. pulumi_alicloud/ecs/get_eips.py +6 -2
  73. pulumi_alicloud/ecs/get_key_pairs.py +3 -1
  74. pulumi_alicloud/ecs/get_network_interfaces.py +6 -2
  75. pulumi_alicloud/ecs/image.py +9 -3
  76. pulumi_alicloud/ecs/image_copy.py +9 -3
  77. pulumi_alicloud/ecs/instance.py +24 -26
  78. pulumi_alicloud/ecs/key_pair.py +9 -3
  79. pulumi_alicloud/ecs/key_pair_attachment.py +9 -3
  80. pulumi_alicloud/ecs/launch_template.py +55 -121
  81. pulumi_alicloud/ecs/reserved_instance.py +9 -3
  82. pulumi_alicloud/ecs/security_group.py +9 -3
  83. pulumi_alicloud/ecs/snapshot.py +9 -3
  84. pulumi_alicloud/edas/k8s_application.py +36 -12
  85. pulumi_alicloud/eds/outputs.py +6 -2
  86. pulumi_alicloud/eds/simple_office_site.py +18 -6
  87. pulumi_alicloud/ess/_inputs.py +3 -89
  88. pulumi_alicloud/ess/alarm.py +38 -132
  89. pulumi_alicloud/ess/outputs.py +3 -88
  90. pulumi_alicloud/ess/scaling_configuration.py +18 -6
  91. pulumi_alicloud/ess/scaling_group.py +16 -151
  92. pulumi_alicloud/ga/accelerator.py +0 -47
  93. pulumi_alicloud/ga/acl.py +9 -50
  94. pulumi_alicloud/ga/bandwidth_package.py +12 -57
  95. pulumi_alicloud/ga/basic_accelerator.py +8 -55
  96. pulumi_alicloud/gpdb/instance.py +45 -15
  97. pulumi_alicloud/hbr/ecs_backup_plan.py +9 -3
  98. pulumi_alicloud/hbr/nas_backup_plan.py +9 -3
  99. pulumi_alicloud/hbr/ots_backup_plan.py +9 -3
  100. pulumi_alicloud/kms/key.py +27 -9
  101. pulumi_alicloud/kvstore/_inputs.py +6 -2
  102. pulumi_alicloud/kvstore/get_instance_classes.py +9 -3
  103. pulumi_alicloud/kvstore/instance.py +69 -124
  104. pulumi_alicloud/kvstore/outputs.py +6 -2
  105. pulumi_alicloud/lindorm/instance.py +9 -3
  106. pulumi_alicloud/log/_inputs.py +3 -1
  107. pulumi_alicloud/log/alert.py +63 -21
  108. pulumi_alicloud/log/oss_shipper.py +0 -4
  109. pulumi_alicloud/log/outputs.py +3 -1
  110. pulumi_alicloud/log/project.py +9 -3
  111. pulumi_alicloud/log/store.py +18 -6
  112. pulumi_alicloud/mongodb/sharding_instance.py +7 -54
  113. pulumi_alicloud/nas/access_group.py +18 -6
  114. pulumi_alicloud/nas/get_access_groups.py +3 -1
  115. pulumi_alicloud/nas/get_mount_targets.py +6 -2
  116. pulumi_alicloud/nlb/server_group.py +9 -3
  117. pulumi_alicloud/oss/bucket.py +18 -6
  118. pulumi_alicloud/oss/bucket_policy.py +2 -2
  119. pulumi_alicloud/oss/bucket_referer.py +2 -2
  120. pulumi_alicloud/provider.py +24 -8
  121. pulumi_alicloud/pulumi-plugin.json +1 -1
  122. pulumi_alicloud/pvtz/zone.py +9 -3
  123. pulumi_alicloud/pvtz/zone_record.py +9 -3
  124. pulumi_alicloud/ram/policy.py +36 -12
  125. pulumi_alicloud/ram/role.py +27 -9
  126. pulumi_alicloud/rds/account.py +45 -15
  127. pulumi_alicloud/rds/backup_policy.py +45 -15
  128. pulumi_alicloud/rds/get_zones.py +3 -1
  129. pulumi_alicloud/rds/instance.py +18 -27
  130. pulumi_alicloud/rds/rds_account.py +45 -15
  131. pulumi_alicloud/resourcemanager/policy.py +9 -3
  132. pulumi_alicloud/resourcemanager/policy_version.py +9 -3
  133. pulumi_alicloud/resourcemanager/resource_group.py +9 -3
  134. pulumi_alicloud/rocketmq/group.py +9 -3
  135. pulumi_alicloud/rocketmq/instance.py +9 -3
  136. pulumi_alicloud/rocketmq/topic.py +18 -6
  137. pulumi_alicloud/sae/application.py +90 -30
  138. pulumi_alicloud/scdn/domain.py +9 -3
  139. pulumi_alicloud/servicecatalog/get_launch_options.py +3 -1
  140. pulumi_alicloud/servicecatalog/get_product_versions.py +3 -1
  141. pulumi_alicloud/servicecatalog/get_provisioned_products.py +3 -1
  142. pulumi_alicloud/slb/acl.py +9 -3
  143. pulumi_alicloud/slb/application_load_balancer.py +18 -6
  144. pulumi_alicloud/slb/ca_certificate.py +9 -3
  145. pulumi_alicloud/slb/get_application_load_balancers.py +3 -1
  146. pulumi_alicloud/slb/get_load_balancers.py +3 -1
  147. pulumi_alicloud/slb/get_zones.py +3 -1
  148. pulumi_alicloud/slb/listener.py +27 -9
  149. pulumi_alicloud/slb/load_balancer.py +18 -6
  150. pulumi_alicloud/slb/outputs.py +3 -1
  151. pulumi_alicloud/slb/server_certificate.py +18 -6
  152. pulumi_alicloud/slb/server_group.py +9 -3
  153. pulumi_alicloud/threatdetection/instance.py +9 -3
  154. pulumi_alicloud/vpc/common_bandwith_package.py +129 -200
  155. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -58
  156. pulumi_alicloud/vpc/dhcp_options_set.py +9 -3
  157. pulumi_alicloud/vpc/forward_entry.py +9 -3
  158. pulumi_alicloud/vpc/ha_vip.py +9 -3
  159. pulumi_alicloud/vpc/ha_vip_attachment.py +9 -3
  160. pulumi_alicloud/vpc/ha_vipv2.py +9 -3
  161. pulumi_alicloud/vpc/ipv6_gateway.py +9 -3
  162. pulumi_alicloud/vpc/network.py +24 -8
  163. pulumi_alicloud/vpc/network_acl.py +9 -3
  164. pulumi_alicloud/vpc/network_interface.py +45 -15
  165. pulumi_alicloud/vpc/route_entry.py +9 -3
  166. pulumi_alicloud/vpc/route_table.py +9 -3
  167. pulumi_alicloud/vpc/router_interface.py +39 -13
  168. pulumi_alicloud/vpc/router_interface_connection.py +2 -2
  169. pulumi_alicloud/vpc/subnet.py +18 -6
  170. pulumi_alicloud/vpc/switch.py +18 -6
  171. pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +9 -3
  172. pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +9 -3
  173. pulumi_alicloud/vpn/connection.py +9 -3
  174. pulumi_alicloud/vpn/customer_gateway.py +9 -3
  175. pulumi_alicloud/vpn/gateway.py +18 -6
  176. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +3 -1
  177. pulumi_alicloud/vpn/get_gateways.py +3 -1
  178. pulumi_alicloud/waf/domain.py +9 -3
  179. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/METADATA +1 -1
  180. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/RECORD +182 -185
  181. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/WHEEL +1 -1
  182. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +0 -327
  183. pulumi_alicloud/cen/transit_router_ecr_attachment.py +0 -584
  184. pulumi_alicloud/ddos/bgp_policy.py +0 -343
  185. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/top_level.txt +0 -0
@@ -29,35 +29,24 @@ class CommonBandwithPackageArgs:
29
29
  zone: Optional[pulumi.Input[str]] = None):
30
30
  """
31
31
  The set of arguments for constructing a CommonBandwithPackage resource.
32
- :param pulumi.Input[str] bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
33
- :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
34
- :param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
35
- :param pulumi.Input[str] description: The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
36
- :param pulumi.Input[str] force: Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
37
- :param pulumi.Input[str] internet_charge_type: The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
38
- :param pulumi.Input[str] isp: The line type. Valid values:
39
- - `BGP` All regions support BGP (Multi-ISP).
40
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
41
-
42
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
43
- - `ChinaTelecom`
44
- - `ChinaUnicom`
45
- - `ChinaMobile`
46
- - `ChinaTelecom_L2`
47
- - `ChinaUnicom_L2`
48
- - `ChinaMobile_L2`
49
-
50
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
32
+ :param pulumi.Input[str] bandwidth: The peak bandwidth of the shared bandwidth. Unit: Mbps.
33
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
34
+ :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance.
35
+ :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: false.
36
+ - **true**: Enable deletion protection.
37
+ - **false**: Disable deletion protection.
38
+ :param pulumi.Input[str] description: The description of the shared bandwidth.
39
+ :param pulumi.Input[str] force: Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
40
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
41
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
42
+ :param pulumi.Input[str] internet_charge_type: The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
43
+ :param pulumi.Input[str] isp: The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
51
44
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
52
- :param pulumi.Input[int] ratio: The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
53
-
54
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
55
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
56
-
57
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
45
+ :param pulumi.Input[int] ratio: Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
46
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the common bandwidth package belongs.
58
47
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when `internet_charge_type` is `PayBy95`.
59
- :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
60
- :param pulumi.Input[str] zone: The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
48
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
49
+ :param pulumi.Input[str] zone: The available area of the shared bandwidth.
61
50
 
62
51
  The following arguments will be discarded. Please use new fields as soon as possible:
63
52
  """
@@ -94,7 +83,8 @@ class CommonBandwithPackageArgs:
94
83
  @pulumi.getter
95
84
  def bandwidth(self) -> pulumi.Input[str]:
96
85
  """
97
- The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
86
+ The peak bandwidth of the shared bandwidth. Unit: Mbps.
87
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
98
88
  """
99
89
  return pulumi.get(self, "bandwidth")
100
90
 
@@ -106,7 +96,7 @@ class CommonBandwithPackageArgs:
106
96
  @pulumi.getter(name="bandwidthPackageName")
107
97
  def bandwidth_package_name(self) -> Optional[pulumi.Input[str]]:
108
98
  """
109
- The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
99
+ The name of the Internet Shared Bandwidth instance.
110
100
  """
111
101
  return pulumi.get(self, "bandwidth_package_name")
112
102
 
@@ -118,7 +108,9 @@ class CommonBandwithPackageArgs:
118
108
  @pulumi.getter(name="deletionProtection")
119
109
  def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
120
110
  """
121
- Specifies whether to enable deletion protection. Valid values:
111
+ Whether enable the deletion protection or not. Default value: false.
112
+ - **true**: Enable deletion protection.
113
+ - **false**: Disable deletion protection.
122
114
  """
123
115
  return pulumi.get(self, "deletion_protection")
124
116
 
@@ -130,7 +122,7 @@ class CommonBandwithPackageArgs:
130
122
  @pulumi.getter
131
123
  def description(self) -> Optional[pulumi.Input[str]]:
132
124
  """
133
- The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
125
+ The description of the shared bandwidth.
134
126
  """
135
127
  return pulumi.get(self, "description")
136
128
 
@@ -142,7 +134,9 @@ class CommonBandwithPackageArgs:
142
134
  @pulumi.getter
143
135
  def force(self) -> Optional[pulumi.Input[str]]:
144
136
  """
145
- Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
137
+ Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
138
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
139
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
146
140
  """
147
141
  return pulumi.get(self, "force")
148
142
 
@@ -154,7 +148,7 @@ class CommonBandwithPackageArgs:
154
148
  @pulumi.getter(name="internetChargeType")
155
149
  def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
156
150
  """
157
- The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
151
+ The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
158
152
  """
159
153
  return pulumi.get(self, "internet_charge_type")
160
154
 
@@ -166,19 +160,7 @@ class CommonBandwithPackageArgs:
166
160
  @pulumi.getter
167
161
  def isp(self) -> Optional[pulumi.Input[str]]:
168
162
  """
169
- The line type. Valid values:
170
- - `BGP` All regions support BGP (Multi-ISP).
171
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
172
-
173
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
174
- - `ChinaTelecom`
175
- - `ChinaUnicom`
176
- - `ChinaMobile`
177
- - `ChinaTelecom_L2`
178
- - `ChinaUnicom_L2`
179
- - `ChinaMobile_L2`
180
-
181
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
163
+ The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
182
164
  """
183
165
  return pulumi.get(self, "isp")
184
166
 
@@ -188,11 +170,13 @@ class CommonBandwithPackageArgs:
188
170
 
189
171
  @property
190
172
  @pulumi.getter
191
- @_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
192
173
  def name(self) -> Optional[pulumi.Input[str]]:
193
174
  """
194
175
  . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
195
176
  """
177
+ warnings.warn("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""", DeprecationWarning)
178
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
179
+
196
180
  return pulumi.get(self, "name")
197
181
 
198
182
  @name.setter
@@ -203,9 +187,7 @@ class CommonBandwithPackageArgs:
203
187
  @pulumi.getter
204
188
  def ratio(self) -> Optional[pulumi.Input[int]]:
205
189
  """
206
- The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
207
-
208
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
190
+ Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
209
191
  """
210
192
  return pulumi.get(self, "ratio")
211
193
 
@@ -217,9 +199,7 @@ class CommonBandwithPackageArgs:
217
199
  @pulumi.getter(name="resourceGroupId")
218
200
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
219
201
  """
220
- The ID of the resource group to which you want to move the resource.
221
-
222
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
202
+ The Id of resource group which the common bandwidth package belongs.
223
203
  """
224
204
  return pulumi.get(self, "resource_group_id")
225
205
 
@@ -243,7 +223,7 @@ class CommonBandwithPackageArgs:
243
223
  @pulumi.getter
244
224
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
245
225
  """
246
- The tag of the resource
226
+ The tag of the resource.
247
227
  """
248
228
  return pulumi.get(self, "tags")
249
229
 
@@ -255,7 +235,7 @@ class CommonBandwithPackageArgs:
255
235
  @pulumi.getter
256
236
  def zone(self) -> Optional[pulumi.Input[str]]:
257
237
  """
258
- The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
238
+ The available area of the shared bandwidth.
259
239
 
260
240
  The following arguments will be discarded. Please use new fields as soon as possible:
261
241
  """
@@ -287,38 +267,27 @@ class _CommonBandwithPackageState:
287
267
  zone: Optional[pulumi.Input[str]] = None):
288
268
  """
289
269
  Input properties used for looking up and filtering CommonBandwithPackage resources.
290
- :param pulumi.Input[str] bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
291
- :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
292
- :param pulumi.Input[str] create_time: The creation time.
293
- :param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
294
- :param pulumi.Input[str] description: The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
295
- :param pulumi.Input[str] force: Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
296
- :param pulumi.Input[str] internet_charge_type: The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
297
- :param pulumi.Input[str] isp: The line type. Valid values:
298
- - `BGP` All regions support BGP (Multi-ISP).
299
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
300
-
301
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
302
- - `ChinaTelecom`
303
- - `ChinaUnicom`
304
- - `ChinaMobile`
305
- - `ChinaTelecom_L2`
306
- - `ChinaUnicom_L2`
307
- - `ChinaMobile_L2`
308
-
309
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
270
+ :param pulumi.Input[str] bandwidth: The peak bandwidth of the shared bandwidth. Unit: Mbps.
271
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
272
+ :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance.
273
+ :param pulumi.Input[str] create_time: The create time.
274
+ :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: false.
275
+ - **true**: Enable deletion protection.
276
+ - **false**: Disable deletion protection.
277
+ :param pulumi.Input[str] description: The description of the shared bandwidth.
278
+ :param pulumi.Input[str] force: Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
279
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
280
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
281
+ :param pulumi.Input[str] internet_charge_type: The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
282
+ :param pulumi.Input[str] isp: The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
310
283
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
311
284
  :param pulumi.Input[str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
312
- :param pulumi.Input[int] ratio: The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
313
-
314
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
315
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
316
-
317
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
285
+ :param pulumi.Input[int] ratio: Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
286
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the common bandwidth package belongs.
318
287
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when `internet_charge_type` is `PayBy95`.
319
- :param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value: `Available`.
320
- :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
321
- :param pulumi.Input[str] zone: The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
288
+ :param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value: **Available**.
289
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
290
+ :param pulumi.Input[str] zone: The available area of the shared bandwidth.
322
291
 
323
292
  The following arguments will be discarded. Please use new fields as soon as possible:
324
293
  """
@@ -362,7 +331,8 @@ class _CommonBandwithPackageState:
362
331
  @pulumi.getter
363
332
  def bandwidth(self) -> Optional[pulumi.Input[str]]:
364
333
  """
365
- The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
334
+ The peak bandwidth of the shared bandwidth. Unit: Mbps.
335
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
366
336
  """
367
337
  return pulumi.get(self, "bandwidth")
368
338
 
@@ -374,7 +344,7 @@ class _CommonBandwithPackageState:
374
344
  @pulumi.getter(name="bandwidthPackageName")
375
345
  def bandwidth_package_name(self) -> Optional[pulumi.Input[str]]:
376
346
  """
377
- The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
347
+ The name of the Internet Shared Bandwidth instance.
378
348
  """
379
349
  return pulumi.get(self, "bandwidth_package_name")
380
350
 
@@ -386,7 +356,7 @@ class _CommonBandwithPackageState:
386
356
  @pulumi.getter(name="createTime")
387
357
  def create_time(self) -> Optional[pulumi.Input[str]]:
388
358
  """
389
- The creation time.
359
+ The create time.
390
360
  """
391
361
  return pulumi.get(self, "create_time")
392
362
 
@@ -398,7 +368,9 @@ class _CommonBandwithPackageState:
398
368
  @pulumi.getter(name="deletionProtection")
399
369
  def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
400
370
  """
401
- Specifies whether to enable deletion protection. Valid values:
371
+ Whether enable the deletion protection or not. Default value: false.
372
+ - **true**: Enable deletion protection.
373
+ - **false**: Disable deletion protection.
402
374
  """
403
375
  return pulumi.get(self, "deletion_protection")
404
376
 
@@ -410,7 +382,7 @@ class _CommonBandwithPackageState:
410
382
  @pulumi.getter
411
383
  def description(self) -> Optional[pulumi.Input[str]]:
412
384
  """
413
- The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
385
+ The description of the shared bandwidth.
414
386
  """
415
387
  return pulumi.get(self, "description")
416
388
 
@@ -422,7 +394,9 @@ class _CommonBandwithPackageState:
422
394
  @pulumi.getter
423
395
  def force(self) -> Optional[pulumi.Input[str]]:
424
396
  """
425
- Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
397
+ Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
398
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
399
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
426
400
  """
427
401
  return pulumi.get(self, "force")
428
402
 
@@ -434,7 +408,7 @@ class _CommonBandwithPackageState:
434
408
  @pulumi.getter(name="internetChargeType")
435
409
  def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
436
410
  """
437
- The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
411
+ The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
438
412
  """
439
413
  return pulumi.get(self, "internet_charge_type")
440
414
 
@@ -446,19 +420,7 @@ class _CommonBandwithPackageState:
446
420
  @pulumi.getter
447
421
  def isp(self) -> Optional[pulumi.Input[str]]:
448
422
  """
449
- The line type. Valid values:
450
- - `BGP` All regions support BGP (Multi-ISP).
451
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
452
-
453
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
454
- - `ChinaTelecom`
455
- - `ChinaUnicom`
456
- - `ChinaMobile`
457
- - `ChinaTelecom_L2`
458
- - `ChinaUnicom_L2`
459
- - `ChinaMobile_L2`
460
-
461
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
423
+ The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
462
424
  """
463
425
  return pulumi.get(self, "isp")
464
426
 
@@ -468,11 +430,13 @@ class _CommonBandwithPackageState:
468
430
 
469
431
  @property
470
432
  @pulumi.getter
471
- @_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
472
433
  def name(self) -> Optional[pulumi.Input[str]]:
473
434
  """
474
435
  . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
475
436
  """
437
+ warnings.warn("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""", DeprecationWarning)
438
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
439
+
476
440
  return pulumi.get(self, "name")
477
441
 
478
442
  @name.setter
@@ -495,9 +459,7 @@ class _CommonBandwithPackageState:
495
459
  @pulumi.getter
496
460
  def ratio(self) -> Optional[pulumi.Input[int]]:
497
461
  """
498
- The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
499
-
500
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
462
+ Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
501
463
  """
502
464
  return pulumi.get(self, "ratio")
503
465
 
@@ -509,9 +471,7 @@ class _CommonBandwithPackageState:
509
471
  @pulumi.getter(name="resourceGroupId")
510
472
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
511
473
  """
512
- The ID of the resource group to which you want to move the resource.
513
-
514
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
474
+ The Id of resource group which the common bandwidth package belongs.
515
475
  """
516
476
  return pulumi.get(self, "resource_group_id")
517
477
 
@@ -535,7 +495,7 @@ class _CommonBandwithPackageState:
535
495
  @pulumi.getter
536
496
  def status(self) -> Optional[pulumi.Input[str]]:
537
497
  """
538
- The status of the Internet Shared Bandwidth instance. Default value: `Available`.
498
+ The status of the Internet Shared Bandwidth instance. Default value: **Available**.
539
499
  """
540
500
  return pulumi.get(self, "status")
541
501
 
@@ -547,7 +507,7 @@ class _CommonBandwithPackageState:
547
507
  @pulumi.getter
548
508
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
549
509
  """
550
- The tag of the resource
510
+ The tag of the resource.
551
511
  """
552
512
  return pulumi.get(self, "tags")
553
513
 
@@ -559,7 +519,7 @@ class _CommonBandwithPackageState:
559
519
  @pulumi.getter
560
520
  def zone(self) -> Optional[pulumi.Input[str]]:
561
521
  """
562
- The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
522
+ The available area of the shared bandwidth.
563
523
 
564
524
  The following arguments will be discarded. Please use new fields as soon as possible:
565
525
  """
@@ -600,35 +560,24 @@ class CommonBandwithPackage(pulumi.CustomResource):
600
560
 
601
561
  :param str resource_name: The name of the resource.
602
562
  :param pulumi.ResourceOptions opts: Options for the resource.
603
- :param pulumi.Input[str] bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
604
- :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
605
- :param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
606
- :param pulumi.Input[str] description: The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
607
- :param pulumi.Input[str] force: Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
608
- :param pulumi.Input[str] internet_charge_type: The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
609
- :param pulumi.Input[str] isp: The line type. Valid values:
610
- - `BGP` All regions support BGP (Multi-ISP).
611
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
612
-
613
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
614
- - `ChinaTelecom`
615
- - `ChinaUnicom`
616
- - `ChinaMobile`
617
- - `ChinaTelecom_L2`
618
- - `ChinaUnicom_L2`
619
- - `ChinaMobile_L2`
620
-
621
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
563
+ :param pulumi.Input[str] bandwidth: The peak bandwidth of the shared bandwidth. Unit: Mbps.
564
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
565
+ :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance.
566
+ :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: false.
567
+ - **true**: Enable deletion protection.
568
+ - **false**: Disable deletion protection.
569
+ :param pulumi.Input[str] description: The description of the shared bandwidth.
570
+ :param pulumi.Input[str] force: Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
571
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
572
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
573
+ :param pulumi.Input[str] internet_charge_type: The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
574
+ :param pulumi.Input[str] isp: The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
622
575
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
623
- :param pulumi.Input[int] ratio: The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
624
-
625
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
626
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
627
-
628
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
576
+ :param pulumi.Input[int] ratio: Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
577
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the common bandwidth package belongs.
629
578
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when `internet_charge_type` is `PayBy95`.
630
- :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
631
- :param pulumi.Input[str] zone: The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
579
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
580
+ :param pulumi.Input[str] zone: The available area of the shared bandwidth.
632
581
 
633
582
  The following arguments will be discarded. Please use new fields as soon as possible:
634
583
  """
@@ -735,38 +684,27 @@ class CommonBandwithPackage(pulumi.CustomResource):
735
684
  :param str resource_name: The unique name of the resulting resource.
736
685
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
737
686
  :param pulumi.ResourceOptions opts: Options for the resource.
738
- :param pulumi.Input[str] bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
739
- :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
740
- :param pulumi.Input[str] create_time: The creation time.
741
- :param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
742
- :param pulumi.Input[str] description: The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
743
- :param pulumi.Input[str] force: Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
744
- :param pulumi.Input[str] internet_charge_type: The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
745
- :param pulumi.Input[str] isp: The line type. Valid values:
746
- - `BGP` All regions support BGP (Multi-ISP).
747
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
748
-
749
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
750
- - `ChinaTelecom`
751
- - `ChinaUnicom`
752
- - `ChinaMobile`
753
- - `ChinaTelecom_L2`
754
- - `ChinaUnicom_L2`
755
- - `ChinaMobile_L2`
756
-
757
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
687
+ :param pulumi.Input[str] bandwidth: The peak bandwidth of the shared bandwidth. Unit: Mbps.
688
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
689
+ :param pulumi.Input[str] bandwidth_package_name: The name of the Internet Shared Bandwidth instance.
690
+ :param pulumi.Input[str] create_time: The create time.
691
+ :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. Default value: false.
692
+ - **true**: Enable deletion protection.
693
+ - **false**: Disable deletion protection.
694
+ :param pulumi.Input[str] description: The description of the shared bandwidth.
695
+ :param pulumi.Input[str] force: Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
696
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
697
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
698
+ :param pulumi.Input[str] internet_charge_type: The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
699
+ :param pulumi.Input[str] isp: The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
758
700
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
759
701
  :param pulumi.Input[str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
760
- :param pulumi.Input[int] ratio: The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
761
-
762
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
763
- :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
764
-
765
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
702
+ :param pulumi.Input[int] ratio: Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
703
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the common bandwidth package belongs.
766
704
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when `internet_charge_type` is `PayBy95`.
767
- :param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value: `Available`.
768
- :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
769
- :param pulumi.Input[str] zone: The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
705
+ :param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value: **Available**.
706
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
707
+ :param pulumi.Input[str] zone: The available area of the shared bandwidth.
770
708
 
771
709
  The following arguments will be discarded. Please use new fields as soon as possible:
772
710
  """
@@ -796,7 +734,8 @@ class CommonBandwithPackage(pulumi.CustomResource):
796
734
  @pulumi.getter
797
735
  def bandwidth(self) -> pulumi.Output[str]:
798
736
  """
799
- The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
737
+ The peak bandwidth of the shared bandwidth. Unit: Mbps.
738
+ Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
800
739
  """
801
740
  return pulumi.get(self, "bandwidth")
802
741
 
@@ -804,7 +743,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
804
743
  @pulumi.getter(name="bandwidthPackageName")
805
744
  def bandwidth_package_name(self) -> pulumi.Output[str]:
806
745
  """
807
- The name of the Internet Shared Bandwidth instance. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). The name must start with a letter.
746
+ The name of the Internet Shared Bandwidth instance.
808
747
  """
809
748
  return pulumi.get(self, "bandwidth_package_name")
810
749
 
@@ -812,7 +751,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
812
751
  @pulumi.getter(name="createTime")
813
752
  def create_time(self) -> pulumi.Output[str]:
814
753
  """
815
- The creation time.
754
+ The create time.
816
755
  """
817
756
  return pulumi.get(self, "create_time")
818
757
 
@@ -820,7 +759,9 @@ class CommonBandwithPackage(pulumi.CustomResource):
820
759
  @pulumi.getter(name="deletionProtection")
821
760
  def deletion_protection(self) -> pulumi.Output[Optional[bool]]:
822
761
  """
823
- Specifies whether to enable deletion protection. Valid values:
762
+ Whether enable the deletion protection or not. Default value: false.
763
+ - **true**: Enable deletion protection.
764
+ - **false**: Disable deletion protection.
824
765
  """
825
766
  return pulumi.get(self, "deletion_protection")
826
767
 
@@ -828,7 +769,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
828
769
  @pulumi.getter
829
770
  def description(self) -> pulumi.Output[Optional[str]]:
830
771
  """
831
- The description of the Internet Shared Bandwidth instance. The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
772
+ The description of the shared bandwidth.
832
773
  """
833
774
  return pulumi.get(self, "description")
834
775
 
@@ -836,7 +777,9 @@ class CommonBandwithPackage(pulumi.CustomResource):
836
777
  @pulumi.getter
837
778
  def force(self) -> pulumi.Output[Optional[str]]:
838
779
  """
839
- Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
780
+ Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
781
+ - **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
782
+ - **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
840
783
  """
841
784
  return pulumi.get(self, "force")
842
785
 
@@ -844,7 +787,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
844
787
  @pulumi.getter(name="internetChargeType")
845
788
  def internet_charge_type(self) -> pulumi.Output[Optional[str]]:
846
789
  """
847
- The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
790
+ The billing method of the common bandwidth package. Valid values are `PayByBandwidth` and `PayBy95` and `PayByTraffic`, `PayByDominantTraffic`. `PayBy95` is pay by classic 95th percentile pricing. International-Site Account doesn't support `PayByBandwidth` and `PayBy95`. Default to `PayByTraffic`. **NOTE:** From 1.176.0+, `PayByDominantTraffic` is available.
848
791
  """
849
792
  return pulumi.get(self, "internet_charge_type")
850
793
 
@@ -852,29 +795,19 @@ class CommonBandwithPackage(pulumi.CustomResource):
852
795
  @pulumi.getter
853
796
  def isp(self) -> pulumi.Output[str]:
854
797
  """
855
- The line type. Valid values:
856
- - `BGP` All regions support BGP (Multi-ISP).
857
- - `BGP_PRO` BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
858
-
859
- If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
860
- - `ChinaTelecom`
861
- - `ChinaUnicom`
862
- - `ChinaMobile`
863
- - `ChinaTelecom_L2`
864
- - `ChinaUnicom_L2`
865
- - `ChinaMobile_L2`
866
-
867
- If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
798
+ The type of the Internet Service Provider. Valid values: `BGP`, `BGP_PRO`, `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2` and `BGP_FinanceCloud`. Default to `BGP`. **NOTE:** From version 1.203.0, isp can be set to `ChinaTelecom`, `ChinaUnicom`, `ChinaMobile`, `ChinaTelecom_L2`, `ChinaUnicom_L2`, `ChinaMobile_L2`, `BGP_FinanceCloud`, `BGP_International`.
868
799
  """
869
800
  return pulumi.get(self, "isp")
870
801
 
871
802
  @property
872
803
  @pulumi.getter
873
- @_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
874
804
  def name(self) -> pulumi.Output[str]:
875
805
  """
876
806
  . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
877
807
  """
808
+ warnings.warn("""Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""", DeprecationWarning)
809
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.120.0. New field 'bandwidth_package_name' instead.""")
810
+
878
811
  return pulumi.get(self, "name")
879
812
 
880
813
  @property
@@ -889,9 +822,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
889
822
  @pulumi.getter
890
823
  def ratio(self) -> pulumi.Output[int]:
891
824
  """
892
- The percentage of the minimum bandwidth commitment. Set the parameter to `20`.
893
-
894
- > **NOTE:** This parameter is available only on the Alibaba Cloud China site.
825
+ Ratio of the common bandwidth package. It is valid when `internet_charge_type` is `PayBy95`. Default to 100. Valid values: [10-100].
895
826
  """
896
827
  return pulumi.get(self, "ratio")
897
828
 
@@ -899,9 +830,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
899
830
  @pulumi.getter(name="resourceGroupId")
900
831
  def resource_group_id(self) -> pulumi.Output[str]:
901
832
  """
902
- The ID of the resource group to which you want to move the resource.
903
-
904
- > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
833
+ The Id of resource group which the common bandwidth package belongs.
905
834
  """
906
835
  return pulumi.get(self, "resource_group_id")
907
836
 
@@ -917,7 +846,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
917
846
  @pulumi.getter
918
847
  def status(self) -> pulumi.Output[str]:
919
848
  """
920
- The status of the Internet Shared Bandwidth instance. Default value: `Available`.
849
+ The status of the Internet Shared Bandwidth instance. Default value: **Available**.
921
850
  """
922
851
  return pulumi.get(self, "status")
923
852
 
@@ -925,7 +854,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
925
854
  @pulumi.getter
926
855
  def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
927
856
  """
928
- The tag of the resource
857
+ The tag of the resource.
929
858
  """
930
859
  return pulumi.get(self, "tags")
931
860
 
@@ -933,7 +862,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
933
862
  @pulumi.getter
934
863
  def zone(self) -> pulumi.Output[Optional[str]]:
935
864
  """
936
- The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
865
+ The available area of the shared bandwidth.
937
866
 
938
867
  The following arguments will be discarded. Please use new fields as soon as possible:
939
868
  """