gogol-compute-0.3.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.Instances.DetachDisk

Contents

Description

Detaches a disk from an instance.

See: Compute Engine API Reference for compute.instances.detachDisk.

Synopsis

REST Resource

type InstancesDetachDiskResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("detachDisk" :> (QueryParam "deviceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))) Source #

A resource alias for compute.instances.detachDisk method which the InstancesDetachDisk request conforms to.

Creating a Request

instancesDetachDisk Source #

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

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

data InstancesDetachDisk Source #

Detaches a disk from an instance.

See: instancesDetachDisk smart constructor.

Instances

Eq InstancesDetachDisk Source # 
Data InstancesDetachDisk Source # 

Methods

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

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

toConstr :: InstancesDetachDisk -> Constr #

dataTypeOf :: InstancesDetachDisk -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesDetachDisk Source # 
Generic InstancesDetachDisk Source # 
GoogleRequest InstancesDetachDisk Source # 
type Rep InstancesDetachDisk Source # 
type Rep InstancesDetachDisk = D1 (MetaData "InstancesDetachDisk" "Network.Google.Resource.Compute.Instances.DetachDisk" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "InstancesDetachDisk'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iddProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_iddZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_iddDeviceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_iddInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstancesDetachDisk Source # 
type Scopes InstancesDetachDisk = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs InstancesDetachDisk Source # 

Request Lenses

iddProject :: Lens' InstancesDetachDisk Text Source #

Project ID for this request.

iddZone :: Lens' InstancesDetachDisk Text Source #

The name of the zone for this request.

iddDeviceName :: Lens' InstancesDetachDisk Text Source #

Disk device name to detach.