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 NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.
See: Compute Engine API Reference for compute.nodeGroups.get
.
Synopsis
- type NodeGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "nodeGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeGroup))))))))
- nodeGroupsGet :: Text -> Text -> Text -> NodeGroupsGet
- data NodeGroupsGet
- nggNodeGroup :: Lens' NodeGroupsGet Text
- nggProject :: Lens' NodeGroupsGet Text
- nggZone :: Lens' NodeGroupsGet Text
REST Resource
type NodeGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "nodeGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeGroup)))))))) Source #
A resource alias for compute.nodeGroups.get
method which the
NodeGroupsGet
request conforms to.
Creating a Request
Creates a value of NodeGroupsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NodeGroupsGet Source #
Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.
See: nodeGroupsGet
smart constructor.
Instances
Request Lenses
nggNodeGroup :: Lens' NodeGroupsGet Text Source #
Name of the node group to return.
nggProject :: Lens' NodeGroupsGet Text Source #
Project ID for this request.