ibm.getIsVpnGatewayConnection
Explore with Pulumi AI
Provides a read-only data source for VPN Connection. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsVpnGatewayConnection({
vpnGateway: ibm_is_vpn_gateway.example.id,
vpnGatewayConnection: ibm_is_vpn_gateway_connection.example.gateway_connection,
});
const example_1 = ibm.getIsVpnGatewayConnection({
vpnGateway: ibm_is_vpn_gateway.example.id,
vpnGatewayConnectionName: ibm_is_vpn_gateway_connection.example.name,
});
const example_2 = ibm.getIsVpnGatewayConnection({
vpnGatewayName: ibm_is_vpn_gateway.example.name,
vpnGatewayConnection: ibm_is_vpn_gateway_connection.example.gateway_connection,
});
const example_3 = ibm.getIsVpnGatewayConnection({
vpnGatewayName: ibm_is_vpn_gateway.example.name,
vpnGatewayConnectionName: ibm_is_vpn_gateway_connection.example.name,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_vpn_gateway_connection(vpn_gateway=ibm_is_vpn_gateway["example"]["id"],
vpn_gateway_connection=ibm_is_vpn_gateway_connection["example"]["gateway_connection"])
example_1 = ibm.get_is_vpn_gateway_connection(vpn_gateway=ibm_is_vpn_gateway["example"]["id"],
vpn_gateway_connection_name=ibm_is_vpn_gateway_connection["example"]["name"])
example_2 = ibm.get_is_vpn_gateway_connection(vpn_gateway_name=ibm_is_vpn_gateway["example"]["name"],
vpn_gateway_connection=ibm_is_vpn_gateway_connection["example"]["gateway_connection"])
example_3 = ibm.get_is_vpn_gateway_connection(vpn_gateway_name=ibm_is_vpn_gateway["example"]["name"],
vpn_gateway_connection_name=ibm_is_vpn_gateway_connection["example"]["name"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupIsVpnGatewayConnection(ctx, &ibm.LookupIsVpnGatewayConnectionArgs{
VpnGateway: pulumi.StringRef(ibm_is_vpn_gateway.Example.Id),
VpnGatewayConnection: pulumi.StringRef(ibm_is_vpn_gateway_connection.Example.Gateway_connection),
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupIsVpnGatewayConnection(ctx, &ibm.LookupIsVpnGatewayConnectionArgs{
VpnGateway: pulumi.StringRef(ibm_is_vpn_gateway.Example.Id),
VpnGatewayConnectionName: pulumi.StringRef(ibm_is_vpn_gateway_connection.Example.Name),
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupIsVpnGatewayConnection(ctx, &ibm.LookupIsVpnGatewayConnectionArgs{
VpnGatewayName: pulumi.StringRef(ibm_is_vpn_gateway.Example.Name),
VpnGatewayConnection: pulumi.StringRef(ibm_is_vpn_gateway_connection.Example.Gateway_connection),
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupIsVpnGatewayConnection(ctx, &ibm.LookupIsVpnGatewayConnectionArgs{
VpnGatewayName: pulumi.StringRef(ibm_is_vpn_gateway.Example.Name),
VpnGatewayConnectionName: pulumi.StringRef(ibm_is_vpn_gateway_connection.Example.Name),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsVpnGatewayConnection.Invoke(new()
{
VpnGateway = ibm_is_vpn_gateway.Example.Id,
VpnGatewayConnection = ibm_is_vpn_gateway_connection.Example.Gateway_connection,
});
var example_1 = Ibm.GetIsVpnGatewayConnection.Invoke(new()
{
VpnGateway = ibm_is_vpn_gateway.Example.Id,
VpnGatewayConnectionName = ibm_is_vpn_gateway_connection.Example.Name,
});
var example_2 = Ibm.GetIsVpnGatewayConnection.Invoke(new()
{
VpnGatewayName = ibm_is_vpn_gateway.Example.Name,
VpnGatewayConnection = ibm_is_vpn_gateway_connection.Example.Gateway_connection,
});
var example_3 = Ibm.GetIsVpnGatewayConnection.Invoke(new()
{
VpnGatewayName = ibm_is_vpn_gateway.Example.Name,
VpnGatewayConnectionName = ibm_is_vpn_gateway_connection.Example.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsVpnGatewayConnectionArgs;
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 example = IbmFunctions.getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs.builder()
.vpnGateway(ibm_is_vpn_gateway.example().id())
.vpnGatewayConnection(ibm_is_vpn_gateway_connection.example().gateway_connection())
.build());
final var example-1 = IbmFunctions.getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs.builder()
.vpnGateway(ibm_is_vpn_gateway.example().id())
.vpnGatewayConnectionName(ibm_is_vpn_gateway_connection.example().name())
.build());
final var example-2 = IbmFunctions.getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs.builder()
.vpnGatewayName(ibm_is_vpn_gateway.example().name())
.vpnGatewayConnection(ibm_is_vpn_gateway_connection.example().gateway_connection())
.build());
final var example-3 = IbmFunctions.getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs.builder()
.vpnGatewayName(ibm_is_vpn_gateway.example().name())
.vpnGatewayConnectionName(ibm_is_vpn_gateway_connection.example().name())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsVpnGatewayConnection
arguments:
vpnGateway: ${ibm_is_vpn_gateway.example.id}
vpnGatewayConnection: ${ibm_is_vpn_gateway_connection.example.gateway_connection}
example-1:
fn::invoke:
function: ibm:getIsVpnGatewayConnection
arguments:
vpnGateway: ${ibm_is_vpn_gateway.example.id}
vpnGatewayConnectionName: ${ibm_is_vpn_gateway_connection.example.name}
example-2:
fn::invoke:
function: ibm:getIsVpnGatewayConnection
arguments:
vpnGatewayName: ${ibm_is_vpn_gateway.example.name}
vpnGatewayConnection: ${ibm_is_vpn_gateway_connection.example.gateway_connection}
example-3:
fn::invoke:
function: ibm:getIsVpnGatewayConnection
arguments:
vpnGatewayName: ${ibm_is_vpn_gateway.example.name}
vpnGatewayConnectionName: ${ibm_is_vpn_gateway_connection.example.name}
Using getIsVpnGatewayConnection
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 getIsVpnGatewayConnection(args: GetIsVpnGatewayConnectionArgs, opts?: InvokeOptions): Promise<GetIsVpnGatewayConnectionResult>
function getIsVpnGatewayConnectionOutput(args: GetIsVpnGatewayConnectionOutputArgs, opts?: InvokeOptions): Output<GetIsVpnGatewayConnectionResult>
def get_is_vpn_gateway_connection(id: Optional[str] = None,
vpn_gateway: Optional[str] = None,
vpn_gateway_connection: Optional[str] = None,
vpn_gateway_connection_name: Optional[str] = None,
vpn_gateway_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVpnGatewayConnectionResult
def get_is_vpn_gateway_connection_output(id: Optional[pulumi.Input[str]] = None,
vpn_gateway: Optional[pulumi.Input[str]] = None,
vpn_gateway_connection: Optional[pulumi.Input[str]] = None,
vpn_gateway_connection_name: Optional[pulumi.Input[str]] = None,
vpn_gateway_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVpnGatewayConnectionResult]
func LookupIsVpnGatewayConnection(ctx *Context, args *LookupIsVpnGatewayConnectionArgs, opts ...InvokeOption) (*LookupIsVpnGatewayConnectionResult, error)
func LookupIsVpnGatewayConnectionOutput(ctx *Context, args *LookupIsVpnGatewayConnectionOutputArgs, opts ...InvokeOption) LookupIsVpnGatewayConnectionResultOutput
> Note: This function is named LookupIsVpnGatewayConnection
in the Go SDK.
public static class GetIsVpnGatewayConnection
{
public static Task<GetIsVpnGatewayConnectionResult> InvokeAsync(GetIsVpnGatewayConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetIsVpnGatewayConnectionResult> Invoke(GetIsVpnGatewayConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsVpnGatewayConnectionResult> getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs args, InvokeOptions options)
public static Output<GetIsVpnGatewayConnectionResult> getIsVpnGatewayConnection(GetIsVpnGatewayConnectionArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVpnGatewayConnection:getIsVpnGatewayConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- (String) The unique identifier for this IPsec policy.
- Vpn
Gateway string - The VPN gateway identifier.
- Vpn
Gateway stringConnection - The VPN gateway connection identifier.
- Vpn
Gateway stringConnection Name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- Vpn
Gateway stringName - The VPN gateway name.
- Id string
- (String) The unique identifier for this IPsec policy.
- Vpn
Gateway string - The VPN gateway identifier.
- Vpn
Gateway stringConnection - The VPN gateway connection identifier.
- Vpn
Gateway stringConnection Name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- Vpn
Gateway stringName - The VPN gateway name.
- id String
- (String) The unique identifier for this IPsec policy.
- vpn
Gateway String - The VPN gateway identifier.
- vpn
Gateway StringConnection - The VPN gateway connection identifier.
- vpn
Gateway StringConnection Name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- vpn
Gateway StringName - The VPN gateway name.
- id string
- (String) The unique identifier for this IPsec policy.
- vpn
Gateway string - The VPN gateway identifier.
- vpn
Gateway stringConnection - The VPN gateway connection identifier.
- vpn
Gateway stringConnection Name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- vpn
Gateway stringName - The VPN gateway name.
- id str
- (String) The unique identifier for this IPsec policy.
- vpn_
gateway str - The VPN gateway identifier.
- vpn_
gateway_ strconnection - The VPN gateway connection identifier.
- vpn_
gateway_ strconnection_ name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- vpn_
gateway_ strname - The VPN gateway name.
- id String
- (String) The unique identifier for this IPsec policy.
- vpn
Gateway String - The VPN gateway identifier.
- vpn
Gateway StringConnection - The VPN gateway connection identifier.
- vpn
Gateway StringConnection Name The VPN gateway connection name.
Note Provide either one of
vpn_gateway
,vpn_gateway_name
to identifiy vpn gateway and either one ofvpn_gateway_connection
,vpn_gateway_connection_name
to identify vpn gateway connection.- vpn
Gateway StringName - The VPN gateway name.
getIsVpnGatewayConnection Result
The following output properties are available:
- Admin
State boolUp - (Boolean) If set to false, the VPN gateway connection is shut down.
- Authentication
Mode string - (String) The authentication mode. Only
psk
is currently supported. - Created
At string - (String) The date and time that this VPN gateway connection was created.
- Dead
Peer List<GetDetections Is Vpn Gateway Connection Dead Peer Detection> - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- Distribute
Traffic bool - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - Establish
Mode string - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Ike
Policies List<GetIs Vpn Gateway Connection Ike Policy> - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- Ipsec
Policies List<GetIs Vpn Gateway Connection Ipsec Policy> - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- Local
Cidrs List<string> - (List) The local CIDRs for this resource.
- Locals
List<Get
Is Vpn Gateway Connection Local> - (List) Nested schema for local:
- Mode string
- (String) The mode of the VPN gateway.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Peer
Address string - (String) The IP address of the peer VPN gateway.
- Peer
Cidrs List<string> - (List) The peer CIDRs for this resource.
- Peers
List<Get
Is Vpn Gateway Connection Peer> - (List) Nested schema for peer:
- Psk string
- (String) The preshared key.
- Resource
Type string - (String) The resource type.
- Routing
Protocol string - (String) Routing protocols are disabled for this VPN gateway connection.
- Status string
- (String) The status of the VPN Tunnel.
- Status
Reasons List<GetIs Vpn Gateway Connection Status Reason> - (List) Array of reasons for the current status (if any).
- Tunnels
List<Get
Is Vpn Gateway Connection Tunnel> - (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- Vpn
Gateway string - Vpn
Gateway stringConnection - Vpn
Gateway stringConnection Name - Vpn
Gateway stringName
- Admin
State boolUp - (Boolean) If set to false, the VPN gateway connection is shut down.
- Authentication
Mode string - (String) The authentication mode. Only
psk
is currently supported. - Created
At string - (String) The date and time that this VPN gateway connection was created.
- Dead
Peer []GetDetections Is Vpn Gateway Connection Dead Peer Detection - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- Distribute
Traffic bool - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - Establish
Mode string - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Ike
Policies []GetIs Vpn Gateway Connection Ike Policy - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- Ipsec
Policies []GetIs Vpn Gateway Connection Ipsec Policy - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- Local
Cidrs []string - (List) The local CIDRs for this resource.
- Locals
[]Get
Is Vpn Gateway Connection Local - (List) Nested schema for local:
- Mode string
- (String) The mode of the VPN gateway.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Peer
Address string - (String) The IP address of the peer VPN gateway.
- Peer
Cidrs []string - (List) The peer CIDRs for this resource.
- Peers
[]Get
Is Vpn Gateway Connection Peer - (List) Nested schema for peer:
- Psk string
- (String) The preshared key.
- Resource
Type string - (String) The resource type.
- Routing
Protocol string - (String) Routing protocols are disabled for this VPN gateway connection.
- Status string
- (String) The status of the VPN Tunnel.
- Status
Reasons []GetIs Vpn Gateway Connection Status Reason - (List) Array of reasons for the current status (if any).
- Tunnels
[]Get
Is Vpn Gateway Connection Tunnel - (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- Vpn
Gateway string - Vpn
Gateway stringConnection - Vpn
Gateway stringConnection Name - Vpn
Gateway stringName
- admin
State BooleanUp - (Boolean) If set to false, the VPN gateway connection is shut down.
- authentication
Mode String - (String) The authentication mode. Only
psk
is currently supported. - created
At String - (String) The date and time that this VPN gateway connection was created.
- dead
Peer List<GetDetections Is Vpn Gateway Connection Dead Peer Detection> - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- distribute
Traffic Boolean - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - establish
Mode String - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- ike
Policies List<GetIs Vpn Gateway Connection Ike Policy> - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- ipsec
Policies List<GetIs Vpn Gateway Connection Ipsec Policy> - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- local
Cidrs List<String> - (List) The local CIDRs for this resource.
- locals
List<Get
Is Vpn Gateway Connection Local> - (List) Nested schema for local:
- mode String
- (String) The mode of the VPN gateway.
- name String
- (String) The user-defined name for this VPN gateway connection.
- peer
Address String - (String) The IP address of the peer VPN gateway.
- peer
Cidrs List<String> - (List) The peer CIDRs for this resource.
- peers
List<Get
Is Vpn Gateway Connection Peer> - (List) Nested schema for peer:
- psk String
- (String) The preshared key.
- resource
Type String - (String) The resource type.
- routing
Protocol String - (String) Routing protocols are disabled for this VPN gateway connection.
- status String
- (String) The status of the VPN Tunnel.
- status
Reasons List<GetIs Vpn Gateway Connection Status Reason> - (List) Array of reasons for the current status (if any).
- tunnels
List<Get
Is Vpn Gateway Connection Tunnel> - (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- vpn
Gateway String - vpn
Gateway StringConnection - vpn
Gateway StringConnection Name - vpn
Gateway StringName
- admin
State booleanUp - (Boolean) If set to false, the VPN gateway connection is shut down.
- authentication
Mode string - (String) The authentication mode. Only
psk
is currently supported. - created
At string - (String) The date and time that this VPN gateway connection was created.
- dead
Peer GetDetections Is Vpn Gateway Connection Dead Peer Detection[] - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- distribute
Traffic boolean - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - establish
Mode string - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - href string
- (String) The IPsec policy's canonical URL.
- id string
- (String) The unique identifier for this IPsec policy.
- ike
Policies GetIs Vpn Gateway Connection Ike Policy[] - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- ipsec
Policies GetIs Vpn Gateway Connection Ipsec Policy[] - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- local
Cidrs string[] - (List) The local CIDRs for this resource.
- locals
Get
Is Vpn Gateway Connection Local[] - (List) Nested schema for local:
- mode string
- (String) The mode of the VPN gateway.
- name string
- (String) The user-defined name for this VPN gateway connection.
- peer
Address string - (String) The IP address of the peer VPN gateway.
- peer
Cidrs string[] - (List) The peer CIDRs for this resource.
- peers
Get
Is Vpn Gateway Connection Peer[] - (List) Nested schema for peer:
- psk string
- (String) The preshared key.
- resource
Type string - (String) The resource type.
- routing
Protocol string - (String) Routing protocols are disabled for this VPN gateway connection.
- status string
- (String) The status of the VPN Tunnel.
- status
Reasons GetIs Vpn Gateway Connection Status Reason[] - (List) Array of reasons for the current status (if any).
- tunnels
Get
Is Vpn Gateway Connection Tunnel[] - (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- vpn
Gateway string - vpn
Gateway stringConnection - vpn
Gateway stringConnection Name - vpn
Gateway stringName
- admin_
state_ boolup - (Boolean) If set to false, the VPN gateway connection is shut down.
- authentication_
mode str - (String) The authentication mode. Only
psk
is currently supported. - created_
at str - (String) The date and time that this VPN gateway connection was created.
- dead_
peer_ Sequence[Getdetections Is Vpn Gateway Connection Dead Peer Detection] - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- distribute_
traffic bool - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - establish_
mode str - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - href str
- (String) The IPsec policy's canonical URL.
- id str
- (String) The unique identifier for this IPsec policy.
- ike_
policies Sequence[GetIs Vpn Gateway Connection Ike Policy] - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- ipsec_
policies Sequence[GetIs Vpn Gateway Connection Ipsec Policy] - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- local_
cidrs Sequence[str] - (List) The local CIDRs for this resource.
- locals
Sequence[Get
Is Vpn Gateway Connection Local] - (List) Nested schema for local:
- mode str
- (String) The mode of the VPN gateway.
- name str
- (String) The user-defined name for this VPN gateway connection.
- peer_
address str - (String) The IP address of the peer VPN gateway.
- peer_
cidrs Sequence[str] - (List) The peer CIDRs for this resource.
- peers
Sequence[Get
Is Vpn Gateway Connection Peer] - (List) Nested schema for peer:
- psk str
- (String) The preshared key.
- resource_
type str - (String) The resource type.
- routing_
protocol str - (String) Routing protocols are disabled for this VPN gateway connection.
- status str
- (String) The status of the VPN Tunnel.
- status_
reasons Sequence[GetIs Vpn Gateway Connection Status Reason] - (List) Array of reasons for the current status (if any).
- tunnels
Sequence[Get
Is Vpn Gateway Connection Tunnel] - (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- vpn_
gateway str - vpn_
gateway_ strconnection - vpn_
gateway_ strconnection_ name - vpn_
gateway_ strname
- admin
State BooleanUp - (Boolean) If set to false, the VPN gateway connection is shut down.
- authentication
Mode String - (String) The authentication mode. Only
psk
is currently supported. - created
At String - (String) The date and time that this VPN gateway connection was created.
- dead
Peer List<Property Map>Detections - (List) The Dead Peer Detection settings. Nested scheme for dead_peer_detection:
- distribute
Traffic Boolean - (Boolean) Indicates whether the traffic is distributed between the
up
tunnels of the VPN gateway connection when the VPC route's next hop is a VPN connection. Iffalse
, the traffic is only routed through theup
tunnel with the lowerpublic_ip
address. Distributing traffic across tunnels of route-based VPN gateway connections. Traffic across tunnels can be distributed with a status of up in a route-based VPN gateway connection. When creating or updating a route-based VPN gateway connection, set the distribute_traffic property to true (default is false). Existing connections will have thedistribute_traffic
property set to false. - establish
Mode String - (String) The establish mode of the VPN gateway connection:-
bidirectional
: Either side of the VPN gateway can initiate IKE protocol negotiations or rekeying processes.-peer_only
: Only the peer can initiate IKE protocol negotiations for this VPN gateway connection. Additionally, the peer is responsible for initiating the rekeying process after the connection is established. If rekeying does not occur, the VPN gateway connection will be brought down after its lifetime expires. - href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- ike
Policies List<Property Map> - (List) The IKE policy. If absent, auto-negotiation isused. Nested scheme for ike_policy:
- ipsec
Policies List<Property Map> - (List) The IPsec policy. If absent, auto-negotiation isused. Nested scheme for ipsec_policy:
- local
Cidrs List<String> - (List) The local CIDRs for this resource.
- locals List<Property Map>
- (List) Nested schema for local:
- mode String
- (String) The mode of the VPN gateway.
- name String
- (String) The user-defined name for this VPN gateway connection.
- peer
Address String - (String) The IP address of the peer VPN gateway.
- peer
Cidrs List<String> - (List) The peer CIDRs for this resource.
- peers List<Property Map>
- (List) Nested schema for peer:
- psk String
- (String) The preshared key.
- resource
Type String - (String) The resource type.
- routing
Protocol String - (String) Routing protocols are disabled for this VPN gateway connection.
- status String
- (String) The status of the VPN Tunnel.
- status
Reasons List<Property Map> - (List) Array of reasons for the current status (if any).
- tunnels List<Property Map>
- (List) The VPN tunnel configuration for this VPN gateway connection (in static route mode). Nested scheme for tunnels:
- vpn
Gateway String - vpn
Gateway StringConnection - vpn
Gateway StringConnection Name - vpn
Gateway StringName
Supporting Types
GetIsVpnGatewayConnectionDeadPeerDetection
GetIsVpnGatewayConnectionIkePolicy
- Deleteds
List<Get
Is Vpn Gateway Connection Ike Policy Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Resource
Type string - (String) The resource type.
- Deleteds
[]Get
Is Vpn Gateway Connection Ike Policy Deleted - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Resource
Type string - (String) The resource type.
- deleteds
List<Get
Is Vpn Gateway Connection Ike Policy Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- name String
- (String) The user-defined name for this VPN gateway connection.
- resource
Type String - (String) The resource type.
- deleteds
Get
Is Vpn Gateway Connection Ike Policy Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href string
- (String) The IPsec policy's canonical URL.
- id string
- (String) The unique identifier for this IPsec policy.
- name string
- (String) The user-defined name for this VPN gateway connection.
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Get
Is Vpn Gateway Connection Ike Policy Deleted] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href str
- (String) The IPsec policy's canonical URL.
- id str
- (String) The unique identifier for this IPsec policy.
- name str
- (String) The user-defined name for this VPN gateway connection.
- resource_
type str - (String) The resource type.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- name String
- (String) The user-defined name for this VPN gateway connection.
- resource
Type String - (String) The resource type.
GetIsVpnGatewayConnectionIkePolicyDeleted
- More
Info string - (String) Link to documentation about this status reason
- More
Info string - (String) Link to documentation about this status reason
- more
Info String - (String) Link to documentation about this status reason
- more
Info string - (String) Link to documentation about this status reason
- more_
info str - (String) Link to documentation about this status reason
- more
Info String - (String) Link to documentation about this status reason
GetIsVpnGatewayConnectionIpsecPolicy
- Deleteds
List<Get
Is Vpn Gateway Connection Ipsec Policy Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Resource
Type string - (String) The resource type.
- Deleteds
[]Get
Is Vpn Gateway Connection Ipsec Policy Deleted - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Href string
- (String) The IPsec policy's canonical URL.
- Id string
- (String) The unique identifier for this IPsec policy.
- Name string
- (String) The user-defined name for this VPN gateway connection.
- Resource
Type string - (String) The resource type.
- deleteds
List<Get
Is Vpn Gateway Connection Ipsec Policy Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- name String
- (String) The user-defined name for this VPN gateway connection.
- resource
Type String - (String) The resource type.
- deleteds
Get
Is Vpn Gateway Connection Ipsec Policy Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href string
- (String) The IPsec policy's canonical URL.
- id string
- (String) The unique identifier for this IPsec policy.
- name string
- (String) The user-defined name for this VPN gateway connection.
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Get
Is Vpn Gateway Connection Ipsec Policy Deleted] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href str
- (String) The IPsec policy's canonical URL.
- id str
- (String) The unique identifier for this IPsec policy.
- name str
- (String) The user-defined name for this VPN gateway connection.
- resource_
type str - (String) The resource type.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- href String
- (String) The IPsec policy's canonical URL.
- id String
- (String) The unique identifier for this IPsec policy.
- name String
- (String) The user-defined name for this VPN gateway connection.
- resource
Type String - (String) The resource type.
GetIsVpnGatewayConnectionIpsecPolicyDeleted
- More
Info string - (String) Link to documentation about this status reason
- More
Info string - (String) Link to documentation about this status reason
- more
Info String - (String) Link to documentation about this status reason
- more
Info string - (String) Link to documentation about this status reason
- more_
info str - (String) Link to documentation about this status reason
- more
Info String - (String) Link to documentation about this status reason
GetIsVpnGatewayConnectionLocal
- Cidrs List<string>
- Ike
Identities List<GetIs Vpn Gateway Connection Local Ike Identity> - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
- Cidrs []string
- Ike
Identities []GetIs Vpn Gateway Connection Local Ike Identity - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
- cidrs List<String>
- ike
Identities List<GetIs Vpn Gateway Connection Local Ike Identity> - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
- cidrs string[]
- ike
Identities GetIs Vpn Gateway Connection Local Ike Identity[] - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
- cidrs Sequence[str]
- ike_
identities Sequence[GetIs Vpn Gateway Connection Local Ike Identity] - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
- cidrs List<String>
- ike
Identities List<Property Map> - (List) The local IKE identities.A VPN gateway in static route mode consists of two members in active-active mode. The first identity applies to the first member, and the second identity applies to the second member. Nested schema for ike_identities:
GetIsVpnGatewayConnectionLocalIkeIdentity
GetIsVpnGatewayConnectionPeer
- Address string
- (String) The IP address of the peer VPN gateway for this connection.
- Cidrs List<string>
- Fqdn string
- (String) The FQDN of the peer VPN gateway for this connection.
- Ike
Identities List<GetIs Vpn Gateway Connection Peer Ike Identity> - (List) The peer IKE identity. Nested schema for ike_identity:
- Type string
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
- Address string
- (String) The IP address of the peer VPN gateway for this connection.
- Cidrs []string
- Fqdn string
- (String) The FQDN of the peer VPN gateway for this connection.
- Ike
Identities []GetIs Vpn Gateway Connection Peer Ike Identity - (List) The peer IKE identity. Nested schema for ike_identity:
- Type string
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
- address String
- (String) The IP address of the peer VPN gateway for this connection.
- cidrs List<String>
- fqdn String
- (String) The FQDN of the peer VPN gateway for this connection.
- ike
Identities List<GetIs Vpn Gateway Connection Peer Ike Identity> - (List) The peer IKE identity. Nested schema for ike_identity:
- type String
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
- address string
- (String) The IP address of the peer VPN gateway for this connection.
- cidrs string[]
- fqdn string
- (String) The FQDN of the peer VPN gateway for this connection.
- ike
Identities GetIs Vpn Gateway Connection Peer Ike Identity[] - (List) The peer IKE identity. Nested schema for ike_identity:
- type string
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
- address str
- (String) The IP address of the peer VPN gateway for this connection.
- cidrs Sequence[str]
- fqdn str
- (String) The FQDN of the peer VPN gateway for this connection.
- ike_
identities Sequence[GetIs Vpn Gateway Connection Peer Ike Identity] - (List) The peer IKE identity. Nested schema for ike_identity:
- type str
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
- address String
- (String) The IP address of the peer VPN gateway for this connection.
- cidrs List<String>
- fqdn String
- (String) The FQDN of the peer VPN gateway for this connection.
- ike
Identities List<Property Map> - (List) The peer IKE identity. Nested schema for ike_identity:
- type String
- (String) Indicates whether
peer.address
orpeer.fqdn
is used.
GetIsVpnGatewayConnectionPeerIkeIdentity
GetIsVpnGatewayConnectionStatusReason
GetIsVpnGatewayConnectionTunnel
- Public
Ip stringAddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Status string
- (String) The status of the VPN Tunnel.
- Public
Ip stringAddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Status string
- (String) The status of the VPN Tunnel.
- public
Ip StringAddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- status String
- (String) The status of the VPN Tunnel.
- public
Ip stringAddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- status string
- (String) The status of the VPN Tunnel.
- public_
ip_ straddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- status str
- (String) The status of the VPN Tunnel.
- public
Ip StringAddress - (String) The IP address of the VPN gateway member in which the tunnel resides. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- status String
- (String) The status of the VPN Tunnel.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.