gogol-compute-0.1.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.DeleteInstances

Contents

Description

Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.

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

Synopsis

REST Resource

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

A resource alias for compute.instanceGroupManagers.deleteInstances method which the InstanceGroupManagersDeleteInstances request conforms to.

Creating a Request

data InstanceGroupManagersDeleteInstances Source #

Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.

See: instanceGroupManagersDeleteInstances smart constructor.

Instances

Eq InstanceGroupManagersDeleteInstances Source # 
Data InstanceGroupManagersDeleteInstances Source # 

Methods

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

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

toConstr :: InstanceGroupManagersDeleteInstances -> Constr #

dataTypeOf :: InstanceGroupManagersDeleteInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupManagersDeleteInstances Source # 
Generic InstanceGroupManagersDeleteInstances Source # 
GoogleRequest InstanceGroupManagersDeleteInstances Source # 
type Rep InstanceGroupManagersDeleteInstances Source # 
type Rep InstanceGroupManagersDeleteInstances = D1 (MetaData "InstanceGroupManagersDeleteInstances" "Network.Google.Resource.Compute.InstanceGroupManagers.DeleteInstances" "gogol-compute-0.1.0-Fd4nHFZ7jFE8hoV8Pam8UC" False) (C1 (MetaCons "InstanceGroupManagersDeleteInstances'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_igmdiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmdiInstanceGroupManager") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_igmdiZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_igmdiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupManagersDeleteInstancesRequest)))))
type Scopes InstanceGroupManagersDeleteInstances Source # 
type Scopes InstanceGroupManagersDeleteInstances = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs InstanceGroupManagersDeleteInstances Source # 

Request Lenses

igmdiZone :: Lens' InstanceGroupManagersDeleteInstances Text Source #

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