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 regional BackendService.
See: Compute Engine API Reference for compute.regionBackendServices.getHealth
.
Synopsis
- type RegionBackendServicesGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("backendServices" :> (Capture "backendService" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceGroupReference :> Post '[JSON] BackendServiceGroupHealth))))))))))
- regionBackendServicesGetHealth :: Text -> ResourceGroupReference -> Text -> Text -> RegionBackendServicesGetHealth
- data RegionBackendServicesGetHealth
- rbsghProject :: Lens' RegionBackendServicesGetHealth Text
- rbsghPayload :: Lens' RegionBackendServicesGetHealth ResourceGroupReference
- rbsghRegion :: Lens' RegionBackendServicesGetHealth Text
- rbsghBackendService :: Lens' RegionBackendServicesGetHealth Text
REST Resource
type RegionBackendServicesGetHealthResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("backendServices" :> (Capture "backendService" Text :> ("getHealth" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceGroupReference :> Post '[JSON] BackendServiceGroupHealth)))))))))) Source #
A resource alias for compute.regionBackendServices.getHealth
method which the
RegionBackendServicesGetHealth
request conforms to.
Creating a Request
regionBackendServicesGetHealth Source #
Creates a value of RegionBackendServicesGetHealth
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionBackendServicesGetHealth Source #
Gets the most recent health check results for this regional BackendService.
See: regionBackendServicesGetHealth
smart constructor.
Instances
Request Lenses
rbsghPayload :: Lens' RegionBackendServicesGetHealth ResourceGroupReference Source #
Multipart request metadata.
rbsghRegion :: Lens' RegionBackendServicesGetHealth Text Source #
Name of the region scoping this request.
rbsghBackendService :: Lens' RegionBackendServicesGetHealth Text Source #
Name of the BackendService resource for which to get health.