gogol-replicapool-updater-0.2.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.Insert

Contents

Description

Inserts and starts a new update.

See: Google Compute Engine Instance Group Updater API Reference for replicapoolupdater.rollingUpdates.insert.

Synopsis

REST Resource

type RollingUpdatesInsertResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollingUpdate :> Post '[JSON] Operation)))))))) Source #

A resource alias for replicapoolupdater.rollingUpdates.insert method which the RollingUpdatesInsert request conforms to.

Creating a Request

rollingUpdatesInsert Source #

Creates a value of RollingUpdatesInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RollingUpdatesInsert Source #

Inserts and starts a new update.

See: rollingUpdatesInsert smart constructor.

Instances

Eq RollingUpdatesInsert Source # 
Data RollingUpdatesInsert Source # 

Methods

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

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

toConstr :: RollingUpdatesInsert -> Constr #

dataTypeOf :: RollingUpdatesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RollingUpdatesInsert Source # 
Generic RollingUpdatesInsert Source # 
GoogleRequest RollingUpdatesInsert Source # 
type Rep RollingUpdatesInsert Source # 
type Rep RollingUpdatesInsert = D1 (MetaData "RollingUpdatesInsert" "Network.Google.Resource.ReplicaPoolUpdater.RollingUpdates.Insert" "gogol-replicapool-updater-0.2.0-AFTdzj3SI5kAg0Qz9B06re" False) (C1 (MetaCons "RollingUpdatesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ruiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ruiZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ruiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RollingUpdate)))))
type Scopes RollingUpdatesInsert Source # 
type Scopes RollingUpdatesInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/replicapool" ([] Symbol))
type Rs RollingUpdatesInsert Source # 

Request Lenses

ruiProject :: Lens' RollingUpdatesInsert Text Source #

The Google Developers Console project name.

ruiZone :: Lens' RollingUpdatesInsert Text Source #

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