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.InstanceTemplates.Delete

Contents

Description

Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone.

See: Compute Engine API Reference for compute.instanceTemplates.delete.

Synopsis

REST Resource

type InstanceTemplatesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))) Source #

A resource alias for compute.instanceTemplates.delete method which the InstanceTemplatesDelete request conforms to.

Creating a Request

instanceTemplatesDelete Source #

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

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

data InstanceTemplatesDelete Source #

Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone.

See: instanceTemplatesDelete smart constructor.

Instances

Eq InstanceTemplatesDelete Source # 
Data InstanceTemplatesDelete Source # 

Methods

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

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

toConstr :: InstanceTemplatesDelete -> Constr #

dataTypeOf :: InstanceTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

itdProject :: Lens' InstanceTemplatesDelete Text Source #

Project ID for this request.

itdInstanceTemplate :: Lens' InstanceTemplatesDelete Text Source #

The name of the instance template to delete.