| 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 |
Network.Google.Resource.Compute.TargetPools.GetHealth
Description
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
See: Compute Engine API Reference for compute.targetPools.getHealth.
Synopsis
- type TargetPoolsGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetPools" :> (Capture "targetPool" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceReference :> Post '[JSON] TargetPoolInstanceHealth))))))))))
- targetPoolsGetHealth :: Text -> Text -> InstanceReference -> Text -> TargetPoolsGetHealth
- data TargetPoolsGetHealth
- tpghProject :: Lens' TargetPoolsGetHealth Text
- tpghTargetPool :: Lens' TargetPoolsGetHealth Text
- tpghPayload :: Lens' TargetPoolsGetHealth InstanceReference
- tpghRegion :: Lens' TargetPoolsGetHealth Text
REST Resource
type TargetPoolsGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetPools" :> (Capture "targetPool" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceReference :> Post '[JSON] TargetPoolInstanceHealth)))))))))) Source #
A resource alias for compute.targetPools.getHealth method which the
TargetPoolsGetHealth request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> InstanceReference | |
| -> Text | |
| -> TargetPoolsGetHealth |
Creates a value of TargetPoolsGetHealth with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TargetPoolsGetHealth Source #
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
See: targetPoolsGetHealth smart constructor.
Instances
Request Lenses
tpghProject :: Lens' TargetPoolsGetHealth Text Source #
Project ID for this request.
tpghTargetPool :: Lens' TargetPoolsGetHealth Text Source #
Name of the TargetPool resource to which the queried instance belongs.
tpghPayload :: Lens' TargetPoolsGetHealth InstanceReference Source #
Multipart request metadata.
tpghRegion :: Lens' TargetPoolsGetHealth Text Source #
Name of the region scoping this request.