Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the last 1 MB of serial port output from the specified instance.
See: Compute Engine API Reference for compute.instances.getSerialPortOutput
.
Synopsis
- 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)))))))))))
- instancesGetSerialPortOutput :: Text -> Text -> Text -> InstancesGetSerialPortOutput
- data InstancesGetSerialPortOutput
- igspoProject :: Lens' InstancesGetSerialPortOutput Text
- igspoStart :: Lens' InstancesGetSerialPortOutput (Maybe Int64)
- igspoZone :: Lens' InstancesGetSerialPortOutput Text
- igspoPort :: Lens' InstancesGetSerialPortOutput Int32
- igspoInstance :: Lens' InstancesGetSerialPortOutput Text
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
Request Lenses
igspoProject :: Lens' InstancesGetSerialPortOutput Text Source #
Project ID for this request.
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.
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.