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