GetVPNGateway

Get a VPN gateway within GCE from its name.

Using GetVPNGateway

function getVPNGateway(args: GetVPNGatewayArgs, opts?: InvokeOptions): Promise<GetVPNGatewayResult>
function  get_vpn_gateway(name=None, project=None, region=None, opts=None)
func LookupVPNGateway(ctx *Context, args *LookupVPNGatewayArgs, opts ...InvokeOption) (*LookupVPNGatewayResult, error)

Note: This function is named LookupVPNGateway in the Go SDK.

public static class GetVPNGateway {
    public static Task<GetVPNGatewayResult> InvokeAsync(GetVPNGatewayArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the VPN gateway.

Project string

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

Region string

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

Name string

The name of the VPN gateway.

Project string

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

Region string

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

name string

The name of the VPN gateway.

project string

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

region string

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

name str

The name of the VPN gateway.

project str

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

region str

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

GetVPNGateway Result

The following output properties are available:

Description string

Description of this VPN gateway.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Network string

The network of this VPN gateway.

Project string
Region string

Region of this VPN gateway.

SelfLink string

The URI of the resource.

Description string

Description of this VPN gateway.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Network string

The network of this VPN gateway.

Project string
Region string

Region of this VPN gateway.

SelfLink string

The URI of the resource.

description string

Description of this VPN gateway.

id string

The provider-assigned unique ID for this managed resource.

name string
network string

The network of this VPN gateway.

project string
region string

Region of this VPN gateway.

selfLink string

The URI of the resource.

description str

Description of this VPN gateway.

id str

The provider-assigned unique ID for this managed resource.

name str
network str

The network of this VPN gateway.

project str
region str

Region of this VPN gateway.

self_link str

The URI of the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.