gogol-compute-0.3.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.BackendServices.GetHealth

Contents

Description

Gets the most recent health check results for this BackendService.

See: Compute Engine API Reference for compute.backendServices.getHealth.

Synopsis

REST Resource

type BackendServicesGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("backendServices" :> (Capture "backendService" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceGroupReference :> Post '[JSON] BackendServiceGroupHealth))))))))) Source #

A resource alias for compute.backendServices.getHealth method which the BackendServicesGetHealth request conforms to.

Creating a Request

backendServicesGetHealth Source #

Creates a value of BackendServicesGetHealth with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BackendServicesGetHealth Source #

Gets the most recent health check results for this BackendService.

See: backendServicesGetHealth smart constructor.

Instances

Eq BackendServicesGetHealth Source # 
Data BackendServicesGetHealth Source # 

Methods

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

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

toConstr :: BackendServicesGetHealth -> Constr #

dataTypeOf :: BackendServicesGetHealth -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BackendServicesGetHealth Source # 
Generic BackendServicesGetHealth Source # 
GoogleRequest BackendServicesGetHealth Source # 
type Rep BackendServicesGetHealth Source # 
type Rep BackendServicesGetHealth = D1 (MetaData "BackendServicesGetHealth" "Network.Google.Resource.Compute.BackendServices.GetHealth" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "BackendServicesGetHealth'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bsghProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_bsghPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceGroupReference)) (S1 (MetaSel (Just Symbol "_bsghBackendService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes BackendServicesGetHealth Source # 
type Scopes BackendServicesGetHealth = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs BackendServicesGetHealth Source # 

Request Lenses

bsghBackendService :: Lens' BackendServicesGetHealth Text Source #

Name of the BackendService resource to which the queried instance belongs.