gogol-compute-0.5.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 "requestId" Text :> (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 # 
Instance details

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

Data InstanceGroupManagersSetTargetPools Source # 
Instance details

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

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 # 
Instance details

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

Generic InstanceGroupManagersSetTargetPools Source # 
Instance details

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

GoogleRequest InstanceGroupManagersSetTargetPools Source # 
Instance details

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

type Rep InstanceGroupManagersSetTargetPools Source # 
Instance details

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

type Rep InstanceGroupManagersSetTargetPools = D1 (MetaData "InstanceGroupManagersSetTargetPools" "Network.Google.Resource.Compute.InstanceGroupManagers.SetTargetPools" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "InstanceGroupManagersSetTargetPools'" PrefixI True) ((S1 (MetaSel (Just "_igmstpRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_igmstpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_igmstpInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igmstpZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igmstpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupManagersSetTargetPoolsRequest)))))
type Scopes InstanceGroupManagersSetTargetPools Source # 
Instance details

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

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

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

Request Lenses

igmstpRequestId :: Lens' InstanceGroupManagersSetTargetPools (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).

igmstpZone :: Lens' InstanceGroupManagersSetTargetPools Text Source #

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