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 |
Network.Google.Resource.Compute.Instances.Get
Description
Returns the specified Instance resource. Get a list of available instances by making a list() request.
See: Compute Engine API Reference for compute.instances.get
.
- 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)))))))) #
A resource alias for compute.instances.get
method which the
InstancesGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> InstancesGet |
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 #
Returns the specified Instance resource. Get a list of available instances by making a list() request.
See: instancesGet
smart constructor.
Instances
Eq InstancesGet # | |
Data InstancesGet # | |
Show InstancesGet # | |
Generic InstancesGet # | |
GoogleRequest InstancesGet # | |
type Rep InstancesGet # | |
type Scopes InstancesGet # | |
type Rs InstancesGet # | |
Request Lenses
igProject :: Lens' InstancesGet Text #
Project ID for this request.
igZone :: Lens' InstancesGet Text #
The name of the zone for this request.
igInstance :: Lens' InstancesGet Text #
Name of the instance resource to return.