Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
VPN Gateway data source schema. Uses the defaultRegion specified in the provider configuration as a fallback in case no region is defined on datasource level.
Example Usage
data "stackit_vpn_gateway" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
gateway_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getVpnGateway
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 getVpnGateway(args: GetVpnGatewayArgs, opts?: InvokeOptions): Promise<GetVpnGatewayResult>
function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: InvokeOutputOptions): Output<GetVpnGatewayResult>def get_vpn_gateway(gateway_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpnGatewayResult
def get_vpn_gateway_output(gateway_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpnGatewayResult]func LookupVpnGateway(ctx *Context, args *LookupVpnGatewayArgs, opts ...InvokeOption) (*LookupVpnGatewayResult, error)
func LookupVpnGatewayOutput(ctx *Context, args *LookupVpnGatewayOutputArgs, opts ...InvokeOption) LookupVpnGatewayResultOutput> Note: This function is named LookupVpnGateway in the Go SDK.
public static class GetVpnGateway
{
public static Task<GetVpnGatewayResult> InvokeAsync(GetVpnGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetVpnGatewayResult> Invoke(GetVpnGatewayInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpnGatewayResult> Invoke(GetVpnGatewayInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpnGatewayResult> getVpnGateway(GetVpnGatewayArgs args, InvokeOptions options)
public static Output<GetVpnGatewayResult> getVpnGateway(GetVpnGatewayArgs args, InvokeOptions options)
public static Output<GetVpnGatewayResult> getVpnGateway(GetVpnGatewayArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getVpnGateway:getVpnGateway
arguments:
# arguments dictionarydata "stackit_get_vpn_gateway" "name" {
# arguments
}The following arguments are supported:
- gateway_
id string - The server-generated UUID of the VPN gateway.
- project_
id string - STACKIT project ID associated with the VPN gateway.
- gateway_
id str - The server-generated UUID of the VPN gateway.
- project_
id str - STACKIT project ID associated with the VPN gateway.
getVpnGateway Result
The following output properties are available:
- Availability
Zones GetVpn Gateway Availability Zones - Availability zones for the two tunnel endpoints.
- Bgp
Get
Vpn Gateway Bgp - BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- Display
Name string - A user-friendly name for the VPN gateway.
- Gateway
Id string - The server-generated UUID of the VPN gateway.
- Id string
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - Labels Dictionary<string, string>
- Map of custom labels (key-value string pairs).
- Plan
Id string - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - Project
Id string - STACKIT project ID associated with the VPN gateway.
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Routing
Type string - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- Availability
Zones GetVpn Gateway Availability Zones - Availability zones for the two tunnel endpoints.
- Bgp
Get
Vpn Gateway Bgp - BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- Display
Name string - A user-friendly name for the VPN gateway.
- Gateway
Id string - The server-generated UUID of the VPN gateway.
- Id string
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - Labels map[string]string
- Map of custom labels (key-value string pairs).
- Plan
Id string - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - Project
Id string - STACKIT project ID associated with the VPN gateway.
- Region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- Routing
Type string - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- availability_
zones object - Availability zones for the two tunnel endpoints.
- bgp object
- BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- display_
name string - A user-friendly name for the VPN gateway.
- gateway_
id string - The server-generated UUID of the VPN gateway.
- id string
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - labels map(string)
- Map of custom labels (key-value string pairs).
- plan_
id string - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - project_
id string - STACKIT project ID associated with the VPN gateway.
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- routing_
type string - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- availability
Zones GetVpn Gateway Availability Zones - Availability zones for the two tunnel endpoints.
- bgp
Get
Vpn Gateway Bgp - BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- display
Name String - A user-friendly name for the VPN gateway.
- gateway
Id String - The server-generated UUID of the VPN gateway.
- id String
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - labels Map<String,String>
- Map of custom labels (key-value string pairs).
- plan
Id String - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - project
Id String - STACKIT project ID associated with the VPN gateway.
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- routing
Type String - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- availability
Zones GetVpn Gateway Availability Zones - Availability zones for the two tunnel endpoints.
- bgp
Get
Vpn Gateway Bgp - BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- display
Name string - A user-friendly name for the VPN gateway.
- gateway
Id string - The server-generated UUID of the VPN gateway.
- id string
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - labels {[key: string]: string}
- Map of custom labels (key-value string pairs).
- plan
Id string - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - project
Id string - STACKIT project ID associated with the VPN gateway.
- region string
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- routing
Type string - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- availability_
zones GetVpn Gateway Availability Zones - Availability zones for the two tunnel endpoints.
- bgp
Get
Vpn Gateway Bgp - BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- display_
name str - A user-friendly name for the VPN gateway.
- gateway_
id str - The server-generated UUID of the VPN gateway.
- id str
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - labels Mapping[str, str]
- Map of custom labels (key-value string pairs).
- plan_
id str - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - project_
id str - STACKIT project ID associated with the VPN gateway.
- region str
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- routing_
type str - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
- availability
Zones Property Map - Availability zones for the two tunnel endpoints.
- bgp Property Map
- BGP configuration. Only applicable when routingtype is BGPROUTE_BASED.
- display
Name String - A user-friendly name for the VPN gateway.
- gateway
Id String - The server-generated UUID of the VPN gateway.
- id String
- Terraform's internal resource identifier. Structured as "
projectId,region,gatewayId". - labels Map<String>
- Map of custom labels (key-value string pairs).
- plan
Id String - The service plan identifier (e.g.
p500). For guidance on finding available plans, see List available service plans. - project
Id String - STACKIT project ID associated with the VPN gateway.
- region String
- STACKIT region name the resource is located in. If not defined, the provider region is used.
- routing
Type String - Routing architecture. Possible values are:
POLICY_BASED,ROUTE_BASED,BGP_ROUTE_BASED.
Supporting Types
GetVpnGatewayAvailabilityZones
GetVpnGatewayBgp
- Local
Asn int - Local ASN for BGP (private ASN range, 64512-4294967294).
- Override
Advertised List<string>Routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- Local
Asn int - Local ASN for BGP (private ASN range, 64512-4294967294).
- Override
Advertised []stringRoutes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- local_
asn number - Local ASN for BGP (private ASN range, 64512-4294967294).
- override_
advertised_ list(string)routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- local
Asn Integer - Local ASN for BGP (private ASN range, 64512-4294967294).
- override
Advertised List<String>Routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- local
Asn number - Local ASN for BGP (private ASN range, 64512-4294967294).
- override
Advertised string[]Routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- local_
asn int - Local ASN for BGP (private ASN range, 64512-4294967294).
- override_
advertised_ Sequence[str]routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
- local
Asn Number - Local ASN for BGP (private ASN range, 64512-4294967294).
- override
Advertised List<String>Routes - List of IPv4 CIDRs to advertise via BGP. If omitted, SNA network ranges are advertised.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud