gogol-compute-0.4.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.InstanceGroupManagers.SetInstanceTemplate

Contents

Description

Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.

See: Compute Engine API Reference for compute.instanceGroupManagers.setInstanceTemplate.

Synopsis

REST Resource

type InstanceGroupManagersSetInstanceTemplateResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("setInstanceTemplate" :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersSetInstanceTemplateRequest :> Post '[JSON] Operation))))))))))) Source #

A resource alias for compute.instanceGroupManagers.setInstanceTemplate method which the InstanceGroupManagersSetInstanceTemplate request conforms to.

Creating a Request

data InstanceGroupManagersSetInstanceTemplate Source #

Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.

See: instanceGroupManagersSetInstanceTemplate smart constructor.

Instances
Eq InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

Data InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

Methods

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

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

toConstr :: InstanceGroupManagersSetInstanceTemplate -> Constr #

dataTypeOf :: InstanceGroupManagersSetInstanceTemplate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

Generic InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

GoogleRequest InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

type Rep InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

type Rep InstanceGroupManagersSetInstanceTemplate = D1 (MetaData "InstanceGroupManagersSetInstanceTemplate" "Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstanceGroupManagersSetInstanceTemplate'" PrefixI True) ((S1 (MetaSel (Just "_igmsitRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_igmsitProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_igmsitInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igmsitZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igmsitPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupManagersSetInstanceTemplateRequest)))))
type Scopes InstanceGroupManagersSetInstanceTemplate Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

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

Defined in Network.Google.Resource.Compute.InstanceGroupManagers.SetInstanceTemplate

Request Lenses

igmsitRequestId :: Lens' InstanceGroupManagersSetInstanceTemplate (Maybe Text) Source #

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

igmsitZone :: Lens' InstanceGroupManagersSetInstanceTemplate Text Source #

The name of the zone where the managed instance group is located.