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 |
Gets the most recent health check results for this BackendService.
See: Compute Engine API Reference for compute.backendServices.getHealth
.
Synopsis
- type BackendServicesGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("backendServices" :> (Capture "backendService" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceGroupReference :> Post '[JSON] BackendServiceGroupHealth)))))))))
- backendServicesGetHealth :: Text -> ResourceGroupReference -> Text -> BackendServicesGetHealth
- data BackendServicesGetHealth
- bsghProject :: Lens' BackendServicesGetHealth Text
- bsghPayload :: Lens' BackendServicesGetHealth ResourceGroupReference
- bsghBackendService :: Lens' BackendServicesGetHealth Text
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
Request Lenses
bsghPayload :: Lens' BackendServicesGetHealth ResourceGroupReference Source #
Multipart request metadata.
bsghBackendService :: Lens' BackendServicesGetHealth Text Source #
Name of the BackendService resource to which the queried instance belongs.