pulumi-alicloud 3.58.0a1719359875__py3-none-any.whl → 3.58.0a1719552299__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.0a1719552299.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719552299.dist-info}/RECORD +29 -29
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719552299.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.58.0a1719359875.dist-info → pulumi_alicloud-3.58.0a1719552299.dist-info}/top_level.txt +0 -0
|
@@ -18,27 +18,39 @@ class EipSegmentAddressArgs:
|
|
|
18
18
|
bandwidth: Optional[pulumi.Input[str]] = None,
|
|
19
19
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
20
20
|
isp: Optional[pulumi.Input[str]] = None,
|
|
21
|
-
netmode: Optional[pulumi.Input[str]] = None
|
|
21
|
+
netmode: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
23
|
+
zone: Optional[pulumi.Input[str]] = None):
|
|
22
24
|
"""
|
|
23
25
|
The set of arguments for constructing a EipSegmentAddress resource.
|
|
24
|
-
:param pulumi.Input[str] eip_mask:
|
|
25
|
-
:param pulumi.Input[str] bandwidth: The
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
If you are
|
|
41
|
-
|
|
26
|
+
:param pulumi.Input[str] eip_mask: The subnet mask of the contiguous EIP group. Valid values:
|
|
27
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
28
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
29
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
30
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
31
|
+
|
|
32
|
+
Default value: `5`. Unit: Mbit/s.
|
|
33
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the contiguous EIP group. Valid values:
|
|
34
|
+
- `PayByBandwidth` (default)
|
|
35
|
+
- `PayByTraffic`
|
|
36
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
37
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
38
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
39
|
+
|
|
40
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
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 parameter to `BGP_FinanceCloud`.
|
|
51
|
+
:param pulumi.Input[str] netmode: The network type. Set the value to `public`, which specifies the public network type.
|
|
52
|
+
:param pulumi.Input[str] resource_group_id: The resource group ID.
|
|
53
|
+
:param pulumi.Input[str] zone: The zone of the contiguous EIP group.
|
|
42
54
|
"""
|
|
43
55
|
pulumi.set(__self__, "eip_mask", eip_mask)
|
|
44
56
|
if bandwidth is not None:
|
|
@@ -49,12 +61,16 @@ class EipSegmentAddressArgs:
|
|
|
49
61
|
pulumi.set(__self__, "isp", isp)
|
|
50
62
|
if netmode is not None:
|
|
51
63
|
pulumi.set(__self__, "netmode", netmode)
|
|
64
|
+
if resource_group_id is not None:
|
|
65
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
66
|
+
if zone is not None:
|
|
67
|
+
pulumi.set(__self__, "zone", zone)
|
|
52
68
|
|
|
53
69
|
@property
|
|
54
70
|
@pulumi.getter(name="eipMask")
|
|
55
71
|
def eip_mask(self) -> pulumi.Input[str]:
|
|
56
72
|
"""
|
|
57
|
-
|
|
73
|
+
The subnet mask of the contiguous EIP group. Valid values:
|
|
58
74
|
"""
|
|
59
75
|
return pulumi.get(self, "eip_mask")
|
|
60
76
|
|
|
@@ -66,7 +82,12 @@ class EipSegmentAddressArgs:
|
|
|
66
82
|
@pulumi.getter
|
|
67
83
|
def bandwidth(self) -> Optional[pulumi.Input[str]]:
|
|
68
84
|
"""
|
|
69
|
-
The
|
|
85
|
+
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
86
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
87
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
88
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
89
|
+
|
|
90
|
+
Default value: `5`. Unit: Mbit/s.
|
|
70
91
|
"""
|
|
71
92
|
return pulumi.get(self, "bandwidth")
|
|
72
93
|
|
|
@@ -78,9 +99,9 @@ class EipSegmentAddressArgs:
|
|
|
78
99
|
@pulumi.getter(name="internetChargeType")
|
|
79
100
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
80
101
|
"""
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
102
|
+
The metering method of the contiguous EIP group. Valid values:
|
|
103
|
+
- `PayByBandwidth` (default)
|
|
104
|
+
- `PayByTraffic`
|
|
84
105
|
"""
|
|
85
106
|
return pulumi.get(self, "internet_charge_type")
|
|
86
107
|
|
|
@@ -92,18 +113,21 @@ class EipSegmentAddressArgs:
|
|
|
92
113
|
@pulumi.getter
|
|
93
114
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
94
115
|
"""
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
|
|
116
|
+
The line type. Valid values:
|
|
117
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
118
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
119
|
+
|
|
120
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
121
|
+
|
|
122
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
123
|
+
- `ChinaTelecom`
|
|
124
|
+
- `ChinaUnicom`
|
|
125
|
+
- `ChinaMobile`
|
|
126
|
+
- `ChinaTelecom_L2`
|
|
127
|
+
- `ChinaUnicom_L2`
|
|
128
|
+
- `ChinaMobile_L2`
|
|
129
|
+
|
|
130
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
107
131
|
"""
|
|
108
132
|
return pulumi.get(self, "isp")
|
|
109
133
|
|
|
@@ -115,7 +139,7 @@ class EipSegmentAddressArgs:
|
|
|
115
139
|
@pulumi.getter
|
|
116
140
|
def netmode(self) -> Optional[pulumi.Input[str]]:
|
|
117
141
|
"""
|
|
118
|
-
The network type. Set the value to
|
|
142
|
+
The network type. Set the value to `public`, which specifies the public network type.
|
|
119
143
|
"""
|
|
120
144
|
return pulumi.get(self, "netmode")
|
|
121
145
|
|
|
@@ -123,6 +147,30 @@ class EipSegmentAddressArgs:
|
|
|
123
147
|
def netmode(self, value: Optional[pulumi.Input[str]]):
|
|
124
148
|
pulumi.set(self, "netmode", value)
|
|
125
149
|
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter(name="resourceGroupId")
|
|
152
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
153
|
+
"""
|
|
154
|
+
The resource group ID.
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "resource_group_id")
|
|
157
|
+
|
|
158
|
+
@resource_group_id.setter
|
|
159
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
160
|
+
pulumi.set(self, "resource_group_id", value)
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter
|
|
164
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
165
|
+
"""
|
|
166
|
+
The zone of the contiguous EIP group.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "zone")
|
|
169
|
+
|
|
170
|
+
@zone.setter
|
|
171
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
|
172
|
+
pulumi.set(self, "zone", value)
|
|
173
|
+
|
|
126
174
|
|
|
127
175
|
@pulumi.input_type
|
|
128
176
|
class _EipSegmentAddressState:
|
|
@@ -133,29 +181,43 @@ class _EipSegmentAddressState:
|
|
|
133
181
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
134
182
|
isp: Optional[pulumi.Input[str]] = None,
|
|
135
183
|
netmode: Optional[pulumi.Input[str]] = None,
|
|
136
|
-
|
|
184
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
185
|
+
segment_address_name: Optional[pulumi.Input[str]] = None,
|
|
186
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
187
|
+
zone: Optional[pulumi.Input[str]] = None):
|
|
137
188
|
"""
|
|
138
189
|
Input properties used for looking up and filtering EipSegmentAddress resources.
|
|
139
|
-
:param pulumi.Input[str] bandwidth: The
|
|
190
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
191
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
192
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
193
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
194
|
+
|
|
195
|
+
Default value: `5`. Unit: Mbit/s.
|
|
140
196
|
:param pulumi.Input[str] create_time: The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
141
|
-
:param pulumi.Input[str] eip_mask:
|
|
142
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
:param pulumi.Input[str] isp:
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
197
|
+
:param pulumi.Input[str] eip_mask: The subnet mask of the contiguous EIP group. Valid values:
|
|
198
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the contiguous EIP group. Valid values:
|
|
199
|
+
- `PayByBandwidth` (default)
|
|
200
|
+
- `PayByTraffic`
|
|
201
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
202
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
203
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
204
|
+
|
|
205
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
206
|
+
|
|
207
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
208
|
+
- `ChinaTelecom`
|
|
209
|
+
- `ChinaUnicom`
|
|
210
|
+
- `ChinaMobile`
|
|
211
|
+
- `ChinaTelecom_L2`
|
|
212
|
+
- `ChinaUnicom_L2`
|
|
213
|
+
- `ChinaMobile_L2`
|
|
214
|
+
|
|
215
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
216
|
+
:param pulumi.Input[str] netmode: The network type. Set the value to `public`, which specifies the public network type.
|
|
217
|
+
:param pulumi.Input[str] resource_group_id: The resource group ID.
|
|
218
|
+
:param pulumi.Input[str] segment_address_name: The name of the contiguous Elastic IP address group.
|
|
219
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
220
|
+
:param pulumi.Input[str] zone: The zone of the contiguous EIP group.
|
|
159
221
|
"""
|
|
160
222
|
if bandwidth is not None:
|
|
161
223
|
pulumi.set(__self__, "bandwidth", bandwidth)
|
|
@@ -169,14 +231,25 @@ class _EipSegmentAddressState:
|
|
|
169
231
|
pulumi.set(__self__, "isp", isp)
|
|
170
232
|
if netmode is not None:
|
|
171
233
|
pulumi.set(__self__, "netmode", netmode)
|
|
234
|
+
if resource_group_id is not None:
|
|
235
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
236
|
+
if segment_address_name is not None:
|
|
237
|
+
pulumi.set(__self__, "segment_address_name", segment_address_name)
|
|
172
238
|
if status is not None:
|
|
173
239
|
pulumi.set(__self__, "status", status)
|
|
240
|
+
if zone is not None:
|
|
241
|
+
pulumi.set(__self__, "zone", zone)
|
|
174
242
|
|
|
175
243
|
@property
|
|
176
244
|
@pulumi.getter
|
|
177
245
|
def bandwidth(self) -> Optional[pulumi.Input[str]]:
|
|
178
246
|
"""
|
|
179
|
-
The
|
|
247
|
+
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
248
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
249
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
250
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
251
|
+
|
|
252
|
+
Default value: `5`. Unit: Mbit/s.
|
|
180
253
|
"""
|
|
181
254
|
return pulumi.get(self, "bandwidth")
|
|
182
255
|
|
|
@@ -200,7 +273,7 @@ class _EipSegmentAddressState:
|
|
|
200
273
|
@pulumi.getter(name="eipMask")
|
|
201
274
|
def eip_mask(self) -> Optional[pulumi.Input[str]]:
|
|
202
275
|
"""
|
|
203
|
-
|
|
276
|
+
The subnet mask of the contiguous EIP group. Valid values:
|
|
204
277
|
"""
|
|
205
278
|
return pulumi.get(self, "eip_mask")
|
|
206
279
|
|
|
@@ -212,9 +285,9 @@ class _EipSegmentAddressState:
|
|
|
212
285
|
@pulumi.getter(name="internetChargeType")
|
|
213
286
|
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
|
|
214
287
|
"""
|
|
215
|
-
|
|
216
|
-
-
|
|
217
|
-
-
|
|
288
|
+
The metering method of the contiguous EIP group. Valid values:
|
|
289
|
+
- `PayByBandwidth` (default)
|
|
290
|
+
- `PayByTraffic`
|
|
218
291
|
"""
|
|
219
292
|
return pulumi.get(self, "internet_charge_type")
|
|
220
293
|
|
|
@@ -226,18 +299,21 @@ class _EipSegmentAddressState:
|
|
|
226
299
|
@pulumi.getter
|
|
227
300
|
def isp(self) -> Optional[pulumi.Input[str]]:
|
|
228
301
|
"""
|
|
229
|
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
-
|
|
236
|
-
-
|
|
237
|
-
-
|
|
238
|
-
-
|
|
239
|
-
-
|
|
240
|
-
|
|
302
|
+
The line type. Valid values:
|
|
303
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
304
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
305
|
+
|
|
306
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
307
|
+
|
|
308
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
309
|
+
- `ChinaTelecom`
|
|
310
|
+
- `ChinaUnicom`
|
|
311
|
+
- `ChinaMobile`
|
|
312
|
+
- `ChinaTelecom_L2`
|
|
313
|
+
- `ChinaUnicom_L2`
|
|
314
|
+
- `ChinaMobile_L2`
|
|
315
|
+
|
|
316
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
241
317
|
"""
|
|
242
318
|
return pulumi.get(self, "isp")
|
|
243
319
|
|
|
@@ -249,7 +325,7 @@ class _EipSegmentAddressState:
|
|
|
249
325
|
@pulumi.getter
|
|
250
326
|
def netmode(self) -> Optional[pulumi.Input[str]]:
|
|
251
327
|
"""
|
|
252
|
-
The network type. Set the value to
|
|
328
|
+
The network type. Set the value to `public`, which specifies the public network type.
|
|
253
329
|
"""
|
|
254
330
|
return pulumi.get(self, "netmode")
|
|
255
331
|
|
|
@@ -257,11 +333,35 @@ class _EipSegmentAddressState:
|
|
|
257
333
|
def netmode(self, value: Optional[pulumi.Input[str]]):
|
|
258
334
|
pulumi.set(self, "netmode", value)
|
|
259
335
|
|
|
336
|
+
@property
|
|
337
|
+
@pulumi.getter(name="resourceGroupId")
|
|
338
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
339
|
+
"""
|
|
340
|
+
The resource group ID.
|
|
341
|
+
"""
|
|
342
|
+
return pulumi.get(self, "resource_group_id")
|
|
343
|
+
|
|
344
|
+
@resource_group_id.setter
|
|
345
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
346
|
+
pulumi.set(self, "resource_group_id", value)
|
|
347
|
+
|
|
348
|
+
@property
|
|
349
|
+
@pulumi.getter(name="segmentAddressName")
|
|
350
|
+
def segment_address_name(self) -> Optional[pulumi.Input[str]]:
|
|
351
|
+
"""
|
|
352
|
+
The name of the contiguous Elastic IP address group.
|
|
353
|
+
"""
|
|
354
|
+
return pulumi.get(self, "segment_address_name")
|
|
355
|
+
|
|
356
|
+
@segment_address_name.setter
|
|
357
|
+
def segment_address_name(self, value: Optional[pulumi.Input[str]]):
|
|
358
|
+
pulumi.set(self, "segment_address_name", value)
|
|
359
|
+
|
|
260
360
|
@property
|
|
261
361
|
@pulumi.getter
|
|
262
362
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
263
363
|
"""
|
|
264
|
-
The status of the resource
|
|
364
|
+
The status of the resource
|
|
265
365
|
"""
|
|
266
366
|
return pulumi.get(self, "status")
|
|
267
367
|
|
|
@@ -269,6 +369,18 @@ class _EipSegmentAddressState:
|
|
|
269
369
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
270
370
|
pulumi.set(self, "status", value)
|
|
271
371
|
|
|
372
|
+
@property
|
|
373
|
+
@pulumi.getter
|
|
374
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
|
375
|
+
"""
|
|
376
|
+
The zone of the contiguous EIP group.
|
|
377
|
+
"""
|
|
378
|
+
return pulumi.get(self, "zone")
|
|
379
|
+
|
|
380
|
+
@zone.setter
|
|
381
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
|
382
|
+
pulumi.set(self, "zone", value)
|
|
383
|
+
|
|
272
384
|
|
|
273
385
|
class EipSegmentAddress(pulumi.CustomResource):
|
|
274
386
|
@overload
|
|
@@ -280,6 +392,8 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
280
392
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
281
393
|
isp: Optional[pulumi.Input[str]] = None,
|
|
282
394
|
netmode: Optional[pulumi.Input[str]] = None,
|
|
395
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
396
|
+
zone: Optional[pulumi.Input[str]] = None,
|
|
283
397
|
__props__=None):
|
|
284
398
|
"""
|
|
285
399
|
Provides a EIP Segment Address resource.
|
|
@@ -318,24 +432,34 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
318
432
|
|
|
319
433
|
:param str resource_name: The name of the resource.
|
|
320
434
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
|
-
:param pulumi.Input[str] bandwidth: The
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
-
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
-
|
|
336
|
-
|
|
337
|
-
If you are
|
|
338
|
-
|
|
435
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
436
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
437
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
438
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
439
|
+
|
|
440
|
+
Default value: `5`. Unit: Mbit/s.
|
|
441
|
+
:param pulumi.Input[str] eip_mask: The subnet mask of the contiguous EIP group. Valid values:
|
|
442
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the contiguous EIP group. Valid values:
|
|
443
|
+
- `PayByBandwidth` (default)
|
|
444
|
+
- `PayByTraffic`
|
|
445
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
446
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
447
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
448
|
+
|
|
449
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
450
|
+
|
|
451
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
452
|
+
- `ChinaTelecom`
|
|
453
|
+
- `ChinaUnicom`
|
|
454
|
+
- `ChinaMobile`
|
|
455
|
+
- `ChinaTelecom_L2`
|
|
456
|
+
- `ChinaUnicom_L2`
|
|
457
|
+
- `ChinaMobile_L2`
|
|
458
|
+
|
|
459
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
460
|
+
:param pulumi.Input[str] netmode: The network type. Set the value to `public`, which specifies the public network type.
|
|
461
|
+
:param pulumi.Input[str] resource_group_id: The resource group ID.
|
|
462
|
+
:param pulumi.Input[str] zone: The zone of the contiguous EIP group.
|
|
339
463
|
"""
|
|
340
464
|
...
|
|
341
465
|
@overload
|
|
@@ -398,6 +522,8 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
398
522
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
399
523
|
isp: Optional[pulumi.Input[str]] = None,
|
|
400
524
|
netmode: Optional[pulumi.Input[str]] = None,
|
|
525
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
526
|
+
zone: Optional[pulumi.Input[str]] = None,
|
|
401
527
|
__props__=None):
|
|
402
528
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
403
529
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -414,7 +540,10 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
414
540
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
415
541
|
__props__.__dict__["isp"] = isp
|
|
416
542
|
__props__.__dict__["netmode"] = netmode
|
|
543
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
544
|
+
__props__.__dict__["zone"] = zone
|
|
417
545
|
__props__.__dict__["create_time"] = None
|
|
546
|
+
__props__.__dict__["segment_address_name"] = None
|
|
418
547
|
__props__.__dict__["status"] = None
|
|
419
548
|
super(EipSegmentAddress, __self__).__init__(
|
|
420
549
|
'alicloud:ecs/eipSegmentAddress:EipSegmentAddress',
|
|
@@ -432,7 +561,10 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
432
561
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
433
562
|
isp: Optional[pulumi.Input[str]] = None,
|
|
434
563
|
netmode: Optional[pulumi.Input[str]] = None,
|
|
435
|
-
|
|
564
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
565
|
+
segment_address_name: Optional[pulumi.Input[str]] = None,
|
|
566
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
567
|
+
zone: Optional[pulumi.Input[str]] = None) -> 'EipSegmentAddress':
|
|
436
568
|
"""
|
|
437
569
|
Get an existing EipSegmentAddress resource's state with the given name, id, and optional extra
|
|
438
570
|
properties used to qualify the lookup.
|
|
@@ -440,26 +572,37 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
440
572
|
:param str resource_name: The unique name of the resulting resource.
|
|
441
573
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
442
574
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
443
|
-
:param pulumi.Input[str] bandwidth: The
|
|
575
|
+
:param pulumi.Input[str] bandwidth: The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
576
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
577
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
578
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
579
|
+
|
|
580
|
+
Default value: `5`. Unit: Mbit/s.
|
|
444
581
|
:param pulumi.Input[str] create_time: The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
445
|
-
:param pulumi.Input[str] eip_mask:
|
|
446
|
-
:param pulumi.Input[str] internet_charge_type:
|
|
447
|
-
-
|
|
448
|
-
-
|
|
449
|
-
:param pulumi.Input[str] isp:
|
|
450
|
-
-
|
|
451
|
-
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
-
|
|
456
|
-
-
|
|
457
|
-
-
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
582
|
+
:param pulumi.Input[str] eip_mask: The subnet mask of the contiguous EIP group. Valid values:
|
|
583
|
+
:param pulumi.Input[str] internet_charge_type: The metering method of the contiguous EIP group. Valid values:
|
|
584
|
+
- `PayByBandwidth` (default)
|
|
585
|
+
- `PayByTraffic`
|
|
586
|
+
:param pulumi.Input[str] isp: The line type. Valid values:
|
|
587
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
588
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
589
|
+
|
|
590
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
591
|
+
|
|
592
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
593
|
+
- `ChinaTelecom`
|
|
594
|
+
- `ChinaUnicom`
|
|
595
|
+
- `ChinaMobile`
|
|
596
|
+
- `ChinaTelecom_L2`
|
|
597
|
+
- `ChinaUnicom_L2`
|
|
598
|
+
- `ChinaMobile_L2`
|
|
599
|
+
|
|
600
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
601
|
+
:param pulumi.Input[str] netmode: The network type. Set the value to `public`, which specifies the public network type.
|
|
602
|
+
:param pulumi.Input[str] resource_group_id: The resource group ID.
|
|
603
|
+
:param pulumi.Input[str] segment_address_name: The name of the contiguous Elastic IP address group.
|
|
604
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
605
|
+
:param pulumi.Input[str] zone: The zone of the contiguous EIP group.
|
|
463
606
|
"""
|
|
464
607
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
465
608
|
|
|
@@ -471,14 +614,22 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
471
614
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
472
615
|
__props__.__dict__["isp"] = isp
|
|
473
616
|
__props__.__dict__["netmode"] = netmode
|
|
617
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
618
|
+
__props__.__dict__["segment_address_name"] = segment_address_name
|
|
474
619
|
__props__.__dict__["status"] = status
|
|
620
|
+
__props__.__dict__["zone"] = zone
|
|
475
621
|
return EipSegmentAddress(resource_name, opts=opts, __props__=__props__)
|
|
476
622
|
|
|
477
623
|
@property
|
|
478
624
|
@pulumi.getter
|
|
479
625
|
def bandwidth(self) -> pulumi.Output[Optional[str]]:
|
|
480
626
|
"""
|
|
481
|
-
The
|
|
627
|
+
The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
628
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
629
|
+
- Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
630
|
+
- Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
631
|
+
|
|
632
|
+
Default value: `5`. Unit: Mbit/s.
|
|
482
633
|
"""
|
|
483
634
|
return pulumi.get(self, "bandwidth")
|
|
484
635
|
|
|
@@ -494,7 +645,7 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
494
645
|
@pulumi.getter(name="eipMask")
|
|
495
646
|
def eip_mask(self) -> pulumi.Output[str]:
|
|
496
647
|
"""
|
|
497
|
-
|
|
648
|
+
The subnet mask of the contiguous EIP group. Valid values:
|
|
498
649
|
"""
|
|
499
650
|
return pulumi.get(self, "eip_mask")
|
|
500
651
|
|
|
@@ -502,9 +653,9 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
502
653
|
@pulumi.getter(name="internetChargeType")
|
|
503
654
|
def internet_charge_type(self) -> pulumi.Output[Optional[str]]:
|
|
504
655
|
"""
|
|
505
|
-
|
|
506
|
-
-
|
|
507
|
-
-
|
|
656
|
+
The metering method of the contiguous EIP group. Valid values:
|
|
657
|
+
- `PayByBandwidth` (default)
|
|
658
|
+
- `PayByTraffic`
|
|
508
659
|
"""
|
|
509
660
|
return pulumi.get(self, "internet_charge_type")
|
|
510
661
|
|
|
@@ -512,18 +663,21 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
512
663
|
@pulumi.getter
|
|
513
664
|
def isp(self) -> pulumi.Output[Optional[str]]:
|
|
514
665
|
"""
|
|
515
|
-
|
|
516
|
-
-
|
|
517
|
-
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
-
|
|
522
|
-
-
|
|
523
|
-
-
|
|
524
|
-
-
|
|
525
|
-
-
|
|
526
|
-
|
|
666
|
+
The line type. Valid values:
|
|
667
|
+
- `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
668
|
+
- `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
669
|
+
|
|
670
|
+
For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
671
|
+
|
|
672
|
+
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
673
|
+
- `ChinaTelecom`
|
|
674
|
+
- `ChinaUnicom`
|
|
675
|
+
- `ChinaMobile`
|
|
676
|
+
- `ChinaTelecom_L2`
|
|
677
|
+
- `ChinaUnicom_L2`
|
|
678
|
+
- `ChinaMobile_L2`
|
|
679
|
+
|
|
680
|
+
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
527
681
|
"""
|
|
528
682
|
return pulumi.get(self, "isp")
|
|
529
683
|
|
|
@@ -531,15 +685,39 @@ class EipSegmentAddress(pulumi.CustomResource):
|
|
|
531
685
|
@pulumi.getter
|
|
532
686
|
def netmode(self) -> pulumi.Output[Optional[str]]:
|
|
533
687
|
"""
|
|
534
|
-
The network type. Set the value to
|
|
688
|
+
The network type. Set the value to `public`, which specifies the public network type.
|
|
535
689
|
"""
|
|
536
690
|
return pulumi.get(self, "netmode")
|
|
537
691
|
|
|
692
|
+
@property
|
|
693
|
+
@pulumi.getter(name="resourceGroupId")
|
|
694
|
+
def resource_group_id(self) -> pulumi.Output[Optional[str]]:
|
|
695
|
+
"""
|
|
696
|
+
The resource group ID.
|
|
697
|
+
"""
|
|
698
|
+
return pulumi.get(self, "resource_group_id")
|
|
699
|
+
|
|
700
|
+
@property
|
|
701
|
+
@pulumi.getter(name="segmentAddressName")
|
|
702
|
+
def segment_address_name(self) -> pulumi.Output[str]:
|
|
703
|
+
"""
|
|
704
|
+
The name of the contiguous Elastic IP address group.
|
|
705
|
+
"""
|
|
706
|
+
return pulumi.get(self, "segment_address_name")
|
|
707
|
+
|
|
538
708
|
@property
|
|
539
709
|
@pulumi.getter
|
|
540
710
|
def status(self) -> pulumi.Output[str]:
|
|
541
711
|
"""
|
|
542
|
-
The status of the resource
|
|
712
|
+
The status of the resource
|
|
543
713
|
"""
|
|
544
714
|
return pulumi.get(self, "status")
|
|
545
715
|
|
|
716
|
+
@property
|
|
717
|
+
@pulumi.getter
|
|
718
|
+
def zone(self) -> pulumi.Output[str]:
|
|
719
|
+
"""
|
|
720
|
+
The zone of the contiguous EIP group.
|
|
721
|
+
"""
|
|
722
|
+
return pulumi.get(self, "zone")
|
|
723
|
+
|