pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.0a1737090935__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/__init__.py +59 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +6 -6
- pulumi_alicloud/alb/a_script.py +116 -98
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +4 -4
- pulumi_alicloud/alikafka/instance.py +188 -70
- pulumi_alicloud/amqp/instance.py +77 -28
- pulumi_alicloud/bastionhost/_inputs.py +40 -38
- pulumi_alicloud/bastionhost/get_instances.py +6 -22
- pulumi_alicloud/bastionhost/outputs.py +60 -49
- pulumi_alicloud/cen/instance_grant.py +4 -0
- pulumi_alicloud/cloudcontrol/__init__.py +12 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
- pulumi_alicloud/cloudcontrol/get_products.py +187 -0
- pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
- pulumi_alicloud/cloudcontrol/outputs.py +688 -0
- pulumi_alicloud/cloudcontrol/resource.py +407 -0
- pulumi_alicloud/cms/_inputs.py +21 -15
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +14 -10
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +14 -14
- pulumi_alicloud/cs/managed_kubernetes.py +137 -47
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +1534 -0
- pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
- pulumi_alicloud/dataworks/di_job.py +1005 -0
- pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
- pulumi_alicloud/dataworks/network.py +331 -0
- pulumi_alicloud/dataworks/outputs.py +1247 -0
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dns/get_alidns_domains.py +7 -2
- pulumi_alicloud/dns/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +88 -0
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +32 -4
- pulumi_alicloud/fc/v2_function.py +20 -0
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/cross_account.py +338 -0
- pulumi_alicloud/ims/oidc_provider.py +28 -0
- pulumi_alicloud/log/resource_record.py +42 -26
- pulumi_alicloud/message/service_queue.py +106 -59
- pulumi_alicloud/message/service_topic.py +182 -37
- pulumi_alicloud/mongodb/account.py +138 -163
- pulumi_alicloud/oos/secret_parameter.py +84 -9
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +2 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -4
- pulumi_alicloud/oss/get_buckets.py +16 -2
- pulumi_alicloud/oss/outputs.py +18 -17
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/application.py +84 -7
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +5 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
- pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
- pulumi_alicloud/vpc/get_networks.py +3 -0
- pulumi_alicloud/vpc/nat_gateway.py +145 -7
- pulumi_alicloud/vpc/outputs.py +777 -0
- pulumi_alicloud/vpc/snat_entry.py +107 -48
- pulumi_alicloud/vpn/_inputs.py +96 -72
- pulumi_alicloud/vpn/connection.py +24 -28
- pulumi_alicloud/vpn/outputs.py +64 -48
- pulumi_alicloud/yundun/_inputs.py +26 -24
- pulumi_alicloud/yundun/outputs.py +37 -22
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/RECORD +78 -61
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/top_level.txt +0 -0
pulumi_alicloud/vpn/_inputs.py
CHANGED
|
@@ -51,15 +51,18 @@ if not MYPY:
|
|
|
51
51
|
class ConnectionBgpConfigArgsDict(TypedDict):
|
|
52
52
|
enable: NotRequired[pulumi.Input[bool]]
|
|
53
53
|
"""
|
|
54
|
-
|
|
54
|
+
specifies whether to enable BGP. Valid values: true and false (default).
|
|
55
55
|
"""
|
|
56
56
|
local_asn: NotRequired[pulumi.Input[str]]
|
|
57
57
|
"""
|
|
58
|
-
|
|
58
|
+
the autonomous system number (ASN) on the Alibaba Cloud side.
|
|
59
|
+
Valid values: 1 to 4294967295. Default value: 45104. You can enter a value in two segments separated by a period (.).
|
|
60
|
+
Each segment is 16 bits in length. Enter the number in each segment in decimal format.
|
|
61
|
+
For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
59
62
|
"""
|
|
60
63
|
local_bgp_ip: NotRequired[pulumi.Input[str]]
|
|
61
64
|
"""
|
|
62
|
-
|
|
65
|
+
the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
|
|
63
66
|
"""
|
|
64
67
|
status: NotRequired[pulumi.Input[str]]
|
|
65
68
|
"""
|
|
@@ -67,7 +70,7 @@ if not MYPY:
|
|
|
67
70
|
"""
|
|
68
71
|
tunnel_cidr: NotRequired[pulumi.Input[str]]
|
|
69
72
|
"""
|
|
70
|
-
|
|
73
|
+
The CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16 and the subnet mask is 30 bits in length.
|
|
71
74
|
"""
|
|
72
75
|
elif False:
|
|
73
76
|
ConnectionBgpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -81,11 +84,14 @@ class ConnectionBgpConfigArgs:
|
|
|
81
84
|
status: Optional[pulumi.Input[str]] = None,
|
|
82
85
|
tunnel_cidr: Optional[pulumi.Input[str]] = None):
|
|
83
86
|
"""
|
|
84
|
-
:param pulumi.Input[bool] enable:
|
|
85
|
-
:param pulumi.Input[str] local_asn:
|
|
86
|
-
|
|
87
|
+
:param pulumi.Input[bool] enable: specifies whether to enable BGP. Valid values: true and false (default).
|
|
88
|
+
:param pulumi.Input[str] local_asn: the autonomous system number (ASN) on the Alibaba Cloud side.
|
|
89
|
+
Valid values: 1 to 4294967295. Default value: 45104. You can enter a value in two segments separated by a period (.).
|
|
90
|
+
Each segment is 16 bits in length. Enter the number in each segment in decimal format.
|
|
91
|
+
For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
92
|
+
:param pulumi.Input[str] local_bgp_ip: the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
|
|
87
93
|
:param pulumi.Input[str] status: The negotiation status of Tunnel.
|
|
88
|
-
:param pulumi.Input[str] tunnel_cidr:
|
|
94
|
+
:param pulumi.Input[str] tunnel_cidr: The CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16 and the subnet mask is 30 bits in length.
|
|
89
95
|
"""
|
|
90
96
|
if enable is not None:
|
|
91
97
|
pulumi.set(__self__, "enable", enable)
|
|
@@ -102,7 +108,7 @@ class ConnectionBgpConfigArgs:
|
|
|
102
108
|
@pulumi.getter
|
|
103
109
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
104
110
|
"""
|
|
105
|
-
|
|
111
|
+
specifies whether to enable BGP. Valid values: true and false (default).
|
|
106
112
|
"""
|
|
107
113
|
return pulumi.get(self, "enable")
|
|
108
114
|
|
|
@@ -114,7 +120,10 @@ class ConnectionBgpConfigArgs:
|
|
|
114
120
|
@pulumi.getter(name="localAsn")
|
|
115
121
|
def local_asn(self) -> Optional[pulumi.Input[str]]:
|
|
116
122
|
"""
|
|
117
|
-
|
|
123
|
+
the autonomous system number (ASN) on the Alibaba Cloud side.
|
|
124
|
+
Valid values: 1 to 4294967295. Default value: 45104. You can enter a value in two segments separated by a period (.).
|
|
125
|
+
Each segment is 16 bits in length. Enter the number in each segment in decimal format.
|
|
126
|
+
For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
118
127
|
"""
|
|
119
128
|
return pulumi.get(self, "local_asn")
|
|
120
129
|
|
|
@@ -126,7 +135,7 @@ class ConnectionBgpConfigArgs:
|
|
|
126
135
|
@pulumi.getter(name="localBgpIp")
|
|
127
136
|
def local_bgp_ip(self) -> Optional[pulumi.Input[str]]:
|
|
128
137
|
"""
|
|
129
|
-
|
|
138
|
+
the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
|
|
130
139
|
"""
|
|
131
140
|
return pulumi.get(self, "local_bgp_ip")
|
|
132
141
|
|
|
@@ -150,7 +159,7 @@ class ConnectionBgpConfigArgs:
|
|
|
150
159
|
@pulumi.getter(name="tunnelCidr")
|
|
151
160
|
def tunnel_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
152
161
|
"""
|
|
153
|
-
|
|
162
|
+
The CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16 and the subnet mask is 30 bits in length.
|
|
154
163
|
"""
|
|
155
164
|
return pulumi.get(self, "tunnel_cidr")
|
|
156
165
|
|
|
@@ -163,23 +172,23 @@ if not MYPY:
|
|
|
163
172
|
class ConnectionHealthCheckConfigArgsDict(TypedDict):
|
|
164
173
|
dip: NotRequired[pulumi.Input[str]]
|
|
165
174
|
"""
|
|
166
|
-
|
|
175
|
+
the destination IP address configured for health checks.
|
|
167
176
|
"""
|
|
168
177
|
enable: NotRequired[pulumi.Input[bool]]
|
|
169
178
|
"""
|
|
170
|
-
|
|
179
|
+
specifies whether to enable health checks. Valid values: true and false. Default value: false.
|
|
171
180
|
"""
|
|
172
181
|
interval: NotRequired[pulumi.Input[int]]
|
|
173
182
|
"""
|
|
174
|
-
|
|
183
|
+
the time interval of health check retries. Unit: seconds. Default value: 3.
|
|
175
184
|
"""
|
|
176
185
|
retry: NotRequired[pulumi.Input[int]]
|
|
177
186
|
"""
|
|
178
|
-
|
|
187
|
+
the maximum number of health check retries. Default value: 3.
|
|
179
188
|
"""
|
|
180
189
|
sip: NotRequired[pulumi.Input[str]]
|
|
181
190
|
"""
|
|
182
|
-
|
|
191
|
+
the source IP address that is used for health checks.
|
|
183
192
|
"""
|
|
184
193
|
elif False:
|
|
185
194
|
ConnectionHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -193,11 +202,11 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
193
202
|
retry: Optional[pulumi.Input[int]] = None,
|
|
194
203
|
sip: Optional[pulumi.Input[str]] = None):
|
|
195
204
|
"""
|
|
196
|
-
:param pulumi.Input[str] dip:
|
|
197
|
-
:param pulumi.Input[bool] enable:
|
|
198
|
-
:param pulumi.Input[int] interval:
|
|
199
|
-
:param pulumi.Input[int] retry:
|
|
200
|
-
:param pulumi.Input[str] sip:
|
|
205
|
+
:param pulumi.Input[str] dip: the destination IP address configured for health checks.
|
|
206
|
+
:param pulumi.Input[bool] enable: specifies whether to enable health checks. Valid values: true and false. Default value: false.
|
|
207
|
+
:param pulumi.Input[int] interval: the time interval of health check retries. Unit: seconds. Default value: 3.
|
|
208
|
+
:param pulumi.Input[int] retry: the maximum number of health check retries. Default value: 3.
|
|
209
|
+
:param pulumi.Input[str] sip: the source IP address that is used for health checks.
|
|
201
210
|
"""
|
|
202
211
|
if dip is not None:
|
|
203
212
|
pulumi.set(__self__, "dip", dip)
|
|
@@ -214,7 +223,7 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
214
223
|
@pulumi.getter
|
|
215
224
|
def dip(self) -> Optional[pulumi.Input[str]]:
|
|
216
225
|
"""
|
|
217
|
-
|
|
226
|
+
the destination IP address configured for health checks.
|
|
218
227
|
"""
|
|
219
228
|
return pulumi.get(self, "dip")
|
|
220
229
|
|
|
@@ -226,7 +235,7 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
226
235
|
@pulumi.getter
|
|
227
236
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
228
237
|
"""
|
|
229
|
-
|
|
238
|
+
specifies whether to enable health checks. Valid values: true and false. Default value: false.
|
|
230
239
|
"""
|
|
231
240
|
return pulumi.get(self, "enable")
|
|
232
241
|
|
|
@@ -238,7 +247,7 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
238
247
|
@pulumi.getter
|
|
239
248
|
def interval(self) -> Optional[pulumi.Input[int]]:
|
|
240
249
|
"""
|
|
241
|
-
|
|
250
|
+
the time interval of health check retries. Unit: seconds. Default value: 3.
|
|
242
251
|
"""
|
|
243
252
|
return pulumi.get(self, "interval")
|
|
244
253
|
|
|
@@ -250,7 +259,7 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
250
259
|
@pulumi.getter
|
|
251
260
|
def retry(self) -> Optional[pulumi.Input[int]]:
|
|
252
261
|
"""
|
|
253
|
-
|
|
262
|
+
the maximum number of health check retries. Default value: 3.
|
|
254
263
|
"""
|
|
255
264
|
return pulumi.get(self, "retry")
|
|
256
265
|
|
|
@@ -262,7 +271,7 @@ class ConnectionHealthCheckConfigArgs:
|
|
|
262
271
|
@pulumi.getter
|
|
263
272
|
def sip(self) -> Optional[pulumi.Input[str]]:
|
|
264
273
|
"""
|
|
265
|
-
|
|
274
|
+
the source IP address that is used for health checks.
|
|
266
275
|
"""
|
|
267
276
|
return pulumi.get(self, "sip")
|
|
268
277
|
|
|
@@ -275,39 +284,42 @@ if not MYPY:
|
|
|
275
284
|
class ConnectionIkeConfigArgsDict(TypedDict):
|
|
276
285
|
ike_auth_alg: NotRequired[pulumi.Input[str]]
|
|
277
286
|
"""
|
|
278
|
-
|
|
287
|
+
the authentication algorithm that is used in Phase 1 negotiations. Valid values: md5, sha1, sha2
|
|
279
288
|
"""
|
|
280
289
|
ike_enc_alg: NotRequired[pulumi.Input[str]]
|
|
281
290
|
"""
|
|
282
|
-
|
|
291
|
+
the encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
283
292
|
"""
|
|
284
293
|
ike_lifetime: NotRequired[pulumi.Input[int]]
|
|
285
294
|
"""
|
|
286
|
-
|
|
295
|
+
the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
287
296
|
"""
|
|
288
297
|
ike_local_id: NotRequired[pulumi.Input[str]]
|
|
289
298
|
"""
|
|
290
|
-
|
|
299
|
+
the identifier of the VPN gateway. It can contain at most 100 characters. The default value is the IP address of the VPN gateway.
|
|
291
300
|
"""
|
|
292
301
|
ike_mode: NotRequired[pulumi.Input[str]]
|
|
293
302
|
"""
|
|
294
|
-
|
|
303
|
+
the negotiation mode of IKE. Valid values: main and aggressive. Default value: main.
|
|
304
|
+
- main: This mode offers higher security during negotiations.
|
|
305
|
+
- aggressive: This mode supports faster negotiations and a higher success rate.
|
|
295
306
|
"""
|
|
296
307
|
ike_pfs: NotRequired[pulumi.Input[str]]
|
|
297
308
|
"""
|
|
298
|
-
|
|
309
|
+
the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: group1, group2, group5, and group14. Default value: group2.
|
|
299
310
|
"""
|
|
300
311
|
ike_remote_id: NotRequired[pulumi.Input[str]]
|
|
301
312
|
"""
|
|
302
|
-
|
|
313
|
+
the identifier of the customer gateway. It can contain at most 100 characters. The default value is the IP address of the customer gateway.
|
|
303
314
|
"""
|
|
304
315
|
ike_version: NotRequired[pulumi.Input[str]]
|
|
305
316
|
"""
|
|
306
|
-
IKE
|
|
317
|
+
the version of the Internet Key Exchange (IKE) protocol. Valid values: ikev1 and ikev2. Default value: ikev1.
|
|
318
|
+
Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
307
319
|
"""
|
|
308
320
|
psk: NotRequired[pulumi.Input[str]]
|
|
309
321
|
"""
|
|
310
|
-
|
|
322
|
+
the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center. The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ~!\\`@#$%^&*()_-+={}[]|;:',.<>/? If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the DescribeVpnConnection operation to query the pre-shared key that is automatically generated by the system.
|
|
311
323
|
"""
|
|
312
324
|
elif False:
|
|
313
325
|
ConnectionIkeConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -325,15 +337,18 @@ class ConnectionIkeConfigArgs:
|
|
|
325
337
|
ike_version: Optional[pulumi.Input[str]] = None,
|
|
326
338
|
psk: Optional[pulumi.Input[str]] = None):
|
|
327
339
|
"""
|
|
328
|
-
:param pulumi.Input[str] ike_auth_alg:
|
|
329
|
-
:param pulumi.Input[str] ike_enc_alg:
|
|
330
|
-
:param pulumi.Input[int] ike_lifetime:
|
|
331
|
-
:param pulumi.Input[str] ike_local_id:
|
|
332
|
-
:param pulumi.Input[str] ike_mode:
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
:param pulumi.Input[str]
|
|
336
|
-
:param pulumi.Input[str]
|
|
340
|
+
:param pulumi.Input[str] ike_auth_alg: the authentication algorithm that is used in Phase 1 negotiations. Valid values: md5, sha1, sha2
|
|
341
|
+
:param pulumi.Input[str] ike_enc_alg: the encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
342
|
+
:param pulumi.Input[int] ike_lifetime: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
343
|
+
:param pulumi.Input[str] ike_local_id: the identifier of the VPN gateway. It can contain at most 100 characters. The default value is the IP address of the VPN gateway.
|
|
344
|
+
:param pulumi.Input[str] ike_mode: the negotiation mode of IKE. Valid values: main and aggressive. Default value: main.
|
|
345
|
+
- main: This mode offers higher security during negotiations.
|
|
346
|
+
- aggressive: This mode supports faster negotiations and a higher success rate.
|
|
347
|
+
:param pulumi.Input[str] ike_pfs: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: group1, group2, group5, and group14. Default value: group2.
|
|
348
|
+
:param pulumi.Input[str] ike_remote_id: the identifier of the customer gateway. It can contain at most 100 characters. The default value is the IP address of the customer gateway.
|
|
349
|
+
:param pulumi.Input[str] ike_version: the version of the Internet Key Exchange (IKE) protocol. Valid values: ikev1 and ikev2. Default value: ikev1.
|
|
350
|
+
Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
351
|
+
:param pulumi.Input[str] psk: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center. The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ~!\\`@#$%^&*()_-+={}[]|;:',.<>/? If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the DescribeVpnConnection operation to query the pre-shared key that is automatically generated by the system.
|
|
337
352
|
"""
|
|
338
353
|
if ike_auth_alg is not None:
|
|
339
354
|
pulumi.set(__self__, "ike_auth_alg", ike_auth_alg)
|
|
@@ -358,7 +373,7 @@ class ConnectionIkeConfigArgs:
|
|
|
358
373
|
@pulumi.getter(name="ikeAuthAlg")
|
|
359
374
|
def ike_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
360
375
|
"""
|
|
361
|
-
|
|
376
|
+
the authentication algorithm that is used in Phase 1 negotiations. Valid values: md5, sha1, sha2
|
|
362
377
|
"""
|
|
363
378
|
return pulumi.get(self, "ike_auth_alg")
|
|
364
379
|
|
|
@@ -370,7 +385,7 @@ class ConnectionIkeConfigArgs:
|
|
|
370
385
|
@pulumi.getter(name="ikeEncAlg")
|
|
371
386
|
def ike_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
372
387
|
"""
|
|
373
|
-
|
|
388
|
+
the encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
374
389
|
"""
|
|
375
390
|
return pulumi.get(self, "ike_enc_alg")
|
|
376
391
|
|
|
@@ -382,7 +397,7 @@ class ConnectionIkeConfigArgs:
|
|
|
382
397
|
@pulumi.getter(name="ikeLifetime")
|
|
383
398
|
def ike_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
384
399
|
"""
|
|
385
|
-
|
|
400
|
+
the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
386
401
|
"""
|
|
387
402
|
return pulumi.get(self, "ike_lifetime")
|
|
388
403
|
|
|
@@ -394,7 +409,7 @@ class ConnectionIkeConfigArgs:
|
|
|
394
409
|
@pulumi.getter(name="ikeLocalId")
|
|
395
410
|
def ike_local_id(self) -> Optional[pulumi.Input[str]]:
|
|
396
411
|
"""
|
|
397
|
-
|
|
412
|
+
the identifier of the VPN gateway. It can contain at most 100 characters. The default value is the IP address of the VPN gateway.
|
|
398
413
|
"""
|
|
399
414
|
return pulumi.get(self, "ike_local_id")
|
|
400
415
|
|
|
@@ -406,7 +421,9 @@ class ConnectionIkeConfigArgs:
|
|
|
406
421
|
@pulumi.getter(name="ikeMode")
|
|
407
422
|
def ike_mode(self) -> Optional[pulumi.Input[str]]:
|
|
408
423
|
"""
|
|
409
|
-
|
|
424
|
+
the negotiation mode of IKE. Valid values: main and aggressive. Default value: main.
|
|
425
|
+
- main: This mode offers higher security during negotiations.
|
|
426
|
+
- aggressive: This mode supports faster negotiations and a higher success rate.
|
|
410
427
|
"""
|
|
411
428
|
return pulumi.get(self, "ike_mode")
|
|
412
429
|
|
|
@@ -418,7 +435,7 @@ class ConnectionIkeConfigArgs:
|
|
|
418
435
|
@pulumi.getter(name="ikePfs")
|
|
419
436
|
def ike_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
420
437
|
"""
|
|
421
|
-
|
|
438
|
+
the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: group1, group2, group5, and group14. Default value: group2.
|
|
422
439
|
"""
|
|
423
440
|
return pulumi.get(self, "ike_pfs")
|
|
424
441
|
|
|
@@ -430,7 +447,7 @@ class ConnectionIkeConfigArgs:
|
|
|
430
447
|
@pulumi.getter(name="ikeRemoteId")
|
|
431
448
|
def ike_remote_id(self) -> Optional[pulumi.Input[str]]:
|
|
432
449
|
"""
|
|
433
|
-
|
|
450
|
+
the identifier of the customer gateway. It can contain at most 100 characters. The default value is the IP address of the customer gateway.
|
|
434
451
|
"""
|
|
435
452
|
return pulumi.get(self, "ike_remote_id")
|
|
436
453
|
|
|
@@ -442,7 +459,8 @@ class ConnectionIkeConfigArgs:
|
|
|
442
459
|
@pulumi.getter(name="ikeVersion")
|
|
443
460
|
def ike_version(self) -> Optional[pulumi.Input[str]]:
|
|
444
461
|
"""
|
|
445
|
-
IKE
|
|
462
|
+
the version of the Internet Key Exchange (IKE) protocol. Valid values: ikev1 and ikev2. Default value: ikev1.
|
|
463
|
+
Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
446
464
|
"""
|
|
447
465
|
return pulumi.get(self, "ike_version")
|
|
448
466
|
|
|
@@ -454,7 +472,7 @@ class ConnectionIkeConfigArgs:
|
|
|
454
472
|
@pulumi.getter
|
|
455
473
|
def psk(self) -> Optional[pulumi.Input[str]]:
|
|
456
474
|
"""
|
|
457
|
-
|
|
475
|
+
the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center. The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ~!\\`@#$%^&*()_-+={}[]|;:',.<>/? If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the DescribeVpnConnection operation to query the pre-shared key that is automatically generated by the system.
|
|
458
476
|
"""
|
|
459
477
|
return pulumi.get(self, "psk")
|
|
460
478
|
|
|
@@ -467,19 +485,19 @@ if not MYPY:
|
|
|
467
485
|
class ConnectionIpsecConfigArgsDict(TypedDict):
|
|
468
486
|
ipsec_auth_alg: NotRequired[pulumi.Input[str]]
|
|
469
487
|
"""
|
|
470
|
-
|
|
488
|
+
the authentication algorithm that is used in Phase 2 negotiations. Valid values: md5, sha1, sha256, sha384, and sha512. Default value: md5.
|
|
471
489
|
"""
|
|
472
490
|
ipsec_enc_alg: NotRequired[pulumi.Input[str]]
|
|
473
491
|
"""
|
|
474
|
-
|
|
492
|
+
the encryption algorithm that is used in Phase 2 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
475
493
|
"""
|
|
476
494
|
ipsec_lifetime: NotRequired[pulumi.Input[int]]
|
|
477
495
|
"""
|
|
478
|
-
|
|
496
|
+
the SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
479
497
|
"""
|
|
480
498
|
ipsec_pfs: NotRequired[pulumi.Input[str]]
|
|
481
499
|
"""
|
|
482
|
-
DH
|
|
500
|
+
the DH key exchange algorithm that is used in Phase 2 negotiations. Valid values: disabled, group1, group2, group5, and group14. Default value: group2.
|
|
483
501
|
"""
|
|
484
502
|
elif False:
|
|
485
503
|
ConnectionIpsecConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -492,10 +510,10 @@ class ConnectionIpsecConfigArgs:
|
|
|
492
510
|
ipsec_lifetime: Optional[pulumi.Input[int]] = None,
|
|
493
511
|
ipsec_pfs: Optional[pulumi.Input[str]] = None):
|
|
494
512
|
"""
|
|
495
|
-
:param pulumi.Input[str] ipsec_auth_alg:
|
|
496
|
-
:param pulumi.Input[str] ipsec_enc_alg:
|
|
497
|
-
:param pulumi.Input[int] ipsec_lifetime:
|
|
498
|
-
:param pulumi.Input[str] ipsec_pfs: DH
|
|
513
|
+
:param pulumi.Input[str] ipsec_auth_alg: the authentication algorithm that is used in Phase 2 negotiations. Valid values: md5, sha1, sha256, sha384, and sha512. Default value: md5.
|
|
514
|
+
:param pulumi.Input[str] ipsec_enc_alg: the encryption algorithm that is used in Phase 2 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
515
|
+
:param pulumi.Input[int] ipsec_lifetime: the SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
516
|
+
:param pulumi.Input[str] ipsec_pfs: the DH key exchange algorithm that is used in Phase 2 negotiations. Valid values: disabled, group1, group2, group5, and group14. Default value: group2.
|
|
499
517
|
"""
|
|
500
518
|
if ipsec_auth_alg is not None:
|
|
501
519
|
pulumi.set(__self__, "ipsec_auth_alg", ipsec_auth_alg)
|
|
@@ -510,7 +528,7 @@ class ConnectionIpsecConfigArgs:
|
|
|
510
528
|
@pulumi.getter(name="ipsecAuthAlg")
|
|
511
529
|
def ipsec_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
512
530
|
"""
|
|
513
|
-
|
|
531
|
+
the authentication algorithm that is used in Phase 2 negotiations. Valid values: md5, sha1, sha256, sha384, and sha512. Default value: md5.
|
|
514
532
|
"""
|
|
515
533
|
return pulumi.get(self, "ipsec_auth_alg")
|
|
516
534
|
|
|
@@ -522,7 +540,7 @@ class ConnectionIpsecConfigArgs:
|
|
|
522
540
|
@pulumi.getter(name="ipsecEncAlg")
|
|
523
541
|
def ipsec_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
524
542
|
"""
|
|
525
|
-
|
|
543
|
+
the encryption algorithm that is used in Phase 2 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
526
544
|
"""
|
|
527
545
|
return pulumi.get(self, "ipsec_enc_alg")
|
|
528
546
|
|
|
@@ -534,7 +552,7 @@ class ConnectionIpsecConfigArgs:
|
|
|
534
552
|
@pulumi.getter(name="ipsecLifetime")
|
|
535
553
|
def ipsec_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
536
554
|
"""
|
|
537
|
-
|
|
555
|
+
the SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
538
556
|
"""
|
|
539
557
|
return pulumi.get(self, "ipsec_lifetime")
|
|
540
558
|
|
|
@@ -546,7 +564,7 @@ class ConnectionIpsecConfigArgs:
|
|
|
546
564
|
@pulumi.getter(name="ipsecPfs")
|
|
547
565
|
def ipsec_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
548
566
|
"""
|
|
549
|
-
DH
|
|
567
|
+
the DH key exchange algorithm that is used in Phase 2 negotiations. Valid values: disabled, group1, group2, group5, and group14. Default value: group2.
|
|
550
568
|
"""
|
|
551
569
|
return pulumi.get(self, "ipsec_pfs")
|
|
552
570
|
|
|
@@ -928,12 +946,14 @@ if not MYPY:
|
|
|
928
946
|
ike_version: NotRequired[pulumi.Input[str]]
|
|
929
947
|
local_id: NotRequired[pulumi.Input[str]]
|
|
930
948
|
"""
|
|
931
|
-
The
|
|
949
|
+
The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the tunnel.
|
|
950
|
+
LocalId supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
932
951
|
"""
|
|
933
952
|
psk: NotRequired[pulumi.Input[str]]
|
|
934
953
|
remote_id: NotRequired[pulumi.Input[str]]
|
|
935
954
|
"""
|
|
936
|
-
|
|
955
|
+
The identifier of the tunnel peer, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
956
|
+
RemoteId supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
937
957
|
"""
|
|
938
958
|
elif False:
|
|
939
959
|
ConnectionTunnelOptionsSpecificationTunnelIkeConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -951,8 +971,10 @@ class ConnectionTunnelOptionsSpecificationTunnelIkeConfigArgs:
|
|
|
951
971
|
psk: Optional[pulumi.Input[str]] = None,
|
|
952
972
|
remote_id: Optional[pulumi.Input[str]] = None):
|
|
953
973
|
"""
|
|
954
|
-
:param pulumi.Input[str] local_id: The
|
|
955
|
-
|
|
974
|
+
:param pulumi.Input[str] local_id: The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the tunnel.
|
|
975
|
+
LocalId supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
976
|
+
:param pulumi.Input[str] remote_id: The identifier of the tunnel peer, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
977
|
+
RemoteId supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
956
978
|
"""
|
|
957
979
|
if ike_auth_alg is not None:
|
|
958
980
|
pulumi.set(__self__, "ike_auth_alg", ike_auth_alg)
|
|
@@ -1031,7 +1053,8 @@ class ConnectionTunnelOptionsSpecificationTunnelIkeConfigArgs:
|
|
|
1031
1053
|
@pulumi.getter(name="localId")
|
|
1032
1054
|
def local_id(self) -> Optional[pulumi.Input[str]]:
|
|
1033
1055
|
"""
|
|
1034
|
-
The
|
|
1056
|
+
The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the tunnel.
|
|
1057
|
+
LocalId supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
1035
1058
|
"""
|
|
1036
1059
|
return pulumi.get(self, "local_id")
|
|
1037
1060
|
|
|
@@ -1052,7 +1075,8 @@ class ConnectionTunnelOptionsSpecificationTunnelIkeConfigArgs:
|
|
|
1052
1075
|
@pulumi.getter(name="remoteId")
|
|
1053
1076
|
def remote_id(self) -> Optional[pulumi.Input[str]]:
|
|
1054
1077
|
"""
|
|
1055
|
-
|
|
1078
|
+
The identifier of the tunnel peer, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
1079
|
+
RemoteId supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to aggressive.
|
|
1056
1080
|
"""
|
|
1057
1081
|
return pulumi.get(self, "remote_id")
|
|
1058
1082
|
|
|
@@ -44,8 +44,6 @@ class ConnectionArgs:
|
|
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] local_subnets: The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
|
|
45
45
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] remote_subnets: The CIDR block of the local data center. This parameter is used for phase-two negotiation.
|
|
46
46
|
:param pulumi.Input[str] vpn_gateway_id: The ID of the VPN gateway.
|
|
47
|
-
|
|
48
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
49
47
|
:param pulumi.Input[bool] auto_config_route: Whether to configure routing automatically. Value:
|
|
50
48
|
- **true**: Automatically configure routes.
|
|
51
49
|
- **false**: does not automatically configure routes.
|
|
@@ -132,8 +130,6 @@ class ConnectionArgs:
|
|
|
132
130
|
def vpn_gateway_id(self) -> pulumi.Input[str]:
|
|
133
131
|
"""
|
|
134
132
|
The ID of the VPN gateway.
|
|
135
|
-
|
|
136
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
137
133
|
"""
|
|
138
134
|
return pulumi.get(self, "vpn_gateway_id")
|
|
139
135
|
|
|
@@ -378,8 +374,6 @@ class _ConnectionState:
|
|
|
378
374
|
:param pulumi.Input[Sequence[pulumi.Input['ConnectionTunnelOptionsSpecificationArgs']]] tunnel_options_specifications: The tunnel options of IPsec. See `tunnel_options_specification` below.
|
|
379
375
|
:param pulumi.Input[str] vpn_connection_name: The name of the IPsec-VPN connection.
|
|
380
376
|
:param pulumi.Input[str] vpn_gateway_id: The ID of the VPN gateway.
|
|
381
|
-
|
|
382
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
383
377
|
"""
|
|
384
378
|
if auto_config_route is not None:
|
|
385
379
|
pulumi.set(__self__, "auto_config_route", auto_config_route)
|
|
@@ -677,8 +671,6 @@ class _ConnectionState:
|
|
|
677
671
|
def vpn_gateway_id(self) -> Optional[pulumi.Input[str]]:
|
|
678
672
|
"""
|
|
679
673
|
The ID of the VPN gateway.
|
|
680
|
-
|
|
681
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
682
674
|
"""
|
|
683
675
|
return pulumi.get(self, "vpn_gateway_id")
|
|
684
676
|
|
|
@@ -730,19 +722,24 @@ class Connection(pulumi.CustomResource):
|
|
|
730
722
|
if spec is None:
|
|
731
723
|
spec = "5"
|
|
732
724
|
default = alicloud.vpn.get_gateway_zones(spec="5M")
|
|
733
|
-
|
|
734
|
-
cidr_block="172.16.0.0/16"
|
|
735
|
-
|
|
725
|
+
default_network = alicloud.vpc.Network("default",
|
|
726
|
+
cidr_block="172.16.0.0/16",
|
|
727
|
+
vpc_name=name)
|
|
728
|
+
default0 = alicloud.vpc.Switch("default0",
|
|
729
|
+
cidr_block="172.16.0.0/24",
|
|
730
|
+
vpc_id=default_network.id,
|
|
736
731
|
zone_id=default.ids[0])
|
|
737
|
-
default1 = alicloud.vpc.
|
|
732
|
+
default1 = alicloud.vpc.Switch("default1",
|
|
733
|
+
cidr_block="172.16.1.0/24",
|
|
734
|
+
vpc_id=default_network.id,
|
|
738
735
|
zone_id=default.ids[1])
|
|
739
736
|
h_a__vpn = alicloud.vpn.Gateway("HA-VPN",
|
|
740
737
|
vpn_type="Normal",
|
|
741
|
-
disaster_recovery_vswitch_id=default1.
|
|
738
|
+
disaster_recovery_vswitch_id=default1.id,
|
|
742
739
|
vpn_gateway_name=name,
|
|
743
|
-
vswitch_id=default0.
|
|
740
|
+
vswitch_id=default0.id,
|
|
744
741
|
auto_pay=True,
|
|
745
|
-
vpc_id=
|
|
742
|
+
vpc_id=default_network.id,
|
|
746
743
|
network_type="public",
|
|
747
744
|
payment_type="Subscription",
|
|
748
745
|
enable_ipsec=True,
|
|
@@ -858,8 +855,6 @@ class Connection(pulumi.CustomResource):
|
|
|
858
855
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionTunnelOptionsSpecificationArgs', 'ConnectionTunnelOptionsSpecificationArgsDict']]]] tunnel_options_specifications: The tunnel options of IPsec. See `tunnel_options_specification` below.
|
|
859
856
|
:param pulumi.Input[str] vpn_connection_name: The name of the IPsec-VPN connection.
|
|
860
857
|
:param pulumi.Input[str] vpn_gateway_id: The ID of the VPN gateway.
|
|
861
|
-
|
|
862
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
863
858
|
"""
|
|
864
859
|
...
|
|
865
860
|
@overload
|
|
@@ -886,19 +881,24 @@ class Connection(pulumi.CustomResource):
|
|
|
886
881
|
if spec is None:
|
|
887
882
|
spec = "5"
|
|
888
883
|
default = alicloud.vpn.get_gateway_zones(spec="5M")
|
|
889
|
-
|
|
890
|
-
cidr_block="172.16.0.0/16"
|
|
891
|
-
|
|
884
|
+
default_network = alicloud.vpc.Network("default",
|
|
885
|
+
cidr_block="172.16.0.0/16",
|
|
886
|
+
vpc_name=name)
|
|
887
|
+
default0 = alicloud.vpc.Switch("default0",
|
|
888
|
+
cidr_block="172.16.0.0/24",
|
|
889
|
+
vpc_id=default_network.id,
|
|
892
890
|
zone_id=default.ids[0])
|
|
893
|
-
default1 = alicloud.vpc.
|
|
891
|
+
default1 = alicloud.vpc.Switch("default1",
|
|
892
|
+
cidr_block="172.16.1.0/24",
|
|
893
|
+
vpc_id=default_network.id,
|
|
894
894
|
zone_id=default.ids[1])
|
|
895
895
|
h_a__vpn = alicloud.vpn.Gateway("HA-VPN",
|
|
896
896
|
vpn_type="Normal",
|
|
897
|
-
disaster_recovery_vswitch_id=default1.
|
|
897
|
+
disaster_recovery_vswitch_id=default1.id,
|
|
898
898
|
vpn_gateway_name=name,
|
|
899
|
-
vswitch_id=default0.
|
|
899
|
+
vswitch_id=default0.id,
|
|
900
900
|
auto_pay=True,
|
|
901
|
-
vpc_id=
|
|
901
|
+
vpc_id=default_network.id,
|
|
902
902
|
network_type="public",
|
|
903
903
|
payment_type="Subscription",
|
|
904
904
|
enable_ipsec=True,
|
|
@@ -1122,8 +1122,6 @@ class Connection(pulumi.CustomResource):
|
|
|
1122
1122
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionTunnelOptionsSpecificationArgs', 'ConnectionTunnelOptionsSpecificationArgsDict']]]] tunnel_options_specifications: The tunnel options of IPsec. See `tunnel_options_specification` below.
|
|
1123
1123
|
:param pulumi.Input[str] vpn_connection_name: The name of the IPsec-VPN connection.
|
|
1124
1124
|
:param pulumi.Input[str] vpn_gateway_id: The ID of the VPN gateway.
|
|
1125
|
-
|
|
1126
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1127
1125
|
"""
|
|
1128
1126
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1129
1127
|
|
|
@@ -1322,8 +1320,6 @@ class Connection(pulumi.CustomResource):
|
|
|
1322
1320
|
def vpn_gateway_id(self) -> pulumi.Output[str]:
|
|
1323
1321
|
"""
|
|
1324
1322
|
The ID of the VPN gateway.
|
|
1325
|
-
|
|
1326
|
-
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1327
1323
|
"""
|
|
1328
1324
|
return pulumi.get(self, "vpn_gateway_id")
|
|
1329
1325
|
|