| 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.HealthChecks.Get
Description
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
See: Compute Engine API Reference for compute.healthChecks.get.
Synopsis
- type HealthChecksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("healthChecks" :> (Capture "healthCheck" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] HealthCheck)))))))
- healthChecksGet :: Text -> Text -> HealthChecksGet
- data HealthChecksGet
- hcgHealthCheck :: Lens' HealthChecksGet Text
- hcgProject :: Lens' HealthChecksGet Text
REST Resource
type HealthChecksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("healthChecks" :> (Capture "healthCheck" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] HealthCheck))))))) Source #
A resource alias for compute.healthChecks.get method which the
HealthChecksGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> HealthChecksGet |
Creates a value of HealthChecksGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data HealthChecksGet Source #
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
See: healthChecksGet smart constructor.
Instances
Request Lenses
hcgHealthCheck :: Lens' HealthChecksGet Text Source #
Name of the HealthCheck resource to return.
hcgProject :: Lens' HealthChecksGet Text Source #
Project ID for this request.