gogol-replicapool-updater-0.4.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 # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

Data RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

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 # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

Generic RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

Associated Types

type Rep RollingUpdatesPause :: Type -> Type #

GoogleRequest RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

Associated Types

type Rs RollingUpdatesPause :: Type #

type Scopes RollingUpdatesPause :: [Symbol] #

type Rep RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

type Rep RollingUpdatesPause = D1 (MetaData "RollingUpdatesPause" "Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause" "gogol-replicapool-updater-0.4.0-J4Qp5AWx6n1EzrMIVL0K5h" False) (C1 (MetaCons "RollingUpdatesPause'" PrefixI True) (S1 (MetaSel (Just "_rupRollingUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rupProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rupZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

type Scopes RollingUpdatesPause = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/replicapool" ': ([] :: [Symbol]))
type Rs RollingUpdatesPause Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Pause

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.