getVPNGateway

Get a VPN gateway within GCE from its name.

Example Usage

data "google_compute_vpn_gateway" "my-vpn-gateway" {
name = "vpn-gateway-us-east1"
}

Return

A collection of values returned by getVPNGateway.

Parameters

argument

A collection of arguments for invoking getVPNGateway.


suspend fun getVPNGateway(name: String, project: String? = null, region: String? = null): GetVPNGatewayResult

Return

A collection of values returned by getVPNGateway.

Parameters

name

The name of the VPN gateway.

project

The project in which the resource belongs. If it is not provided, the provider project is used.

region

The region in which the resource belongs. If it is not provided, the project region is used.

See also


Return

A collection of values returned by getVPNGateway.

Parameters

argument

Builder for com.pulumi.gcp.compute.kotlin.inputs.GetVPNGatewayPlainArgs.

See also