gogol-compute-0.4.0: Google Compute Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Compute.Autoscalers.Get

Contents

Description

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

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

autoscalersGet Source #

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
Eq AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Data AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AutoscalersGet -> c AutoscalersGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AutoscalersGet #

toConstr :: AutoscalersGet -> Constr #

dataTypeOf :: AutoscalersGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AutoscalersGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AutoscalersGet) #

gmapT :: (forall b. Data b => b -> b) -> AutoscalersGet -> AutoscalersGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AutoscalersGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AutoscalersGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> AutoscalersGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AutoscalersGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AutoscalersGet -> m AutoscalersGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoscalersGet -> m AutoscalersGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoscalersGet -> m AutoscalersGet #

Show AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Generic AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Associated Types

type Rep AutoscalersGet :: Type -> Type #

GoogleRequest AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Associated Types

type Rs AutoscalersGet :: Type #

type Scopes AutoscalersGet :: [Symbol] #

type Rep AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

type Rep AutoscalersGet = D1 (MetaData "AutoscalersGet" "Network.Google.Resource.Compute.Autoscalers.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "AutoscalersGet'" PrefixI True) (S1 (MetaSel (Just "_agProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_agZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_agAutoscaler") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

type Scopes AutoscalersGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ("https://www.googleapis.com/auth/compute.readonly" ': ([] :: [Symbol])))
type Rs AutoscalersGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Autoscalers.Get

Request Lenses

agProject :: Lens' AutoscalersGet Text Source #

Project ID for this request.

agZone :: Lens' AutoscalersGet Text Source #

Name of the zone for this request.

agAutoscaler :: Lens' AutoscalersGet Text Source #

Name of the autoscaler to return.