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 node template. Gets a list of available node templates by making a list() request.
See: Compute Engine API Reference for compute.nodeTemplates.get
.
Synopsis
- type NodeTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "nodeTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeTemplate))))))))
- nodeTemplatesGet :: Text -> Text -> Text -> NodeTemplatesGet
- data NodeTemplatesGet
- nodProject :: Lens' NodeTemplatesGet Text
- nodNodeTemplate :: Lens' NodeTemplatesGet Text
- nodRegion :: Lens' NodeTemplatesGet Text
REST Resource
type NodeTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "nodeTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeTemplate)))))))) Source #
A resource alias for compute.nodeTemplates.get
method which the
NodeTemplatesGet
request conforms to.
Creating a Request
Creates a value of NodeTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NodeTemplatesGet Source #
Returns the specified node template. Gets a list of available node templates by making a list() request.
See: nodeTemplatesGet
smart constructor.
Instances
Request Lenses
nodProject :: Lens' NodeTemplatesGet Text Source #
Project ID for this request.
nodNodeTemplate :: Lens' NodeTemplatesGet Text Source #
Name of the node template to return.