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 |
Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.
See: Compute Engine API Reference for compute.autoscalers.get
.
Synopsis
- type AutoscalersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Autoscaler))))))))
- autoscalersGet :: Text -> Text -> Text -> AutoscalersGet
- data AutoscalersGet
- agProject :: Lens' AutoscalersGet Text
- agZone :: Lens' AutoscalersGet Text
- agAutoscaler :: Lens' AutoscalersGet Text
REST Resource
type AutoscalersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Autoscaler)))))))) Source #
A resource alias for compute.autoscalers.get
method which the
AutoscalersGet
request conforms to.
Creating a Request
Creates a value of AutoscalersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AutoscalersGet Source #
Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.
See: autoscalersGet
smart constructor.
Instances
Request Lenses
agAutoscaler :: Lens' AutoscalersGet Text Source #
Name of the autoscaler to return.