pulumi-alicloud 3.72.0a1735837979__py3-none-any.whl → 3.72.0a1735881335__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 +75 -0
- pulumi_alicloud/_inputs.py +471 -0
- pulumi_alicloud/adb/cluster.py +68 -0
- pulumi_alicloud/adb/db_cluster.py +94 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
- pulumi_alicloud/adb/outputs.py +106 -2
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
- pulumi_alicloud/cfg/get_deliveries.py +11 -2
- pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
- pulumi_alicloud/cfg/get_rules.py +3 -7
- pulumi_alicloud/cfg/outputs.py +28 -20
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +16 -4
- pulumi_alicloud/config/__init__.pyi +2 -0
- pulumi_alicloud/config/outputs.py +284 -0
- pulumi_alicloud/config/vars.py +4 -0
- pulumi_alicloud/cr/_inputs.py +128 -0
- pulumi_alicloud/cr/outputs.py +93 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
- pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
- pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +9 -0
- pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/outputs.py +90 -36
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
- pulumi_alicloud/ess/notification.py +50 -3
- pulumi_alicloud/ess/outputs.py +104 -8
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
- pulumi_alicloud/ga/get_acls.py +14 -2
- pulumi_alicloud/ga/get_additional_certificates.py +11 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
- pulumi_alicloud/ga/get_ip_sets.py +8 -2
- pulumi_alicloud/ga/get_listeners.py +11 -2
- pulumi_alicloud/ga/outputs.py +64 -32
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +8 -2
- pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
- pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
- pulumi_alicloud/kms/key.py +108 -28
- pulumi_alicloud/kvstore/get_instances.py +14 -3
- pulumi_alicloud/kvstore/outputs.py +48 -4
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +68 -0
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/outputs.py +74 -0
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
- pulumi_alicloud/privatelink/outputs.py +6 -6
- pulumi_alicloud/provider.py +20 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +66 -8
- pulumi_alicloud/rds/instance.py +211 -14
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +64 -51
- pulumi_alicloud/schedulerx/outputs.py +425 -0
- pulumi_alicloud/sddp/get_configs.py +5 -2
- pulumi_alicloud/sddp/get_data_limits.py +11 -2
- pulumi_alicloud/sddp/get_instances.py +5 -2
- pulumi_alicloud/sddp/get_rules.py +29 -2
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +17 -2
- pulumi_alicloud/vpc/network.py +293 -40
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +239 -132
- pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +14 -2
- pulumi_alicloud/waf/get_domains.py +6 -4
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +0 -64
- pulumi_alicloud/waf/outputs.py +2 -4
- pulumi_alicloud/wafv3/get_instances.py +10 -4
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/RECORD +129 -114
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735881335.dist-info}/top_level.txt +0 -0
|
@@ -27,32 +27,38 @@ class PeerConnectionArgs:
|
|
|
27
27
|
description: Optional[pulumi.Input[str]] = None,
|
|
28
28
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
29
29
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
30
|
+
link_type: Optional[pulumi.Input[str]] = None,
|
|
30
31
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
31
32
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
32
33
|
status: Optional[pulumi.Input[str]] = None,
|
|
33
34
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
34
35
|
"""
|
|
35
36
|
The set of arguments for constructing a PeerConnection resource.
|
|
36
|
-
:param pulumi.Input[str] accepting_region_id: The region ID of the
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
:param pulumi.Input[str] accepting_vpc_id: The
|
|
40
|
-
:param pulumi.Input[str] vpc_id:
|
|
41
|
-
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account
|
|
42
|
-
-
|
|
43
|
-
-
|
|
37
|
+
:param pulumi.Input[str] accepting_region_id: The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
38
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
39
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
40
|
+
:param pulumi.Input[str] accepting_vpc_id: The ID of the accepter VPC.
|
|
41
|
+
:param pulumi.Input[str] vpc_id: The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
42
|
+
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
43
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
44
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
44
45
|
|
|
45
|
-
> **NOTE:**
|
|
46
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection
|
|
47
|
-
:param pulumi.Input[str] description: The description of the VPC
|
|
46
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
47
|
+
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
48
|
+
:param pulumi.Input[str] description: The description of the VPC peering connection.
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
:param pulumi.Input[bool] dry_run:
|
|
51
|
-
:param pulumi.Input[bool] force_delete:
|
|
52
|
-
:param pulumi.Input[str]
|
|
53
|
-
:param pulumi.Input[str]
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
51
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
52
|
+
:param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
53
|
+
:param pulumi.Input[str] link_type: LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
54
|
+
:param pulumi.Input[str] peer_connection_name: The name of the VPC peering connection.
|
|
55
|
+
|
|
56
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
57
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
58
|
+
|
|
59
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
60
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
61
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of PrefixList.
|
|
56
62
|
"""
|
|
57
63
|
pulumi.set(__self__, "accepting_region_id", accepting_region_id)
|
|
58
64
|
pulumi.set(__self__, "accepting_vpc_id", accepting_vpc_id)
|
|
@@ -67,6 +73,8 @@ class PeerConnectionArgs:
|
|
|
67
73
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
68
74
|
if force_delete is not None:
|
|
69
75
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
76
|
+
if link_type is not None:
|
|
77
|
+
pulumi.set(__self__, "link_type", link_type)
|
|
70
78
|
if peer_connection_name is not None:
|
|
71
79
|
pulumi.set(__self__, "peer_connection_name", peer_connection_name)
|
|
72
80
|
if resource_group_id is not None:
|
|
@@ -80,9 +88,9 @@ class PeerConnectionArgs:
|
|
|
80
88
|
@pulumi.getter(name="acceptingRegionId")
|
|
81
89
|
def accepting_region_id(self) -> pulumi.Input[str]:
|
|
82
90
|
"""
|
|
83
|
-
The region ID of the
|
|
84
|
-
-
|
|
85
|
-
-
|
|
91
|
+
The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
92
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
93
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
86
94
|
"""
|
|
87
95
|
return pulumi.get(self, "accepting_region_id")
|
|
88
96
|
|
|
@@ -94,7 +102,7 @@ class PeerConnectionArgs:
|
|
|
94
102
|
@pulumi.getter(name="acceptingVpcId")
|
|
95
103
|
def accepting_vpc_id(self) -> pulumi.Input[str]:
|
|
96
104
|
"""
|
|
97
|
-
The
|
|
105
|
+
The ID of the accepter VPC.
|
|
98
106
|
"""
|
|
99
107
|
return pulumi.get(self, "accepting_vpc_id")
|
|
100
108
|
|
|
@@ -106,7 +114,7 @@ class PeerConnectionArgs:
|
|
|
106
114
|
@pulumi.getter(name="vpcId")
|
|
107
115
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
108
116
|
"""
|
|
109
|
-
|
|
117
|
+
The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
110
118
|
"""
|
|
111
119
|
return pulumi.get(self, "vpc_id")
|
|
112
120
|
|
|
@@ -118,11 +126,11 @@ class PeerConnectionArgs:
|
|
|
118
126
|
@pulumi.getter(name="acceptingAliUid")
|
|
119
127
|
def accepting_ali_uid(self) -> Optional[pulumi.Input[int]]:
|
|
120
128
|
"""
|
|
121
|
-
The ID of the Alibaba Cloud account
|
|
122
|
-
-
|
|
123
|
-
-
|
|
129
|
+
The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
130
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
131
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
124
132
|
|
|
125
|
-
> **NOTE:**
|
|
133
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
126
134
|
"""
|
|
127
135
|
return pulumi.get(self, "accepting_ali_uid")
|
|
128
136
|
|
|
@@ -134,7 +142,7 @@ class PeerConnectionArgs:
|
|
|
134
142
|
@pulumi.getter
|
|
135
143
|
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
136
144
|
"""
|
|
137
|
-
The bandwidth of the VPC peering connection
|
|
145
|
+
The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
138
146
|
"""
|
|
139
147
|
return pulumi.get(self, "bandwidth")
|
|
140
148
|
|
|
@@ -146,9 +154,9 @@ class PeerConnectionArgs:
|
|
|
146
154
|
@pulumi.getter
|
|
147
155
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
148
156
|
"""
|
|
149
|
-
The description of the VPC
|
|
157
|
+
The description of the VPC peering connection.
|
|
150
158
|
|
|
151
|
-
|
|
159
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
152
160
|
"""
|
|
153
161
|
return pulumi.get(self, "description")
|
|
154
162
|
|
|
@@ -160,7 +168,7 @@ class PeerConnectionArgs:
|
|
|
160
168
|
@pulumi.getter(name="dryRun")
|
|
161
169
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
162
170
|
"""
|
|
163
|
-
|
|
171
|
+
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
164
172
|
"""
|
|
165
173
|
return pulumi.get(self, "dry_run")
|
|
166
174
|
|
|
@@ -172,7 +180,7 @@ class PeerConnectionArgs:
|
|
|
172
180
|
@pulumi.getter(name="forceDelete")
|
|
173
181
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
174
182
|
"""
|
|
175
|
-
|
|
183
|
+
Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
176
184
|
"""
|
|
177
185
|
return pulumi.get(self, "force_delete")
|
|
178
186
|
|
|
@@ -180,11 +188,25 @@ class PeerConnectionArgs:
|
|
|
180
188
|
def force_delete(self, value: Optional[pulumi.Input[bool]]):
|
|
181
189
|
pulumi.set(self, "force_delete", value)
|
|
182
190
|
|
|
191
|
+
@property
|
|
192
|
+
@pulumi.getter(name="linkType")
|
|
193
|
+
def link_type(self) -> Optional[pulumi.Input[str]]:
|
|
194
|
+
"""
|
|
195
|
+
LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "link_type")
|
|
198
|
+
|
|
199
|
+
@link_type.setter
|
|
200
|
+
def link_type(self, value: Optional[pulumi.Input[str]]):
|
|
201
|
+
pulumi.set(self, "link_type", value)
|
|
202
|
+
|
|
183
203
|
@property
|
|
184
204
|
@pulumi.getter(name="peerConnectionName")
|
|
185
205
|
def peer_connection_name(self) -> Optional[pulumi.Input[str]]:
|
|
186
206
|
"""
|
|
187
|
-
The name of the
|
|
207
|
+
The name of the VPC peering connection.
|
|
208
|
+
|
|
209
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
188
210
|
"""
|
|
189
211
|
return pulumi.get(self, "peer_connection_name")
|
|
190
212
|
|
|
@@ -196,7 +218,9 @@ class PeerConnectionArgs:
|
|
|
196
218
|
@pulumi.getter(name="resourceGroupId")
|
|
197
219
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
198
220
|
"""
|
|
199
|
-
The ID of resource group.
|
|
221
|
+
The ID of the new resource group.
|
|
222
|
+
|
|
223
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
200
224
|
"""
|
|
201
225
|
return pulumi.get(self, "resource_group_id")
|
|
202
226
|
|
|
@@ -208,7 +232,7 @@ class PeerConnectionArgs:
|
|
|
208
232
|
@pulumi.getter
|
|
209
233
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
210
234
|
"""
|
|
211
|
-
The status of the resource
|
|
235
|
+
The status of the resource
|
|
212
236
|
"""
|
|
213
237
|
return pulumi.get(self, "status")
|
|
214
238
|
|
|
@@ -220,7 +244,7 @@ class PeerConnectionArgs:
|
|
|
220
244
|
@pulumi.getter
|
|
221
245
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
222
246
|
"""
|
|
223
|
-
The tags of
|
|
247
|
+
The tags of PrefixList.
|
|
224
248
|
"""
|
|
225
249
|
return pulumi.get(self, "tags")
|
|
226
250
|
|
|
@@ -240,34 +264,42 @@ class _PeerConnectionState:
|
|
|
240
264
|
description: Optional[pulumi.Input[str]] = None,
|
|
241
265
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
242
266
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
267
|
+
link_type: Optional[pulumi.Input[str]] = None,
|
|
243
268
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
269
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
244
270
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
245
271
|
status: Optional[pulumi.Input[str]] = None,
|
|
246
272
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
247
273
|
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
248
274
|
"""
|
|
249
275
|
Input properties used for looking up and filtering PeerConnection resources.
|
|
250
|
-
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account
|
|
251
|
-
-
|
|
252
|
-
-
|
|
276
|
+
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
277
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
278
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
253
279
|
|
|
254
|
-
> **NOTE:**
|
|
255
|
-
:param pulumi.Input[str] accepting_region_id: The region ID of the
|
|
256
|
-
-
|
|
257
|
-
-
|
|
258
|
-
:param pulumi.Input[str] accepting_vpc_id: The
|
|
259
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection
|
|
280
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
281
|
+
:param pulumi.Input[str] accepting_region_id: The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
282
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
283
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
284
|
+
:param pulumi.Input[str] accepting_vpc_id: The ID of the accepter VPC.
|
|
285
|
+
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
260
286
|
: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 '.
|
|
261
|
-
:param pulumi.Input[str] description: The description of the VPC
|
|
287
|
+
:param pulumi.Input[str] description: The description of the VPC peering connection.
|
|
288
|
+
|
|
289
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
290
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
291
|
+
:param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
292
|
+
:param pulumi.Input[str] link_type: LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
293
|
+
:param pulumi.Input[str] peer_connection_name: The name of the VPC peering connection.
|
|
262
294
|
|
|
263
|
-
|
|
264
|
-
:param pulumi.Input[
|
|
265
|
-
:param pulumi.Input[
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
269
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of
|
|
270
|
-
:param pulumi.Input[str] vpc_id:
|
|
295
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
296
|
+
:param pulumi.Input[str] region_id: The region ID of the resource to which you want to create and add tags.
|
|
297
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
298
|
+
|
|
299
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
300
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
301
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of PrefixList.
|
|
302
|
+
:param pulumi.Input[str] vpc_id: The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
271
303
|
"""
|
|
272
304
|
if accepting_ali_uid is not None:
|
|
273
305
|
pulumi.set(__self__, "accepting_ali_uid", accepting_ali_uid)
|
|
@@ -285,8 +317,12 @@ class _PeerConnectionState:
|
|
|
285
317
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
286
318
|
if force_delete is not None:
|
|
287
319
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
320
|
+
if link_type is not None:
|
|
321
|
+
pulumi.set(__self__, "link_type", link_type)
|
|
288
322
|
if peer_connection_name is not None:
|
|
289
323
|
pulumi.set(__self__, "peer_connection_name", peer_connection_name)
|
|
324
|
+
if region_id is not None:
|
|
325
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
290
326
|
if resource_group_id is not None:
|
|
291
327
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
292
328
|
if status is not None:
|
|
@@ -300,11 +336,11 @@ class _PeerConnectionState:
|
|
|
300
336
|
@pulumi.getter(name="acceptingAliUid")
|
|
301
337
|
def accepting_ali_uid(self) -> Optional[pulumi.Input[int]]:
|
|
302
338
|
"""
|
|
303
|
-
The ID of the Alibaba Cloud account
|
|
304
|
-
-
|
|
305
|
-
-
|
|
339
|
+
The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
340
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
341
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
306
342
|
|
|
307
|
-
> **NOTE:**
|
|
343
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
308
344
|
"""
|
|
309
345
|
return pulumi.get(self, "accepting_ali_uid")
|
|
310
346
|
|
|
@@ -316,9 +352,9 @@ class _PeerConnectionState:
|
|
|
316
352
|
@pulumi.getter(name="acceptingRegionId")
|
|
317
353
|
def accepting_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
318
354
|
"""
|
|
319
|
-
The region ID of the
|
|
320
|
-
-
|
|
321
|
-
-
|
|
355
|
+
The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
356
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
357
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
322
358
|
"""
|
|
323
359
|
return pulumi.get(self, "accepting_region_id")
|
|
324
360
|
|
|
@@ -330,7 +366,7 @@ class _PeerConnectionState:
|
|
|
330
366
|
@pulumi.getter(name="acceptingVpcId")
|
|
331
367
|
def accepting_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
332
368
|
"""
|
|
333
|
-
The
|
|
369
|
+
The ID of the accepter VPC.
|
|
334
370
|
"""
|
|
335
371
|
return pulumi.get(self, "accepting_vpc_id")
|
|
336
372
|
|
|
@@ -342,7 +378,7 @@ class _PeerConnectionState:
|
|
|
342
378
|
@pulumi.getter
|
|
343
379
|
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
344
380
|
"""
|
|
345
|
-
The bandwidth of the VPC peering connection
|
|
381
|
+
The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
346
382
|
"""
|
|
347
383
|
return pulumi.get(self, "bandwidth")
|
|
348
384
|
|
|
@@ -366,9 +402,9 @@ class _PeerConnectionState:
|
|
|
366
402
|
@pulumi.getter
|
|
367
403
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
368
404
|
"""
|
|
369
|
-
The description of the VPC
|
|
405
|
+
The description of the VPC peering connection.
|
|
370
406
|
|
|
371
|
-
|
|
407
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
372
408
|
"""
|
|
373
409
|
return pulumi.get(self, "description")
|
|
374
410
|
|
|
@@ -380,7 +416,7 @@ class _PeerConnectionState:
|
|
|
380
416
|
@pulumi.getter(name="dryRun")
|
|
381
417
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
382
418
|
"""
|
|
383
|
-
|
|
419
|
+
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
384
420
|
"""
|
|
385
421
|
return pulumi.get(self, "dry_run")
|
|
386
422
|
|
|
@@ -392,7 +428,7 @@ class _PeerConnectionState:
|
|
|
392
428
|
@pulumi.getter(name="forceDelete")
|
|
393
429
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
394
430
|
"""
|
|
395
|
-
|
|
431
|
+
Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
396
432
|
"""
|
|
397
433
|
return pulumi.get(self, "force_delete")
|
|
398
434
|
|
|
@@ -400,11 +436,25 @@ class _PeerConnectionState:
|
|
|
400
436
|
def force_delete(self, value: Optional[pulumi.Input[bool]]):
|
|
401
437
|
pulumi.set(self, "force_delete", value)
|
|
402
438
|
|
|
439
|
+
@property
|
|
440
|
+
@pulumi.getter(name="linkType")
|
|
441
|
+
def link_type(self) -> Optional[pulumi.Input[str]]:
|
|
442
|
+
"""
|
|
443
|
+
LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
444
|
+
"""
|
|
445
|
+
return pulumi.get(self, "link_type")
|
|
446
|
+
|
|
447
|
+
@link_type.setter
|
|
448
|
+
def link_type(self, value: Optional[pulumi.Input[str]]):
|
|
449
|
+
pulumi.set(self, "link_type", value)
|
|
450
|
+
|
|
403
451
|
@property
|
|
404
452
|
@pulumi.getter(name="peerConnectionName")
|
|
405
453
|
def peer_connection_name(self) -> Optional[pulumi.Input[str]]:
|
|
406
454
|
"""
|
|
407
|
-
The name of the
|
|
455
|
+
The name of the VPC peering connection.
|
|
456
|
+
|
|
457
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
408
458
|
"""
|
|
409
459
|
return pulumi.get(self, "peer_connection_name")
|
|
410
460
|
|
|
@@ -412,11 +462,25 @@ class _PeerConnectionState:
|
|
|
412
462
|
def peer_connection_name(self, value: Optional[pulumi.Input[str]]):
|
|
413
463
|
pulumi.set(self, "peer_connection_name", value)
|
|
414
464
|
|
|
465
|
+
@property
|
|
466
|
+
@pulumi.getter(name="regionId")
|
|
467
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
468
|
+
"""
|
|
469
|
+
The region ID of the resource to which you want to create and add tags.
|
|
470
|
+
"""
|
|
471
|
+
return pulumi.get(self, "region_id")
|
|
472
|
+
|
|
473
|
+
@region_id.setter
|
|
474
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
475
|
+
pulumi.set(self, "region_id", value)
|
|
476
|
+
|
|
415
477
|
@property
|
|
416
478
|
@pulumi.getter(name="resourceGroupId")
|
|
417
479
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
418
480
|
"""
|
|
419
|
-
The ID of resource group.
|
|
481
|
+
The ID of the new resource group.
|
|
482
|
+
|
|
483
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
420
484
|
"""
|
|
421
485
|
return pulumi.get(self, "resource_group_id")
|
|
422
486
|
|
|
@@ -428,7 +492,7 @@ class _PeerConnectionState:
|
|
|
428
492
|
@pulumi.getter
|
|
429
493
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
430
494
|
"""
|
|
431
|
-
The status of the resource
|
|
495
|
+
The status of the resource
|
|
432
496
|
"""
|
|
433
497
|
return pulumi.get(self, "status")
|
|
434
498
|
|
|
@@ -440,7 +504,7 @@ class _PeerConnectionState:
|
|
|
440
504
|
@pulumi.getter
|
|
441
505
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
442
506
|
"""
|
|
443
|
-
The tags of
|
|
507
|
+
The tags of PrefixList.
|
|
444
508
|
"""
|
|
445
509
|
return pulumi.get(self, "tags")
|
|
446
510
|
|
|
@@ -452,7 +516,7 @@ class _PeerConnectionState:
|
|
|
452
516
|
@pulumi.getter(name="vpcId")
|
|
453
517
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
454
518
|
"""
|
|
455
|
-
|
|
519
|
+
The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
456
520
|
"""
|
|
457
521
|
return pulumi.get(self, "vpc_id")
|
|
458
522
|
|
|
@@ -473,6 +537,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
473
537
|
description: Optional[pulumi.Input[str]] = None,
|
|
474
538
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
475
539
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
540
|
+
link_type: Optional[pulumi.Input[str]] = None,
|
|
476
541
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
477
542
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
478
543
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -480,9 +545,11 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
480
545
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
481
546
|
__props__=None):
|
|
482
547
|
"""
|
|
483
|
-
Provides a Vpc Peer Connection resource.
|
|
548
|
+
Provides a Vpc Peer Peer Connection resource.
|
|
484
549
|
|
|
485
|
-
|
|
550
|
+
Vpc peer connection.
|
|
551
|
+
|
|
552
|
+
For information about Vpc Peer Peer Connection and how to use it, see [What is Peer Connection](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createvpcpeer).
|
|
486
553
|
|
|
487
554
|
> **NOTE:** Available since v1.186.0.
|
|
488
555
|
|
|
@@ -516,7 +583,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
516
583
|
|
|
517
584
|
## Import
|
|
518
585
|
|
|
519
|
-
Vpc Peer Connection can be imported using the id, e.g.
|
|
586
|
+
Vpc Peer Peer Connection can be imported using the id, e.g.
|
|
520
587
|
|
|
521
588
|
```sh
|
|
522
589
|
$ pulumi import alicloud:vpc/peerConnection:PeerConnection example <id>
|
|
@@ -524,26 +591,31 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
524
591
|
|
|
525
592
|
:param str resource_name: The name of the resource.
|
|
526
593
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
527
|
-
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account
|
|
528
|
-
-
|
|
529
|
-
-
|
|
594
|
+
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
595
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
596
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
597
|
+
|
|
598
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
599
|
+
:param pulumi.Input[str] accepting_region_id: The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
600
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
601
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
602
|
+
:param pulumi.Input[str] accepting_vpc_id: The ID of the accepter VPC.
|
|
603
|
+
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
604
|
+
:param pulumi.Input[str] description: The description of the VPC peering connection.
|
|
530
605
|
|
|
531
|
-
|
|
532
|
-
:param pulumi.Input[
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
:param pulumi.Input[str]
|
|
536
|
-
: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.
|
|
537
|
-
:param pulumi.Input[str] description: The description of the VPC peer connection to be created.
|
|
606
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
607
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
608
|
+
:param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
609
|
+
:param pulumi.Input[str] link_type: LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
610
|
+
:param pulumi.Input[str] peer_connection_name: The name of the VPC peering connection.
|
|
538
611
|
|
|
539
|
-
|
|
540
|
-
:param pulumi.Input[
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
:param pulumi.Input[str]
|
|
544
|
-
:param pulumi.Input[str]
|
|
545
|
-
:param pulumi.Input[
|
|
546
|
-
:param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
|
|
612
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
613
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
614
|
+
|
|
615
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
616
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
617
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of PrefixList.
|
|
618
|
+
:param pulumi.Input[str] vpc_id: The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
547
619
|
"""
|
|
548
620
|
...
|
|
549
621
|
@overload
|
|
@@ -552,9 +624,11 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
552
624
|
args: PeerConnectionArgs,
|
|
553
625
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
554
626
|
"""
|
|
555
|
-
Provides a Vpc Peer Connection resource.
|
|
627
|
+
Provides a Vpc Peer Peer Connection resource.
|
|
628
|
+
|
|
629
|
+
Vpc peer connection.
|
|
556
630
|
|
|
557
|
-
For information about
|
|
631
|
+
For information about Vpc Peer Peer Connection and how to use it, see [What is Peer Connection](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createvpcpeer).
|
|
558
632
|
|
|
559
633
|
> **NOTE:** Available since v1.186.0.
|
|
560
634
|
|
|
@@ -588,7 +662,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
588
662
|
|
|
589
663
|
## Import
|
|
590
664
|
|
|
591
|
-
Vpc Peer Connection can be imported using the id, e.g.
|
|
665
|
+
Vpc Peer Peer Connection can be imported using the id, e.g.
|
|
592
666
|
|
|
593
667
|
```sh
|
|
594
668
|
$ pulumi import alicloud:vpc/peerConnection:PeerConnection example <id>
|
|
@@ -616,6 +690,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
616
690
|
description: Optional[pulumi.Input[str]] = None,
|
|
617
691
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
618
692
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
693
|
+
link_type: Optional[pulumi.Input[str]] = None,
|
|
619
694
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
620
695
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
621
696
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -641,6 +716,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
641
716
|
__props__.__dict__["description"] = description
|
|
642
717
|
__props__.__dict__["dry_run"] = dry_run
|
|
643
718
|
__props__.__dict__["force_delete"] = force_delete
|
|
719
|
+
__props__.__dict__["link_type"] = link_type
|
|
644
720
|
__props__.__dict__["peer_connection_name"] = peer_connection_name
|
|
645
721
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
646
722
|
__props__.__dict__["status"] = status
|
|
@@ -649,6 +725,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
649
725
|
raise TypeError("Missing required property 'vpc_id'")
|
|
650
726
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
651
727
|
__props__.__dict__["create_time"] = None
|
|
728
|
+
__props__.__dict__["region_id"] = None
|
|
652
729
|
super(PeerConnection, __self__).__init__(
|
|
653
730
|
'alicloud:vpc/peerConnection:PeerConnection',
|
|
654
731
|
resource_name,
|
|
@@ -667,7 +744,9 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
667
744
|
description: Optional[pulumi.Input[str]] = None,
|
|
668
745
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
669
746
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
747
|
+
link_type: Optional[pulumi.Input[str]] = None,
|
|
670
748
|
peer_connection_name: Optional[pulumi.Input[str]] = None,
|
|
749
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
671
750
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
672
751
|
status: Optional[pulumi.Input[str]] = None,
|
|
673
752
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
@@ -679,27 +758,33 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
679
758
|
:param str resource_name: The unique name of the resulting resource.
|
|
680
759
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
681
760
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
682
|
-
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account
|
|
683
|
-
-
|
|
684
|
-
-
|
|
761
|
+
:param pulumi.Input[int] accepting_ali_uid: The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
762
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
763
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
685
764
|
|
|
686
|
-
> **NOTE:**
|
|
687
|
-
:param pulumi.Input[str] accepting_region_id: The region ID of the
|
|
688
|
-
-
|
|
689
|
-
-
|
|
690
|
-
:param pulumi.Input[str] accepting_vpc_id: The
|
|
691
|
-
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection
|
|
765
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
766
|
+
:param pulumi.Input[str] accepting_region_id: The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
767
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
768
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
769
|
+
:param pulumi.Input[str] accepting_vpc_id: The ID of the accepter VPC.
|
|
770
|
+
:param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
692
771
|
: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 '.
|
|
693
|
-
:param pulumi.Input[str] description: The description of the VPC
|
|
772
|
+
:param pulumi.Input[str] description: The description of the VPC peering connection.
|
|
773
|
+
|
|
774
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
775
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
776
|
+
:param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
777
|
+
:param pulumi.Input[str] link_type: LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
778
|
+
:param pulumi.Input[str] peer_connection_name: The name of the VPC peering connection.
|
|
694
779
|
|
|
695
|
-
|
|
696
|
-
:param pulumi.Input[
|
|
697
|
-
:param pulumi.Input[
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
701
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of
|
|
702
|
-
:param pulumi.Input[str] vpc_id:
|
|
780
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
781
|
+
:param pulumi.Input[str] region_id: The region ID of the resource to which you want to create and add tags.
|
|
782
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
783
|
+
|
|
784
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
785
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
786
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of PrefixList.
|
|
787
|
+
:param pulumi.Input[str] vpc_id: The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
703
788
|
"""
|
|
704
789
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
705
790
|
|
|
@@ -713,7 +798,9 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
713
798
|
__props__.__dict__["description"] = description
|
|
714
799
|
__props__.__dict__["dry_run"] = dry_run
|
|
715
800
|
__props__.__dict__["force_delete"] = force_delete
|
|
801
|
+
__props__.__dict__["link_type"] = link_type
|
|
716
802
|
__props__.__dict__["peer_connection_name"] = peer_connection_name
|
|
803
|
+
__props__.__dict__["region_id"] = region_id
|
|
717
804
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
718
805
|
__props__.__dict__["status"] = status
|
|
719
806
|
__props__.__dict__["tags"] = tags
|
|
@@ -724,11 +811,11 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
724
811
|
@pulumi.getter(name="acceptingAliUid")
|
|
725
812
|
def accepting_ali_uid(self) -> pulumi.Output[Optional[int]]:
|
|
726
813
|
"""
|
|
727
|
-
The ID of the Alibaba Cloud account
|
|
728
|
-
-
|
|
729
|
-
-
|
|
814
|
+
The ID of the Alibaba Cloud account to which the accepter VPC belongs.
|
|
815
|
+
- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.
|
|
816
|
+
- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.
|
|
730
817
|
|
|
731
|
-
> **NOTE:**
|
|
818
|
+
> **NOTE:** If the accepter is a RAM user, set `AcceptingAliUid` to the ID of the Alibaba Cloud account that created the RAM user.
|
|
732
819
|
"""
|
|
733
820
|
return pulumi.get(self, "accepting_ali_uid")
|
|
734
821
|
|
|
@@ -736,9 +823,9 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
736
823
|
@pulumi.getter(name="acceptingRegionId")
|
|
737
824
|
def accepting_region_id(self) -> pulumi.Output[str]:
|
|
738
825
|
"""
|
|
739
|
-
The region ID of the
|
|
740
|
-
-
|
|
741
|
-
-
|
|
826
|
+
The region ID of the accepter VPC of the VPC peering connection that you want to create.
|
|
827
|
+
- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.
|
|
828
|
+
- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.
|
|
742
829
|
"""
|
|
743
830
|
return pulumi.get(self, "accepting_region_id")
|
|
744
831
|
|
|
@@ -746,7 +833,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
746
833
|
@pulumi.getter(name="acceptingVpcId")
|
|
747
834
|
def accepting_vpc_id(self) -> pulumi.Output[str]:
|
|
748
835
|
"""
|
|
749
|
-
The
|
|
836
|
+
The ID of the accepter VPC.
|
|
750
837
|
"""
|
|
751
838
|
return pulumi.get(self, "accepting_vpc_id")
|
|
752
839
|
|
|
@@ -754,7 +841,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
754
841
|
@pulumi.getter
|
|
755
842
|
def bandwidth(self) -> pulumi.Output[int]:
|
|
756
843
|
"""
|
|
757
|
-
The bandwidth of the VPC peering connection
|
|
844
|
+
The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.
|
|
758
845
|
"""
|
|
759
846
|
return pulumi.get(self, "bandwidth")
|
|
760
847
|
|
|
@@ -770,9 +857,9 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
770
857
|
@pulumi.getter
|
|
771
858
|
def description(self) -> pulumi.Output[str]:
|
|
772
859
|
"""
|
|
773
|
-
The description of the VPC
|
|
860
|
+
The description of the VPC peering connection.
|
|
774
861
|
|
|
775
|
-
|
|
862
|
+
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
|
|
776
863
|
"""
|
|
777
864
|
return pulumi.get(self, "description")
|
|
778
865
|
|
|
@@ -780,7 +867,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
780
867
|
@pulumi.getter(name="dryRun")
|
|
781
868
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
782
869
|
"""
|
|
783
|
-
|
|
870
|
+
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
784
871
|
"""
|
|
785
872
|
return pulumi.get(self, "dry_run")
|
|
786
873
|
|
|
@@ -788,23 +875,43 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
788
875
|
@pulumi.getter(name="forceDelete")
|
|
789
876
|
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
790
877
|
"""
|
|
791
|
-
|
|
878
|
+
Specifies whether to forcefully delete the VPC peering connection. Valid values:
|
|
792
879
|
"""
|
|
793
880
|
return pulumi.get(self, "force_delete")
|
|
794
881
|
|
|
882
|
+
@property
|
|
883
|
+
@pulumi.getter(name="linkType")
|
|
884
|
+
def link_type(self) -> pulumi.Output[str]:
|
|
885
|
+
"""
|
|
886
|
+
LinkType. Valid values: `Platinum`, `Gold`, `Silver`.
|
|
887
|
+
"""
|
|
888
|
+
return pulumi.get(self, "link_type")
|
|
889
|
+
|
|
795
890
|
@property
|
|
796
891
|
@pulumi.getter(name="peerConnectionName")
|
|
797
892
|
def peer_connection_name(self) -> pulumi.Output[str]:
|
|
798
893
|
"""
|
|
799
|
-
The name of the
|
|
894
|
+
The name of the VPC peering connection.
|
|
895
|
+
|
|
896
|
+
The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.
|
|
800
897
|
"""
|
|
801
898
|
return pulumi.get(self, "peer_connection_name")
|
|
802
899
|
|
|
900
|
+
@property
|
|
901
|
+
@pulumi.getter(name="regionId")
|
|
902
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
903
|
+
"""
|
|
904
|
+
The region ID of the resource to which you want to create and add tags.
|
|
905
|
+
"""
|
|
906
|
+
return pulumi.get(self, "region_id")
|
|
907
|
+
|
|
803
908
|
@property
|
|
804
909
|
@pulumi.getter(name="resourceGroupId")
|
|
805
910
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
806
911
|
"""
|
|
807
|
-
The ID of resource group.
|
|
912
|
+
The ID of the new resource group.
|
|
913
|
+
|
|
914
|
+
> **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
808
915
|
"""
|
|
809
916
|
return pulumi.get(self, "resource_group_id")
|
|
810
917
|
|
|
@@ -812,7 +919,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
812
919
|
@pulumi.getter
|
|
813
920
|
def status(self) -> pulumi.Output[str]:
|
|
814
921
|
"""
|
|
815
|
-
The status of the resource
|
|
922
|
+
The status of the resource
|
|
816
923
|
"""
|
|
817
924
|
return pulumi.get(self, "status")
|
|
818
925
|
|
|
@@ -820,7 +927,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
820
927
|
@pulumi.getter
|
|
821
928
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
822
929
|
"""
|
|
823
|
-
The tags of
|
|
930
|
+
The tags of PrefixList.
|
|
824
931
|
"""
|
|
825
932
|
return pulumi.get(self, "tags")
|
|
826
933
|
|
|
@@ -828,7 +935,7 @@ class PeerConnection(pulumi.CustomResource):
|
|
|
828
935
|
@pulumi.getter(name="vpcId")
|
|
829
936
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
830
937
|
"""
|
|
831
|
-
|
|
938
|
+
The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.
|
|
832
939
|
"""
|
|
833
940
|
return pulumi.get(self, "vpc_id")
|
|
834
941
|
|