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.InstanceGroupManagers.SetTargetPools

Contents

Description

Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.

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

Synopsis

REST Resource

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

A resource alias for compute.instanceGroupManagers.setTargetPools method which the InstanceGroupManagersSetTargetPools request conforms to.

Creating a Request

data InstanceGroupManagersSetTargetPools Source #

Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.

See: instanceGroupManagersSetTargetPools smart constructor.

Instances

Eq InstanceGroupManagersSetTargetPools Source # 
Data InstanceGroupManagersSetTargetPools Source # 

Methods

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

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

toConstr :: InstanceGroupManagersSetTargetPools -> Constr #

dataTypeOf :: InstanceGroupManagersSetTargetPools -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupManagersSetTargetPools Source # 
Generic InstanceGroupManagersSetTargetPools Source # 
GoogleRequest InstanceGroupManagersSetTargetPools Source # 
type Rep InstanceGroupManagersSetTargetPools Source # 
type Rep InstanceGroupManagersSetTargetPools = D1 (MetaData "InstanceGroupManagersSetTargetPools" "Network.Google.Resource.Compute.InstanceGroupManagers.SetTargetPools" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "InstanceGroupManagersSetTargetPools'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_igmstpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmstpInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_igmstpZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmstpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupManagersSetTargetPoolsRequest)))))
type Scopes InstanceGroupManagersSetTargetPools Source # 
type Scopes InstanceGroupManagersSetTargetPools = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs InstanceGroupManagersSetTargetPools Source # 

Request Lenses

igmstpZone :: Lens' InstanceGroupManagersSetTargetPools Text Source #

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