gogol-compute-0.4.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.SimulateMaintenanceEvent

Contents

Description

Simulates a maintenance event on the instance.

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

Synopsis

REST Resource

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

A resource alias for compute.instances.simulateMaintenanceEvent method which the InstancesSimulateMaintenanceEvent request conforms to.

Creating a Request

instancesSimulateMaintenanceEvent Source #

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

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

data InstancesSimulateMaintenanceEvent Source #

Simulates a maintenance event on the instance.

See: instancesSimulateMaintenanceEvent smart constructor.

Instances
Eq InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

Data InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

Methods

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

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

toConstr :: InstancesSimulateMaintenanceEvent -> Constr #

dataTypeOf :: InstancesSimulateMaintenanceEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

Generic InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

Associated Types

type Rep InstancesSimulateMaintenanceEvent :: Type -> Type #

GoogleRequest InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

type Rep InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

type Rep InstancesSimulateMaintenanceEvent = D1 (MetaData "InstancesSimulateMaintenanceEvent" "Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstancesSimulateMaintenanceEvent'" PrefixI True) (S1 (MetaSel (Just "_ismeProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ismeZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ismeInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InstancesSimulateMaintenanceEvent Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

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

Defined in Network.Google.Resource.Compute.Instances.SimulateMaintenanceEvent

Request Lenses

ismeZone :: Lens' InstancesSimulateMaintenanceEvent Text Source #

The name of the zone for this request.

ismeInstance :: Lens' InstancesSimulateMaintenanceEvent Text Source #

Name of the instance scoping this request.