Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
See: Compute Engine API Reference for compute.vpnTunnels.get
.
Synopsis
- type VPNTunnelsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("vpnTunnels" :> (Capture "vpnTunnel" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VPNTunnel))))))))
- vpnTunnelsGet :: Text -> Text -> Text -> VPNTunnelsGet
- data VPNTunnelsGet
- vtgProject :: Lens' VPNTunnelsGet Text
- vtgVPNTunnel :: Lens' VPNTunnelsGet Text
- vtgRegion :: Lens' VPNTunnelsGet Text
REST Resource
type VPNTunnelsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("vpnTunnels" :> (Capture "vpnTunnel" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VPNTunnel)))))))) Source #
A resource alias for compute.vpnTunnels.get
method which the
VPNTunnelsGet
request conforms to.
Creating a Request
Creates a value of VPNTunnelsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VPNTunnelsGet Source #
Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
See: vpnTunnelsGet
smart constructor.
Instances
Request Lenses
vtgProject :: Lens' VPNTunnelsGet Text Source #
Project ID for this request.
vtgVPNTunnel :: Lens' VPNTunnelsGet Text Source #
Name of the VpnTunnel resource to return.