pulumi-alicloud 3.58.0a1719292463__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.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/RECORD +29 -29
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/top_level.txt +0 -0
|
@@ -41,53 +41,81 @@ class EipAddressArgs:
|
|
|
41
41
|
zone: Optional[pulumi.Input[str]] = None):
|
|
42
42
|
"""
|
|
43
43
|
The set of arguments for constructing a EipAddress resource.
|
|
44
|
-
:param pulumi.Input[str] activity_id:
|
|
45
|
-
:param pulumi.Input[str] address_name: The
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
:param pulumi.Input[str] activity_id: The promotion code. This parameter is not required.
|
|
45
|
+
:param pulumi.Input[str] address_name: The EIP name.
|
|
46
|
+
|
|
47
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
48
|
+
|
|
49
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
50
|
+
:param pulumi.Input[str] allocation_id: The ID of the EIP instance.
|
|
51
|
+
:param pulumi.Input[bool] auto_pay: Specifies whether to enable automatic payment. Valid values:
|
|
52
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
53
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
54
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
55
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
56
|
+
|
|
57
|
+
Default value: `5` Mbit /s.
|
|
58
|
+
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
|
|
52
59
|
:param pulumi.Input[str] description: The description of the EIP.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
|
|
61
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
62
|
+
|
|
63
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
64
|
+
:param pulumi.Input[str] high_definition_monitor_log_status: The status of fine-grained monitoring. Valid values:
|
|
65
|
+
- `ON`
|
|
66
|
+
- `OFF`
|
|
56
67
|
:param pulumi.Input[str] instance_charge_type: . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
|
|
57
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- `
|
|
67
|
-
- `
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
|
|
68
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the EIP. Valid values:
|
|
69
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
70
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
71
|
+
|
|
72
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
73
|
+
|
|
74
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
75
|
+
:param pulumi.Input[str] ip_address: The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
76
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
77
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
78
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
79
|
+
|
|
80
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
81
|
+
|
|
82
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
83
|
+
- `ChinaTelecom`
|
|
84
|
+
- `ChinaUnicom`
|
|
85
|
+
- `ChinaMobile`
|
|
86
|
+
- `ChinaTelecom_L2`
|
|
87
|
+
- `ChinaUnicom_L2`
|
|
88
|
+
- `ChinaMobile_L2`
|
|
89
|
+
|
|
90
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
91
|
+
:param pulumi.Input[str] log_project: The name of the Simple Log Service (SLS) project.
|
|
92
|
+
:param pulumi.Input[str] log_store: The name of the Logstore.
|
|
93
|
+
:param pulumi.Input[str] mode: The association mode. Valid values:
|
|
94
|
+
- `NAT` (default): NAT mode
|
|
95
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
96
|
+
- `BINDED`: cut-network interface controller mode
|
|
79
97
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.
|
|
80
|
-
:param pulumi.Input[str] netmode: The type
|
|
81
|
-
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
98
|
+
:param pulumi.Input[str] netmode: The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
99
|
+
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
100
|
+
- `Subscription`: subscription
|
|
101
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
102
|
+
|
|
103
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
104
|
+
:param pulumi.Input[int] period: Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
105
|
+
:param pulumi.Input[str] pricing_cycle: The billing cycle of the subscription EIP. Valid values:
|
|
106
|
+
- `Month` (default)
|
|
107
|
+
- `Year`
|
|
108
|
+
|
|
109
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
110
|
+
:param pulumi.Input[str] public_ip_address_pool_id: The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
111
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
112
|
+
|
|
113
|
+
> **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)
|
|
86
114
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: Security protection level.
|
|
87
115
|
- When the return is empty, the basic DDoS protection is specified.
|
|
88
|
-
- When
|
|
89
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
90
|
-
:param pulumi.Input[str] zone: The zone of the EIP.
|
|
116
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
117
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
118
|
+
:param pulumi.Input[str] zone: The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
91
119
|
|
|
92
120
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
93
121
|
"""
|
|
@@ -152,7 +180,7 @@ class EipAddressArgs:
|
|
|
152
180
|
@pulumi.getter(name="activityId")
|
|
153
181
|
def activity_id(self) -> Optional[pulumi.Input[str]]:
|
|
154
182
|
"""
|
|
155
|
-
|
|
183
|
+
The promotion code. This parameter is not required.
|
|
156
184
|
"""
|
|
157
185
|
return pulumi.get(self, "activity_id")
|
|
158
186
|
|
|
@@ -164,7 +192,11 @@ class EipAddressArgs:
|
|
|
164
192
|
@pulumi.getter(name="addressName")
|
|
165
193
|
def address_name(self) -> Optional[pulumi.Input[str]]:
|
|
166
194
|
"""
|
|
167
|
-
The
|
|
195
|
+
The EIP name.
|
|
196
|
+
|
|
197
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
198
|
+
|
|
199
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
168
200
|
"""
|
|
169
201
|
return pulumi.get(self, "address_name")
|
|
170
202
|
|
|
@@ -176,7 +208,7 @@ class EipAddressArgs:
|
|
|
176
208
|
@pulumi.getter(name="allocationId")
|
|
177
209
|
def allocation_id(self) -> Optional[pulumi.Input[str]]:
|
|
178
210
|
"""
|
|
179
|
-
The ID of the EIP instance.
|
|
211
|
+
The ID of the EIP instance.
|
|
180
212
|
"""
|
|
181
213
|
return pulumi.get(self, "allocation_id")
|
|
182
214
|
|
|
@@ -188,7 +220,7 @@ class EipAddressArgs:
|
|
|
188
220
|
@pulumi.getter(name="autoPay")
|
|
189
221
|
def auto_pay(self) -> Optional[pulumi.Input[bool]]:
|
|
190
222
|
"""
|
|
191
|
-
|
|
223
|
+
Specifies whether to enable automatic payment. Valid values:
|
|
192
224
|
"""
|
|
193
225
|
return pulumi.get(self, "auto_pay")
|
|
194
226
|
|
|
@@ -200,7 +232,12 @@ class EipAddressArgs:
|
|
|
200
232
|
@pulumi.getter
|
|
201
233
|
def bandwidth(self) -> Optional[pulumi.Input[str]]:
|
|
202
234
|
"""
|
|
203
|
-
The maximum bandwidth of the EIP.
|
|
235
|
+
The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
236
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
237
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
238
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
239
|
+
|
|
240
|
+
Default value: `5` Mbit /s.
|
|
204
241
|
"""
|
|
205
242
|
return pulumi.get(self, "bandwidth")
|
|
206
243
|
|
|
@@ -212,9 +249,7 @@ class EipAddressArgs:
|
|
|
212
249
|
@pulumi.getter(name="deletionProtection")
|
|
213
250
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
214
251
|
"""
|
|
215
|
-
|
|
216
|
-
- **true**: enabled.
|
|
217
|
-
- **false**: not enabled.
|
|
252
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
218
253
|
"""
|
|
219
254
|
return pulumi.get(self, "deletion_protection")
|
|
220
255
|
|
|
@@ -227,6 +262,10 @@ class EipAddressArgs:
|
|
|
227
262
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
228
263
|
"""
|
|
229
264
|
The description of the EIP.
|
|
265
|
+
|
|
266
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
267
|
+
|
|
268
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
230
269
|
"""
|
|
231
270
|
return pulumi.get(self, "description")
|
|
232
271
|
|
|
@@ -238,9 +277,9 @@ class EipAddressArgs:
|
|
|
238
277
|
@pulumi.getter(name="highDefinitionMonitorLogStatus")
|
|
239
278
|
def high_definition_monitor_log_status(self) -> Optional[pulumi.Input[str]]:
|
|
240
279
|
"""
|
|
241
|
-
|
|
242
|
-
-
|
|
243
|
-
-
|
|
280
|
+
The status of fine-grained monitoring. Valid values:
|
|
281
|
+
- `ON`
|
|
282
|
+
- `OFF`
|
|
244
283
|
"""
|
|
245
284
|
return pulumi.get(self, "high_definition_monitor_log_status")
|
|
246
285
|
|
|
@@ -265,9 +304,13 @@ class EipAddressArgs:
|
|
|
265
304
|
@pulumi.getter(name="internetChargeType")
|
|
266
305
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
267
306
|
"""
|
|
268
|
-
|
|
269
|
-
-
|
|
270
|
-
-
|
|
307
|
+
The metering method of the EIP. Valid values:
|
|
308
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
309
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
310
|
+
|
|
311
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
312
|
+
|
|
313
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
271
314
|
"""
|
|
272
315
|
return pulumi.get(self, "internet_charge_type")
|
|
273
316
|
|
|
@@ -279,7 +322,7 @@ class EipAddressArgs:
|
|
|
279
322
|
@pulumi.getter(name="ipAddress")
|
|
280
323
|
def ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
281
324
|
"""
|
|
282
|
-
The IP address of the EIP.
|
|
325
|
+
The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
283
326
|
"""
|
|
284
327
|
return pulumi.get(self, "ip_address")
|
|
285
328
|
|
|
@@ -291,18 +334,21 @@ class EipAddressArgs:
|
|
|
291
334
|
@pulumi.getter
|
|
292
335
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
293
336
|
"""
|
|
294
|
-
The line type.
|
|
295
|
-
- `BGP
|
|
296
|
-
- `BGP_PRO`: BGP (Multi-ISP) Pro
|
|
297
|
-
|
|
298
|
-
-
|
|
299
|
-
|
|
300
|
-
-
|
|
301
|
-
- `
|
|
302
|
-
- `
|
|
303
|
-
- `
|
|
304
|
-
- `
|
|
305
|
-
|
|
337
|
+
The line type. Valid values:
|
|
338
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
339
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
340
|
+
|
|
341
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
342
|
+
|
|
343
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
344
|
+
- `ChinaTelecom`
|
|
345
|
+
- `ChinaUnicom`
|
|
346
|
+
- `ChinaMobile`
|
|
347
|
+
- `ChinaTelecom_L2`
|
|
348
|
+
- `ChinaUnicom_L2`
|
|
349
|
+
- `ChinaMobile_L2`
|
|
350
|
+
|
|
351
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
306
352
|
"""
|
|
307
353
|
return pulumi.get(self, "isp")
|
|
308
354
|
|
|
@@ -314,7 +360,7 @@ class EipAddressArgs:
|
|
|
314
360
|
@pulumi.getter(name="logProject")
|
|
315
361
|
def log_project(self) -> Optional[pulumi.Input[str]]:
|
|
316
362
|
"""
|
|
317
|
-
The
|
|
363
|
+
The name of the Simple Log Service (SLS) project.
|
|
318
364
|
"""
|
|
319
365
|
return pulumi.get(self, "log_project")
|
|
320
366
|
|
|
@@ -326,7 +372,7 @@ class EipAddressArgs:
|
|
|
326
372
|
@pulumi.getter(name="logStore")
|
|
327
373
|
def log_store(self) -> Optional[pulumi.Input[str]]:
|
|
328
374
|
"""
|
|
329
|
-
The
|
|
375
|
+
The name of the Logstore.
|
|
330
376
|
"""
|
|
331
377
|
return pulumi.get(self, "log_store")
|
|
332
378
|
|
|
@@ -338,10 +384,10 @@ class EipAddressArgs:
|
|
|
338
384
|
@pulumi.getter
|
|
339
385
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
|
340
386
|
"""
|
|
341
|
-
|
|
342
|
-
-
|
|
343
|
-
-
|
|
344
|
-
-
|
|
387
|
+
The association mode. Valid values:
|
|
388
|
+
- `NAT` (default): NAT mode
|
|
389
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
390
|
+
- `BINDED`: cut-network interface controller mode
|
|
345
391
|
"""
|
|
346
392
|
return pulumi.get(self, "mode")
|
|
347
393
|
|
|
@@ -366,7 +412,7 @@ class EipAddressArgs:
|
|
|
366
412
|
@pulumi.getter
|
|
367
413
|
def netmode(self) -> Optional[pulumi.Input[str]]:
|
|
368
414
|
"""
|
|
369
|
-
The type
|
|
415
|
+
The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
370
416
|
"""
|
|
371
417
|
return pulumi.get(self, "netmode")
|
|
372
418
|
|
|
@@ -378,7 +424,11 @@ class EipAddressArgs:
|
|
|
378
424
|
@pulumi.getter(name="paymentType")
|
|
379
425
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
380
426
|
"""
|
|
381
|
-
The billing method of the EIP. Valid values:
|
|
427
|
+
The billing method of the EIP. Valid values:
|
|
428
|
+
- `Subscription`: subscription
|
|
429
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
430
|
+
|
|
431
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
382
432
|
"""
|
|
383
433
|
return pulumi.get(self, "payment_type")
|
|
384
434
|
|
|
@@ -390,7 +440,7 @@ class EipAddressArgs:
|
|
|
390
440
|
@pulumi.getter
|
|
391
441
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
392
442
|
"""
|
|
393
|
-
When the
|
|
443
|
+
Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
394
444
|
"""
|
|
395
445
|
return pulumi.get(self, "period")
|
|
396
446
|
|
|
@@ -402,7 +452,11 @@ class EipAddressArgs:
|
|
|
402
452
|
@pulumi.getter(name="pricingCycle")
|
|
403
453
|
def pricing_cycle(self) -> Optional[pulumi.Input[str]]:
|
|
404
454
|
"""
|
|
405
|
-
|
|
455
|
+
The billing cycle of the subscription EIP. Valid values:
|
|
456
|
+
- `Month` (default)
|
|
457
|
+
- `Year`
|
|
458
|
+
|
|
459
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
406
460
|
"""
|
|
407
461
|
return pulumi.get(self, "pricing_cycle")
|
|
408
462
|
|
|
@@ -414,7 +468,7 @@ class EipAddressArgs:
|
|
|
414
468
|
@pulumi.getter(name="publicIpAddressPoolId")
|
|
415
469
|
def public_ip_address_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
416
470
|
"""
|
|
417
|
-
The ID of the IP address pool
|
|
471
|
+
The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
418
472
|
"""
|
|
419
473
|
return pulumi.get(self, "public_ip_address_pool_id")
|
|
420
474
|
|
|
@@ -426,7 +480,9 @@ class EipAddressArgs:
|
|
|
426
480
|
@pulumi.getter(name="resourceGroupId")
|
|
427
481
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
428
482
|
"""
|
|
429
|
-
The ID of the resource group.
|
|
483
|
+
The ID of the resource group to which you want to move the resource.
|
|
484
|
+
|
|
485
|
+
> **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)
|
|
430
486
|
"""
|
|
431
487
|
return pulumi.get(self, "resource_group_id")
|
|
432
488
|
|
|
@@ -440,7 +496,7 @@ class EipAddressArgs:
|
|
|
440
496
|
"""
|
|
441
497
|
Security protection level.
|
|
442
498
|
- When the return is empty, the basic DDoS protection is specified.
|
|
443
|
-
- When
|
|
499
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
444
500
|
"""
|
|
445
501
|
return pulumi.get(self, "security_protection_types")
|
|
446
502
|
|
|
@@ -452,7 +508,7 @@ class EipAddressArgs:
|
|
|
452
508
|
@pulumi.getter
|
|
453
509
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
454
510
|
"""
|
|
455
|
-
The tag of the resource
|
|
511
|
+
The tag of the resource
|
|
456
512
|
"""
|
|
457
513
|
return pulumi.get(self, "tags")
|
|
458
514
|
|
|
@@ -464,7 +520,7 @@ class EipAddressArgs:
|
|
|
464
520
|
@pulumi.getter
|
|
465
521
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
466
522
|
"""
|
|
467
|
-
The zone of the EIP.
|
|
523
|
+
The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
468
524
|
|
|
469
525
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
470
526
|
"""
|
|
@@ -507,55 +563,83 @@ class _EipAddressState:
|
|
|
507
563
|
zone: Optional[pulumi.Input[str]] = None):
|
|
508
564
|
"""
|
|
509
565
|
Input properties used for looking up and filtering EipAddress resources.
|
|
510
|
-
:param pulumi.Input[str] activity_id:
|
|
511
|
-
:param pulumi.Input[str] address_name: The
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
566
|
+
:param pulumi.Input[str] activity_id: The promotion code. This parameter is not required.
|
|
567
|
+
:param pulumi.Input[str] address_name: The EIP name.
|
|
568
|
+
|
|
569
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
570
|
+
|
|
571
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
572
|
+
:param pulumi.Input[str] allocation_id: The ID of the EIP instance.
|
|
573
|
+
:param pulumi.Input[bool] auto_pay: Specifies whether to enable automatic payment. Valid values:
|
|
574
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
575
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
576
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
577
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
578
|
+
|
|
579
|
+
Default value: `5` Mbit /s.
|
|
515
580
|
:param pulumi.Input[str] create_time: The time when the EIP was created.
|
|
516
|
-
:param pulumi.Input[bool] deletion_protection:
|
|
517
|
-
- **true**: enabled.
|
|
518
|
-
- **false**: not enabled.
|
|
581
|
+
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
|
|
519
582
|
:param pulumi.Input[str] description: The description of the EIP.
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
583
|
+
|
|
584
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
585
|
+
|
|
586
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
587
|
+
:param pulumi.Input[str] high_definition_monitor_log_status: The status of fine-grained monitoring. Valid values:
|
|
588
|
+
- `ON`
|
|
589
|
+
- `OFF`
|
|
523
590
|
:param pulumi.Input[str] instance_charge_type: . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
|
|
524
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
525
|
-
-
|
|
526
|
-
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
- `
|
|
534
|
-
- `
|
|
535
|
-
|
|
536
|
-
-
|
|
537
|
-
|
|
538
|
-
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
-
|
|
544
|
-
-
|
|
545
|
-
|
|
591
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the EIP. Valid values:
|
|
592
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
593
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
594
|
+
|
|
595
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
596
|
+
|
|
597
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
598
|
+
:param pulumi.Input[str] ip_address: The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
599
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
600
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
601
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
602
|
+
|
|
603
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
604
|
+
|
|
605
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
606
|
+
- `ChinaTelecom`
|
|
607
|
+
- `ChinaUnicom`
|
|
608
|
+
- `ChinaMobile`
|
|
609
|
+
- `ChinaTelecom_L2`
|
|
610
|
+
- `ChinaUnicom_L2`
|
|
611
|
+
- `ChinaMobile_L2`
|
|
612
|
+
|
|
613
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
614
|
+
:param pulumi.Input[str] log_project: The name of the Simple Log Service (SLS) project.
|
|
615
|
+
:param pulumi.Input[str] log_store: The name of the Logstore.
|
|
616
|
+
:param pulumi.Input[str] mode: The association mode. Valid values:
|
|
617
|
+
- `NAT` (default): NAT mode
|
|
618
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
619
|
+
- `BINDED`: cut-network interface controller mode
|
|
546
620
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.
|
|
547
|
-
:param pulumi.Input[str] netmode: The type
|
|
548
|
-
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
621
|
+
:param pulumi.Input[str] netmode: The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
622
|
+
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
623
|
+
- `Subscription`: subscription
|
|
624
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
625
|
+
|
|
626
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
627
|
+
:param pulumi.Input[int] period: Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
628
|
+
:param pulumi.Input[str] pricing_cycle: The billing cycle of the subscription EIP. Valid values:
|
|
629
|
+
- `Month` (default)
|
|
630
|
+
- `Year`
|
|
631
|
+
|
|
632
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
633
|
+
:param pulumi.Input[str] public_ip_address_pool_id: The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
634
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
635
|
+
|
|
636
|
+
> **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)
|
|
553
637
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: Security protection level.
|
|
554
638
|
- When the return is empty, the basic DDoS protection is specified.
|
|
555
|
-
- When
|
|
556
|
-
:param pulumi.Input[str] status: The
|
|
557
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
558
|
-
:param pulumi.Input[str] zone: The zone of the EIP.
|
|
639
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
640
|
+
:param pulumi.Input[str] status: The state of the EIP.
|
|
641
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
642
|
+
:param pulumi.Input[str] zone: The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
559
643
|
|
|
560
644
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
561
645
|
"""
|
|
@@ -624,7 +708,7 @@ class _EipAddressState:
|
|
|
624
708
|
@pulumi.getter(name="activityId")
|
|
625
709
|
def activity_id(self) -> Optional[pulumi.Input[str]]:
|
|
626
710
|
"""
|
|
627
|
-
|
|
711
|
+
The promotion code. This parameter is not required.
|
|
628
712
|
"""
|
|
629
713
|
return pulumi.get(self, "activity_id")
|
|
630
714
|
|
|
@@ -636,7 +720,11 @@ class _EipAddressState:
|
|
|
636
720
|
@pulumi.getter(name="addressName")
|
|
637
721
|
def address_name(self) -> Optional[pulumi.Input[str]]:
|
|
638
722
|
"""
|
|
639
|
-
The
|
|
723
|
+
The EIP name.
|
|
724
|
+
|
|
725
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
726
|
+
|
|
727
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
640
728
|
"""
|
|
641
729
|
return pulumi.get(self, "address_name")
|
|
642
730
|
|
|
@@ -648,7 +736,7 @@ class _EipAddressState:
|
|
|
648
736
|
@pulumi.getter(name="allocationId")
|
|
649
737
|
def allocation_id(self) -> Optional[pulumi.Input[str]]:
|
|
650
738
|
"""
|
|
651
|
-
The ID of the EIP instance.
|
|
739
|
+
The ID of the EIP instance.
|
|
652
740
|
"""
|
|
653
741
|
return pulumi.get(self, "allocation_id")
|
|
654
742
|
|
|
@@ -660,7 +748,7 @@ class _EipAddressState:
|
|
|
660
748
|
@pulumi.getter(name="autoPay")
|
|
661
749
|
def auto_pay(self) -> Optional[pulumi.Input[bool]]:
|
|
662
750
|
"""
|
|
663
|
-
|
|
751
|
+
Specifies whether to enable automatic payment. Valid values:
|
|
664
752
|
"""
|
|
665
753
|
return pulumi.get(self, "auto_pay")
|
|
666
754
|
|
|
@@ -672,7 +760,12 @@ class _EipAddressState:
|
|
|
672
760
|
@pulumi.getter
|
|
673
761
|
def bandwidth(self) -> Optional[pulumi.Input[str]]:
|
|
674
762
|
"""
|
|
675
|
-
The maximum bandwidth of the EIP.
|
|
763
|
+
The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
764
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
765
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
766
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
767
|
+
|
|
768
|
+
Default value: `5` Mbit /s.
|
|
676
769
|
"""
|
|
677
770
|
return pulumi.get(self, "bandwidth")
|
|
678
771
|
|
|
@@ -696,9 +789,7 @@ class _EipAddressState:
|
|
|
696
789
|
@pulumi.getter(name="deletionProtection")
|
|
697
790
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
698
791
|
"""
|
|
699
|
-
|
|
700
|
-
- **true**: enabled.
|
|
701
|
-
- **false**: not enabled.
|
|
792
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
702
793
|
"""
|
|
703
794
|
return pulumi.get(self, "deletion_protection")
|
|
704
795
|
|
|
@@ -711,6 +802,10 @@ class _EipAddressState:
|
|
|
711
802
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
712
803
|
"""
|
|
713
804
|
The description of the EIP.
|
|
805
|
+
|
|
806
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
807
|
+
|
|
808
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
714
809
|
"""
|
|
715
810
|
return pulumi.get(self, "description")
|
|
716
811
|
|
|
@@ -722,9 +817,9 @@ class _EipAddressState:
|
|
|
722
817
|
@pulumi.getter(name="highDefinitionMonitorLogStatus")
|
|
723
818
|
def high_definition_monitor_log_status(self) -> Optional[pulumi.Input[str]]:
|
|
724
819
|
"""
|
|
725
|
-
|
|
726
|
-
-
|
|
727
|
-
-
|
|
820
|
+
The status of fine-grained monitoring. Valid values:
|
|
821
|
+
- `ON`
|
|
822
|
+
- `OFF`
|
|
728
823
|
"""
|
|
729
824
|
return pulumi.get(self, "high_definition_monitor_log_status")
|
|
730
825
|
|
|
@@ -749,9 +844,13 @@ class _EipAddressState:
|
|
|
749
844
|
@pulumi.getter(name="internetChargeType")
|
|
750
845
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
751
846
|
"""
|
|
752
|
-
|
|
753
|
-
-
|
|
754
|
-
-
|
|
847
|
+
The metering method of the EIP. Valid values:
|
|
848
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
849
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
850
|
+
|
|
851
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
852
|
+
|
|
853
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
755
854
|
"""
|
|
756
855
|
return pulumi.get(self, "internet_charge_type")
|
|
757
856
|
|
|
@@ -763,7 +862,7 @@ class _EipAddressState:
|
|
|
763
862
|
@pulumi.getter(name="ipAddress")
|
|
764
863
|
def ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
765
864
|
"""
|
|
766
|
-
The IP address of the EIP.
|
|
865
|
+
The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
767
866
|
"""
|
|
768
867
|
return pulumi.get(self, "ip_address")
|
|
769
868
|
|
|
@@ -775,18 +874,21 @@ class _EipAddressState:
|
|
|
775
874
|
@pulumi.getter
|
|
776
875
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
777
876
|
"""
|
|
778
|
-
The line type.
|
|
779
|
-
- `BGP
|
|
780
|
-
- `BGP_PRO`: BGP (Multi-ISP) Pro
|
|
781
|
-
|
|
782
|
-
-
|
|
783
|
-
|
|
784
|
-
-
|
|
785
|
-
- `
|
|
786
|
-
- `
|
|
787
|
-
- `
|
|
788
|
-
- `
|
|
789
|
-
|
|
877
|
+
The line type. Valid values:
|
|
878
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
879
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
880
|
+
|
|
881
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
882
|
+
|
|
883
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
884
|
+
- `ChinaTelecom`
|
|
885
|
+
- `ChinaUnicom`
|
|
886
|
+
- `ChinaMobile`
|
|
887
|
+
- `ChinaTelecom_L2`
|
|
888
|
+
- `ChinaUnicom_L2`
|
|
889
|
+
- `ChinaMobile_L2`
|
|
890
|
+
|
|
891
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
790
892
|
"""
|
|
791
893
|
return pulumi.get(self, "isp")
|
|
792
894
|
|
|
@@ -798,7 +900,7 @@ class _EipAddressState:
|
|
|
798
900
|
@pulumi.getter(name="logProject")
|
|
799
901
|
def log_project(self) -> Optional[pulumi.Input[str]]:
|
|
800
902
|
"""
|
|
801
|
-
The
|
|
903
|
+
The name of the Simple Log Service (SLS) project.
|
|
802
904
|
"""
|
|
803
905
|
return pulumi.get(self, "log_project")
|
|
804
906
|
|
|
@@ -810,7 +912,7 @@ class _EipAddressState:
|
|
|
810
912
|
@pulumi.getter(name="logStore")
|
|
811
913
|
def log_store(self) -> Optional[pulumi.Input[str]]:
|
|
812
914
|
"""
|
|
813
|
-
The
|
|
915
|
+
The name of the Logstore.
|
|
814
916
|
"""
|
|
815
917
|
return pulumi.get(self, "log_store")
|
|
816
918
|
|
|
@@ -822,10 +924,10 @@ class _EipAddressState:
|
|
|
822
924
|
@pulumi.getter
|
|
823
925
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
|
824
926
|
"""
|
|
825
|
-
|
|
826
|
-
-
|
|
827
|
-
-
|
|
828
|
-
-
|
|
927
|
+
The association mode. Valid values:
|
|
928
|
+
- `NAT` (default): NAT mode
|
|
929
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
930
|
+
- `BINDED`: cut-network interface controller mode
|
|
829
931
|
"""
|
|
830
932
|
return pulumi.get(self, "mode")
|
|
831
933
|
|
|
@@ -850,7 +952,7 @@ class _EipAddressState:
|
|
|
850
952
|
@pulumi.getter
|
|
851
953
|
def netmode(self) -> Optional[pulumi.Input[str]]:
|
|
852
954
|
"""
|
|
853
|
-
The type
|
|
955
|
+
The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
854
956
|
"""
|
|
855
957
|
return pulumi.get(self, "netmode")
|
|
856
958
|
|
|
@@ -862,7 +964,11 @@ class _EipAddressState:
|
|
|
862
964
|
@pulumi.getter(name="paymentType")
|
|
863
965
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
864
966
|
"""
|
|
865
|
-
The billing method of the EIP. Valid values:
|
|
967
|
+
The billing method of the EIP. Valid values:
|
|
968
|
+
- `Subscription`: subscription
|
|
969
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
970
|
+
|
|
971
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
866
972
|
"""
|
|
867
973
|
return pulumi.get(self, "payment_type")
|
|
868
974
|
|
|
@@ -874,7 +980,7 @@ class _EipAddressState:
|
|
|
874
980
|
@pulumi.getter
|
|
875
981
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
876
982
|
"""
|
|
877
|
-
When the
|
|
983
|
+
Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
878
984
|
"""
|
|
879
985
|
return pulumi.get(self, "period")
|
|
880
986
|
|
|
@@ -886,7 +992,11 @@ class _EipAddressState:
|
|
|
886
992
|
@pulumi.getter(name="pricingCycle")
|
|
887
993
|
def pricing_cycle(self) -> Optional[pulumi.Input[str]]:
|
|
888
994
|
"""
|
|
889
|
-
|
|
995
|
+
The billing cycle of the subscription EIP. Valid values:
|
|
996
|
+
- `Month` (default)
|
|
997
|
+
- `Year`
|
|
998
|
+
|
|
999
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
890
1000
|
"""
|
|
891
1001
|
return pulumi.get(self, "pricing_cycle")
|
|
892
1002
|
|
|
@@ -898,7 +1008,7 @@ class _EipAddressState:
|
|
|
898
1008
|
@pulumi.getter(name="publicIpAddressPoolId")
|
|
899
1009
|
def public_ip_address_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
900
1010
|
"""
|
|
901
|
-
The ID of the IP address pool
|
|
1011
|
+
The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
902
1012
|
"""
|
|
903
1013
|
return pulumi.get(self, "public_ip_address_pool_id")
|
|
904
1014
|
|
|
@@ -910,7 +1020,9 @@ class _EipAddressState:
|
|
|
910
1020
|
@pulumi.getter(name="resourceGroupId")
|
|
911
1021
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
912
1022
|
"""
|
|
913
|
-
The ID of the resource group.
|
|
1023
|
+
The ID of the resource group to which you want to move the resource.
|
|
1024
|
+
|
|
1025
|
+
> **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)
|
|
914
1026
|
"""
|
|
915
1027
|
return pulumi.get(self, "resource_group_id")
|
|
916
1028
|
|
|
@@ -924,7 +1036,7 @@ class _EipAddressState:
|
|
|
924
1036
|
"""
|
|
925
1037
|
Security protection level.
|
|
926
1038
|
- When the return is empty, the basic DDoS protection is specified.
|
|
927
|
-
- When
|
|
1039
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
928
1040
|
"""
|
|
929
1041
|
return pulumi.get(self, "security_protection_types")
|
|
930
1042
|
|
|
@@ -936,7 +1048,7 @@ class _EipAddressState:
|
|
|
936
1048
|
@pulumi.getter
|
|
937
1049
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
938
1050
|
"""
|
|
939
|
-
The
|
|
1051
|
+
The state of the EIP.
|
|
940
1052
|
"""
|
|
941
1053
|
return pulumi.get(self, "status")
|
|
942
1054
|
|
|
@@ -948,7 +1060,7 @@ class _EipAddressState:
|
|
|
948
1060
|
@pulumi.getter
|
|
949
1061
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
950
1062
|
"""
|
|
951
|
-
The tag of the resource
|
|
1063
|
+
The tag of the resource
|
|
952
1064
|
"""
|
|
953
1065
|
return pulumi.get(self, "tags")
|
|
954
1066
|
|
|
@@ -960,7 +1072,7 @@ class _EipAddressState:
|
|
|
960
1072
|
@pulumi.getter
|
|
961
1073
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
962
1074
|
"""
|
|
963
|
-
The zone of the EIP.
|
|
1075
|
+
The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
964
1076
|
|
|
965
1077
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
966
1078
|
"""
|
|
@@ -1013,53 +1125,81 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1013
1125
|
|
|
1014
1126
|
:param str resource_name: The name of the resource.
|
|
1015
1127
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1016
|
-
:param pulumi.Input[str] activity_id:
|
|
1017
|
-
:param pulumi.Input[str] address_name: The
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1128
|
+
:param pulumi.Input[str] activity_id: The promotion code. This parameter is not required.
|
|
1129
|
+
:param pulumi.Input[str] address_name: The EIP name.
|
|
1130
|
+
|
|
1131
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
1132
|
+
|
|
1133
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1134
|
+
:param pulumi.Input[str] allocation_id: The ID of the EIP instance.
|
|
1135
|
+
:param pulumi.Input[bool] auto_pay: Specifies whether to enable automatic payment. Valid values:
|
|
1136
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
1137
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
1138
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
1139
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
1140
|
+
|
|
1141
|
+
Default value: `5` Mbit /s.
|
|
1142
|
+
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
|
|
1024
1143
|
:param pulumi.Input[str] description: The description of the EIP.
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1144
|
+
|
|
1145
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
1146
|
+
|
|
1147
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1148
|
+
:param pulumi.Input[str] high_definition_monitor_log_status: The status of fine-grained monitoring. Valid values:
|
|
1149
|
+
- `ON`
|
|
1150
|
+
- `OFF`
|
|
1028
1151
|
:param pulumi.Input[str] instance_charge_type: . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
|
|
1029
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
1030
|
-
-
|
|
1031
|
-
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
- `
|
|
1039
|
-
- `
|
|
1040
|
-
|
|
1041
|
-
-
|
|
1042
|
-
|
|
1043
|
-
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
-
|
|
1049
|
-
-
|
|
1050
|
-
|
|
1152
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the EIP. Valid values:
|
|
1153
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
1154
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
1155
|
+
|
|
1156
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
1157
|
+
|
|
1158
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1159
|
+
:param pulumi.Input[str] ip_address: The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
1160
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
1161
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
1162
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
1163
|
+
|
|
1164
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
1165
|
+
|
|
1166
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
1167
|
+
- `ChinaTelecom`
|
|
1168
|
+
- `ChinaUnicom`
|
|
1169
|
+
- `ChinaMobile`
|
|
1170
|
+
- `ChinaTelecom_L2`
|
|
1171
|
+
- `ChinaUnicom_L2`
|
|
1172
|
+
- `ChinaMobile_L2`
|
|
1173
|
+
|
|
1174
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
1175
|
+
:param pulumi.Input[str] log_project: The name of the Simple Log Service (SLS) project.
|
|
1176
|
+
:param pulumi.Input[str] log_store: The name of the Logstore.
|
|
1177
|
+
:param pulumi.Input[str] mode: The association mode. Valid values:
|
|
1178
|
+
- `NAT` (default): NAT mode
|
|
1179
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
1180
|
+
- `BINDED`: cut-network interface controller mode
|
|
1051
1181
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.
|
|
1052
|
-
:param pulumi.Input[str] netmode: The type
|
|
1053
|
-
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1182
|
+
:param pulumi.Input[str] netmode: The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
1183
|
+
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
1184
|
+
- `Subscription`: subscription
|
|
1185
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
1186
|
+
|
|
1187
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1188
|
+
:param pulumi.Input[int] period: Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
1189
|
+
:param pulumi.Input[str] pricing_cycle: The billing cycle of the subscription EIP. Valid values:
|
|
1190
|
+
- `Month` (default)
|
|
1191
|
+
- `Year`
|
|
1192
|
+
|
|
1193
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
1194
|
+
:param pulumi.Input[str] public_ip_address_pool_id: The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
1195
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
1196
|
+
|
|
1197
|
+
> **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)
|
|
1058
1198
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: Security protection level.
|
|
1059
1199
|
- When the return is empty, the basic DDoS protection is specified.
|
|
1060
|
-
- When
|
|
1061
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
1062
|
-
:param pulumi.Input[str] zone: The zone of the EIP.
|
|
1200
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
1201
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
1202
|
+
:param pulumi.Input[str] zone: The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
1063
1203
|
|
|
1064
1204
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1065
1205
|
"""
|
|
@@ -1198,55 +1338,83 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1198
1338
|
:param str resource_name: The unique name of the resulting resource.
|
|
1199
1339
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1200
1340
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1201
|
-
:param pulumi.Input[str] activity_id:
|
|
1202
|
-
:param pulumi.Input[str] address_name: The
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1341
|
+
:param pulumi.Input[str] activity_id: The promotion code. This parameter is not required.
|
|
1342
|
+
:param pulumi.Input[str] address_name: The EIP name.
|
|
1343
|
+
|
|
1344
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
1345
|
+
|
|
1346
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1347
|
+
:param pulumi.Input[str] allocation_id: The ID of the EIP instance.
|
|
1348
|
+
:param pulumi.Input[bool] auto_pay: Specifies whether to enable automatic payment. Valid values:
|
|
1349
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
1350
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
1351
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
1352
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
1353
|
+
|
|
1354
|
+
Default value: `5` Mbit /s.
|
|
1206
1355
|
:param pulumi.Input[str] create_time: The time when the EIP was created.
|
|
1207
|
-
:param pulumi.Input[bool] deletion_protection:
|
|
1208
|
-
- **true**: enabled.
|
|
1209
|
-
- **false**: not enabled.
|
|
1356
|
+
:param pulumi.Input[bool] deletion_protection: Specifies whether to enable deletion protection. Valid values:
|
|
1210
1357
|
:param pulumi.Input[str] description: The description of the EIP.
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1358
|
+
|
|
1359
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
1360
|
+
|
|
1361
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1362
|
+
:param pulumi.Input[str] high_definition_monitor_log_status: The status of fine-grained monitoring. Valid values:
|
|
1363
|
+
- `ON`
|
|
1364
|
+
- `OFF`
|
|
1214
1365
|
:param pulumi.Input[str] instance_charge_type: . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.
|
|
1215
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
1216
|
-
-
|
|
1217
|
-
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
- `
|
|
1225
|
-
- `
|
|
1226
|
-
|
|
1227
|
-
-
|
|
1228
|
-
|
|
1229
|
-
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
-
|
|
1235
|
-
-
|
|
1236
|
-
|
|
1366
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the EIP. Valid values:
|
|
1367
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
1368
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
1369
|
+
|
|
1370
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
1371
|
+
|
|
1372
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1373
|
+
:param pulumi.Input[str] ip_address: The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
1374
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
1375
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
1376
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
1377
|
+
|
|
1378
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
1379
|
+
|
|
1380
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
1381
|
+
- `ChinaTelecom`
|
|
1382
|
+
- `ChinaUnicom`
|
|
1383
|
+
- `ChinaMobile`
|
|
1384
|
+
- `ChinaTelecom_L2`
|
|
1385
|
+
- `ChinaUnicom_L2`
|
|
1386
|
+
- `ChinaMobile_L2`
|
|
1387
|
+
|
|
1388
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
1389
|
+
:param pulumi.Input[str] log_project: The name of the Simple Log Service (SLS) project.
|
|
1390
|
+
:param pulumi.Input[str] log_store: The name of the Logstore.
|
|
1391
|
+
:param pulumi.Input[str] mode: The association mode. Valid values:
|
|
1392
|
+
- `NAT` (default): NAT mode
|
|
1393
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
1394
|
+
- `BINDED`: cut-network interface controller mode
|
|
1237
1395
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.
|
|
1238
|
-
:param pulumi.Input[str] netmode: The type
|
|
1239
|
-
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1396
|
+
:param pulumi.Input[str] netmode: The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
1397
|
+
:param pulumi.Input[str] payment_type: The billing method of the EIP. Valid values:
|
|
1398
|
+
- `Subscription`: subscription
|
|
1399
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
1400
|
+
|
|
1401
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1402
|
+
:param pulumi.Input[int] period: Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
1403
|
+
:param pulumi.Input[str] pricing_cycle: The billing cycle of the subscription EIP. Valid values:
|
|
1404
|
+
- `Month` (default)
|
|
1405
|
+
- `Year`
|
|
1406
|
+
|
|
1407
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
1408
|
+
:param pulumi.Input[str] public_ip_address_pool_id: The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
1409
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
1410
|
+
|
|
1411
|
+
> **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)
|
|
1244
1412
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_protection_types: Security protection level.
|
|
1245
1413
|
- When the return is empty, the basic DDoS protection is specified.
|
|
1246
|
-
- When
|
|
1247
|
-
:param pulumi.Input[str] status: The
|
|
1248
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
1249
|
-
:param pulumi.Input[str] zone: The zone of the EIP.
|
|
1414
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
1415
|
+
:param pulumi.Input[str] status: The state of the EIP.
|
|
1416
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
1417
|
+
:param pulumi.Input[str] zone: The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
1250
1418
|
|
|
1251
1419
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1252
1420
|
"""
|
|
@@ -1287,7 +1455,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1287
1455
|
@pulumi.getter(name="activityId")
|
|
1288
1456
|
def activity_id(self) -> pulumi.Output[Optional[str]]:
|
|
1289
1457
|
"""
|
|
1290
|
-
|
|
1458
|
+
The promotion code. This parameter is not required.
|
|
1291
1459
|
"""
|
|
1292
1460
|
return pulumi.get(self, "activity_id")
|
|
1293
1461
|
|
|
@@ -1295,15 +1463,19 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1295
1463
|
@pulumi.getter(name="addressName")
|
|
1296
1464
|
def address_name(self) -> pulumi.Output[str]:
|
|
1297
1465
|
"""
|
|
1298
|
-
The
|
|
1466
|
+
The EIP name.
|
|
1467
|
+
|
|
1468
|
+
The name must be 1 to 128 characters in length and start with a letter, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
1469
|
+
|
|
1470
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1299
1471
|
"""
|
|
1300
1472
|
return pulumi.get(self, "address_name")
|
|
1301
1473
|
|
|
1302
1474
|
@property
|
|
1303
1475
|
@pulumi.getter(name="allocationId")
|
|
1304
|
-
def allocation_id(self) -> pulumi.Output[
|
|
1476
|
+
def allocation_id(self) -> pulumi.Output[str]:
|
|
1305
1477
|
"""
|
|
1306
|
-
The ID of the EIP instance.
|
|
1478
|
+
The ID of the EIP instance.
|
|
1307
1479
|
"""
|
|
1308
1480
|
return pulumi.get(self, "allocation_id")
|
|
1309
1481
|
|
|
@@ -1311,7 +1483,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1311
1483
|
@pulumi.getter(name="autoPay")
|
|
1312
1484
|
def auto_pay(self) -> pulumi.Output[Optional[bool]]:
|
|
1313
1485
|
"""
|
|
1314
|
-
|
|
1486
|
+
Specifies whether to enable automatic payment. Valid values:
|
|
1315
1487
|
"""
|
|
1316
1488
|
return pulumi.get(self, "auto_pay")
|
|
1317
1489
|
|
|
@@ -1319,7 +1491,12 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1319
1491
|
@pulumi.getter
|
|
1320
1492
|
def bandwidth(self) -> pulumi.Output[str]:
|
|
1321
1493
|
"""
|
|
1322
|
-
The maximum bandwidth of the EIP.
|
|
1494
|
+
The maximum bandwidth of the specified EIP. Unit: Mbit/s.
|
|
1495
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByBandwidth`, valid values for `bandwidth` are `1` to `500`.
|
|
1496
|
+
- When `payment_type` is set to `PayAsYouGo` and `internet_charge_type` is set to `PayByTraffic`, valid values for `bandwidth` are `1` to `200`.
|
|
1497
|
+
- When `payment_type` is set to `Subscription`, valid values for `bandwidth` are `1` to `1000`.
|
|
1498
|
+
|
|
1499
|
+
Default value: `5` Mbit /s.
|
|
1323
1500
|
"""
|
|
1324
1501
|
return pulumi.get(self, "bandwidth")
|
|
1325
1502
|
|
|
@@ -1335,9 +1512,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1335
1512
|
@pulumi.getter(name="deletionProtection")
|
|
1336
1513
|
def deletion_protection(self) -> pulumi.Output[bool]:
|
|
1337
1514
|
"""
|
|
1338
|
-
|
|
1339
|
-
- **true**: enabled.
|
|
1340
|
-
- **false**: not enabled.
|
|
1515
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
1341
1516
|
"""
|
|
1342
1517
|
return pulumi.get(self, "deletion_protection")
|
|
1343
1518
|
|
|
@@ -1346,6 +1521,10 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1346
1521
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
1347
1522
|
"""
|
|
1348
1523
|
The description of the EIP.
|
|
1524
|
+
|
|
1525
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
1526
|
+
|
|
1527
|
+
> **NOTE:** You cannot specify this parameter if you create a subscription EIP.
|
|
1349
1528
|
"""
|
|
1350
1529
|
return pulumi.get(self, "description")
|
|
1351
1530
|
|
|
@@ -1353,9 +1532,9 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1353
1532
|
@pulumi.getter(name="highDefinitionMonitorLogStatus")
|
|
1354
1533
|
def high_definition_monitor_log_status(self) -> pulumi.Output[str]:
|
|
1355
1534
|
"""
|
|
1356
|
-
|
|
1357
|
-
-
|
|
1358
|
-
-
|
|
1535
|
+
The status of fine-grained monitoring. Valid values:
|
|
1536
|
+
- `ON`
|
|
1537
|
+
- `OFF`
|
|
1359
1538
|
"""
|
|
1360
1539
|
return pulumi.get(self, "high_definition_monitor_log_status")
|
|
1361
1540
|
|
|
@@ -1372,9 +1551,13 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1372
1551
|
@pulumi.getter(name="internetChargeType")
|
|
1373
1552
|
def internet_charge_type(self) -> pulumi.Output[str]:
|
|
1374
1553
|
"""
|
|
1375
|
-
|
|
1376
|
-
-
|
|
1377
|
-
-
|
|
1554
|
+
The metering method of the EIP. Valid values:
|
|
1555
|
+
- `PayByBandwidth` (default): pay-by-bandwidth.
|
|
1556
|
+
- `PayByTraffic`: pay-by-data-transfer.
|
|
1557
|
+
|
|
1558
|
+
When `payment_type` is set to `Subscription`, you must set `internet_charge_type` to `PayByBandwidth`.
|
|
1559
|
+
|
|
1560
|
+
When `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1378
1561
|
"""
|
|
1379
1562
|
return pulumi.get(self, "internet_charge_type")
|
|
1380
1563
|
|
|
@@ -1382,7 +1565,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1382
1565
|
@pulumi.getter(name="ipAddress")
|
|
1383
1566
|
def ip_address(self) -> pulumi.Output[str]:
|
|
1384
1567
|
"""
|
|
1385
|
-
The IP address of the EIP.
|
|
1568
|
+
The IP address of the EIP. Supports a maximum of 50 EIPs.
|
|
1386
1569
|
"""
|
|
1387
1570
|
return pulumi.get(self, "ip_address")
|
|
1388
1571
|
|
|
@@ -1390,18 +1573,21 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1390
1573
|
@pulumi.getter
|
|
1391
1574
|
def isp(self) -> pulumi.Output[str]:
|
|
1392
1575
|
"""
|
|
1393
|
-
The line type.
|
|
1394
|
-
- `BGP
|
|
1395
|
-
- `BGP_PRO`: BGP (Multi-ISP) Pro
|
|
1396
|
-
|
|
1397
|
-
-
|
|
1398
|
-
|
|
1399
|
-
-
|
|
1400
|
-
- `
|
|
1401
|
-
- `
|
|
1402
|
-
- `
|
|
1403
|
-
- `
|
|
1404
|
-
|
|
1576
|
+
The line type. Valid values:
|
|
1577
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
1578
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line The BGP (Multi-ISP) Pro line is supported in the China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
1579
|
+
|
|
1580
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see the "Line types" section of [What is EIP?](https://www.alibabacloud.com/help/en/doc-detail/32321.html)
|
|
1581
|
+
|
|
1582
|
+
If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
|
|
1583
|
+
- `ChinaTelecom`
|
|
1584
|
+
- `ChinaUnicom`
|
|
1585
|
+
- `ChinaMobile`
|
|
1586
|
+
- `ChinaTelecom_L2`
|
|
1587
|
+
- `ChinaUnicom_L2`
|
|
1588
|
+
- `ChinaMobile_L2`
|
|
1589
|
+
|
|
1590
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
1405
1591
|
"""
|
|
1406
1592
|
return pulumi.get(self, "isp")
|
|
1407
1593
|
|
|
@@ -1409,7 +1595,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1409
1595
|
@pulumi.getter(name="logProject")
|
|
1410
1596
|
def log_project(self) -> pulumi.Output[Optional[str]]:
|
|
1411
1597
|
"""
|
|
1412
|
-
The
|
|
1598
|
+
The name of the Simple Log Service (SLS) project.
|
|
1413
1599
|
"""
|
|
1414
1600
|
return pulumi.get(self, "log_project")
|
|
1415
1601
|
|
|
@@ -1417,7 +1603,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1417
1603
|
@pulumi.getter(name="logStore")
|
|
1418
1604
|
def log_store(self) -> pulumi.Output[Optional[str]]:
|
|
1419
1605
|
"""
|
|
1420
|
-
The
|
|
1606
|
+
The name of the Logstore.
|
|
1421
1607
|
"""
|
|
1422
1608
|
return pulumi.get(self, "log_store")
|
|
1423
1609
|
|
|
@@ -1425,10 +1611,10 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1425
1611
|
@pulumi.getter
|
|
1426
1612
|
def mode(self) -> pulumi.Output[str]:
|
|
1427
1613
|
"""
|
|
1428
|
-
|
|
1429
|
-
-
|
|
1430
|
-
-
|
|
1431
|
-
-
|
|
1614
|
+
The association mode. Valid values:
|
|
1615
|
+
- `NAT` (default): NAT mode
|
|
1616
|
+
- `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
1617
|
+
- `BINDED`: cut-network interface controller mode
|
|
1432
1618
|
"""
|
|
1433
1619
|
return pulumi.get(self, "mode")
|
|
1434
1620
|
|
|
@@ -1445,7 +1631,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1445
1631
|
@pulumi.getter
|
|
1446
1632
|
def netmode(self) -> pulumi.Output[str]:
|
|
1447
1633
|
"""
|
|
1448
|
-
The type
|
|
1634
|
+
The network type. By default, this value is set to `public`, which specifies the public network type.
|
|
1449
1635
|
"""
|
|
1450
1636
|
return pulumi.get(self, "netmode")
|
|
1451
1637
|
|
|
@@ -1453,7 +1639,11 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1453
1639
|
@pulumi.getter(name="paymentType")
|
|
1454
1640
|
def payment_type(self) -> pulumi.Output[str]:
|
|
1455
1641
|
"""
|
|
1456
|
-
The billing method of the EIP. Valid values:
|
|
1642
|
+
The billing method of the EIP. Valid values:
|
|
1643
|
+
- `Subscription`: subscription
|
|
1644
|
+
- `PayAsYouGo` (default): pay-as-you-go
|
|
1645
|
+
|
|
1646
|
+
If `payment_type` is set to `Subscription`, set `internet_charge_type` to `PayByBandwidth`. If `payment_type` is set to `PayAsYouGo`, set `internet_charge_type` to `PayByBandwidth` or `PayByTraffic`.
|
|
1457
1647
|
"""
|
|
1458
1648
|
return pulumi.get(self, "payment_type")
|
|
1459
1649
|
|
|
@@ -1461,7 +1651,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1461
1651
|
@pulumi.getter
|
|
1462
1652
|
def period(self) -> pulumi.Output[Optional[int]]:
|
|
1463
1653
|
"""
|
|
1464
|
-
When the
|
|
1654
|
+
Duration of purchase. When the value of `pricing_cycle` is `Month`, the value range of `period` is `1` to `9`. When the value of `pricing_cycle` is `Year`, the value range of `period` is `1` to `5`. If the value of the `payment_type` parameter is `Subscription`, this parameter is required. If the value of the `payment_type` parameter is `PayAsYouGo`, this parameter is left blank.
|
|
1465
1655
|
"""
|
|
1466
1656
|
return pulumi.get(self, "period")
|
|
1467
1657
|
|
|
@@ -1469,7 +1659,11 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1469
1659
|
@pulumi.getter(name="pricingCycle")
|
|
1470
1660
|
def pricing_cycle(self) -> pulumi.Output[Optional[str]]:
|
|
1471
1661
|
"""
|
|
1472
|
-
|
|
1662
|
+
The billing cycle of the subscription EIP. Valid values:
|
|
1663
|
+
- `Month` (default)
|
|
1664
|
+
- `Year`
|
|
1665
|
+
|
|
1666
|
+
If `payment_type` is set to `Subscription`, this parameter is required. If `payment_type` is set to `PayAsYouGo`, this parameter is not required.
|
|
1473
1667
|
"""
|
|
1474
1668
|
return pulumi.get(self, "pricing_cycle")
|
|
1475
1669
|
|
|
@@ -1477,7 +1671,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1477
1671
|
@pulumi.getter(name="publicIpAddressPoolId")
|
|
1478
1672
|
def public_ip_address_pool_id(self) -> pulumi.Output[Optional[str]]:
|
|
1479
1673
|
"""
|
|
1480
|
-
The ID of the IP address pool
|
|
1674
|
+
The ID of the IP address pool. The EIP is allocated from the IP address pool. By default, the IP address pool feature is unavailable. To use the IP address pool, apply for the privilege in the Quota Center console. For more information, see the "Request a quota increase in the Quota Center console" section in [Manage EIP quotas](https://www.alibabacloud.com/help/en/doc-detail/108213.html).
|
|
1481
1675
|
"""
|
|
1482
1676
|
return pulumi.get(self, "public_ip_address_pool_id")
|
|
1483
1677
|
|
|
@@ -1485,7 +1679,9 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1485
1679
|
@pulumi.getter(name="resourceGroupId")
|
|
1486
1680
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1487
1681
|
"""
|
|
1488
|
-
The ID of the resource group.
|
|
1682
|
+
The ID of the resource group to which you want to move the resource.
|
|
1683
|
+
|
|
1684
|
+
> **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)
|
|
1489
1685
|
"""
|
|
1490
1686
|
return pulumi.get(self, "resource_group_id")
|
|
1491
1687
|
|
|
@@ -1495,7 +1691,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1495
1691
|
"""
|
|
1496
1692
|
Security protection level.
|
|
1497
1693
|
- When the return is empty, the basic DDoS protection is specified.
|
|
1498
|
-
- When
|
|
1694
|
+
- When `antidos_enhanced` is returned, it indicates DDoS protection (enhanced version).
|
|
1499
1695
|
"""
|
|
1500
1696
|
return pulumi.get(self, "security_protection_types")
|
|
1501
1697
|
|
|
@@ -1503,7 +1699,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1503
1699
|
@pulumi.getter
|
|
1504
1700
|
def status(self) -> pulumi.Output[str]:
|
|
1505
1701
|
"""
|
|
1506
|
-
The
|
|
1702
|
+
The state of the EIP.
|
|
1507
1703
|
"""
|
|
1508
1704
|
return pulumi.get(self, "status")
|
|
1509
1705
|
|
|
@@ -1511,7 +1707,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1511
1707
|
@pulumi.getter
|
|
1512
1708
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
|
1513
1709
|
"""
|
|
1514
|
-
The tag of the resource
|
|
1710
|
+
The tag of the resource
|
|
1515
1711
|
"""
|
|
1516
1712
|
return pulumi.get(self, "tags")
|
|
1517
1713
|
|
|
@@ -1519,7 +1715,7 @@ class EipAddress(pulumi.CustomResource):
|
|
|
1519
1715
|
@pulumi.getter
|
|
1520
1716
|
def zone(self) -> pulumi.Output[str]:
|
|
1521
1717
|
"""
|
|
1522
|
-
The zone of the EIP.
|
|
1718
|
+
The zone of the EIP. When the service type of the IP address pool specified by `PublicIpAddressPoolId` is CloudBox, the default value is the zone of the IP address pool. For more information, see [ListPublicIpAddressPools](https://www.alibabacloud.com/help/en/doc-detail/429433.html).
|
|
1523
1719
|
|
|
1524
1720
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1525
1721
|
"""
|