gogol-compute-0.2.0: Google Compute Engine 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.Compute.InstanceGroups.Insert

Contents

Description

Creates an instance group in the specified project using the parameters that are included in the request.

See: Compute Engine API Reference for compute.instanceGroups.insert.

Synopsis

REST Resource

type InstanceGroupsInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroup :> Post '[JSON] Operation)))))))) Source #

A resource alias for compute.instanceGroups.insert method which the InstanceGroupsInsert request conforms to.

Creating a Request

instanceGroupsInsert Source #

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

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

data InstanceGroupsInsert Source #

Creates an instance group in the specified project using the parameters that are included in the request.

See: instanceGroupsInsert smart constructor.

Instances

Eq InstanceGroupsInsert Source # 
Data InstanceGroupsInsert Source # 

Methods

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

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

toConstr :: InstanceGroupsInsert -> Constr #

dataTypeOf :: InstanceGroupsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupsInsert Source # 
Generic InstanceGroupsInsert Source # 
GoogleRequest InstanceGroupsInsert Source # 
type Rep InstanceGroupsInsert Source # 
type Rep InstanceGroupsInsert = D1 (MetaData "InstanceGroupsInsert" "Network.Google.Resource.Compute.InstanceGroups.Insert" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "InstanceGroupsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_igiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_igiZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroup)))))
type Scopes InstanceGroupsInsert Source # 
type Scopes InstanceGroupsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs InstanceGroupsInsert Source # 

Request Lenses

igiProject :: Lens' InstanceGroupsInsert Text Source #

Project ID for this request.

igiZone :: Lens' InstanceGroupsInsert Text Source #

The name of the zone where you want to create the instance group.