gogol-compute-0.5.0: Google Compute Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Compute.TargetPools.GetHealth

Contents

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

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

targetPoolsGetHealth Source #

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
Eq TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

Data TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TargetPoolsGetHealth -> c TargetPoolsGetHealth #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TargetPoolsGetHealth #

toConstr :: TargetPoolsGetHealth -> Constr #

dataTypeOf :: TargetPoolsGetHealth -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TargetPoolsGetHealth) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TargetPoolsGetHealth) #

gmapT :: (forall b. Data b => b -> b) -> TargetPoolsGetHealth -> TargetPoolsGetHealth #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TargetPoolsGetHealth -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TargetPoolsGetHealth -> r #

gmapQ :: (forall d. Data d => d -> u) -> TargetPoolsGetHealth -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TargetPoolsGetHealth -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TargetPoolsGetHealth -> m TargetPoolsGetHealth #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetPoolsGetHealth -> m TargetPoolsGetHealth #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetPoolsGetHealth -> m TargetPoolsGetHealth #

Show TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

Generic TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

Associated Types

type Rep TargetPoolsGetHealth :: Type -> Type #

GoogleRequest TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

Associated Types

type Rs TargetPoolsGetHealth :: Type #

type Scopes TargetPoolsGetHealth :: [Symbol] #

type Rep TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

type Rep TargetPoolsGetHealth = D1 (MetaData "TargetPoolsGetHealth" "Network.Google.Resource.Compute.TargetPools.GetHealth" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "TargetPoolsGetHealth'" PrefixI True) ((S1 (MetaSel (Just "_tpghProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tpghTargetPool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tpghPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceReference) :*: S1 (MetaSel (Just "_tpghRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

type Scopes TargetPoolsGetHealth = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ("https://www.googleapis.com/auth/compute.readonly" ': ([] :: [Symbol])))
type Rs TargetPoolsGetHealth Source # 
Instance details

Defined in Network.Google.Resource.Compute.TargetPools.GetHealth

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.

tpghRegion :: Lens' TargetPoolsGetHealth Text Source #

Name of the region scoping this request.