1. Packages
  2. Alicloud Provider
  3. API Docs
  4. vpn
  5. getConnections
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.vpn.getConnections

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    The VPN connections data source lists lots of VPN connections resource information owned by an Alicloud account.

    NOTE: Available since v1.18.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const foo = alicloud.vpn.getConnections({
        ids: ["fake-conn-id"],
        vpnGatewayId: "fake-vpn-id",
        customerGatewayId: "fake-cgw-id",
        outputFile: "/tmp/vpnconn",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    foo = alicloud.vpn.get_connections(ids=["fake-conn-id"],
        vpn_gateway_id="fake-vpn-id",
        customer_gateway_id="fake-cgw-id",
        output_file="/tmp/vpnconn")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpn"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpn.GetConnections(ctx, &vpn.GetConnectionsArgs{
    			Ids: []string{
    				"fake-conn-id",
    			},
    			VpnGatewayId:      pulumi.StringRef("fake-vpn-id"),
    			CustomerGatewayId: pulumi.StringRef("fake-cgw-id"),
    			OutputFile:        pulumi.StringRef("/tmp/vpnconn"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = AliCloud.Vpn.GetConnections.Invoke(new()
        {
            Ids = new[]
            {
                "fake-conn-id",
            },
            VpnGatewayId = "fake-vpn-id",
            CustomerGatewayId = "fake-cgw-id",
            OutputFile = "/tmp/vpnconn",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vpn.VpnFunctions;
    import com.pulumi.alicloud.vpn.inputs.GetConnectionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var foo = VpnFunctions.getConnections(GetConnectionsArgs.builder()
                .ids("fake-conn-id")
                .vpnGatewayId("fake-vpn-id")
                .customerGatewayId("fake-cgw-id")
                .outputFile("/tmp/vpnconn")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: alicloud:vpn:getConnections
          Arguments:
            ids:
              - fake-conn-id
            vpnGatewayId: fake-vpn-id
            customerGatewayId: fake-cgw-id
            outputFile: /tmp/vpnconn
    

    Using getConnections

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getConnections(args: GetConnectionsArgs, opts?: InvokeOptions): Promise<GetConnectionsResult>
    function getConnectionsOutput(args: GetConnectionsOutputArgs, opts?: InvokeOptions): Output<GetConnectionsResult>
    def get_connections(customer_gateway_id: Optional[str] = None,
                        ids: Optional[Sequence[str]] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        vpn_gateway_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetConnectionsResult
    def get_connections_output(customer_gateway_id: Optional[pulumi.Input[str]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        vpn_gateway_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetConnectionsResult]
    func GetConnections(ctx *Context, args *GetConnectionsArgs, opts ...InvokeOption) (*GetConnectionsResult, error)
    func GetConnectionsOutput(ctx *Context, args *GetConnectionsOutputArgs, opts ...InvokeOption) GetConnectionsResultOutput

    > Note: This function is named GetConnections in the Go SDK.

    public static class GetConnections 
    {
        public static Task<GetConnectionsResult> InvokeAsync(GetConnectionsArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionsResult> Invoke(GetConnectionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectionsResult> getConnections(GetConnectionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:vpn/getConnections:getConnections
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    Ids List<string>
    IDs of the VPN connections.
    NameRegex string
    A regex string of VPN connection name.
    OutputFile string
    Save the result to the file.
    VpnGatewayId string
    Use the VPN gateway ID as the search key.
    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    Ids []string
    IDs of the VPN connections.
    NameRegex string
    A regex string of VPN connection name.
    OutputFile string
    Save the result to the file.
    VpnGatewayId string
    Use the VPN gateway ID as the search key.
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    ids List<String>
    IDs of the VPN connections.
    nameRegex String
    A regex string of VPN connection name.
    outputFile String
    Save the result to the file.
    vpnGatewayId String
    Use the VPN gateway ID as the search key.
    customerGatewayId string
    Use the VPN customer gateway ID as the search key.
    ids string[]
    IDs of the VPN connections.
    nameRegex string
    A regex string of VPN connection name.
    outputFile string
    Save the result to the file.
    vpnGatewayId string
    Use the VPN gateway ID as the search key.
    customer_gateway_id str
    Use the VPN customer gateway ID as the search key.
    ids Sequence[str]
    IDs of the VPN connections.
    name_regex str
    A regex string of VPN connection name.
    output_file str
    Save the result to the file.
    vpn_gateway_id str
    Use the VPN gateway ID as the search key.
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    ids List<String>
    IDs of the VPN connections.
    nameRegex String
    A regex string of VPN connection name.
    outputFile String
    Save the result to the file.
    vpnGatewayId String
    Use the VPN gateway ID as the search key.

    getConnections Result

    The following output properties are available:

    Connections List<Pulumi.AliCloud.Vpn.Outputs.GetConnectionsConnection>
    A list of VPN connections. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    (Optional) IDs of the VPN connections.
    Names List<string>
    (Optional) names of the VPN connections.
    CustomerGatewayId string
    The ID of the customer gateway in Tunnel.
    NameRegex string
    OutputFile string
    VpnGatewayId string
    ID of the VPN gateway.
    Connections []GetConnectionsConnection
    A list of VPN connections. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    (Optional) IDs of the VPN connections.
    Names []string
    (Optional) names of the VPN connections.
    CustomerGatewayId string
    The ID of the customer gateway in Tunnel.
    NameRegex string
    OutputFile string
    VpnGatewayId string
    ID of the VPN gateway.
    connections List<GetConnectionsConnection>
    A list of VPN connections. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    (Optional) IDs of the VPN connections.
    names List<String>
    (Optional) names of the VPN connections.
    customerGatewayId String
    The ID of the customer gateway in Tunnel.
    nameRegex String
    outputFile String
    vpnGatewayId String
    ID of the VPN gateway.
    connections GetConnectionsConnection[]
    A list of VPN connections. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    (Optional) IDs of the VPN connections.
    names string[]
    (Optional) names of the VPN connections.
    customerGatewayId string
    The ID of the customer gateway in Tunnel.
    nameRegex string
    outputFile string
    vpnGatewayId string
    ID of the VPN gateway.
    connections Sequence[GetConnectionsConnection]
    A list of VPN connections. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    (Optional) IDs of the VPN connections.
    names Sequence[str]
    (Optional) names of the VPN connections.
    customer_gateway_id str
    The ID of the customer gateway in Tunnel.
    name_regex str
    output_file str
    vpn_gateway_id str
    ID of the VPN gateway.
    connections List<Property Map>
    A list of VPN connections. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    (Optional) IDs of the VPN connections.
    names List<String>
    (Optional) names of the VPN connections.
    customerGatewayId String
    The ID of the customer gateway in Tunnel.
    nameRegex String
    outputFile String
    vpnGatewayId String
    ID of the VPN gateway.

    Supporting Types

    GetConnectionsConnection

    CreateTime string
    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    EffectImmediately bool
    EnableDpd bool
    Wether enable Dpd detection.
    EnableNatTraversal bool
    enable nat traversal.
    EnableTunnelsBgp bool
    Enable tunnel bgp.
    Id string
    ID of the VPN connection.
    LocalSubnet string
    The local subnet of the VPN connection.
    Name string
    The name of the VPN connection.
    RemoteSubnet string
    The remote subnet of the VPN connection.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelOptionsSpecifications List<Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionTunnelOptionsSpecification>
    The tunnel_options_specification supports the following:
    VpnGatewayId string
    Use the VPN gateway ID as the search key.
    IkeConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionIkeConfig>
    The ike_config mapping supports the following:
    IpsecConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionIpsecConfig>
    The ipsec_config mapping supports the following:
    VcoHealthChecks List<Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionVcoHealthCheck>
    VpnBgpConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionVpnBgpConfig>
    The vpn_bgp_config mapping supports the following:
    CreateTime string
    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    EffectImmediately bool
    EnableDpd bool
    Wether enable Dpd detection.
    EnableNatTraversal bool
    enable nat traversal.
    EnableTunnelsBgp bool
    Enable tunnel bgp.
    Id string
    ID of the VPN connection.
    LocalSubnet string
    The local subnet of the VPN connection.
    Name string
    The name of the VPN connection.
    RemoteSubnet string
    The remote subnet of the VPN connection.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelOptionsSpecifications []GetConnectionsConnectionTunnelOptionsSpecification
    The tunnel_options_specification supports the following:
    VpnGatewayId string
    Use the VPN gateway ID as the search key.
    IkeConfigs []GetConnectionsConnectionIkeConfig
    The ike_config mapping supports the following:
    IpsecConfigs []GetConnectionsConnectionIpsecConfig
    The ipsec_config mapping supports the following:
    VcoHealthChecks []GetConnectionsConnectionVcoHealthCheck
    VpnBgpConfigs []GetConnectionsConnectionVpnBgpConfig
    The vpn_bgp_config mapping supports the following:
    createTime String
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    effectImmediately Boolean
    enableDpd Boolean
    Wether enable Dpd detection.
    enableNatTraversal Boolean
    enable nat traversal.
    enableTunnelsBgp Boolean
    Enable tunnel bgp.
    id String
    ID of the VPN connection.
    localSubnet String
    The local subnet of the VPN connection.
    name String
    The name of the VPN connection.
    remoteSubnet String
    The remote subnet of the VPN connection.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelOptionsSpecifications List<GetConnectionsConnectionTunnelOptionsSpecification>
    The tunnel_options_specification supports the following:
    vpnGatewayId String
    Use the VPN gateway ID as the search key.
    ikeConfigs List<GetConnectionsConnectionIkeConfig>
    The ike_config mapping supports the following:
    ipsecConfigs List<GetConnectionsConnectionIpsecConfig>
    The ipsec_config mapping supports the following:
    vcoHealthChecks List<GetConnectionsConnectionVcoHealthCheck>
    vpnBgpConfigs List<GetConnectionsConnectionVpnBgpConfig>
    The vpn_bgp_config mapping supports the following:
    createTime string
    customerGatewayId string
    Use the VPN customer gateway ID as the search key.
    effectImmediately boolean
    enableDpd boolean
    Wether enable Dpd detection.
    enableNatTraversal boolean
    enable nat traversal.
    enableTunnelsBgp boolean
    Enable tunnel bgp.
    id string
    ID of the VPN connection.
    localSubnet string
    The local subnet of the VPN connection.
    name string
    The name of the VPN connection.
    remoteSubnet string
    The remote subnet of the VPN connection.
    status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelOptionsSpecifications GetConnectionsConnectionTunnelOptionsSpecification[]
    The tunnel_options_specification supports the following:
    vpnGatewayId string
    Use the VPN gateway ID as the search key.
    ikeConfigs GetConnectionsConnectionIkeConfig[]
    The ike_config mapping supports the following:
    ipsecConfigs GetConnectionsConnectionIpsecConfig[]
    The ipsec_config mapping supports the following:
    vcoHealthChecks GetConnectionsConnectionVcoHealthCheck[]
    vpnBgpConfigs GetConnectionsConnectionVpnBgpConfig[]
    The vpn_bgp_config mapping supports the following:
    create_time str
    customer_gateway_id str
    Use the VPN customer gateway ID as the search key.
    effect_immediately bool
    enable_dpd bool
    Wether enable Dpd detection.
    enable_nat_traversal bool
    enable nat traversal.
    enable_tunnels_bgp bool
    Enable tunnel bgp.
    id str
    ID of the VPN connection.
    local_subnet str
    The local subnet of the VPN connection.
    name str
    The name of the VPN connection.
    remote_subnet str
    The remote subnet of the VPN connection.
    status str
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnel_options_specifications Sequence[GetConnectionsConnectionTunnelOptionsSpecification]
    The tunnel_options_specification supports the following:
    vpn_gateway_id str
    Use the VPN gateway ID as the search key.
    ike_configs Sequence[GetConnectionsConnectionIkeConfig]
    The ike_config mapping supports the following:
    ipsec_configs Sequence[GetConnectionsConnectionIpsecConfig]
    The ipsec_config mapping supports the following:
    vco_health_checks Sequence[GetConnectionsConnectionVcoHealthCheck]
    vpn_bgp_configs Sequence[GetConnectionsConnectionVpnBgpConfig]
    The vpn_bgp_config mapping supports the following:
    createTime String
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    effectImmediately Boolean
    enableDpd Boolean
    Wether enable Dpd detection.
    enableNatTraversal Boolean
    enable nat traversal.
    enableTunnelsBgp Boolean
    Enable tunnel bgp.
    id String
    ID of the VPN connection.
    localSubnet String
    The local subnet of the VPN connection.
    name String
    The name of the VPN connection.
    remoteSubnet String
    The remote subnet of the VPN connection.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelOptionsSpecifications List<Property Map>
    The tunnel_options_specification supports the following:
    vpnGatewayId String
    Use the VPN gateway ID as the search key.
    ikeConfigs List<Property Map>
    The ike_config mapping supports the following:
    ipsecConfigs List<Property Map>
    The ipsec_config mapping supports the following:
    vcoHealthChecks List<Property Map>
    vpnBgpConfigs List<Property Map>
    The vpn_bgp_config mapping supports the following:

    GetConnectionsConnectionIkeConfig

    IkeAuthAlg string
    IKE auth Algorithm.
    IkeEncAlg string
    IKE encript algorithm.
    IkeLifetime int
    IKE lifetime.
    IkeLocalId string
    The identification of the VPN gateway.
    IkeMode string
    IKE Mode.
    IkePfs string
    DH Group.
    IkeRemoteId string
    The identification of the customer gateway.
    IkeVersion string
    IKE Version.
    Psk string
    Preshared secret key.
    IkeAuthAlg string
    IKE auth Algorithm.
    IkeEncAlg string
    IKE encript algorithm.
    IkeLifetime int
    IKE lifetime.
    IkeLocalId string
    The identification of the VPN gateway.
    IkeMode string
    IKE Mode.
    IkePfs string
    DH Group.
    IkeRemoteId string
    The identification of the customer gateway.
    IkeVersion string
    IKE Version.
    Psk string
    Preshared secret key.
    ikeAuthAlg String
    IKE auth Algorithm.
    ikeEncAlg String
    IKE encript algorithm.
    ikeLifetime Integer
    IKE lifetime.
    ikeLocalId String
    The identification of the VPN gateway.
    ikeMode String
    IKE Mode.
    ikePfs String
    DH Group.
    ikeRemoteId String
    The identification of the customer gateway.
    ikeVersion String
    IKE Version.
    psk String
    Preshared secret key.
    ikeAuthAlg string
    IKE auth Algorithm.
    ikeEncAlg string
    IKE encript algorithm.
    ikeLifetime number
    IKE lifetime.
    ikeLocalId string
    The identification of the VPN gateway.
    ikeMode string
    IKE Mode.
    ikePfs string
    DH Group.
    ikeRemoteId string
    The identification of the customer gateway.
    ikeVersion string
    IKE Version.
    psk string
    Preshared secret key.
    ike_auth_alg str
    IKE auth Algorithm.
    ike_enc_alg str
    IKE encript algorithm.
    ike_lifetime int
    IKE lifetime.
    ike_local_id str
    The identification of the VPN gateway.
    ike_mode str
    IKE Mode.
    ike_pfs str
    DH Group.
    ike_remote_id str
    The identification of the customer gateway.
    ike_version str
    IKE Version.
    psk str
    Preshared secret key.
    ikeAuthAlg String
    IKE auth Algorithm.
    ikeEncAlg String
    IKE encript algorithm.
    ikeLifetime Number
    IKE lifetime.
    ikeLocalId String
    The identification of the VPN gateway.
    ikeMode String
    IKE Mode.
    ikePfs String
    DH Group.
    ikeRemoteId String
    The identification of the customer gateway.
    ikeVersion String
    IKE Version.
    psk String
    Preshared secret key.

    GetConnectionsConnectionIpsecConfig

    IpsecAuthAlg string
    IPsec Auth algorithm.
    IpsecEncAlg string
    IPsec Encript algorithm.
    IpsecLifetime int
    IPsec lifetime.
    IpsecPfs string
    DH Group.
    IpsecAuthAlg string
    IPsec Auth algorithm.
    IpsecEncAlg string
    IPsec Encript algorithm.
    IpsecLifetime int
    IPsec lifetime.
    IpsecPfs string
    DH Group.
    ipsecAuthAlg String
    IPsec Auth algorithm.
    ipsecEncAlg String
    IPsec Encript algorithm.
    ipsecLifetime Integer
    IPsec lifetime.
    ipsecPfs String
    DH Group.
    ipsecAuthAlg string
    IPsec Auth algorithm.
    ipsecEncAlg string
    IPsec Encript algorithm.
    ipsecLifetime number
    IPsec lifetime.
    ipsecPfs string
    DH Group.
    ipsec_auth_alg str
    IPsec Auth algorithm.
    ipsec_enc_alg str
    IPsec Encript algorithm.
    ipsec_lifetime int
    IPsec lifetime.
    ipsec_pfs str
    DH Group.
    ipsecAuthAlg String
    IPsec Auth algorithm.
    ipsecEncAlg String
    IPsec Encript algorithm.
    ipsecLifetime Number
    IPsec lifetime.
    ipsecPfs String
    DH Group.

    GetConnectionsConnectionTunnelOptionsSpecification

    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    EnableDpd bool
    Wether enable Dpd detection.
    EnableNatTraversal bool
    enable nat traversal.
    InternetIp string
    Role string
    The role of Tunnel.
    State string
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelBgpConfig Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig
    The bgp config of Tunnel.
    TunnelId string
    TunnelIkeConfig Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig
    The configuration of Phase 1 negotiations in Tunnel.
    TunnelIpsecConfig Pulumi.AliCloud.Vpn.Inputs.GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig
    IPsec configuration in Tunnel.
    ZoneNo string
    CustomerGatewayId string
    Use the VPN customer gateway ID as the search key.
    EnableDpd bool
    Wether enable Dpd detection.
    EnableNatTraversal bool
    enable nat traversal.
    InternetIp string
    Role string
    The role of Tunnel.
    State string
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelBgpConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig
    The bgp config of Tunnel.
    TunnelId string
    TunnelIkeConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig
    The configuration of Phase 1 negotiations in Tunnel.
    TunnelIpsecConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig
    IPsec configuration in Tunnel.
    ZoneNo string
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    enableDpd Boolean
    Wether enable Dpd detection.
    enableNatTraversal Boolean
    enable nat traversal.
    internetIp String
    role String
    The role of Tunnel.
    state String
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelBgpConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig
    The bgp config of Tunnel.
    tunnelId String
    tunnelIkeConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig
    The configuration of Phase 1 negotiations in Tunnel.
    tunnelIpsecConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig
    IPsec configuration in Tunnel.
    zoneNo String
    customerGatewayId string
    Use the VPN customer gateway ID as the search key.
    enableDpd boolean
    Wether enable Dpd detection.
    enableNatTraversal boolean
    enable nat traversal.
    internetIp string
    role string
    The role of Tunnel.
    state string
    status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelBgpConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig
    The bgp config of Tunnel.
    tunnelId string
    tunnelIkeConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig
    The configuration of Phase 1 negotiations in Tunnel.
    tunnelIpsecConfig GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig
    IPsec configuration in Tunnel.
    zoneNo string
    customer_gateway_id str
    Use the VPN customer gateway ID as the search key.
    enable_dpd bool
    Wether enable Dpd detection.
    enable_nat_traversal bool
    enable nat traversal.
    internet_ip str
    role str
    The role of Tunnel.
    state str
    status str
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnel_bgp_config GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig
    The bgp config of Tunnel.
    tunnel_id str
    tunnel_ike_config GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig
    The configuration of Phase 1 negotiations in Tunnel.
    tunnel_ipsec_config GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig
    IPsec configuration in Tunnel.
    zone_no str
    customerGatewayId String
    Use the VPN customer gateway ID as the search key.
    enableDpd Boolean
    Wether enable Dpd detection.
    enableNatTraversal Boolean
    enable nat traversal.
    internetIp String
    role String
    The role of Tunnel.
    state String
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelBgpConfig Property Map
    The bgp config of Tunnel.
    tunnelId String
    tunnelIkeConfig Property Map
    The configuration of Phase 1 negotiations in Tunnel.
    tunnelIpsecConfig Property Map
    IPsec configuration in Tunnel.
    zoneNo String

    GetConnectionsConnectionTunnelOptionsSpecificationTunnelBgpConfig

    BgpStatus string
    LocalAsn string
    Local asn.
    LocalBgpIp string
    Local bgp IP.
    PeerAsn string
    The counterpart autonomous system number.
    PeerBgpIp string
    The BGP address on the other side.
    TunnelCidr string
    BGP Tunnel CIDR.
    BgpStatus string
    LocalAsn string
    Local asn.
    LocalBgpIp string
    Local bgp IP.
    PeerAsn string
    The counterpart autonomous system number.
    PeerBgpIp string
    The BGP address on the other side.
    TunnelCidr string
    BGP Tunnel CIDR.
    bgpStatus String
    localAsn String
    Local asn.
    localBgpIp String
    Local bgp IP.
    peerAsn String
    The counterpart autonomous system number.
    peerBgpIp String
    The BGP address on the other side.
    tunnelCidr String
    BGP Tunnel CIDR.
    bgpStatus string
    localAsn string
    Local asn.
    localBgpIp string
    Local bgp IP.
    peerAsn string
    The counterpart autonomous system number.
    peerBgpIp string
    The BGP address on the other side.
    tunnelCidr string
    BGP Tunnel CIDR.
    bgp_status str
    local_asn str
    Local asn.
    local_bgp_ip str
    Local bgp IP.
    peer_asn str
    The counterpart autonomous system number.
    peer_bgp_ip str
    The BGP address on the other side.
    tunnel_cidr str
    BGP Tunnel CIDR.
    bgpStatus String
    localAsn String
    Local asn.
    localBgpIp String
    Local bgp IP.
    peerAsn String
    The counterpart autonomous system number.
    peerBgpIp String
    The BGP address on the other side.
    tunnelCidr String
    BGP Tunnel CIDR.

    GetConnectionsConnectionTunnelOptionsSpecificationTunnelIkeConfig

    IkeAuthAlg string
    IKE auth Algorithm.
    IkeEncAlg string
    IKE encript algorithm.
    IkeLifetime int
    IKE lifetime.
    IkeMode string
    IKE Mode.
    IkePfs string
    DH Group.
    IkeVersion string
    IKE Version.
    LocalId string
    The local Id.
    Psk string
    Preshared secret key.
    RemoteId string
    Remote ID.
    IkeAuthAlg string
    IKE auth Algorithm.
    IkeEncAlg string
    IKE encript algorithm.
    IkeLifetime int
    IKE lifetime.
    IkeMode string
    IKE Mode.
    IkePfs string
    DH Group.
    IkeVersion string
    IKE Version.
    LocalId string
    The local Id.
    Psk string
    Preshared secret key.
    RemoteId string
    Remote ID.
    ikeAuthAlg String
    IKE auth Algorithm.
    ikeEncAlg String
    IKE encript algorithm.
    ikeLifetime Integer
    IKE lifetime.
    ikeMode String
    IKE Mode.
    ikePfs String
    DH Group.
    ikeVersion String
    IKE Version.
    localId String
    The local Id.
    psk String
    Preshared secret key.
    remoteId String
    Remote ID.
    ikeAuthAlg string
    IKE auth Algorithm.
    ikeEncAlg string
    IKE encript algorithm.
    ikeLifetime number
    IKE lifetime.
    ikeMode string
    IKE Mode.
    ikePfs string
    DH Group.
    ikeVersion string
    IKE Version.
    localId string
    The local Id.
    psk string
    Preshared secret key.
    remoteId string
    Remote ID.
    ike_auth_alg str
    IKE auth Algorithm.
    ike_enc_alg str
    IKE encript algorithm.
    ike_lifetime int
    IKE lifetime.
    ike_mode str
    IKE Mode.
    ike_pfs str
    DH Group.
    ike_version str
    IKE Version.
    local_id str
    The local Id.
    psk str
    Preshared secret key.
    remote_id str
    Remote ID.
    ikeAuthAlg String
    IKE auth Algorithm.
    ikeEncAlg String
    IKE encript algorithm.
    ikeLifetime Number
    IKE lifetime.
    ikeMode String
    IKE Mode.
    ikePfs String
    DH Group.
    ikeVersion String
    IKE Version.
    localId String
    The local Id.
    psk String
    Preshared secret key.
    remoteId String
    Remote ID.

    GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig

    IpsecAuthAlg string
    IPsec Auth algorithm.
    IpsecEncAlg string
    IPsec Encript algorithm.
    IpsecLifetime int
    IPsec lifetime.
    IpsecPfs string
    DH Group.
    IpsecAuthAlg string
    IPsec Auth algorithm.
    IpsecEncAlg string
    IPsec Encript algorithm.
    IpsecLifetime int
    IPsec lifetime.
    IpsecPfs string
    DH Group.
    ipsecAuthAlg String
    IPsec Auth algorithm.
    ipsecEncAlg String
    IPsec Encript algorithm.
    ipsecLifetime Integer
    IPsec lifetime.
    ipsecPfs String
    DH Group.
    ipsecAuthAlg string
    IPsec Auth algorithm.
    ipsecEncAlg string
    IPsec Encript algorithm.
    ipsecLifetime number
    IPsec lifetime.
    ipsecPfs string
    DH Group.
    ipsec_auth_alg str
    IPsec Auth algorithm.
    ipsec_enc_alg str
    IPsec Encript algorithm.
    ipsec_lifetime int
    IPsec lifetime.
    ipsec_pfs str
    DH Group.
    ipsecAuthAlg String
    IPsec Auth algorithm.
    ipsecEncAlg String
    IPsec Encript algorithm.
    ipsecLifetime Number
    IPsec lifetime.
    ipsecPfs String
    DH Group.

    GetConnectionsConnectionVcoHealthCheck

    Dip string
    The destination ip address.
    Enable string
    The health check on status. Valid values: true, false.
    Interval int
    The time interval between health checks.
    Retry int
    The number of retries for health checks issued.
    Sip string
    The source ip address.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    Dip string
    The destination ip address.
    Enable string
    The health check on status. Valid values: true, false.
    Interval int
    The time interval between health checks.
    Retry int
    The number of retries for health checks issued.
    Sip string
    The source ip address.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    dip String
    The destination ip address.
    enable String
    The health check on status. Valid values: true, false.
    interval Integer
    The time interval between health checks.
    retry Integer
    The number of retries for health checks issued.
    sip String
    The source ip address.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    dip string
    The destination ip address.
    enable string
    The health check on status. Valid values: true, false.
    interval number
    The time interval between health checks.
    retry number
    The number of retries for health checks issued.
    sip string
    The source ip address.
    status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    dip str
    The destination ip address.
    enable str
    The health check on status. Valid values: true, false.
    interval int
    The time interval between health checks.
    retry int
    The number of retries for health checks issued.
    sip str
    The source ip address.
    status str
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    dip String
    The destination ip address.
    enable String
    The health check on status. Valid values: true, false.
    interval Number
    The time interval between health checks.
    retry Number
    The number of retries for health checks issued.
    sip String
    The source ip address.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.

    GetConnectionsConnectionVpnBgpConfig

    AuthKey string
    The authentication keys for BGP routing protocols.
    LocalAsn int
    Local asn.
    LocalBgpIp string
    Local bgp IP.
    PeerAsn int
    The counterpart autonomous system number.
    PeerBgpIp string
    The BGP address on the other side.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelCidr string
    BGP Tunnel CIDR.
    AuthKey string
    The authentication keys for BGP routing protocols.
    LocalAsn int
    Local asn.
    LocalBgpIp string
    Local bgp IP.
    PeerAsn int
    The counterpart autonomous system number.
    PeerBgpIp string
    The BGP address on the other side.
    Status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    TunnelCidr string
    BGP Tunnel CIDR.
    authKey String
    The authentication keys for BGP routing protocols.
    localAsn Integer
    Local asn.
    localBgpIp String
    Local bgp IP.
    peerAsn Integer
    The counterpart autonomous system number.
    peerBgpIp String
    The BGP address on the other side.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelCidr String
    BGP Tunnel CIDR.
    authKey string
    The authentication keys for BGP routing protocols.
    localAsn number
    Local asn.
    localBgpIp string
    Local bgp IP.
    peerAsn number
    The counterpart autonomous system number.
    peerBgpIp string
    The BGP address on the other side.
    status string
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelCidr string
    BGP Tunnel CIDR.
    auth_key str
    The authentication keys for BGP routing protocols.
    local_asn int
    Local asn.
    local_bgp_ip str
    Local bgp IP.
    peer_asn int
    The counterpart autonomous system number.
    peer_bgp_ip str
    The BGP address on the other side.
    status str
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnel_cidr str
    BGP Tunnel CIDR.
    authKey String
    The authentication keys for BGP routing protocols.
    localAsn Number
    Local asn.
    localBgpIp String
    Local bgp IP.
    peerAsn Number
    The counterpart autonomous system number.
    peerBgpIp String
    The BGP address on the other side.
    status String
    The negotiation status of the BGP routing protocol. Valid values: success, false.
    tunnelCidr String
    BGP Tunnel CIDR.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi