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 |
Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no effect if invoked when the state of the update is PAUSED.
See: Google Compute Engine Instance Group Updater API Reference for replicapoolupdater.rollingUpdates.pause
.
Synopsis
- type RollingUpdatesPauseResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (Capture "rollingUpdate" Text :> ("pause" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- rollingUpdatesPause :: Text -> Text -> Text -> RollingUpdatesPause
- data RollingUpdatesPause
- rupRollingUpdate :: Lens' RollingUpdatesPause Text
- rupProject :: Lens' RollingUpdatesPause Text
- rupZone :: Lens' RollingUpdatesPause Text
REST Resource
type RollingUpdatesPauseResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (Capture "rollingUpdate" Text :> ("pause" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for replicapoolupdater.rollingUpdates.pause
method which the
RollingUpdatesPause
request conforms to.
Creating a Request
Creates a value of RollingUpdatesPause
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RollingUpdatesPause Source #
Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no effect if invoked when the state of the update is PAUSED.
See: rollingUpdatesPause
smart constructor.
Instances
Request Lenses
rupRollingUpdate :: Lens' RollingUpdatesPause Text Source #
The name of the update.
rupProject :: Lens' RollingUpdatesPause Text Source #
The Google Developers Console project name.