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 type. Gets a list of available node types by making a list() request.
See: Compute Engine API Reference for compute.nodeTypes.get
.
Synopsis
- type NodeTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeTypes" :> (Capture "nodeType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeType))))))))
- nodeTypesGet :: Text -> Text -> Text -> NodeTypesGet
- data NodeTypesGet
- ntgProject :: Lens' NodeTypesGet Text
- ntgZone :: Lens' NodeTypesGet Text
- ntgNodeType :: Lens' NodeTypesGet Text
REST Resource
type NodeTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeTypes" :> (Capture "nodeType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeType)))))))) Source #
A resource alias for compute.nodeTypes.get
method which the
NodeTypesGet
request conforms to.
Creating a Request
Creates a value of NodeTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NodeTypesGet Source #
Returns the specified node type. Gets a list of available node types by making a list() request.
See: nodeTypesGet
smart constructor.
Instances
Request Lenses
ntgProject :: Lens' NodeTypesGet Text Source #
Project ID for this request.
ntgNodeType :: Lens' NodeTypesGet Text Source #
Name of the node type to return.