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 |
Cancels an update. The update must be PAUSED before it can be cancelled. This has no effect if the update is already CANCELLED.
See: Google Compute Engine Instance Group Updater API Reference for replicapoolupdater.rollingUpdates.cancel
.
Synopsis
- type RollingUpdatesCancelResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (Capture "rollingUpdate" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- rollingUpdatesCancel :: Text -> Text -> Text -> RollingUpdatesCancel
- data RollingUpdatesCancel
- rucRollingUpdate :: Lens' RollingUpdatesCancel Text
- rucProject :: Lens' RollingUpdatesCancel Text
- rucZone :: Lens' RollingUpdatesCancel Text
REST Resource
type RollingUpdatesCancelResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (Capture "rollingUpdate" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for replicapoolupdater.rollingUpdates.cancel
method which the
RollingUpdatesCancel
request conforms to.
Creating a Request
Creates a value of RollingUpdatesCancel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RollingUpdatesCancel Source #
Cancels an update. The update must be PAUSED before it can be cancelled. This has no effect if the update is already CANCELLED.
See: rollingUpdatesCancel
smart constructor.
Instances
Request Lenses
rucRollingUpdate :: Lens' RollingUpdatesCancel Text Source #
The name of the update.
rucProject :: Lens' RollingUpdatesCancel Text Source #
The Google Developers Console project name.