pulumi-alicloud 3.58.0a1719359875__py3-none-any.whl → 3.58.0a1719465542__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.
- pulumi_alicloud/_inputs.py +9 -9
- pulumi_alicloud/cddc/dedicated_host_account.py +4 -0
- pulumi_alicloud/cddc/dedicated_host_group.py +4 -0
- pulumi_alicloud/config/outputs.py +6 -6
- pulumi_alicloud/cs/kubernetes_addon.py +2 -2
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/ddos/bgp_ip.py +53 -2
- pulumi_alicloud/eci/_inputs.py +12 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_disk.py +7 -7
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +495 -299
- pulumi_alicloud/ecs/eip_association.py +205 -58
- pulumi_alicloud/ecs/eip_segment_address.py +311 -133
- pulumi_alicloud/ecs/instance.py +20 -6
- pulumi_alicloud/ess/_inputs.py +88 -0
- pulumi_alicloud/ess/alarm.py +132 -38
- pulumi_alicloud/ess/outputs.py +87 -0
- pulumi_alicloud/ess/scaling_group.py +148 -7
- pulumi_alicloud/log/oss_shipper.py +4 -0
- pulumi_alicloud/mongodb/sharding_instance.py +54 -7
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +21 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +197 -120
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +58 -30
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/RECORD +29 -29
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/top_level.txt +0 -0
|
@@ -29,24 +29,35 @@ 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
|
|
33
|
-
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
:param pulumi.Input[str]
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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`.
|
|
44
51
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
45
|
-
:param pulumi.Input[int] ratio:
|
|
46
|
-
|
|
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)
|
|
47
58
|
: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`.
|
|
48
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
49
|
-
:param pulumi.Input[str] zone: The
|
|
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.
|
|
50
61
|
|
|
51
62
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
52
63
|
"""
|
|
@@ -83,8 +94,7 @@ class CommonBandwithPackageArgs:
|
|
|
83
94
|
@pulumi.getter
|
|
84
95
|
def bandwidth(self) -> pulumi.Input[str]:
|
|
85
96
|
"""
|
|
86
|
-
The
|
|
87
|
-
Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
|
|
97
|
+
The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
|
|
88
98
|
"""
|
|
89
99
|
return pulumi.get(self, "bandwidth")
|
|
90
100
|
|
|
@@ -96,7 +106,7 @@ class CommonBandwithPackageArgs:
|
|
|
96
106
|
@pulumi.getter(name="bandwidthPackageName")
|
|
97
107
|
def bandwidth_package_name(self) -> Optional[pulumi.Input[str]]:
|
|
98
108
|
"""
|
|
99
|
-
The name of the Internet Shared Bandwidth instance.
|
|
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.
|
|
100
110
|
"""
|
|
101
111
|
return pulumi.get(self, "bandwidth_package_name")
|
|
102
112
|
|
|
@@ -108,9 +118,7 @@ class CommonBandwithPackageArgs:
|
|
|
108
118
|
@pulumi.getter(name="deletionProtection")
|
|
109
119
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
110
120
|
"""
|
|
111
|
-
|
|
112
|
-
- **true**: Enable deletion protection.
|
|
113
|
-
- **false**: Disable deletion protection.
|
|
121
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
114
122
|
"""
|
|
115
123
|
return pulumi.get(self, "deletion_protection")
|
|
116
124
|
|
|
@@ -122,7 +130,7 @@ class CommonBandwithPackageArgs:
|
|
|
122
130
|
@pulumi.getter
|
|
123
131
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
124
132
|
"""
|
|
125
|
-
The description of the
|
|
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://`.
|
|
126
134
|
"""
|
|
127
135
|
return pulumi.get(self, "description")
|
|
128
136
|
|
|
@@ -134,9 +142,7 @@ class CommonBandwithPackageArgs:
|
|
|
134
142
|
@pulumi.getter
|
|
135
143
|
def force(self) -> Optional[pulumi.Input[str]]:
|
|
136
144
|
"""
|
|
137
|
-
|
|
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.
|
|
145
|
+
Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
|
|
140
146
|
"""
|
|
141
147
|
return pulumi.get(self, "force")
|
|
142
148
|
|
|
@@ -148,7 +154,7 @@ class CommonBandwithPackageArgs:
|
|
|
148
154
|
@pulumi.getter(name="internetChargeType")
|
|
149
155
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
150
156
|
"""
|
|
151
|
-
The billing method of the
|
|
157
|
+
The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
|
|
152
158
|
"""
|
|
153
159
|
return pulumi.get(self, "internet_charge_type")
|
|
154
160
|
|
|
@@ -160,7 +166,19 @@ class CommonBandwithPackageArgs:
|
|
|
160
166
|
@pulumi.getter
|
|
161
167
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
162
168
|
"""
|
|
163
|
-
The type
|
|
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`.
|
|
164
182
|
"""
|
|
165
183
|
return pulumi.get(self, "isp")
|
|
166
184
|
|
|
@@ -185,7 +203,9 @@ class CommonBandwithPackageArgs:
|
|
|
185
203
|
@pulumi.getter
|
|
186
204
|
def ratio(self) -> Optional[pulumi.Input[int]]:
|
|
187
205
|
"""
|
|
188
|
-
|
|
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.
|
|
189
209
|
"""
|
|
190
210
|
return pulumi.get(self, "ratio")
|
|
191
211
|
|
|
@@ -197,7 +217,9 @@ class CommonBandwithPackageArgs:
|
|
|
197
217
|
@pulumi.getter(name="resourceGroupId")
|
|
198
218
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
199
219
|
"""
|
|
200
|
-
The
|
|
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)
|
|
201
223
|
"""
|
|
202
224
|
return pulumi.get(self, "resource_group_id")
|
|
203
225
|
|
|
@@ -221,7 +243,7 @@ class CommonBandwithPackageArgs:
|
|
|
221
243
|
@pulumi.getter
|
|
222
244
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
223
245
|
"""
|
|
224
|
-
The tag of the resource
|
|
246
|
+
The tag of the resource
|
|
225
247
|
"""
|
|
226
248
|
return pulumi.get(self, "tags")
|
|
227
249
|
|
|
@@ -233,7 +255,7 @@ class CommonBandwithPackageArgs:
|
|
|
233
255
|
@pulumi.getter
|
|
234
256
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
235
257
|
"""
|
|
236
|
-
The
|
|
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.
|
|
237
259
|
|
|
238
260
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
239
261
|
"""
|
|
@@ -265,27 +287,38 @@ class _CommonBandwithPackageState:
|
|
|
265
287
|
zone: Optional[pulumi.Input[str]] = None):
|
|
266
288
|
"""
|
|
267
289
|
Input properties used for looking up and filtering CommonBandwithPackage resources.
|
|
268
|
-
:param pulumi.Input[str] bandwidth: The
|
|
269
|
-
|
|
270
|
-
:param pulumi.Input[str]
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
:param pulumi.Input[str]
|
|
276
|
-
|
|
277
|
-
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
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`.
|
|
281
310
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
282
311
|
:param pulumi.Input[str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
|
|
283
|
-
:param pulumi.Input[int] ratio:
|
|
284
|
-
|
|
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
318
|
: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`.
|
|
286
|
-
:param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value:
|
|
287
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
288
|
-
:param pulumi.Input[str] zone: The
|
|
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.
|
|
289
322
|
|
|
290
323
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
291
324
|
"""
|
|
@@ -329,8 +362,7 @@ class _CommonBandwithPackageState:
|
|
|
329
362
|
@pulumi.getter
|
|
330
363
|
def bandwidth(self) -> Optional[pulumi.Input[str]]:
|
|
331
364
|
"""
|
|
332
|
-
The
|
|
333
|
-
Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
|
|
365
|
+
The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
|
|
334
366
|
"""
|
|
335
367
|
return pulumi.get(self, "bandwidth")
|
|
336
368
|
|
|
@@ -342,7 +374,7 @@ class _CommonBandwithPackageState:
|
|
|
342
374
|
@pulumi.getter(name="bandwidthPackageName")
|
|
343
375
|
def bandwidth_package_name(self) -> Optional[pulumi.Input[str]]:
|
|
344
376
|
"""
|
|
345
|
-
The name of the Internet Shared Bandwidth instance.
|
|
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.
|
|
346
378
|
"""
|
|
347
379
|
return pulumi.get(self, "bandwidth_package_name")
|
|
348
380
|
|
|
@@ -354,7 +386,7 @@ class _CommonBandwithPackageState:
|
|
|
354
386
|
@pulumi.getter(name="createTime")
|
|
355
387
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
356
388
|
"""
|
|
357
|
-
The
|
|
389
|
+
The creation time.
|
|
358
390
|
"""
|
|
359
391
|
return pulumi.get(self, "create_time")
|
|
360
392
|
|
|
@@ -366,9 +398,7 @@ class _CommonBandwithPackageState:
|
|
|
366
398
|
@pulumi.getter(name="deletionProtection")
|
|
367
399
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
368
400
|
"""
|
|
369
|
-
|
|
370
|
-
- **true**: Enable deletion protection.
|
|
371
|
-
- **false**: Disable deletion protection.
|
|
401
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
372
402
|
"""
|
|
373
403
|
return pulumi.get(self, "deletion_protection")
|
|
374
404
|
|
|
@@ -380,7 +410,7 @@ class _CommonBandwithPackageState:
|
|
|
380
410
|
@pulumi.getter
|
|
381
411
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
382
412
|
"""
|
|
383
|
-
The description of the
|
|
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://`.
|
|
384
414
|
"""
|
|
385
415
|
return pulumi.get(self, "description")
|
|
386
416
|
|
|
@@ -392,9 +422,7 @@ class _CommonBandwithPackageState:
|
|
|
392
422
|
@pulumi.getter
|
|
393
423
|
def force(self) -> Optional[pulumi.Input[str]]:
|
|
394
424
|
"""
|
|
395
|
-
|
|
396
|
-
- **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
|
|
397
|
-
- **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
|
|
425
|
+
Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
|
|
398
426
|
"""
|
|
399
427
|
return pulumi.get(self, "force")
|
|
400
428
|
|
|
@@ -406,7 +434,7 @@ class _CommonBandwithPackageState:
|
|
|
406
434
|
@pulumi.getter(name="internetChargeType")
|
|
407
435
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
408
436
|
"""
|
|
409
|
-
The billing method of the
|
|
437
|
+
The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
|
|
410
438
|
"""
|
|
411
439
|
return pulumi.get(self, "internet_charge_type")
|
|
412
440
|
|
|
@@ -418,7 +446,19 @@ class _CommonBandwithPackageState:
|
|
|
418
446
|
@pulumi.getter
|
|
419
447
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
420
448
|
"""
|
|
421
|
-
The type
|
|
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`.
|
|
422
462
|
"""
|
|
423
463
|
return pulumi.get(self, "isp")
|
|
424
464
|
|
|
@@ -455,7 +495,9 @@ class _CommonBandwithPackageState:
|
|
|
455
495
|
@pulumi.getter
|
|
456
496
|
def ratio(self) -> Optional[pulumi.Input[int]]:
|
|
457
497
|
"""
|
|
458
|
-
|
|
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.
|
|
459
501
|
"""
|
|
460
502
|
return pulumi.get(self, "ratio")
|
|
461
503
|
|
|
@@ -467,7 +509,9 @@ class _CommonBandwithPackageState:
|
|
|
467
509
|
@pulumi.getter(name="resourceGroupId")
|
|
468
510
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
469
511
|
"""
|
|
470
|
-
The
|
|
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)
|
|
471
515
|
"""
|
|
472
516
|
return pulumi.get(self, "resource_group_id")
|
|
473
517
|
|
|
@@ -491,7 +535,7 @@ class _CommonBandwithPackageState:
|
|
|
491
535
|
@pulumi.getter
|
|
492
536
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
493
537
|
"""
|
|
494
|
-
The status of the Internet Shared Bandwidth instance. Default value:
|
|
538
|
+
The status of the Internet Shared Bandwidth instance. Default value: `Available`.
|
|
495
539
|
"""
|
|
496
540
|
return pulumi.get(self, "status")
|
|
497
541
|
|
|
@@ -503,7 +547,7 @@ class _CommonBandwithPackageState:
|
|
|
503
547
|
@pulumi.getter
|
|
504
548
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
505
549
|
"""
|
|
506
|
-
The tag of the resource
|
|
550
|
+
The tag of the resource
|
|
507
551
|
"""
|
|
508
552
|
return pulumi.get(self, "tags")
|
|
509
553
|
|
|
@@ -515,7 +559,7 @@ class _CommonBandwithPackageState:
|
|
|
515
559
|
@pulumi.getter
|
|
516
560
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
517
561
|
"""
|
|
518
|
-
The
|
|
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.
|
|
519
563
|
|
|
520
564
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
521
565
|
"""
|
|
@@ -556,24 +600,35 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
556
600
|
|
|
557
601
|
:param str resource_name: The name of the resource.
|
|
558
602
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
559
|
-
:param pulumi.Input[str] bandwidth: The
|
|
560
|
-
|
|
561
|
-
:param pulumi.Input[
|
|
562
|
-
:param pulumi.Input[
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
:param pulumi.Input[str]
|
|
566
|
-
|
|
567
|
-
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
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`.
|
|
571
622
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
572
|
-
:param pulumi.Input[int] ratio:
|
|
573
|
-
|
|
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)
|
|
574
629
|
: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`.
|
|
575
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
576
|
-
:param pulumi.Input[str] zone: The
|
|
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.
|
|
577
632
|
|
|
578
633
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
579
634
|
"""
|
|
@@ -680,27 +735,38 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
680
735
|
:param str resource_name: The unique name of the resulting resource.
|
|
681
736
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
682
737
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
683
|
-
:param pulumi.Input[str] bandwidth: The
|
|
684
|
-
|
|
685
|
-
:param pulumi.Input[str]
|
|
686
|
-
:param pulumi.Input[
|
|
687
|
-
:param pulumi.Input[
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
:param pulumi.Input[str]
|
|
691
|
-
|
|
692
|
-
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
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`.
|
|
696
758
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
697
759
|
:param pulumi.Input[str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
|
|
698
|
-
:param pulumi.Input[int] ratio:
|
|
699
|
-
|
|
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)
|
|
700
766
|
: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`.
|
|
701
|
-
:param pulumi.Input[str] status: The status of the Internet Shared Bandwidth instance. Default value:
|
|
702
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
703
|
-
:param pulumi.Input[str] zone: The
|
|
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.
|
|
704
770
|
|
|
705
771
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
706
772
|
"""
|
|
@@ -730,8 +796,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
730
796
|
@pulumi.getter
|
|
731
797
|
def bandwidth(self) -> pulumi.Output[str]:
|
|
732
798
|
"""
|
|
733
|
-
The
|
|
734
|
-
Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
|
|
799
|
+
The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. Valid values: `1` to `1000`. Default value: `1`.
|
|
735
800
|
"""
|
|
736
801
|
return pulumi.get(self, "bandwidth")
|
|
737
802
|
|
|
@@ -739,7 +804,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
739
804
|
@pulumi.getter(name="bandwidthPackageName")
|
|
740
805
|
def bandwidth_package_name(self) -> pulumi.Output[str]:
|
|
741
806
|
"""
|
|
742
|
-
The name of the Internet Shared Bandwidth instance.
|
|
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.
|
|
743
808
|
"""
|
|
744
809
|
return pulumi.get(self, "bandwidth_package_name")
|
|
745
810
|
|
|
@@ -747,7 +812,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
747
812
|
@pulumi.getter(name="createTime")
|
|
748
813
|
def create_time(self) -> pulumi.Output[str]:
|
|
749
814
|
"""
|
|
750
|
-
The
|
|
815
|
+
The creation time.
|
|
751
816
|
"""
|
|
752
817
|
return pulumi.get(self, "create_time")
|
|
753
818
|
|
|
@@ -755,9 +820,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
755
820
|
@pulumi.getter(name="deletionProtection")
|
|
756
821
|
def deletion_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
757
822
|
"""
|
|
758
|
-
|
|
759
|
-
- **true**: Enable deletion protection.
|
|
760
|
-
- **false**: Disable deletion protection.
|
|
823
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
761
824
|
"""
|
|
762
825
|
return pulumi.get(self, "deletion_protection")
|
|
763
826
|
|
|
@@ -765,7 +828,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
765
828
|
@pulumi.getter
|
|
766
829
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
767
830
|
"""
|
|
768
|
-
The description of the
|
|
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://`.
|
|
769
832
|
"""
|
|
770
833
|
return pulumi.get(self, "description")
|
|
771
834
|
|
|
@@ -773,9 +836,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
773
836
|
@pulumi.getter
|
|
774
837
|
def force(self) -> pulumi.Output[Optional[str]]:
|
|
775
838
|
"""
|
|
776
|
-
|
|
777
|
-
- **false** (default): only the internet shared bandwidth that does not contain the EIP is deleted.
|
|
778
|
-
- **true**: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
|
|
839
|
+
Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:
|
|
779
840
|
"""
|
|
780
841
|
return pulumi.get(self, "force")
|
|
781
842
|
|
|
@@ -783,7 +844,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
783
844
|
@pulumi.getter(name="internetChargeType")
|
|
784
845
|
def internet_charge_type(self) -> pulumi.Output[Optional[str]]:
|
|
785
846
|
"""
|
|
786
|
-
The billing method of the
|
|
847
|
+
The billing method of the Internet Shared Bandwidth instance. Set the value to `PayByTraffic`, which specifies the pay-by-data-transfer billing method.
|
|
787
848
|
"""
|
|
788
849
|
return pulumi.get(self, "internet_charge_type")
|
|
789
850
|
|
|
@@ -791,7 +852,19 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
791
852
|
@pulumi.getter
|
|
792
853
|
def isp(self) -> pulumi.Output[str]:
|
|
793
854
|
"""
|
|
794
|
-
The type
|
|
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`.
|
|
795
868
|
"""
|
|
796
869
|
return pulumi.get(self, "isp")
|
|
797
870
|
|
|
@@ -816,7 +889,9 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
816
889
|
@pulumi.getter
|
|
817
890
|
def ratio(self) -> pulumi.Output[int]:
|
|
818
891
|
"""
|
|
819
|
-
|
|
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.
|
|
820
895
|
"""
|
|
821
896
|
return pulumi.get(self, "ratio")
|
|
822
897
|
|
|
@@ -824,7 +899,9 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
824
899
|
@pulumi.getter(name="resourceGroupId")
|
|
825
900
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
826
901
|
"""
|
|
827
|
-
The
|
|
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)
|
|
828
905
|
"""
|
|
829
906
|
return pulumi.get(self, "resource_group_id")
|
|
830
907
|
|
|
@@ -840,7 +917,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
840
917
|
@pulumi.getter
|
|
841
918
|
def status(self) -> pulumi.Output[str]:
|
|
842
919
|
"""
|
|
843
|
-
The status of the Internet Shared Bandwidth instance. Default value:
|
|
920
|
+
The status of the Internet Shared Bandwidth instance. Default value: `Available`.
|
|
844
921
|
"""
|
|
845
922
|
return pulumi.get(self, "status")
|
|
846
923
|
|
|
@@ -848,7 +925,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
848
925
|
@pulumi.getter
|
|
849
926
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
|
850
927
|
"""
|
|
851
|
-
The tag of the resource
|
|
928
|
+
The tag of the resource
|
|
852
929
|
"""
|
|
853
930
|
return pulumi.get(self, "tags")
|
|
854
931
|
|
|
@@ -856,7 +933,7 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
856
933
|
@pulumi.getter
|
|
857
934
|
def zone(self) -> pulumi.Output[Optional[str]]:
|
|
858
935
|
"""
|
|
859
|
-
The
|
|
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.
|
|
860
937
|
|
|
861
938
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
862
939
|
"""
|