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