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 |
Deletes the specified target VPN gateway.
See: Compute Engine API Reference for compute.targetVpnGateways.delete
.
- type TargetVPNGatewaysDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetVpnGateways" :> (Capture "targetVpnGateway" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))
- targetVPNGatewaysDelete :: Text -> Text -> Text -> TargetVPNGatewaysDelete
- data TargetVPNGatewaysDelete
- tvgdProject :: Lens' TargetVPNGatewaysDelete Text
- tvgdTargetVPNGateway :: Lens' TargetVPNGatewaysDelete Text
- tvgdRegion :: Lens' TargetVPNGatewaysDelete Text
REST Resource
type TargetVPNGatewaysDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetVpnGateways" :> (Capture "targetVpnGateway" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))) Source #
A resource alias for compute.targetVpnGateways.delete
method which the
TargetVPNGatewaysDelete
request conforms to.
Creating a Request
targetVPNGatewaysDelete Source #
Creates a value of TargetVPNGatewaysDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TargetVPNGatewaysDelete Source #
Deletes the specified target VPN gateway.
See: targetVPNGatewaysDelete
smart constructor.
Request Lenses
tvgdProject :: Lens' TargetVPNGatewaysDelete Text Source #
Project ID for this request.
tvgdTargetVPNGateway :: Lens' TargetVPNGatewaysDelete Text Source #
Name of the target VPN gateway to delete.
tvgdRegion :: Lens' TargetVPNGatewaysDelete Text Source #
Name of the region for this request.