Skip to main content

vpn_gateways_status

Creates, updates, deletes, gets or lists a vpn_gateways_status resource.

Overview

Namevpn_gateways_status
TypeResource
Idgoogle.compute.vpn_gateways_status

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
resultobject (id: VpnGatewayStatus)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_statusselectproject, region, vpnGatewayReturns the status for the specified VPN gateway.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectstring
regionstring
vpnGatewaystring

SELECT examples

Returns the status for the specified VPN gateway.

SELECT
result
FROM google.compute.vpn_gateways_status
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND vpnGateway = '{{ vpnGateway }}' -- required;