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 |
Network.Google.Resource.Compute.Networks.SwitchToCustomMode
Description
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)))))))) #
A resource alias for compute.networks.switchToCustomMode
method which the
NetworksSwitchToCustomMode
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> NetworksSwitchToCustomMode |
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 #
Switches the network mode from auto subnet mode to custom subnet mode.
See: networksSwitchToCustomMode
smart constructor.
Instances
Request Lenses
nstcmProject :: Lens' NetworksSwitchToCustomMode Text #
Project ID for this request.
nstcmNetwork :: Lens' NetworksSwitchToCustomMode Text #
Name of the network to be updated.