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 specified Instance resource. Gets a list of available instances by making a list() request.
See: Compute Engine API Reference for compute.instances.get
.
Synopsis
- type InstancesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Instance))))))))
- instancesGet :: Text -> Text -> Text -> InstancesGet
- data InstancesGet
- igProject :: Lens' InstancesGet Text
- igZone :: Lens' InstancesGet Text
- igInstance :: Lens' InstancesGet Text
REST Resource
type InstancesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Instance)))))))) Source #
A resource alias for compute.instances.get
method which the
InstancesGet
request conforms to.
Creating a Request
Creates a value of InstancesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesGet Source #
Returns the specified Instance resource. Gets a list of available instances by making a list() request.
See: instancesGet
smart constructor.
Instances
Request Lenses
igInstance :: Lens' InstancesGet Text Source #
Name of the instance resource to return.