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