pulumi-alicloud 3.76.0a1743484854__py3-none-any.whl → 3.76.0a1744139894__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 +271 -4
- pulumi_alicloud/_inputs.py +20 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +148 -7
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/config/outputs.py +12 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/managed_kubernetes.py +127 -24
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +1782 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/instance.py +1 -1
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/esa/__init__.py +4 -0
- pulumi_alicloud/esa/_inputs.py +640 -18
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +193 -179
- pulumi_alicloud/esa/certificate.py +99 -92
- pulumi_alicloud/esa/compression_rule.py +42 -28
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
- pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
- pulumi_alicloud/esa/https_application_configuration.py +42 -28
- pulumi_alicloud/esa/https_basic_configuration.py +56 -42
- pulumi_alicloud/esa/image_transform.py +42 -28
- pulumi_alicloud/esa/kv_namespace.py +11 -11
- pulumi_alicloud/esa/list.py +28 -28
- pulumi_alicloud/esa/network_optimization.py +56 -126
- pulumi_alicloud/esa/origin_pool.py +19 -19
- pulumi_alicloud/esa/origin_rule.py +67 -39
- pulumi_alicloud/esa/outputs.py +536 -12
- pulumi_alicloud/esa/page.py +28 -49
- pulumi_alicloud/esa/rate_plan_instance.py +86 -159
- pulumi_alicloud/esa/redirect_rule.py +42 -28
- pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
- pulumi_alicloud/esa/site.py +67 -123
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +269 -319
- pulumi_alicloud/esa/waiting_room_event.py +291 -305
- pulumi_alicloud/esa/waiting_room_rule.py +46 -53
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +43 -6
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +30 -4
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +77 -31
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +110 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/outputs.py +232 -0
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1963 -998
- {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
pulumi_alicloud/vpn/_inputs.py
CHANGED
|
@@ -39,6 +39,14 @@ __all__ = [
|
|
|
39
39
|
'GatewayVpnAttachmentIkeConfigArgsDict',
|
|
40
40
|
'GatewayVpnAttachmentIpsecConfigArgs',
|
|
41
41
|
'GatewayVpnAttachmentIpsecConfigArgsDict',
|
|
42
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationArgs',
|
|
43
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationArgsDict',
|
|
44
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs',
|
|
45
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgsDict',
|
|
46
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs',
|
|
47
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgsDict',
|
|
48
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs',
|
|
49
|
+
'GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgsDict',
|
|
42
50
|
'IpsecServerIkeConfigArgs',
|
|
43
51
|
'IpsecServerIkeConfigArgsDict',
|
|
44
52
|
'IpsecServerIpsecConfigArgs',
|
|
@@ -1151,19 +1159,25 @@ if not MYPY:
|
|
|
1151
1159
|
class GatewayVpnAttachmentBgpConfigArgsDict(TypedDict):
|
|
1152
1160
|
enable: NotRequired[pulumi.Input[bool]]
|
|
1153
1161
|
"""
|
|
1154
|
-
Whether to enable BGP.
|
|
1162
|
+
Whether to enable the BGP function. Valid values: true or false (default).
|
|
1155
1163
|
"""
|
|
1156
1164
|
local_asn: NotRequired[pulumi.Input[int]]
|
|
1157
1165
|
"""
|
|
1158
|
-
The
|
|
1166
|
+
The autonomous system number on the Alibaba Cloud side. The value range of autonomous system number is 1~4294967295. Default value: 45104
|
|
1159
1167
|
"""
|
|
1160
1168
|
local_bgp_ip: NotRequired[pulumi.Input[str]]
|
|
1161
1169
|
"""
|
|
1162
|
-
The BGP
|
|
1170
|
+
The BGP address on the Alibaba Cloud side. This address is an IP address in the IPsec tunnel network segment.
|
|
1171
|
+
- Before adding the BGP configuration, we recommend that you understand the working mechanism and usage restrictions of the BGP dynamic routing function. For more information, see BGP Dynamic Routing Bulletin.
|
|
1172
|
+
- We recommend that you use the private number of the autonomous system number to establish a BGP connection with Alibaba Cloud. Please refer to the documentation for the private number range of the autonomous system number.
|
|
1173
|
+
"""
|
|
1174
|
+
status: NotRequired[pulumi.Input[str]]
|
|
1175
|
+
"""
|
|
1176
|
+
The negotiation status of Tunnel.
|
|
1163
1177
|
"""
|
|
1164
1178
|
tunnel_cidr: NotRequired[pulumi.Input[str]]
|
|
1165
1179
|
"""
|
|
1166
|
-
|
|
1180
|
+
IPsec tunnel network segment. This network segment must be a network segment with a mask length of 30 within 169.254.0.0/16
|
|
1167
1181
|
"""
|
|
1168
1182
|
elif False:
|
|
1169
1183
|
GatewayVpnAttachmentBgpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1174,12 +1188,16 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1174
1188
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
1175
1189
|
local_asn: Optional[pulumi.Input[int]] = None,
|
|
1176
1190
|
local_bgp_ip: Optional[pulumi.Input[str]] = None,
|
|
1191
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
1177
1192
|
tunnel_cidr: Optional[pulumi.Input[str]] = None):
|
|
1178
1193
|
"""
|
|
1179
|
-
:param pulumi.Input[bool] enable: Whether to enable BGP.
|
|
1180
|
-
:param pulumi.Input[int] local_asn: The
|
|
1181
|
-
:param pulumi.Input[str] local_bgp_ip: The BGP
|
|
1182
|
-
|
|
1194
|
+
:param pulumi.Input[bool] enable: Whether to enable the BGP function. Valid values: true or false (default).
|
|
1195
|
+
:param pulumi.Input[int] local_asn: The autonomous system number on the Alibaba Cloud side. The value range of autonomous system number is 1~4294967295. Default value: 45104
|
|
1196
|
+
:param pulumi.Input[str] local_bgp_ip: The BGP address on the Alibaba Cloud side. This address is an IP address in the IPsec tunnel network segment.
|
|
1197
|
+
- Before adding the BGP configuration, we recommend that you understand the working mechanism and usage restrictions of the BGP dynamic routing function. For more information, see BGP Dynamic Routing Bulletin.
|
|
1198
|
+
- We recommend that you use the private number of the autonomous system number to establish a BGP connection with Alibaba Cloud. Please refer to the documentation for the private number range of the autonomous system number.
|
|
1199
|
+
:param pulumi.Input[str] status: The negotiation status of Tunnel.
|
|
1200
|
+
:param pulumi.Input[str] tunnel_cidr: IPsec tunnel network segment. This network segment must be a network segment with a mask length of 30 within 169.254.0.0/16
|
|
1183
1201
|
"""
|
|
1184
1202
|
if enable is not None:
|
|
1185
1203
|
pulumi.set(__self__, "enable", enable)
|
|
@@ -1187,6 +1205,8 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1187
1205
|
pulumi.set(__self__, "local_asn", local_asn)
|
|
1188
1206
|
if local_bgp_ip is not None:
|
|
1189
1207
|
pulumi.set(__self__, "local_bgp_ip", local_bgp_ip)
|
|
1208
|
+
if status is not None:
|
|
1209
|
+
pulumi.set(__self__, "status", status)
|
|
1190
1210
|
if tunnel_cidr is not None:
|
|
1191
1211
|
pulumi.set(__self__, "tunnel_cidr", tunnel_cidr)
|
|
1192
1212
|
|
|
@@ -1194,7 +1214,7 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1194
1214
|
@pulumi.getter
|
|
1195
1215
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
1196
1216
|
"""
|
|
1197
|
-
Whether to enable BGP.
|
|
1217
|
+
Whether to enable the BGP function. Valid values: true or false (default).
|
|
1198
1218
|
"""
|
|
1199
1219
|
return pulumi.get(self, "enable")
|
|
1200
1220
|
|
|
@@ -1206,7 +1226,7 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1206
1226
|
@pulumi.getter(name="localAsn")
|
|
1207
1227
|
def local_asn(self) -> Optional[pulumi.Input[int]]:
|
|
1208
1228
|
"""
|
|
1209
|
-
The
|
|
1229
|
+
The autonomous system number on the Alibaba Cloud side. The value range of autonomous system number is 1~4294967295. Default value: 45104
|
|
1210
1230
|
"""
|
|
1211
1231
|
return pulumi.get(self, "local_asn")
|
|
1212
1232
|
|
|
@@ -1218,7 +1238,9 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1218
1238
|
@pulumi.getter(name="localBgpIp")
|
|
1219
1239
|
def local_bgp_ip(self) -> Optional[pulumi.Input[str]]:
|
|
1220
1240
|
"""
|
|
1221
|
-
The BGP
|
|
1241
|
+
The BGP address on the Alibaba Cloud side. This address is an IP address in the IPsec tunnel network segment.
|
|
1242
|
+
- Before adding the BGP configuration, we recommend that you understand the working mechanism and usage restrictions of the BGP dynamic routing function. For more information, see BGP Dynamic Routing Bulletin.
|
|
1243
|
+
- We recommend that you use the private number of the autonomous system number to establish a BGP connection with Alibaba Cloud. Please refer to the documentation for the private number range of the autonomous system number.
|
|
1222
1244
|
"""
|
|
1223
1245
|
return pulumi.get(self, "local_bgp_ip")
|
|
1224
1246
|
|
|
@@ -1226,11 +1248,23 @@ class GatewayVpnAttachmentBgpConfigArgs:
|
|
|
1226
1248
|
def local_bgp_ip(self, value: Optional[pulumi.Input[str]]):
|
|
1227
1249
|
pulumi.set(self, "local_bgp_ip", value)
|
|
1228
1250
|
|
|
1251
|
+
@property
|
|
1252
|
+
@pulumi.getter
|
|
1253
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
1254
|
+
"""
|
|
1255
|
+
The negotiation status of Tunnel.
|
|
1256
|
+
"""
|
|
1257
|
+
return pulumi.get(self, "status")
|
|
1258
|
+
|
|
1259
|
+
@status.setter
|
|
1260
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
1261
|
+
pulumi.set(self, "status", value)
|
|
1262
|
+
|
|
1229
1263
|
@property
|
|
1230
1264
|
@pulumi.getter(name="tunnelCidr")
|
|
1231
1265
|
def tunnel_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
1232
1266
|
"""
|
|
1233
|
-
|
|
1267
|
+
IPsec tunnel network segment. This network segment must be a network segment with a mask length of 30 within 169.254.0.0/16
|
|
1234
1268
|
"""
|
|
1235
1269
|
return pulumi.get(self, "tunnel_cidr")
|
|
1236
1270
|
|
|
@@ -1243,27 +1277,31 @@ if not MYPY:
|
|
|
1243
1277
|
class GatewayVpnAttachmentHealthCheckConfigArgsDict(TypedDict):
|
|
1244
1278
|
dip: NotRequired[pulumi.Input[str]]
|
|
1245
1279
|
"""
|
|
1246
|
-
|
|
1280
|
+
Target IP.
|
|
1247
1281
|
"""
|
|
1248
1282
|
enable: NotRequired[pulumi.Input[bool]]
|
|
1249
1283
|
"""
|
|
1250
|
-
|
|
1284
|
+
Whether health check is enabled:-`false`: not enabled. - `true`: enabled.
|
|
1251
1285
|
"""
|
|
1252
1286
|
interval: NotRequired[pulumi.Input[int]]
|
|
1253
1287
|
"""
|
|
1254
|
-
The
|
|
1288
|
+
The health check retry interval, in seconds.
|
|
1255
1289
|
"""
|
|
1256
1290
|
policy: NotRequired[pulumi.Input[str]]
|
|
1257
1291
|
"""
|
|
1258
|
-
Whether to revoke the published route when the health check fails
|
|
1292
|
+
Whether to revoke the published route when the health check fails
|
|
1259
1293
|
"""
|
|
1260
1294
|
retry: NotRequired[pulumi.Input[int]]
|
|
1261
1295
|
"""
|
|
1262
|
-
|
|
1296
|
+
Number of retries for health check.
|
|
1263
1297
|
"""
|
|
1264
1298
|
sip: NotRequired[pulumi.Input[str]]
|
|
1265
1299
|
"""
|
|
1266
|
-
|
|
1300
|
+
SOURCE IP.
|
|
1301
|
+
"""
|
|
1302
|
+
status: NotRequired[pulumi.Input[str]]
|
|
1303
|
+
"""
|
|
1304
|
+
The negotiation status of Tunnel.
|
|
1267
1305
|
"""
|
|
1268
1306
|
elif False:
|
|
1269
1307
|
GatewayVpnAttachmentHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1276,14 +1314,16 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1276
1314
|
interval: Optional[pulumi.Input[int]] = None,
|
|
1277
1315
|
policy: Optional[pulumi.Input[str]] = None,
|
|
1278
1316
|
retry: Optional[pulumi.Input[int]] = None,
|
|
1279
|
-
sip: Optional[pulumi.Input[str]] = None
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
:param pulumi.Input[
|
|
1283
|
-
:param pulumi.Input[
|
|
1284
|
-
:param pulumi.Input[
|
|
1285
|
-
:param pulumi.Input[
|
|
1286
|
-
:param pulumi.Input[
|
|
1317
|
+
sip: Optional[pulumi.Input[str]] = None,
|
|
1318
|
+
status: Optional[pulumi.Input[str]] = None):
|
|
1319
|
+
"""
|
|
1320
|
+
:param pulumi.Input[str] dip: Target IP.
|
|
1321
|
+
:param pulumi.Input[bool] enable: Whether health check is enabled:-`false`: not enabled. - `true`: enabled.
|
|
1322
|
+
:param pulumi.Input[int] interval: The health check retry interval, in seconds.
|
|
1323
|
+
:param pulumi.Input[str] policy: Whether to revoke the published route when the health check fails
|
|
1324
|
+
:param pulumi.Input[int] retry: Number of retries for health check.
|
|
1325
|
+
:param pulumi.Input[str] sip: SOURCE IP.
|
|
1326
|
+
:param pulumi.Input[str] status: The negotiation status of Tunnel.
|
|
1287
1327
|
"""
|
|
1288
1328
|
if dip is not None:
|
|
1289
1329
|
pulumi.set(__self__, "dip", dip)
|
|
@@ -1297,12 +1337,14 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1297
1337
|
pulumi.set(__self__, "retry", retry)
|
|
1298
1338
|
if sip is not None:
|
|
1299
1339
|
pulumi.set(__self__, "sip", sip)
|
|
1340
|
+
if status is not None:
|
|
1341
|
+
pulumi.set(__self__, "status", status)
|
|
1300
1342
|
|
|
1301
1343
|
@property
|
|
1302
1344
|
@pulumi.getter
|
|
1303
1345
|
def dip(self) -> Optional[pulumi.Input[str]]:
|
|
1304
1346
|
"""
|
|
1305
|
-
|
|
1347
|
+
Target IP.
|
|
1306
1348
|
"""
|
|
1307
1349
|
return pulumi.get(self, "dip")
|
|
1308
1350
|
|
|
@@ -1314,7 +1356,7 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1314
1356
|
@pulumi.getter
|
|
1315
1357
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
1316
1358
|
"""
|
|
1317
|
-
|
|
1359
|
+
Whether health check is enabled:-`false`: not enabled. - `true`: enabled.
|
|
1318
1360
|
"""
|
|
1319
1361
|
return pulumi.get(self, "enable")
|
|
1320
1362
|
|
|
@@ -1326,7 +1368,7 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1326
1368
|
@pulumi.getter
|
|
1327
1369
|
def interval(self) -> Optional[pulumi.Input[int]]:
|
|
1328
1370
|
"""
|
|
1329
|
-
The
|
|
1371
|
+
The health check retry interval, in seconds.
|
|
1330
1372
|
"""
|
|
1331
1373
|
return pulumi.get(self, "interval")
|
|
1332
1374
|
|
|
@@ -1338,7 +1380,7 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1338
1380
|
@pulumi.getter
|
|
1339
1381
|
def policy(self) -> Optional[pulumi.Input[str]]:
|
|
1340
1382
|
"""
|
|
1341
|
-
Whether to revoke the published route when the health check fails
|
|
1383
|
+
Whether to revoke the published route when the health check fails
|
|
1342
1384
|
"""
|
|
1343
1385
|
return pulumi.get(self, "policy")
|
|
1344
1386
|
|
|
@@ -1350,7 +1392,7 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1350
1392
|
@pulumi.getter
|
|
1351
1393
|
def retry(self) -> Optional[pulumi.Input[int]]:
|
|
1352
1394
|
"""
|
|
1353
|
-
|
|
1395
|
+
Number of retries for health check.
|
|
1354
1396
|
"""
|
|
1355
1397
|
return pulumi.get(self, "retry")
|
|
1356
1398
|
|
|
@@ -1362,7 +1404,7 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1362
1404
|
@pulumi.getter
|
|
1363
1405
|
def sip(self) -> Optional[pulumi.Input[str]]:
|
|
1364
1406
|
"""
|
|
1365
|
-
|
|
1407
|
+
SOURCE IP.
|
|
1366
1408
|
"""
|
|
1367
1409
|
return pulumi.get(self, "sip")
|
|
1368
1410
|
|
|
@@ -1370,44 +1412,58 @@ class GatewayVpnAttachmentHealthCheckConfigArgs:
|
|
|
1370
1412
|
def sip(self, value: Optional[pulumi.Input[str]]):
|
|
1371
1413
|
pulumi.set(self, "sip", value)
|
|
1372
1414
|
|
|
1415
|
+
@property
|
|
1416
|
+
@pulumi.getter
|
|
1417
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
1418
|
+
"""
|
|
1419
|
+
The negotiation status of Tunnel.
|
|
1420
|
+
"""
|
|
1421
|
+
return pulumi.get(self, "status")
|
|
1422
|
+
|
|
1423
|
+
@status.setter
|
|
1424
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
1425
|
+
pulumi.set(self, "status", value)
|
|
1426
|
+
|
|
1373
1427
|
|
|
1374
1428
|
if not MYPY:
|
|
1375
1429
|
class GatewayVpnAttachmentIkeConfigArgsDict(TypedDict):
|
|
1376
1430
|
ike_auth_alg: NotRequired[pulumi.Input[str]]
|
|
1377
1431
|
"""
|
|
1378
|
-
|
|
1432
|
+
The authentication algorithm negotiated in the first stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: md5.
|
|
1379
1433
|
"""
|
|
1380
1434
|
ike_enc_alg: NotRequired[pulumi.Input[str]]
|
|
1381
1435
|
"""
|
|
1382
|
-
The encryption algorithm
|
|
1436
|
+
The encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
1383
1437
|
"""
|
|
1384
1438
|
ike_lifetime: NotRequired[pulumi.Input[int]]
|
|
1385
1439
|
"""
|
|
1386
|
-
The SA
|
|
1440
|
+
The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
1387
1441
|
"""
|
|
1388
1442
|
ike_mode: NotRequired[pulumi.Input[str]]
|
|
1389
1443
|
"""
|
|
1390
|
-
|
|
1444
|
+
IKE mode, the negotiation mode. Valid values: main and aggressive. Default value: main.
|
|
1391
1445
|
"""
|
|
1392
1446
|
ike_pfs: NotRequired[pulumi.Input[str]]
|
|
1393
1447
|
"""
|
|
1394
|
-
The Diffie-Hellman key exchange algorithm used
|
|
1448
|
+
The Diffie-Hellman key exchange algorithm used in the first stage negotiation. Valid values: group1, group2, group5, or group14. Default value: group2.
|
|
1395
1449
|
"""
|
|
1396
1450
|
ike_version: NotRequired[pulumi.Input[str]]
|
|
1397
1451
|
"""
|
|
1398
|
-
The version of the IKE protocol.
|
|
1452
|
+
The version of the IKE protocol. Value: ikev1 or ikev2. Default value: ikev1.
|
|
1399
1453
|
"""
|
|
1400
1454
|
local_id: NotRequired[pulumi.Input[str]]
|
|
1401
1455
|
"""
|
|
1402
|
-
The
|
|
1456
|
+
The identifier on the Alibaba Cloud side of the IPsec connection. The length is limited to 100 characters. The default value is leftId-not-exist
|
|
1403
1457
|
"""
|
|
1404
1458
|
psk: NotRequired[pulumi.Input[str]]
|
|
1405
1459
|
"""
|
|
1406
|
-
|
|
1460
|
+
A pre-shared key for authentication between the VPN gateway and the local data center. The key length is 1~100 characters.
|
|
1461
|
+
- If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key.
|
|
1462
|
+
- The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
1407
1463
|
"""
|
|
1408
1464
|
remote_id: NotRequired[pulumi.Input[str]]
|
|
1409
1465
|
"""
|
|
1410
|
-
The
|
|
1466
|
+
The identifier of the IPsec connection to the local data center. The length is limited to 100 characters. The default value is the IP address of the user gateway.
|
|
1411
1467
|
"""
|
|
1412
1468
|
elif False:
|
|
1413
1469
|
GatewayVpnAttachmentIkeConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1425,15 +1481,17 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1425
1481
|
psk: Optional[pulumi.Input[str]] = None,
|
|
1426
1482
|
remote_id: Optional[pulumi.Input[str]] = None):
|
|
1427
1483
|
"""
|
|
1428
|
-
:param pulumi.Input[str] ike_auth_alg:
|
|
1429
|
-
:param pulumi.Input[str] ike_enc_alg: The encryption algorithm
|
|
1430
|
-
:param pulumi.Input[int] ike_lifetime: The SA
|
|
1431
|
-
:param pulumi.Input[str] ike_mode:
|
|
1432
|
-
:param pulumi.Input[str] ike_pfs: The Diffie-Hellman key exchange algorithm used
|
|
1433
|
-
:param pulumi.Input[str] ike_version: The version of the IKE protocol.
|
|
1434
|
-
:param pulumi.Input[str] local_id: The
|
|
1435
|
-
:param pulumi.Input[str] psk:
|
|
1436
|
-
|
|
1484
|
+
:param pulumi.Input[str] ike_auth_alg: The authentication algorithm negotiated in the first stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: md5.
|
|
1485
|
+
:param pulumi.Input[str] ike_enc_alg: The encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
1486
|
+
:param pulumi.Input[int] ike_lifetime: The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
1487
|
+
:param pulumi.Input[str] ike_mode: IKE mode, the negotiation mode. Valid values: main and aggressive. Default value: main.
|
|
1488
|
+
:param pulumi.Input[str] ike_pfs: The Diffie-Hellman key exchange algorithm used in the first stage negotiation. Valid values: group1, group2, group5, or group14. Default value: group2.
|
|
1489
|
+
:param pulumi.Input[str] ike_version: The version of the IKE protocol. Value: ikev1 or ikev2. Default value: ikev1.
|
|
1490
|
+
:param pulumi.Input[str] local_id: The identifier on the Alibaba Cloud side of the IPsec connection. The length is limited to 100 characters. The default value is leftId-not-exist
|
|
1491
|
+
:param pulumi.Input[str] psk: A pre-shared key for authentication between the VPN gateway and the local data center. The key length is 1~100 characters.
|
|
1492
|
+
- If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key.
|
|
1493
|
+
- The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
1494
|
+
:param pulumi.Input[str] remote_id: The identifier of the IPsec connection to the local data center. The length is limited to 100 characters. The default value is the IP address of the user gateway.
|
|
1437
1495
|
"""
|
|
1438
1496
|
if ike_auth_alg is not None:
|
|
1439
1497
|
pulumi.set(__self__, "ike_auth_alg", ike_auth_alg)
|
|
@@ -1458,7 +1516,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1458
1516
|
@pulumi.getter(name="ikeAuthAlg")
|
|
1459
1517
|
def ike_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
1460
1518
|
"""
|
|
1461
|
-
|
|
1519
|
+
The authentication algorithm negotiated in the first stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: md5.
|
|
1462
1520
|
"""
|
|
1463
1521
|
return pulumi.get(self, "ike_auth_alg")
|
|
1464
1522
|
|
|
@@ -1470,7 +1528,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1470
1528
|
@pulumi.getter(name="ikeEncAlg")
|
|
1471
1529
|
def ike_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
1472
1530
|
"""
|
|
1473
|
-
The encryption algorithm
|
|
1531
|
+
The encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.
|
|
1474
1532
|
"""
|
|
1475
1533
|
return pulumi.get(self, "ike_enc_alg")
|
|
1476
1534
|
|
|
@@ -1482,7 +1540,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1482
1540
|
@pulumi.getter(name="ikeLifetime")
|
|
1483
1541
|
def ike_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
1484
1542
|
"""
|
|
1485
|
-
The SA
|
|
1543
|
+
The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
|
|
1486
1544
|
"""
|
|
1487
1545
|
return pulumi.get(self, "ike_lifetime")
|
|
1488
1546
|
|
|
@@ -1494,7 +1552,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1494
1552
|
@pulumi.getter(name="ikeMode")
|
|
1495
1553
|
def ike_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1496
1554
|
"""
|
|
1497
|
-
|
|
1555
|
+
IKE mode, the negotiation mode. Valid values: main and aggressive. Default value: main.
|
|
1498
1556
|
"""
|
|
1499
1557
|
return pulumi.get(self, "ike_mode")
|
|
1500
1558
|
|
|
@@ -1506,7 +1564,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1506
1564
|
@pulumi.getter(name="ikePfs")
|
|
1507
1565
|
def ike_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
1508
1566
|
"""
|
|
1509
|
-
The Diffie-Hellman key exchange algorithm used
|
|
1567
|
+
The Diffie-Hellman key exchange algorithm used in the first stage negotiation. Valid values: group1, group2, group5, or group14. Default value: group2.
|
|
1510
1568
|
"""
|
|
1511
1569
|
return pulumi.get(self, "ike_pfs")
|
|
1512
1570
|
|
|
@@ -1518,7 +1576,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1518
1576
|
@pulumi.getter(name="ikeVersion")
|
|
1519
1577
|
def ike_version(self) -> Optional[pulumi.Input[str]]:
|
|
1520
1578
|
"""
|
|
1521
|
-
The version of the IKE protocol.
|
|
1579
|
+
The version of the IKE protocol. Value: ikev1 or ikev2. Default value: ikev1.
|
|
1522
1580
|
"""
|
|
1523
1581
|
return pulumi.get(self, "ike_version")
|
|
1524
1582
|
|
|
@@ -1530,7 +1588,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1530
1588
|
@pulumi.getter(name="localId")
|
|
1531
1589
|
def local_id(self) -> Optional[pulumi.Input[str]]:
|
|
1532
1590
|
"""
|
|
1533
|
-
The
|
|
1591
|
+
The identifier on the Alibaba Cloud side of the IPsec connection. The length is limited to 100 characters. The default value is leftId-not-exist
|
|
1534
1592
|
"""
|
|
1535
1593
|
return pulumi.get(self, "local_id")
|
|
1536
1594
|
|
|
@@ -1542,7 +1600,9 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1542
1600
|
@pulumi.getter
|
|
1543
1601
|
def psk(self) -> Optional[pulumi.Input[str]]:
|
|
1544
1602
|
"""
|
|
1545
|
-
|
|
1603
|
+
A pre-shared key for authentication between the VPN gateway and the local data center. The key length is 1~100 characters.
|
|
1604
|
+
- If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key.
|
|
1605
|
+
- The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
1546
1606
|
"""
|
|
1547
1607
|
return pulumi.get(self, "psk")
|
|
1548
1608
|
|
|
@@ -1554,7 +1614,7 @@ class GatewayVpnAttachmentIkeConfigArgs:
|
|
|
1554
1614
|
@pulumi.getter(name="remoteId")
|
|
1555
1615
|
def remote_id(self) -> Optional[pulumi.Input[str]]:
|
|
1556
1616
|
"""
|
|
1557
|
-
The
|
|
1617
|
+
The identifier of the IPsec connection to the local data center. The length is limited to 100 characters. The default value is the IP address of the user gateway.
|
|
1558
1618
|
"""
|
|
1559
1619
|
return pulumi.get(self, "remote_id")
|
|
1560
1620
|
|
|
@@ -1567,19 +1627,19 @@ if not MYPY:
|
|
|
1567
1627
|
class GatewayVpnAttachmentIpsecConfigArgsDict(TypedDict):
|
|
1568
1628
|
ipsec_auth_alg: NotRequired[pulumi.Input[str]]
|
|
1569
1629
|
"""
|
|
1570
|
-
The authentication algorithm
|
|
1630
|
+
The authentication algorithm negotiated in the second stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: MD5.
|
|
1571
1631
|
"""
|
|
1572
1632
|
ipsec_enc_alg: NotRequired[pulumi.Input[str]]
|
|
1573
1633
|
"""
|
|
1574
|
-
The encryption algorithm
|
|
1634
|
+
The encryption algorithm negotiated in the second stage. Valid values: aes, aes192, aes256, des, or 3des. Default value: aes.
|
|
1575
1635
|
"""
|
|
1576
1636
|
ipsec_lifetime: NotRequired[pulumi.Input[int]]
|
|
1577
1637
|
"""
|
|
1578
|
-
The SA
|
|
1638
|
+
The life cycle of SA negotiated in the second stage. Unit: seconds. Value range: 0~86400. Default value: 86400.
|
|
1579
1639
|
"""
|
|
1580
1640
|
ipsec_pfs: NotRequired[pulumi.Input[str]]
|
|
1581
1641
|
"""
|
|
1582
|
-
|
|
1642
|
+
Diffie-Hellman Key Exchange Algorithm Used in Second Stage Negotiation
|
|
1583
1643
|
"""
|
|
1584
1644
|
elif False:
|
|
1585
1645
|
GatewayVpnAttachmentIpsecConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1592,10 +1652,10 @@ class GatewayVpnAttachmentIpsecConfigArgs:
|
|
|
1592
1652
|
ipsec_lifetime: Optional[pulumi.Input[int]] = None,
|
|
1593
1653
|
ipsec_pfs: Optional[pulumi.Input[str]] = None):
|
|
1594
1654
|
"""
|
|
1595
|
-
:param pulumi.Input[str] ipsec_auth_alg: The authentication algorithm
|
|
1596
|
-
:param pulumi.Input[str] ipsec_enc_alg: The encryption algorithm
|
|
1597
|
-
:param pulumi.Input[int] ipsec_lifetime: The SA
|
|
1598
|
-
:param pulumi.Input[str] ipsec_pfs:
|
|
1655
|
+
:param pulumi.Input[str] ipsec_auth_alg: The authentication algorithm negotiated in the second stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: MD5.
|
|
1656
|
+
:param pulumi.Input[str] ipsec_enc_alg: The encryption algorithm negotiated in the second stage. Valid values: aes, aes192, aes256, des, or 3des. Default value: aes.
|
|
1657
|
+
:param pulumi.Input[int] ipsec_lifetime: The life cycle of SA negotiated in the second stage. Unit: seconds. Value range: 0~86400. Default value: 86400.
|
|
1658
|
+
:param pulumi.Input[str] ipsec_pfs: Diffie-Hellman Key Exchange Algorithm Used in Second Stage Negotiation
|
|
1599
1659
|
"""
|
|
1600
1660
|
if ipsec_auth_alg is not None:
|
|
1601
1661
|
pulumi.set(__self__, "ipsec_auth_alg", ipsec_auth_alg)
|
|
@@ -1610,7 +1670,7 @@ class GatewayVpnAttachmentIpsecConfigArgs:
|
|
|
1610
1670
|
@pulumi.getter(name="ipsecAuthAlg")
|
|
1611
1671
|
def ipsec_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
1612
1672
|
"""
|
|
1613
|
-
The authentication algorithm
|
|
1673
|
+
The authentication algorithm negotiated in the second stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: MD5.
|
|
1614
1674
|
"""
|
|
1615
1675
|
return pulumi.get(self, "ipsec_auth_alg")
|
|
1616
1676
|
|
|
@@ -1622,7 +1682,7 @@ class GatewayVpnAttachmentIpsecConfigArgs:
|
|
|
1622
1682
|
@pulumi.getter(name="ipsecEncAlg")
|
|
1623
1683
|
def ipsec_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
1624
1684
|
"""
|
|
1625
|
-
The encryption algorithm
|
|
1685
|
+
The encryption algorithm negotiated in the second stage. Valid values: aes, aes192, aes256, des, or 3des. Default value: aes.
|
|
1626
1686
|
"""
|
|
1627
1687
|
return pulumi.get(self, "ipsec_enc_alg")
|
|
1628
1688
|
|
|
@@ -1634,7 +1694,7 @@ class GatewayVpnAttachmentIpsecConfigArgs:
|
|
|
1634
1694
|
@pulumi.getter(name="ipsecLifetime")
|
|
1635
1695
|
def ipsec_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
1636
1696
|
"""
|
|
1637
|
-
The SA
|
|
1697
|
+
The life cycle of SA negotiated in the second stage. Unit: seconds. Value range: 0~86400. Default value: 86400.
|
|
1638
1698
|
"""
|
|
1639
1699
|
return pulumi.get(self, "ipsec_lifetime")
|
|
1640
1700
|
|
|
@@ -1646,8 +1706,593 @@ class GatewayVpnAttachmentIpsecConfigArgs:
|
|
|
1646
1706
|
@pulumi.getter(name="ipsecPfs")
|
|
1647
1707
|
def ipsec_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
1648
1708
|
"""
|
|
1649
|
-
|
|
1709
|
+
Diffie-Hellman Key Exchange Algorithm Used in Second Stage Negotiation
|
|
1710
|
+
"""
|
|
1711
|
+
return pulumi.get(self, "ipsec_pfs")
|
|
1712
|
+
|
|
1713
|
+
@ipsec_pfs.setter
|
|
1714
|
+
def ipsec_pfs(self, value: Optional[pulumi.Input[str]]):
|
|
1715
|
+
pulumi.set(self, "ipsec_pfs", value)
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
if not MYPY:
|
|
1719
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationArgsDict(TypedDict):
|
|
1720
|
+
customer_gateway_id: pulumi.Input[str]
|
|
1721
|
+
"""
|
|
1722
|
+
The ID of the user gateway associated with the tunnel.
|
|
1723
|
+
|
|
1724
|
+
> **NOTE:** This parameter is required when creating a dual-tunnel mode IPsec-VPN connection.
|
|
1725
|
+
"""
|
|
1726
|
+
tunnel_index: pulumi.Input[int]
|
|
1727
|
+
"""
|
|
1728
|
+
The order in which the tunnel was created.
|
|
1729
|
+
"""
|
|
1730
|
+
enable_dpd: NotRequired[pulumi.Input[bool]]
|
|
1731
|
+
"""
|
|
1732
|
+
Whether the DPD (peer alive detection) function is enabled for the tunnel. Value:
|
|
1733
|
+
"""
|
|
1734
|
+
enable_nat_traversal: NotRequired[pulumi.Input[bool]]
|
|
1735
|
+
"""
|
|
1736
|
+
Whether the NAT crossing function is enabled for the tunnel. Value:
|
|
1737
|
+
"""
|
|
1738
|
+
internet_ip: NotRequired[pulumi.Input[str]]
|
|
1739
|
+
"""
|
|
1740
|
+
The local internet IP in Tunnel.
|
|
1741
|
+
"""
|
|
1742
|
+
role: NotRequired[pulumi.Input[str]]
|
|
1743
|
+
"""
|
|
1744
|
+
The role of Tunnel.
|
|
1745
|
+
"""
|
|
1746
|
+
state: NotRequired[pulumi.Input[str]]
|
|
1747
|
+
"""
|
|
1748
|
+
The state of Tunnel.
|
|
1749
|
+
"""
|
|
1750
|
+
status: NotRequired[pulumi.Input[str]]
|
|
1751
|
+
"""
|
|
1752
|
+
The negotiation status of Tunnel.
|
|
1753
|
+
"""
|
|
1754
|
+
tunnel_bgp_config: NotRequired[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgsDict']]
|
|
1755
|
+
"""
|
|
1756
|
+
Add the BGP configuration for the tunnel.
|
|
1757
|
+
|
|
1758
|
+
> **NOTE:** After you enable the BGP function for IPsec connections (that is, specify `EnableTunnelsBgp` as `true`), you must configure this parameter.
|
|
1759
|
+
See `tunnel_bgp_config` below.
|
|
1760
|
+
"""
|
|
1761
|
+
tunnel_id: NotRequired[pulumi.Input[str]]
|
|
1762
|
+
"""
|
|
1763
|
+
The tunnel ID of IPsec-VPN connection.
|
|
1764
|
+
"""
|
|
1765
|
+
tunnel_ike_config: NotRequired[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgsDict']]
|
|
1766
|
+
"""
|
|
1767
|
+
Configuration information for the first phase negotiation. See `tunnel_ike_config` below.
|
|
1768
|
+
"""
|
|
1769
|
+
tunnel_ipsec_config: NotRequired[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgsDict']]
|
|
1770
|
+
"""
|
|
1771
|
+
Configuration information for the second-stage negotiation. See `tunnel_ipsec_config` below.
|
|
1772
|
+
"""
|
|
1773
|
+
zone_no: NotRequired[pulumi.Input[str]]
|
|
1774
|
+
"""
|
|
1775
|
+
The zoneNo of tunnel.
|
|
1776
|
+
"""
|
|
1777
|
+
elif False:
|
|
1778
|
+
GatewayVpnAttachmentTunnelOptionsSpecificationArgsDict: TypeAlias = Mapping[str, Any]
|
|
1779
|
+
|
|
1780
|
+
@pulumi.input_type
|
|
1781
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationArgs:
|
|
1782
|
+
def __init__(__self__, *,
|
|
1783
|
+
customer_gateway_id: pulumi.Input[str],
|
|
1784
|
+
tunnel_index: pulumi.Input[int],
|
|
1785
|
+
enable_dpd: Optional[pulumi.Input[bool]] = None,
|
|
1786
|
+
enable_nat_traversal: Optional[pulumi.Input[bool]] = None,
|
|
1787
|
+
internet_ip: Optional[pulumi.Input[str]] = None,
|
|
1788
|
+
role: Optional[pulumi.Input[str]] = None,
|
|
1789
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
1790
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
1791
|
+
tunnel_bgp_config: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs']] = None,
|
|
1792
|
+
tunnel_id: Optional[pulumi.Input[str]] = None,
|
|
1793
|
+
tunnel_ike_config: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs']] = None,
|
|
1794
|
+
tunnel_ipsec_config: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs']] = None,
|
|
1795
|
+
zone_no: Optional[pulumi.Input[str]] = None):
|
|
1796
|
+
"""
|
|
1797
|
+
:param pulumi.Input[str] customer_gateway_id: The ID of the user gateway associated with the tunnel.
|
|
1798
|
+
|
|
1799
|
+
> **NOTE:** This parameter is required when creating a dual-tunnel mode IPsec-VPN connection.
|
|
1800
|
+
:param pulumi.Input[int] tunnel_index: The order in which the tunnel was created.
|
|
1801
|
+
:param pulumi.Input[bool] enable_dpd: Whether the DPD (peer alive detection) function is enabled for the tunnel. Value:
|
|
1802
|
+
:param pulumi.Input[bool] enable_nat_traversal: Whether the NAT crossing function is enabled for the tunnel. Value:
|
|
1803
|
+
:param pulumi.Input[str] internet_ip: The local internet IP in Tunnel.
|
|
1804
|
+
:param pulumi.Input[str] role: The role of Tunnel.
|
|
1805
|
+
:param pulumi.Input[str] state: The state of Tunnel.
|
|
1806
|
+
:param pulumi.Input[str] status: The negotiation status of Tunnel.
|
|
1807
|
+
:param pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs'] tunnel_bgp_config: Add the BGP configuration for the tunnel.
|
|
1808
|
+
|
|
1809
|
+
> **NOTE:** After you enable the BGP function for IPsec connections (that is, specify `EnableTunnelsBgp` as `true`), you must configure this parameter.
|
|
1810
|
+
See `tunnel_bgp_config` below.
|
|
1811
|
+
:param pulumi.Input[str] tunnel_id: The tunnel ID of IPsec-VPN connection.
|
|
1812
|
+
:param pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs'] tunnel_ike_config: Configuration information for the first phase negotiation. See `tunnel_ike_config` below.
|
|
1813
|
+
:param pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs'] tunnel_ipsec_config: Configuration information for the second-stage negotiation. See `tunnel_ipsec_config` below.
|
|
1814
|
+
:param pulumi.Input[str] zone_no: The zoneNo of tunnel.
|
|
1815
|
+
"""
|
|
1816
|
+
pulumi.set(__self__, "customer_gateway_id", customer_gateway_id)
|
|
1817
|
+
pulumi.set(__self__, "tunnel_index", tunnel_index)
|
|
1818
|
+
if enable_dpd is not None:
|
|
1819
|
+
pulumi.set(__self__, "enable_dpd", enable_dpd)
|
|
1820
|
+
if enable_nat_traversal is not None:
|
|
1821
|
+
pulumi.set(__self__, "enable_nat_traversal", enable_nat_traversal)
|
|
1822
|
+
if internet_ip is not None:
|
|
1823
|
+
pulumi.set(__self__, "internet_ip", internet_ip)
|
|
1824
|
+
if role is not None:
|
|
1825
|
+
pulumi.set(__self__, "role", role)
|
|
1826
|
+
if state is not None:
|
|
1827
|
+
pulumi.set(__self__, "state", state)
|
|
1828
|
+
if status is not None:
|
|
1829
|
+
pulumi.set(__self__, "status", status)
|
|
1830
|
+
if tunnel_bgp_config is not None:
|
|
1831
|
+
pulumi.set(__self__, "tunnel_bgp_config", tunnel_bgp_config)
|
|
1832
|
+
if tunnel_id is not None:
|
|
1833
|
+
pulumi.set(__self__, "tunnel_id", tunnel_id)
|
|
1834
|
+
if tunnel_ike_config is not None:
|
|
1835
|
+
pulumi.set(__self__, "tunnel_ike_config", tunnel_ike_config)
|
|
1836
|
+
if tunnel_ipsec_config is not None:
|
|
1837
|
+
pulumi.set(__self__, "tunnel_ipsec_config", tunnel_ipsec_config)
|
|
1838
|
+
if zone_no is not None:
|
|
1839
|
+
pulumi.set(__self__, "zone_no", zone_no)
|
|
1840
|
+
|
|
1841
|
+
@property
|
|
1842
|
+
@pulumi.getter(name="customerGatewayId")
|
|
1843
|
+
def customer_gateway_id(self) -> pulumi.Input[str]:
|
|
1844
|
+
"""
|
|
1845
|
+
The ID of the user gateway associated with the tunnel.
|
|
1846
|
+
|
|
1847
|
+
> **NOTE:** This parameter is required when creating a dual-tunnel mode IPsec-VPN connection.
|
|
1848
|
+
"""
|
|
1849
|
+
return pulumi.get(self, "customer_gateway_id")
|
|
1850
|
+
|
|
1851
|
+
@customer_gateway_id.setter
|
|
1852
|
+
def customer_gateway_id(self, value: pulumi.Input[str]):
|
|
1853
|
+
pulumi.set(self, "customer_gateway_id", value)
|
|
1854
|
+
|
|
1855
|
+
@property
|
|
1856
|
+
@pulumi.getter(name="tunnelIndex")
|
|
1857
|
+
def tunnel_index(self) -> pulumi.Input[int]:
|
|
1858
|
+
"""
|
|
1859
|
+
The order in which the tunnel was created.
|
|
1860
|
+
"""
|
|
1861
|
+
return pulumi.get(self, "tunnel_index")
|
|
1862
|
+
|
|
1863
|
+
@tunnel_index.setter
|
|
1864
|
+
def tunnel_index(self, value: pulumi.Input[int]):
|
|
1865
|
+
pulumi.set(self, "tunnel_index", value)
|
|
1866
|
+
|
|
1867
|
+
@property
|
|
1868
|
+
@pulumi.getter(name="enableDpd")
|
|
1869
|
+
def enable_dpd(self) -> Optional[pulumi.Input[bool]]:
|
|
1870
|
+
"""
|
|
1871
|
+
Whether the DPD (peer alive detection) function is enabled for the tunnel. Value:
|
|
1872
|
+
"""
|
|
1873
|
+
return pulumi.get(self, "enable_dpd")
|
|
1874
|
+
|
|
1875
|
+
@enable_dpd.setter
|
|
1876
|
+
def enable_dpd(self, value: Optional[pulumi.Input[bool]]):
|
|
1877
|
+
pulumi.set(self, "enable_dpd", value)
|
|
1878
|
+
|
|
1879
|
+
@property
|
|
1880
|
+
@pulumi.getter(name="enableNatTraversal")
|
|
1881
|
+
def enable_nat_traversal(self) -> Optional[pulumi.Input[bool]]:
|
|
1882
|
+
"""
|
|
1883
|
+
Whether the NAT crossing function is enabled for the tunnel. Value:
|
|
1884
|
+
"""
|
|
1885
|
+
return pulumi.get(self, "enable_nat_traversal")
|
|
1886
|
+
|
|
1887
|
+
@enable_nat_traversal.setter
|
|
1888
|
+
def enable_nat_traversal(self, value: Optional[pulumi.Input[bool]]):
|
|
1889
|
+
pulumi.set(self, "enable_nat_traversal", value)
|
|
1890
|
+
|
|
1891
|
+
@property
|
|
1892
|
+
@pulumi.getter(name="internetIp")
|
|
1893
|
+
def internet_ip(self) -> Optional[pulumi.Input[str]]:
|
|
1894
|
+
"""
|
|
1895
|
+
The local internet IP in Tunnel.
|
|
1896
|
+
"""
|
|
1897
|
+
return pulumi.get(self, "internet_ip")
|
|
1898
|
+
|
|
1899
|
+
@internet_ip.setter
|
|
1900
|
+
def internet_ip(self, value: Optional[pulumi.Input[str]]):
|
|
1901
|
+
pulumi.set(self, "internet_ip", value)
|
|
1902
|
+
|
|
1903
|
+
@property
|
|
1904
|
+
@pulumi.getter
|
|
1905
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
|
1906
|
+
"""
|
|
1907
|
+
The role of Tunnel.
|
|
1908
|
+
"""
|
|
1909
|
+
return pulumi.get(self, "role")
|
|
1910
|
+
|
|
1911
|
+
@role.setter
|
|
1912
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
|
1913
|
+
pulumi.set(self, "role", value)
|
|
1914
|
+
|
|
1915
|
+
@property
|
|
1916
|
+
@pulumi.getter
|
|
1917
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
|
1918
|
+
"""
|
|
1919
|
+
The state of Tunnel.
|
|
1920
|
+
"""
|
|
1921
|
+
return pulumi.get(self, "state")
|
|
1922
|
+
|
|
1923
|
+
@state.setter
|
|
1924
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
|
1925
|
+
pulumi.set(self, "state", value)
|
|
1926
|
+
|
|
1927
|
+
@property
|
|
1928
|
+
@pulumi.getter
|
|
1929
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
1930
|
+
"""
|
|
1931
|
+
The negotiation status of Tunnel.
|
|
1932
|
+
"""
|
|
1933
|
+
return pulumi.get(self, "status")
|
|
1934
|
+
|
|
1935
|
+
@status.setter
|
|
1936
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
1937
|
+
pulumi.set(self, "status", value)
|
|
1938
|
+
|
|
1939
|
+
@property
|
|
1940
|
+
@pulumi.getter(name="tunnelBgpConfig")
|
|
1941
|
+
def tunnel_bgp_config(self) -> Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs']]:
|
|
1942
|
+
"""
|
|
1943
|
+
Add the BGP configuration for the tunnel.
|
|
1944
|
+
|
|
1945
|
+
> **NOTE:** After you enable the BGP function for IPsec connections (that is, specify `EnableTunnelsBgp` as `true`), you must configure this parameter.
|
|
1946
|
+
See `tunnel_bgp_config` below.
|
|
1947
|
+
"""
|
|
1948
|
+
return pulumi.get(self, "tunnel_bgp_config")
|
|
1949
|
+
|
|
1950
|
+
@tunnel_bgp_config.setter
|
|
1951
|
+
def tunnel_bgp_config(self, value: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs']]):
|
|
1952
|
+
pulumi.set(self, "tunnel_bgp_config", value)
|
|
1953
|
+
|
|
1954
|
+
@property
|
|
1955
|
+
@pulumi.getter(name="tunnelId")
|
|
1956
|
+
def tunnel_id(self) -> Optional[pulumi.Input[str]]:
|
|
1957
|
+
"""
|
|
1958
|
+
The tunnel ID of IPsec-VPN connection.
|
|
1959
|
+
"""
|
|
1960
|
+
return pulumi.get(self, "tunnel_id")
|
|
1961
|
+
|
|
1962
|
+
@tunnel_id.setter
|
|
1963
|
+
def tunnel_id(self, value: Optional[pulumi.Input[str]]):
|
|
1964
|
+
pulumi.set(self, "tunnel_id", value)
|
|
1965
|
+
|
|
1966
|
+
@property
|
|
1967
|
+
@pulumi.getter(name="tunnelIkeConfig")
|
|
1968
|
+
def tunnel_ike_config(self) -> Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs']]:
|
|
1969
|
+
"""
|
|
1970
|
+
Configuration information for the first phase negotiation. See `tunnel_ike_config` below.
|
|
1971
|
+
"""
|
|
1972
|
+
return pulumi.get(self, "tunnel_ike_config")
|
|
1973
|
+
|
|
1974
|
+
@tunnel_ike_config.setter
|
|
1975
|
+
def tunnel_ike_config(self, value: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs']]):
|
|
1976
|
+
pulumi.set(self, "tunnel_ike_config", value)
|
|
1977
|
+
|
|
1978
|
+
@property
|
|
1979
|
+
@pulumi.getter(name="tunnelIpsecConfig")
|
|
1980
|
+
def tunnel_ipsec_config(self) -> Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs']]:
|
|
1981
|
+
"""
|
|
1982
|
+
Configuration information for the second-stage negotiation. See `tunnel_ipsec_config` below.
|
|
1650
1983
|
"""
|
|
1984
|
+
return pulumi.get(self, "tunnel_ipsec_config")
|
|
1985
|
+
|
|
1986
|
+
@tunnel_ipsec_config.setter
|
|
1987
|
+
def tunnel_ipsec_config(self, value: Optional[pulumi.Input['GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs']]):
|
|
1988
|
+
pulumi.set(self, "tunnel_ipsec_config", value)
|
|
1989
|
+
|
|
1990
|
+
@property
|
|
1991
|
+
@pulumi.getter(name="zoneNo")
|
|
1992
|
+
def zone_no(self) -> Optional[pulumi.Input[str]]:
|
|
1993
|
+
"""
|
|
1994
|
+
The zoneNo of tunnel.
|
|
1995
|
+
"""
|
|
1996
|
+
return pulumi.get(self, "zone_no")
|
|
1997
|
+
|
|
1998
|
+
@zone_no.setter
|
|
1999
|
+
def zone_no(self, value: Optional[pulumi.Input[str]]):
|
|
2000
|
+
pulumi.set(self, "zone_no", value)
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
if not MYPY:
|
|
2004
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgsDict(TypedDict):
|
|
2005
|
+
bgp_status: NotRequired[pulumi.Input[str]]
|
|
2006
|
+
"""
|
|
2007
|
+
BGP status.
|
|
2008
|
+
"""
|
|
2009
|
+
local_asn: NotRequired[pulumi.Input[int]]
|
|
2010
|
+
local_bgp_ip: NotRequired[pulumi.Input[str]]
|
|
2011
|
+
peer_asn: NotRequired[pulumi.Input[str]]
|
|
2012
|
+
"""
|
|
2013
|
+
Peer asn.
|
|
2014
|
+
"""
|
|
2015
|
+
peer_bgp_ip: NotRequired[pulumi.Input[str]]
|
|
2016
|
+
"""
|
|
2017
|
+
Peer bgp ip.
|
|
2018
|
+
"""
|
|
2019
|
+
tunnel_cidr: NotRequired[pulumi.Input[str]]
|
|
2020
|
+
elif False:
|
|
2021
|
+
GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
2022
|
+
|
|
2023
|
+
@pulumi.input_type
|
|
2024
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelBgpConfigArgs:
|
|
2025
|
+
def __init__(__self__, *,
|
|
2026
|
+
bgp_status: Optional[pulumi.Input[str]] = None,
|
|
2027
|
+
local_asn: Optional[pulumi.Input[int]] = None,
|
|
2028
|
+
local_bgp_ip: Optional[pulumi.Input[str]] = None,
|
|
2029
|
+
peer_asn: Optional[pulumi.Input[str]] = None,
|
|
2030
|
+
peer_bgp_ip: Optional[pulumi.Input[str]] = None,
|
|
2031
|
+
tunnel_cidr: Optional[pulumi.Input[str]] = None):
|
|
2032
|
+
"""
|
|
2033
|
+
:param pulumi.Input[str] bgp_status: BGP status.
|
|
2034
|
+
:param pulumi.Input[str] peer_asn: Peer asn.
|
|
2035
|
+
:param pulumi.Input[str] peer_bgp_ip: Peer bgp ip.
|
|
2036
|
+
"""
|
|
2037
|
+
if bgp_status is not None:
|
|
2038
|
+
pulumi.set(__self__, "bgp_status", bgp_status)
|
|
2039
|
+
if local_asn is not None:
|
|
2040
|
+
pulumi.set(__self__, "local_asn", local_asn)
|
|
2041
|
+
if local_bgp_ip is not None:
|
|
2042
|
+
pulumi.set(__self__, "local_bgp_ip", local_bgp_ip)
|
|
2043
|
+
if peer_asn is not None:
|
|
2044
|
+
pulumi.set(__self__, "peer_asn", peer_asn)
|
|
2045
|
+
if peer_bgp_ip is not None:
|
|
2046
|
+
pulumi.set(__self__, "peer_bgp_ip", peer_bgp_ip)
|
|
2047
|
+
if tunnel_cidr is not None:
|
|
2048
|
+
pulumi.set(__self__, "tunnel_cidr", tunnel_cidr)
|
|
2049
|
+
|
|
2050
|
+
@property
|
|
2051
|
+
@pulumi.getter(name="bgpStatus")
|
|
2052
|
+
def bgp_status(self) -> Optional[pulumi.Input[str]]:
|
|
2053
|
+
"""
|
|
2054
|
+
BGP status.
|
|
2055
|
+
"""
|
|
2056
|
+
return pulumi.get(self, "bgp_status")
|
|
2057
|
+
|
|
2058
|
+
@bgp_status.setter
|
|
2059
|
+
def bgp_status(self, value: Optional[pulumi.Input[str]]):
|
|
2060
|
+
pulumi.set(self, "bgp_status", value)
|
|
2061
|
+
|
|
2062
|
+
@property
|
|
2063
|
+
@pulumi.getter(name="localAsn")
|
|
2064
|
+
def local_asn(self) -> Optional[pulumi.Input[int]]:
|
|
2065
|
+
return pulumi.get(self, "local_asn")
|
|
2066
|
+
|
|
2067
|
+
@local_asn.setter
|
|
2068
|
+
def local_asn(self, value: Optional[pulumi.Input[int]]):
|
|
2069
|
+
pulumi.set(self, "local_asn", value)
|
|
2070
|
+
|
|
2071
|
+
@property
|
|
2072
|
+
@pulumi.getter(name="localBgpIp")
|
|
2073
|
+
def local_bgp_ip(self) -> Optional[pulumi.Input[str]]:
|
|
2074
|
+
return pulumi.get(self, "local_bgp_ip")
|
|
2075
|
+
|
|
2076
|
+
@local_bgp_ip.setter
|
|
2077
|
+
def local_bgp_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2078
|
+
pulumi.set(self, "local_bgp_ip", value)
|
|
2079
|
+
|
|
2080
|
+
@property
|
|
2081
|
+
@pulumi.getter(name="peerAsn")
|
|
2082
|
+
def peer_asn(self) -> Optional[pulumi.Input[str]]:
|
|
2083
|
+
"""
|
|
2084
|
+
Peer asn.
|
|
2085
|
+
"""
|
|
2086
|
+
return pulumi.get(self, "peer_asn")
|
|
2087
|
+
|
|
2088
|
+
@peer_asn.setter
|
|
2089
|
+
def peer_asn(self, value: Optional[pulumi.Input[str]]):
|
|
2090
|
+
pulumi.set(self, "peer_asn", value)
|
|
2091
|
+
|
|
2092
|
+
@property
|
|
2093
|
+
@pulumi.getter(name="peerBgpIp")
|
|
2094
|
+
def peer_bgp_ip(self) -> Optional[pulumi.Input[str]]:
|
|
2095
|
+
"""
|
|
2096
|
+
Peer bgp ip.
|
|
2097
|
+
"""
|
|
2098
|
+
return pulumi.get(self, "peer_bgp_ip")
|
|
2099
|
+
|
|
2100
|
+
@peer_bgp_ip.setter
|
|
2101
|
+
def peer_bgp_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2102
|
+
pulumi.set(self, "peer_bgp_ip", value)
|
|
2103
|
+
|
|
2104
|
+
@property
|
|
2105
|
+
@pulumi.getter(name="tunnelCidr")
|
|
2106
|
+
def tunnel_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
2107
|
+
return pulumi.get(self, "tunnel_cidr")
|
|
2108
|
+
|
|
2109
|
+
@tunnel_cidr.setter
|
|
2110
|
+
def tunnel_cidr(self, value: Optional[pulumi.Input[str]]):
|
|
2111
|
+
pulumi.set(self, "tunnel_cidr", value)
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
if not MYPY:
|
|
2115
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgsDict(TypedDict):
|
|
2116
|
+
ike_auth_alg: NotRequired[pulumi.Input[str]]
|
|
2117
|
+
ike_enc_alg: NotRequired[pulumi.Input[str]]
|
|
2118
|
+
ike_lifetime: NotRequired[pulumi.Input[int]]
|
|
2119
|
+
ike_mode: NotRequired[pulumi.Input[str]]
|
|
2120
|
+
ike_pfs: NotRequired[pulumi.Input[str]]
|
|
2121
|
+
ike_version: NotRequired[pulumi.Input[str]]
|
|
2122
|
+
local_id: NotRequired[pulumi.Input[str]]
|
|
2123
|
+
psk: NotRequired[pulumi.Input[str]]
|
|
2124
|
+
remote_id: NotRequired[pulumi.Input[str]]
|
|
2125
|
+
elif False:
|
|
2126
|
+
GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
2127
|
+
|
|
2128
|
+
@pulumi.input_type
|
|
2129
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIkeConfigArgs:
|
|
2130
|
+
def __init__(__self__, *,
|
|
2131
|
+
ike_auth_alg: Optional[pulumi.Input[str]] = None,
|
|
2132
|
+
ike_enc_alg: Optional[pulumi.Input[str]] = None,
|
|
2133
|
+
ike_lifetime: Optional[pulumi.Input[int]] = None,
|
|
2134
|
+
ike_mode: Optional[pulumi.Input[str]] = None,
|
|
2135
|
+
ike_pfs: Optional[pulumi.Input[str]] = None,
|
|
2136
|
+
ike_version: Optional[pulumi.Input[str]] = None,
|
|
2137
|
+
local_id: Optional[pulumi.Input[str]] = None,
|
|
2138
|
+
psk: Optional[pulumi.Input[str]] = None,
|
|
2139
|
+
remote_id: Optional[pulumi.Input[str]] = None):
|
|
2140
|
+
if ike_auth_alg is not None:
|
|
2141
|
+
pulumi.set(__self__, "ike_auth_alg", ike_auth_alg)
|
|
2142
|
+
if ike_enc_alg is not None:
|
|
2143
|
+
pulumi.set(__self__, "ike_enc_alg", ike_enc_alg)
|
|
2144
|
+
if ike_lifetime is not None:
|
|
2145
|
+
pulumi.set(__self__, "ike_lifetime", ike_lifetime)
|
|
2146
|
+
if ike_mode is not None:
|
|
2147
|
+
pulumi.set(__self__, "ike_mode", ike_mode)
|
|
2148
|
+
if ike_pfs is not None:
|
|
2149
|
+
pulumi.set(__self__, "ike_pfs", ike_pfs)
|
|
2150
|
+
if ike_version is not None:
|
|
2151
|
+
pulumi.set(__self__, "ike_version", ike_version)
|
|
2152
|
+
if local_id is not None:
|
|
2153
|
+
pulumi.set(__self__, "local_id", local_id)
|
|
2154
|
+
if psk is not None:
|
|
2155
|
+
pulumi.set(__self__, "psk", psk)
|
|
2156
|
+
if remote_id is not None:
|
|
2157
|
+
pulumi.set(__self__, "remote_id", remote_id)
|
|
2158
|
+
|
|
2159
|
+
@property
|
|
2160
|
+
@pulumi.getter(name="ikeAuthAlg")
|
|
2161
|
+
def ike_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
2162
|
+
return pulumi.get(self, "ike_auth_alg")
|
|
2163
|
+
|
|
2164
|
+
@ike_auth_alg.setter
|
|
2165
|
+
def ike_auth_alg(self, value: Optional[pulumi.Input[str]]):
|
|
2166
|
+
pulumi.set(self, "ike_auth_alg", value)
|
|
2167
|
+
|
|
2168
|
+
@property
|
|
2169
|
+
@pulumi.getter(name="ikeEncAlg")
|
|
2170
|
+
def ike_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
2171
|
+
return pulumi.get(self, "ike_enc_alg")
|
|
2172
|
+
|
|
2173
|
+
@ike_enc_alg.setter
|
|
2174
|
+
def ike_enc_alg(self, value: Optional[pulumi.Input[str]]):
|
|
2175
|
+
pulumi.set(self, "ike_enc_alg", value)
|
|
2176
|
+
|
|
2177
|
+
@property
|
|
2178
|
+
@pulumi.getter(name="ikeLifetime")
|
|
2179
|
+
def ike_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
2180
|
+
return pulumi.get(self, "ike_lifetime")
|
|
2181
|
+
|
|
2182
|
+
@ike_lifetime.setter
|
|
2183
|
+
def ike_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
2184
|
+
pulumi.set(self, "ike_lifetime", value)
|
|
2185
|
+
|
|
2186
|
+
@property
|
|
2187
|
+
@pulumi.getter(name="ikeMode")
|
|
2188
|
+
def ike_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2189
|
+
return pulumi.get(self, "ike_mode")
|
|
2190
|
+
|
|
2191
|
+
@ike_mode.setter
|
|
2192
|
+
def ike_mode(self, value: Optional[pulumi.Input[str]]):
|
|
2193
|
+
pulumi.set(self, "ike_mode", value)
|
|
2194
|
+
|
|
2195
|
+
@property
|
|
2196
|
+
@pulumi.getter(name="ikePfs")
|
|
2197
|
+
def ike_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
2198
|
+
return pulumi.get(self, "ike_pfs")
|
|
2199
|
+
|
|
2200
|
+
@ike_pfs.setter
|
|
2201
|
+
def ike_pfs(self, value: Optional[pulumi.Input[str]]):
|
|
2202
|
+
pulumi.set(self, "ike_pfs", value)
|
|
2203
|
+
|
|
2204
|
+
@property
|
|
2205
|
+
@pulumi.getter(name="ikeVersion")
|
|
2206
|
+
def ike_version(self) -> Optional[pulumi.Input[str]]:
|
|
2207
|
+
return pulumi.get(self, "ike_version")
|
|
2208
|
+
|
|
2209
|
+
@ike_version.setter
|
|
2210
|
+
def ike_version(self, value: Optional[pulumi.Input[str]]):
|
|
2211
|
+
pulumi.set(self, "ike_version", value)
|
|
2212
|
+
|
|
2213
|
+
@property
|
|
2214
|
+
@pulumi.getter(name="localId")
|
|
2215
|
+
def local_id(self) -> Optional[pulumi.Input[str]]:
|
|
2216
|
+
return pulumi.get(self, "local_id")
|
|
2217
|
+
|
|
2218
|
+
@local_id.setter
|
|
2219
|
+
def local_id(self, value: Optional[pulumi.Input[str]]):
|
|
2220
|
+
pulumi.set(self, "local_id", value)
|
|
2221
|
+
|
|
2222
|
+
@property
|
|
2223
|
+
@pulumi.getter
|
|
2224
|
+
def psk(self) -> Optional[pulumi.Input[str]]:
|
|
2225
|
+
return pulumi.get(self, "psk")
|
|
2226
|
+
|
|
2227
|
+
@psk.setter
|
|
2228
|
+
def psk(self, value: Optional[pulumi.Input[str]]):
|
|
2229
|
+
pulumi.set(self, "psk", value)
|
|
2230
|
+
|
|
2231
|
+
@property
|
|
2232
|
+
@pulumi.getter(name="remoteId")
|
|
2233
|
+
def remote_id(self) -> Optional[pulumi.Input[str]]:
|
|
2234
|
+
return pulumi.get(self, "remote_id")
|
|
2235
|
+
|
|
2236
|
+
@remote_id.setter
|
|
2237
|
+
def remote_id(self, value: Optional[pulumi.Input[str]]):
|
|
2238
|
+
pulumi.set(self, "remote_id", value)
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
if not MYPY:
|
|
2242
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgsDict(TypedDict):
|
|
2243
|
+
ipsec_auth_alg: NotRequired[pulumi.Input[str]]
|
|
2244
|
+
ipsec_enc_alg: NotRequired[pulumi.Input[str]]
|
|
2245
|
+
ipsec_lifetime: NotRequired[pulumi.Input[int]]
|
|
2246
|
+
ipsec_pfs: NotRequired[pulumi.Input[str]]
|
|
2247
|
+
elif False:
|
|
2248
|
+
GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
2249
|
+
|
|
2250
|
+
@pulumi.input_type
|
|
2251
|
+
class GatewayVpnAttachmentTunnelOptionsSpecificationTunnelIpsecConfigArgs:
|
|
2252
|
+
def __init__(__self__, *,
|
|
2253
|
+
ipsec_auth_alg: Optional[pulumi.Input[str]] = None,
|
|
2254
|
+
ipsec_enc_alg: Optional[pulumi.Input[str]] = None,
|
|
2255
|
+
ipsec_lifetime: Optional[pulumi.Input[int]] = None,
|
|
2256
|
+
ipsec_pfs: Optional[pulumi.Input[str]] = None):
|
|
2257
|
+
if ipsec_auth_alg is not None:
|
|
2258
|
+
pulumi.set(__self__, "ipsec_auth_alg", ipsec_auth_alg)
|
|
2259
|
+
if ipsec_enc_alg is not None:
|
|
2260
|
+
pulumi.set(__self__, "ipsec_enc_alg", ipsec_enc_alg)
|
|
2261
|
+
if ipsec_lifetime is not None:
|
|
2262
|
+
pulumi.set(__self__, "ipsec_lifetime", ipsec_lifetime)
|
|
2263
|
+
if ipsec_pfs is not None:
|
|
2264
|
+
pulumi.set(__self__, "ipsec_pfs", ipsec_pfs)
|
|
2265
|
+
|
|
2266
|
+
@property
|
|
2267
|
+
@pulumi.getter(name="ipsecAuthAlg")
|
|
2268
|
+
def ipsec_auth_alg(self) -> Optional[pulumi.Input[str]]:
|
|
2269
|
+
return pulumi.get(self, "ipsec_auth_alg")
|
|
2270
|
+
|
|
2271
|
+
@ipsec_auth_alg.setter
|
|
2272
|
+
def ipsec_auth_alg(self, value: Optional[pulumi.Input[str]]):
|
|
2273
|
+
pulumi.set(self, "ipsec_auth_alg", value)
|
|
2274
|
+
|
|
2275
|
+
@property
|
|
2276
|
+
@pulumi.getter(name="ipsecEncAlg")
|
|
2277
|
+
def ipsec_enc_alg(self) -> Optional[pulumi.Input[str]]:
|
|
2278
|
+
return pulumi.get(self, "ipsec_enc_alg")
|
|
2279
|
+
|
|
2280
|
+
@ipsec_enc_alg.setter
|
|
2281
|
+
def ipsec_enc_alg(self, value: Optional[pulumi.Input[str]]):
|
|
2282
|
+
pulumi.set(self, "ipsec_enc_alg", value)
|
|
2283
|
+
|
|
2284
|
+
@property
|
|
2285
|
+
@pulumi.getter(name="ipsecLifetime")
|
|
2286
|
+
def ipsec_lifetime(self) -> Optional[pulumi.Input[int]]:
|
|
2287
|
+
return pulumi.get(self, "ipsec_lifetime")
|
|
2288
|
+
|
|
2289
|
+
@ipsec_lifetime.setter
|
|
2290
|
+
def ipsec_lifetime(self, value: Optional[pulumi.Input[int]]):
|
|
2291
|
+
pulumi.set(self, "ipsec_lifetime", value)
|
|
2292
|
+
|
|
2293
|
+
@property
|
|
2294
|
+
@pulumi.getter(name="ipsecPfs")
|
|
2295
|
+
def ipsec_pfs(self) -> Optional[pulumi.Input[str]]:
|
|
1651
2296
|
return pulumi.get(self, "ipsec_pfs")
|
|
1652
2297
|
|
|
1653
2298
|
@ipsec_pfs.setter
|