gogol-replicapool-0.5.0: Google Replica Pool 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.ReplicaPool.Pools.Insert

Contents

Description

Inserts a new replica pool.

See: Replica Pool API Reference for replicapool.pools.insert.

Synopsis

REST Resource

type PoolsInsertResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Pool :> Post '[JSON] Pool)))))))) Source #

A resource alias for replicapool.pools.insert method which the PoolsInsert request conforms to.

Creating a Request

poolsInsert Source #

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

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

data PoolsInsert Source #

Inserts a new replica pool.

See: poolsInsert smart constructor.

Instances
Eq PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Data PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Methods

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

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

toConstr :: PoolsInsert -> Constr #

dataTypeOf :: PoolsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Generic PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Associated Types

type Rep PoolsInsert :: Type -> Type #

GoogleRequest PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Associated Types

type Rs PoolsInsert :: Type #

type Scopes PoolsInsert :: [Symbol] #

type Rep PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

type Rep PoolsInsert = D1 (MetaData "PoolsInsert" "Network.Google.Resource.ReplicaPool.Pools.Insert" "gogol-replicapool-0.5.0-33CZPZk0hLaDkDApSMoCYi" False) (C1 (MetaCons "PoolsInsert'" PrefixI True) (S1 (MetaSel (Just "_piZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_piPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Pool) :*: S1 (MetaSel (Just "_piProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes PoolsInsert Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

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

Defined in Network.Google.Resource.ReplicaPool.Pools.Insert

Request Lenses

piZone :: Lens' PoolsInsert Text Source #

The zone for this replica pool.

piPayload :: Lens' PoolsInsert Pool Source #

Multipart request metadata.

piProjectName :: Lens' PoolsInsert Text Source #

The project ID for this replica pool.