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 template. Gets a list of available instance templates by making a list() request.
See: Compute Engine API Reference for compute.instanceTemplates.get
.
Synopsis
- type InstanceTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceTemplate)))))))
- instanceTemplatesGet :: Text -> Text -> InstanceTemplatesGet
- data InstanceTemplatesGet
- itgProject :: Lens' InstanceTemplatesGet Text
- itgInstanceTemplate :: Lens' InstanceTemplatesGet Text
REST Resource
type InstanceTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceTemplate))))))) Source #
A resource alias for compute.instanceTemplates.get
method which the
InstanceTemplatesGet
request conforms to.
Creating a Request
Creates a value of InstanceTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceTemplatesGet Source #
Returns the specified instance template. Gets a list of available instance templates by making a list() request.
See: instanceTemplatesGet
smart constructor.
Instances
Request Lenses
itgProject :: Lens' InstanceTemplatesGet Text Source #
Project ID for this request.
itgInstanceTemplate :: Lens' InstanceTemplatesGet Text Source #
The name of the instance template.