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.GetSerialPortOutput

Contents

Description

Returns the last 1 MB of serial port output from the specified instance.

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

Synopsis

REST Resource

type InstancesGetSerialPortOutputResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("serialPort" :> (QueryParam "start" (Textual Int64) :> (QueryParam "port" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SerialPortOutput))))))))))) Source #

A resource alias for compute.instances.getSerialPortOutput method which the InstancesGetSerialPortOutput request conforms to.

Creating a Request

instancesGetSerialPortOutput Source #

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

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

data InstancesGetSerialPortOutput Source #

Returns the last 1 MB of serial port output from the specified instance.

See: instancesGetSerialPortOutput smart constructor.

Instances
Eq InstancesGetSerialPortOutput Source # 
Instance details

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

Data InstancesGetSerialPortOutput Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesGetSerialPortOutput -> Constr #

dataTypeOf :: InstancesGetSerialPortOutput -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesGetSerialPortOutput Source # 
Instance details

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

Generic InstancesGetSerialPortOutput Source # 
Instance details

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

Associated Types

type Rep InstancesGetSerialPortOutput :: Type -> Type #

GoogleRequest InstancesGetSerialPortOutput Source # 
Instance details

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

type Rep InstancesGetSerialPortOutput Source # 
Instance details

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

type Rep InstancesGetSerialPortOutput = D1 (MetaData "InstancesGetSerialPortOutput" "Network.Google.Resource.Compute.Instances.GetSerialPortOutput" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstancesGetSerialPortOutput'" PrefixI True) ((S1 (MetaSel (Just "_igspoProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igspoStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) :*: (S1 (MetaSel (Just "_igspoZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igspoPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: S1 (MetaSel (Just "_igspoInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstancesGetSerialPortOutput Source # 
Instance details

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

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

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

Request Lenses

igspoStart :: Lens' InstancesGetSerialPortOutput (Maybe Int64) Source #

Returns output starting from a specific byte position. Use this to page through output when the output is too large to return in a single request. For the initial request, leave this field unspecified. For subsequent calls, this field should be set to the next value returned in the previous call.

igspoZone :: Lens' InstancesGetSerialPortOutput Text Source #

The name of the zone for this request.

igspoPort :: Lens' InstancesGetSerialPortOutput Int32 Source #

Specifies which COM or serial port to retrieve data from.

igspoInstance :: Lens' InstancesGetSerialPortOutput Text Source #

Name of the instance scoping this request.