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 |
Switches the network mode from auto subnet mode to custom subnet mode.
See: Compute Engine API Reference for compute.networks.switchToCustomMode
.
- type NetworksSwitchToCustomModeResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("networks" :> (Capture "network" Text :> ("switchToCustomMode" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))
- networksSwitchToCustomMode :: Text -> Text -> NetworksSwitchToCustomMode
- data NetworksSwitchToCustomMode
- nstcmProject :: Lens' NetworksSwitchToCustomMode Text
- nstcmNetwork :: Lens' NetworksSwitchToCustomMode Text
REST Resource
type NetworksSwitchToCustomModeResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("networks" :> (Capture "network" Text :> ("switchToCustomMode" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))) Source #
A resource alias for compute.networks.switchToCustomMode
method which the
NetworksSwitchToCustomMode
request conforms to.
Creating a Request
networksSwitchToCustomMode Source #
Creates a value of NetworksSwitchToCustomMode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NetworksSwitchToCustomMode Source #
Switches the network mode from auto subnet mode to custom subnet mode.
See: networksSwitchToCustomMode
smart constructor.
Request Lenses
nstcmProject :: Lens' NetworksSwitchToCustomMode Text Source #
Project ID for this request.
nstcmNetwork :: Lens' NetworksSwitchToCustomMode Text Source #
Name of the network to be updated.