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.
See: Compute Engine API Reference for compute.regionAutoscalers.get
.
Synopsis
- type RegionAutoscalersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Autoscaler))))))))
- regionAutoscalersGet :: Text -> Text -> Text -> RegionAutoscalersGet
- data RegionAutoscalersGet
- ragProject :: Lens' RegionAutoscalersGet Text
- ragAutoscaler :: Lens' RegionAutoscalersGet Text
- ragRegion :: Lens' RegionAutoscalersGet Text
REST Resource
type RegionAutoscalersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Autoscaler)))))))) Source #
A resource alias for compute.regionAutoscalers.get
method which the
RegionAutoscalersGet
request conforms to.
Creating a Request
Creates a value of RegionAutoscalersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionAutoscalersGet Source #
Returns the specified autoscaler.
See: regionAutoscalersGet
smart constructor.
Instances
Request Lenses
ragProject :: Lens' RegionAutoscalersGet Text Source #
Project ID for this request.
ragAutoscaler :: Lens' RegionAutoscalersGet Text Source #
Name of the autoscaler to return.