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 group. Gets a list of available instance groups by making a list() request.
See: Compute Engine API Reference for compute.instanceGroups.get
.
Synopsis
- type InstanceGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroups" :> (Capture "instanceGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceGroup))))))))
- instanceGroupsGet :: Text -> Text -> Text -> InstanceGroupsGet
- data InstanceGroupsGet
- iggProject :: Lens' InstanceGroupsGet Text
- iggZone :: Lens' InstanceGroupsGet Text
- iggInstanceGroup :: Lens' InstanceGroupsGet Text
REST Resource
type InstanceGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroups" :> (Capture "instanceGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceGroup)))))))) Source #
A resource alias for compute.instanceGroups.get
method which the
InstanceGroupsGet
request conforms to.
Creating a Request
Creates a value of InstanceGroupsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupsGet Source #
Returns the specified instance group. Gets a list of available instance groups by making a list() request.
See: instanceGroupsGet
smart constructor.
Instances
Request Lenses
iggProject :: Lens' InstanceGroupsGet Text Source #
Project ID for this request.
iggZone :: Lens' InstanceGroupsGet Text Source #
The name of the zone where the instance group is located.
iggInstanceGroup :: Lens' InstanceGroupsGet Text Source #
The name of the instance group.