gogol-replicapool-updater-0.3.0: Google Compute Engine Instance Group Updater SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

Contents

Description

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

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

rollingUpdatesPause Source #

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

Eq RollingUpdatesPause Source # 
Data RollingUpdatesPause Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RollingUpdatesPause -> c RollingUpdatesPause #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RollingUpdatesPause #

toConstr :: RollingUpdatesPause -> Constr #

dataTypeOf :: RollingUpdatesPause -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RollingUpdatesPause) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RollingUpdatesPause) #

gmapT :: (forall b. Data b => b -> b) -> RollingUpdatesPause -> RollingUpdatesPause #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RollingUpdatesPause -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RollingUpdatesPause -> r #

gmapQ :: (forall d. Data d => d -> u) -> RollingUpdatesPause -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RollingUpdatesPause -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RollingUpdatesPause -> m RollingUpdatesPause #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RollingUpdatesPause -> m RollingUpdatesPause #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RollingUpdatesPause -> m RollingUpdatesPause #

Show RollingUpdatesPause Source # 
Generic RollingUpdatesPause Source # 
GoogleRequest RollingUpdatesPause Source # 
type Rep RollingUpdatesPause Source # 
type Rep RollingUpdatesPause = D1 (MetaData "RollingUpdatesPause" "Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause" "gogol-replicapool-updater-0.3.0-KPhWrgXxMEH1VbBS688LUn" False) (C1 (MetaCons "RollingUpdatesPause'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rupRollingUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_rupProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rupZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes RollingUpdatesPause Source # 
type Scopes RollingUpdatesPause = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/replicapool" ([] Symbol))
type Rs RollingUpdatesPause Source # 

Request Lenses

rupProject :: Lens' RollingUpdatesPause Text Source #

The Google Developers Console project name.

rupZone :: Lens' RollingUpdatesPause Text Source #

The name of the zone in which the update's target resides.