pulumi-alicloud 3.63.0a1727424957__py3-none-any.whl → 3.63.0a1727705137__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 +24 -0
- pulumi_alicloud/alb/acl.py +18 -19
- pulumi_alicloud/alb/health_check_template.py +96 -88
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/ddos/_inputs.py +8 -9
- pulumi_alicloud/ddos/domain_resource.py +446 -90
- pulumi_alicloud/ddos/outputs.py +7 -8
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
- pulumi_alicloud/ecs/snapshot.py +26 -8
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/alarm.py +47 -0
- pulumi_alicloud/ess/server_group_attachment.py +552 -0
- pulumi_alicloud/ga/_inputs.py +23 -5
- pulumi_alicloud/ga/outputs.py +21 -5
- pulumi_alicloud/governance/account.py +61 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +361 -3
- pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
- pulumi_alicloud/gpdb/get_data_backups.py +288 -0
- pulumi_alicloud/gpdb/get_log_backups.py +225 -0
- pulumi_alicloud/gpdb/instance.py +47 -0
- pulumi_alicloud/gpdb/outputs.py +597 -4
- pulumi_alicloud/gpdb/streaming_job.py +1568 -0
- pulumi_alicloud/nlb/load_balancer.py +116 -0
- pulumi_alicloud/oos/get_secret_parameters.py +111 -9
- pulumi_alicloud/oos/outputs.py +22 -11
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +79 -22
- pulumi_alicloud/rocketmq/outputs.py +85 -21
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
- pulumi_alicloud/vpc/peer_connection.py +127 -59
- pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
- pulumi_alicloud/vpc/route_entry.py +232 -210
- {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +40 -35
- {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
|
@@ -21,6 +21,7 @@ class PeerConnectionArgs:
|
|
|
21
21
|
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
22
22
|
description: Optional[pulumi.Input[str]] = None,
|
|
23
23
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
24
|
+
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
24
25
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
25
26
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
26
27
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -31,18 +32,22 @@ class PeerConnectionArgs:
|
|
|
31
32
|
- When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.
|
|
32
33
|
- When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
|
|
33
34
|
:param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
|
|
34
|
-
:param pulumi.Input[str] vpc_id:
|
|
35
|
+
:param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
|
|
35
36
|
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
36
37
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
37
38
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
39
|
+
|
|
38
40
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
39
41
|
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
|
|
40
|
-
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
43
|
+
|
|
44
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
45
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request. Value:
|
|
46
|
+
:param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC peering connection. Value:
|
|
47
|
+
:param pulumi.Input[str] peer_connection_name: The name of the resource.
|
|
48
|
+
:param pulumi.Input[str] resource_group_id: The ID of resource group.
|
|
49
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
46
51
|
"""
|
|
47
52
|
pulumi.set(__self__, "accepting_region_id", accepting_region_id)
|
|
48
53
|
pulumi.set(__self__, "accepting_vpc_id", accepting_vpc_id)
|
|
@@ -55,6 +60,8 @@ class PeerConnectionArgs:
|
|
|
55
60
|
pulumi.set(__self__, "description", description)
|
|
56
61
|
if dry_run is not None:
|
|
57
62
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
63
|
+
if force_delete is not None:
|
|
64
|
+
pulumi.set(__self__, "force_delete", force_delete)
|
|
58
65
|
if peer_connection_name is not None:
|
|
59
66
|
pulumi.set(__self__, "peer_connection_name", peer_connection_name)
|
|
60
67
|
if resource_group_id is not None:
|
|
@@ -94,7 +101,7 @@ class PeerConnectionArgs:
|
|
|
94
101
|
@pulumi.getter(name="vpcId")
|
|
95
102
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
96
103
|
"""
|
|
97
|
-
|
|
104
|
+
You must create a VPC ID on the initiator of a VPC peer connection.
|
|
98
105
|
"""
|
|
99
106
|
return pulumi.get(self, "vpc_id")
|
|
100
107
|
|
|
@@ -109,6 +116,7 @@ class PeerConnectionArgs:
|
|
|
109
116
|
The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
110
117
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
111
118
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
119
|
+
|
|
112
120
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
113
121
|
"""
|
|
114
122
|
return pulumi.get(self, "accepting_ali_uid")
|
|
@@ -133,7 +141,9 @@ class PeerConnectionArgs:
|
|
|
133
141
|
@pulumi.getter
|
|
134
142
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
135
143
|
"""
|
|
136
|
-
The description of the VPC peer connection to be created.
|
|
144
|
+
The description of the VPC peer connection to be created.
|
|
145
|
+
|
|
146
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
137
147
|
"""
|
|
138
148
|
return pulumi.get(self, "description")
|
|
139
149
|
|
|
@@ -145,7 +155,7 @@ class PeerConnectionArgs:
|
|
|
145
155
|
@pulumi.getter(name="dryRun")
|
|
146
156
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
147
157
|
"""
|
|
148
|
-
Whether to PreCheck only this request.
|
|
158
|
+
Whether to PreCheck only this request. Value:
|
|
149
159
|
"""
|
|
150
160
|
return pulumi.get(self, "dry_run")
|
|
151
161
|
|
|
@@ -153,11 +163,23 @@ class PeerConnectionArgs:
|
|
|
153
163
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
154
164
|
pulumi.set(self, "dry_run", value)
|
|
155
165
|
|
|
166
|
+
@property
|
|
167
|
+
@pulumi.getter(name="forceDelete")
|
|
168
|
+
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
169
|
+
"""
|
|
170
|
+
Whether to forcibly delete the VPC peering connection. Value:
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "force_delete")
|
|
173
|
+
|
|
174
|
+
@force_delete.setter
|
|
175
|
+
def force_delete(self, value: Optional[pulumi.Input[bool]]):
|
|
176
|
+
pulumi.set(self, "force_delete", value)
|
|
177
|
+
|
|
156
178
|
@property
|
|
157
179
|
@pulumi.getter(name="peerConnectionName")
|
|
158
180
|
def peer_connection_name(self) -> Optional[pulumi.Input[str]]:
|
|
159
181
|
"""
|
|
160
|
-
The name of the
|
|
182
|
+
The name of the resource.
|
|
161
183
|
"""
|
|
162
184
|
return pulumi.get(self, "peer_connection_name")
|
|
163
185
|
|
|
@@ -169,7 +191,7 @@ class PeerConnectionArgs:
|
|
|
169
191
|
@pulumi.getter(name="resourceGroupId")
|
|
170
192
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
171
193
|
"""
|
|
172
|
-
The ID of
|
|
194
|
+
The ID of resource group.
|
|
173
195
|
"""
|
|
174
196
|
return pulumi.get(self, "resource_group_id")
|
|
175
197
|
|
|
@@ -181,7 +203,7 @@ class PeerConnectionArgs:
|
|
|
181
203
|
@pulumi.getter
|
|
182
204
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
183
205
|
"""
|
|
184
|
-
The status of the
|
|
206
|
+
The status of the resource.
|
|
185
207
|
"""
|
|
186
208
|
return pulumi.get(self, "status")
|
|
187
209
|
|
|
@@ -193,7 +215,7 @@ class PeerConnectionArgs:
|
|
|
193
215
|
@pulumi.getter
|
|
194
216
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
195
217
|
"""
|
|
196
|
-
|
|
218
|
+
The tags of the resource.
|
|
197
219
|
"""
|
|
198
220
|
return pulumi.get(self, "tags")
|
|
199
221
|
|
|
@@ -212,6 +234,7 @@ class _PeerConnectionState:
|
|
|
212
234
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
213
235
|
description: Optional[pulumi.Input[str]] = None,
|
|
214
236
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
237
|
+
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
215
238
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
216
239
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
217
240
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -222,20 +245,24 @@ class _PeerConnectionState:
|
|
|
222
245
|
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
223
246
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
224
247
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
248
|
+
|
|
225
249
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
226
250
|
:param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.
|
|
227
251
|
- When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.
|
|
228
252
|
- When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
|
|
229
253
|
:param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
|
|
230
254
|
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
|
|
231
|
-
:param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format
|
|
232
|
-
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
:param pulumi.Input[
|
|
236
|
-
:param pulumi.Input[
|
|
237
|
-
:param pulumi.Input[
|
|
238
|
-
:param pulumi.Input[str]
|
|
255
|
+
:param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
|
|
256
|
+
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
257
|
+
|
|
258
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
259
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request. Value:
|
|
260
|
+
:param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC peering connection. Value:
|
|
261
|
+
:param pulumi.Input[str] peer_connection_name: The name of the resource.
|
|
262
|
+
:param pulumi.Input[str] resource_group_id: The ID of resource group.
|
|
263
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
264
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
265
|
+
:param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
|
|
239
266
|
"""
|
|
240
267
|
if accepting_ali_uid is not None:
|
|
241
268
|
pulumi.set(__self__, "accepting_ali_uid", accepting_ali_uid)
|
|
@@ -251,6 +278,8 @@ class _PeerConnectionState:
|
|
|
251
278
|
pulumi.set(__self__, "description", description)
|
|
252
279
|
if dry_run is not None:
|
|
253
280
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
281
|
+
if force_delete is not None:
|
|
282
|
+
pulumi.set(__self__, "force_delete", force_delete)
|
|
254
283
|
if peer_connection_name is not None:
|
|
255
284
|
pulumi.set(__self__, "peer_connection_name", peer_connection_name)
|
|
256
285
|
if resource_group_id is not None:
|
|
@@ -269,6 +298,7 @@ class _PeerConnectionState:
|
|
|
269
298
|
The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
270
299
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
271
300
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
301
|
+
|
|
272
302
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
273
303
|
"""
|
|
274
304
|
return pulumi.get(self, "accepting_ali_uid")
|
|
@@ -319,7 +349,7 @@ class _PeerConnectionState:
|
|
|
319
349
|
@pulumi.getter(name="createTime")
|
|
320
350
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
321
351
|
"""
|
|
322
|
-
The creation time of the VPC peer connection. Use UTC time in the format
|
|
352
|
+
The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
|
|
323
353
|
"""
|
|
324
354
|
return pulumi.get(self, "create_time")
|
|
325
355
|
|
|
@@ -331,7 +361,9 @@ class _PeerConnectionState:
|
|
|
331
361
|
@pulumi.getter
|
|
332
362
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
333
363
|
"""
|
|
334
|
-
The description of the VPC peer connection to be created.
|
|
364
|
+
The description of the VPC peer connection to be created.
|
|
365
|
+
|
|
366
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
335
367
|
"""
|
|
336
368
|
return pulumi.get(self, "description")
|
|
337
369
|
|
|
@@ -343,7 +375,7 @@ class _PeerConnectionState:
|
|
|
343
375
|
@pulumi.getter(name="dryRun")
|
|
344
376
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
345
377
|
"""
|
|
346
|
-
Whether to PreCheck only this request.
|
|
378
|
+
Whether to PreCheck only this request. Value:
|
|
347
379
|
"""
|
|
348
380
|
return pulumi.get(self, "dry_run")
|
|
349
381
|
|
|
@@ -351,11 +383,23 @@ class _PeerConnectionState:
|
|
|
351
383
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
352
384
|
pulumi.set(self, "dry_run", value)
|
|
353
385
|
|
|
386
|
+
@property
|
|
387
|
+
@pulumi.getter(name="forceDelete")
|
|
388
|
+
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
389
|
+
"""
|
|
390
|
+
Whether to forcibly delete the VPC peering connection. Value:
|
|
391
|
+
"""
|
|
392
|
+
return pulumi.get(self, "force_delete")
|
|
393
|
+
|
|
394
|
+
@force_delete.setter
|
|
395
|
+
def force_delete(self, value: Optional[pulumi.Input[bool]]):
|
|
396
|
+
pulumi.set(self, "force_delete", value)
|
|
397
|
+
|
|
354
398
|
@property
|
|
355
399
|
@pulumi.getter(name="peerConnectionName")
|
|
356
400
|
def peer_connection_name(self) -> Optional[pulumi.Input[str]]:
|
|
357
401
|
"""
|
|
358
|
-
The name of the
|
|
402
|
+
The name of the resource.
|
|
359
403
|
"""
|
|
360
404
|
return pulumi.get(self, "peer_connection_name")
|
|
361
405
|
|
|
@@ -367,7 +411,7 @@ class _PeerConnectionState:
|
|
|
367
411
|
@pulumi.getter(name="resourceGroupId")
|
|
368
412
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
369
413
|
"""
|
|
370
|
-
The ID of
|
|
414
|
+
The ID of resource group.
|
|
371
415
|
"""
|
|
372
416
|
return pulumi.get(self, "resource_group_id")
|
|
373
417
|
|
|
@@ -379,7 +423,7 @@ class _PeerConnectionState:
|
|
|
379
423
|
@pulumi.getter
|
|
380
424
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
381
425
|
"""
|
|
382
|
-
The status of the
|
|
426
|
+
The status of the resource.
|
|
383
427
|
"""
|
|
384
428
|
return pulumi.get(self, "status")
|
|
385
429
|
|
|
@@ -391,7 +435,7 @@ class _PeerConnectionState:
|
|
|
391
435
|
@pulumi.getter
|
|
392
436
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
393
437
|
"""
|
|
394
|
-
|
|
438
|
+
The tags of the resource.
|
|
395
439
|
"""
|
|
396
440
|
return pulumi.get(self, "tags")
|
|
397
441
|
|
|
@@ -403,7 +447,7 @@ class _PeerConnectionState:
|
|
|
403
447
|
@pulumi.getter(name="vpcId")
|
|
404
448
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
405
449
|
"""
|
|
406
|
-
|
|
450
|
+
You must create a VPC ID on the initiator of a VPC peer connection.
|
|
407
451
|
"""
|
|
408
452
|
return pulumi.get(self, "vpc_id")
|
|
409
453
|
|
|
@@ -423,6 +467,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
423
467
|
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
424
468
|
description: Optional[pulumi.Input[str]] = None,
|
|
425
469
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
470
|
+
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
426
471
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
427
472
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
428
473
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -430,7 +475,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
430
475
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
431
476
|
__props__=None):
|
|
432
477
|
"""
|
|
433
|
-
Provides a
|
|
478
|
+
Provides a Vpc Peer Connection resource.
|
|
434
479
|
|
|
435
480
|
For information about VPC Peer Connection and how to use it, see [What is Peer Connection](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createvpcpeer).
|
|
436
481
|
|
|
@@ -466,7 +511,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
466
511
|
|
|
467
512
|
## Import
|
|
468
513
|
|
|
469
|
-
|
|
514
|
+
Vpc Peer Connection can be imported using the id, e.g.
|
|
470
515
|
|
|
471
516
|
```sh
|
|
472
517
|
$ pulumi import alicloud:vpc/peerConnection:PeerConnection example <id>
|
|
@@ -477,19 +522,23 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
477
522
|
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
478
523
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
479
524
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
525
|
+
|
|
480
526
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
481
527
|
:param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.
|
|
482
528
|
- When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.
|
|
483
529
|
- When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
|
|
484
530
|
:param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
|
|
485
531
|
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
|
|
486
|
-
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
:param pulumi.Input[
|
|
490
|
-
:param pulumi.Input[
|
|
491
|
-
:param pulumi.Input[
|
|
492
|
-
:param pulumi.Input[str]
|
|
532
|
+
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
533
|
+
|
|
534
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
535
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request. Value:
|
|
536
|
+
:param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC peering connection. Value:
|
|
537
|
+
:param pulumi.Input[str] peer_connection_name: The name of the resource.
|
|
538
|
+
:param pulumi.Input[str] resource_group_id: The ID of resource group.
|
|
539
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
540
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
541
|
+
:param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
|
|
493
542
|
"""
|
|
494
543
|
...
|
|
495
544
|
@overload
|
|
@@ -498,7 +547,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
498
547
|
args: PeerConnectionArgs,
|
|
499
548
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
500
549
|
"""
|
|
501
|
-
Provides a
|
|
550
|
+
Provides a Vpc Peer Connection resource.
|
|
502
551
|
|
|
503
552
|
For information about VPC Peer Connection and how to use it, see [What is Peer Connection](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createvpcpeer).
|
|
504
553
|
|
|
@@ -534,7 +583,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
534
583
|
|
|
535
584
|
## Import
|
|
536
585
|
|
|
537
|
-
|
|
586
|
+
Vpc Peer Connection can be imported using the id, e.g.
|
|
538
587
|
|
|
539
588
|
```sh
|
|
540
589
|
$ pulumi import alicloud:vpc/peerConnection:PeerConnection example <id>
|
|
@@ -561,6 +610,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
561
610
|
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
562
611
|
description: Optional[pulumi.Input[str]] = None,
|
|
563
612
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
613
|
+
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
564
614
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
565
615
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
566
616
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -585,6 +635,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
585
635
|
__props__.__dict__["bandwidth"] = bandwidth
|
|
586
636
|
__props__.__dict__["description"] = description
|
|
587
637
|
__props__.__dict__["dry_run"] = dry_run
|
|
638
|
+
__props__.__dict__["force_delete"] = force_delete
|
|
588
639
|
__props__.__dict__["peer_connection_name"] = peer_connection_name
|
|
589
640
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
590
641
|
__props__.__dict__["status"] = status
|
|
@@ -610,6 +661,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
610
661
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
611
662
|
description: Optional[pulumi.Input[str]] = None,
|
|
612
663
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
664
|
+
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
613
665
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
614
666
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
615
667
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -625,20 +677,24 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
625
677
|
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
626
678
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
627
679
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
680
|
+
|
|
628
681
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
629
682
|
:param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.
|
|
630
683
|
- When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.
|
|
631
684
|
- When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
|
|
632
685
|
:param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
|
|
633
686
|
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
|
|
634
|
-
:param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format
|
|
635
|
-
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
:param pulumi.Input[
|
|
639
|
-
:param pulumi.Input[
|
|
640
|
-
:param pulumi.Input[
|
|
641
|
-
:param pulumi.Input[str]
|
|
687
|
+
:param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
|
|
688
|
+
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
689
|
+
|
|
690
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
691
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request. Value:
|
|
692
|
+
:param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC peering connection. Value:
|
|
693
|
+
:param pulumi.Input[str] peer_connection_name: The name of the resource.
|
|
694
|
+
:param pulumi.Input[str] resource_group_id: The ID of resource group.
|
|
695
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
696
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
697
|
+
:param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
|
|
642
698
|
"""
|
|
643
699
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
644
700
|
|
|
@@ -651,6 +707,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
651
707
|
__props__.__dict__["create_time"] = create_time
|
|
652
708
|
__props__.__dict__["description"] = description
|
|
653
709
|
__props__.__dict__["dry_run"] = dry_run
|
|
710
|
+
__props__.__dict__["force_delete"] = force_delete
|
|
654
711
|
__props__.__dict__["peer_connection_name"] = peer_connection_name
|
|
655
712
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
656
713
|
__props__.__dict__["status"] = status
|
|
@@ -665,6 +722,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
665
722
|
The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.
|
|
666
723
|
- Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.
|
|
667
724
|
- Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.
|
|
725
|
+
|
|
668
726
|
> **NOTE:** If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
|
|
669
727
|
"""
|
|
670
728
|
return pulumi.get(self, "accepting_ali_uid")
|
|
@@ -699,15 +757,17 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
699
757
|
@pulumi.getter(name="createTime")
|
|
700
758
|
def create_time(self) -> pulumi.Output[str]:
|
|
701
759
|
"""
|
|
702
|
-
The creation time of the VPC peer connection. Use UTC time in the format
|
|
760
|
+
The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
|
|
703
761
|
"""
|
|
704
762
|
return pulumi.get(self, "create_time")
|
|
705
763
|
|
|
706
764
|
@property
|
|
707
765
|
@pulumi.getter
|
|
708
|
-
def description(self) -> pulumi.Output[
|
|
766
|
+
def description(self) -> pulumi.Output[str]:
|
|
709
767
|
"""
|
|
710
|
-
The description of the VPC peer connection to be created.
|
|
768
|
+
The description of the VPC peer connection to be created.
|
|
769
|
+
|
|
770
|
+
It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
|
|
711
771
|
"""
|
|
712
772
|
return pulumi.get(self, "description")
|
|
713
773
|
|
|
@@ -715,15 +775,23 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
715
775
|
@pulumi.getter(name="dryRun")
|
|
716
776
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
717
777
|
"""
|
|
718
|
-
Whether to PreCheck only this request.
|
|
778
|
+
Whether to PreCheck only this request. Value:
|
|
719
779
|
"""
|
|
720
780
|
return pulumi.get(self, "dry_run")
|
|
721
781
|
|
|
782
|
+
@property
|
|
783
|
+
@pulumi.getter(name="forceDelete")
|
|
784
|
+
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
785
|
+
"""
|
|
786
|
+
Whether to forcibly delete the VPC peering connection. Value:
|
|
787
|
+
"""
|
|
788
|
+
return pulumi.get(self, "force_delete")
|
|
789
|
+
|
|
722
790
|
@property
|
|
723
791
|
@pulumi.getter(name="peerConnectionName")
|
|
724
|
-
def peer_connection_name(self) -> pulumi.Output[
|
|
792
|
+
def peer_connection_name(self) -> pulumi.Output[str]:
|
|
725
793
|
"""
|
|
726
|
-
The name of the
|
|
794
|
+
The name of the resource.
|
|
727
795
|
"""
|
|
728
796
|
return pulumi.get(self, "peer_connection_name")
|
|
729
797
|
|
|
@@ -731,7 +799,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
731
799
|
@pulumi.getter(name="resourceGroupId")
|
|
732
800
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
733
801
|
"""
|
|
734
|
-
The ID of
|
|
802
|
+
The ID of resource group.
|
|
735
803
|
"""
|
|
736
804
|
return pulumi.get(self, "resource_group_id")
|
|
737
805
|
|
|
@@ -739,7 +807,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
739
807
|
@pulumi.getter
|
|
740
808
|
def status(self) -> pulumi.Output[str]:
|
|
741
809
|
"""
|
|
742
|
-
The status of the
|
|
810
|
+
The status of the resource.
|
|
743
811
|
"""
|
|
744
812
|
return pulumi.get(self, "status")
|
|
745
813
|
|
|
@@ -747,7 +815,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
747
815
|
@pulumi.getter
|
|
748
816
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
749
817
|
"""
|
|
750
|
-
|
|
818
|
+
The tags of the resource.
|
|
751
819
|
"""
|
|
752
820
|
return pulumi.get(self, "tags")
|
|
753
821
|
|
|
@@ -755,7 +823,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
755
823
|
@pulumi.getter(name="vpcId")
|
|
756
824
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
757
825
|
"""
|
|
758
|
-
|
|
826
|
+
You must create a VPC ID on the initiator of a VPC peer connection.
|
|
759
827
|
"""
|
|
760
828
|
return pulumi.get(self, "vpc_id")
|
|
761
829
|
|