gogol-replicapool-0.3.0: Google Compute Engine Instance Group Manager 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.InstanceGroupManagers.Resize

Contents

Description

Resizes the managed instance group up or down. If resized up, new instances are created using the current instance template. If resized down, instances are removed in the order outlined in Resizing a managed instance group.

See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.resize.

Synopsis

REST Resource

type InstanceGroupManagersResizeResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("resize" :> (QueryParam "size" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))) #

A resource alias for replicapool.instanceGroupManagers.resize method which the InstanceGroupManagersResize request conforms to.

Creating a Request

instanceGroupManagersResize #

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

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

data InstanceGroupManagersResize #

Resizes the managed instance group up or down. If resized up, new instances are created using the current instance template. If resized down, instances are removed in the order outlined in Resizing a managed instance group.

See: instanceGroupManagersResize smart constructor.

Instances

Eq InstanceGroupManagersResize # 
Data InstanceGroupManagersResize # 

Methods

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

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

toConstr :: InstanceGroupManagersResize -> Constr #

dataTypeOf :: InstanceGroupManagersResize -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupManagersResize # 
Generic InstanceGroupManagersResize # 
GoogleRequest InstanceGroupManagersResize # 
type Rep InstanceGroupManagersResize # 
type Rep InstanceGroupManagersResize = D1 (MetaData "InstanceGroupManagersResize" "Network.Google.Resource.ReplicaPool.InstanceGroupManagers.Resize" "gogol-replicapool-0.3.0-1Z9O9b7jxlBKdMhZgflDJG" False) (C1 (MetaCons "InstanceGroupManagersResize'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_igmrProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmrSize") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_igmrInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmrZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstanceGroupManagersResize # 
type Scopes InstanceGroupManagersResize = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs InstanceGroupManagersResize # 

Request Lenses

igmrProject :: Lens' InstanceGroupManagersResize Text #

The Google Developers Console project name.

igmrSize :: Lens' InstanceGroupManagersResize Int32 #

Number of instances that should exist in this Instance Group Manager.

igmrInstanceGroupManager :: Lens' InstanceGroupManagersResize Text #

The name of the instance group manager.

igmrZone :: Lens' InstanceGroupManagersResize Text #

The name of the zone in which the instance group manager resides.