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 target pool. Gets a list of available target pools by making a list() request.
See: Compute Engine API Reference for compute.targetPools.get
.
Synopsis
- type TargetPoolsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetPools" :> (Capture "targetPool" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetPool))))))))
- targetPoolsGet :: Text -> Text -> Text -> TargetPoolsGet
- data TargetPoolsGet
- tpgProject :: Lens' TargetPoolsGet Text
- tpgTargetPool :: Lens' TargetPoolsGet Text
- tpgRegion :: Lens' TargetPoolsGet Text
REST Resource
type TargetPoolsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetPools" :> (Capture "targetPool" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetPool)))))))) Source #
A resource alias for compute.targetPools.get
method which the
TargetPoolsGet
request conforms to.
Creating a Request
Creates a value of TargetPoolsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TargetPoolsGet Source #
Returns the specified target pool. Gets a list of available target pools by making a list() request.
See: targetPoolsGet
smart constructor.
Instances
Request Lenses
tpgProject :: Lens' TargetPoolsGet Text Source #
Project ID for this request.
tpgTargetPool :: Lens' TargetPoolsGet Text Source #
Name of the TargetPool resource to return.