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 |
List all replica pools.
See: Replica Pool API Reference for replicapool.pools.list
.
Synopsis
- type PoolsListResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PoolsListResponse)))))))))
- poolsList :: Text -> Text -> PoolsList
- data PoolsList
- plZone :: Lens' PoolsList Text
- plProjectName :: Lens' PoolsList Text
- plPageToken :: Lens' PoolsList (Maybe Text)
- plMaxResults :: Lens' PoolsList Int32
REST Resource
type PoolsListResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PoolsListResponse))))))))) Source #
A resource alias for replicapool.pools.list
method which the
PoolsList
request conforms to.
Creating a Request
Creates a value of PoolsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
List all replica pools.
See: poolsList
smart constructor.
Instances
Eq PoolsList Source # | |
Data PoolsList Source # | |
Defined in Network.Google.Resource.ReplicaPool.Pools.List gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PoolsList -> c PoolsList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PoolsList # toConstr :: PoolsList -> Constr # dataTypeOf :: PoolsList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PoolsList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PoolsList) # gmapT :: (forall b. Data b => b -> b) -> PoolsList -> PoolsList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PoolsList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PoolsList -> r # gmapQ :: (forall d. Data d => d -> u) -> PoolsList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PoolsList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PoolsList -> m PoolsList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsList -> m PoolsList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsList -> m PoolsList # | |
Show PoolsList Source # | |
Generic PoolsList Source # | |
GoogleRequest PoolsList Source # | |
type Rep PoolsList Source # | |
Defined in Network.Google.Resource.ReplicaPool.Pools.List type Rep PoolsList = D1 (MetaData "PoolsList" "Network.Google.Resource.ReplicaPool.Pools.List" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "PoolsList'" PrefixI True) ((S1 (MetaSel (Just "_plZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_plPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))) | |
type Scopes PoolsList Source # | |
Defined in Network.Google.Resource.ReplicaPool.Pools.List type Scopes PoolsList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ("https://www.googleapis.com/auth/ndev.cloudman" ': ("https://www.googleapis.com/auth/ndev.cloudman.readonly" ': ("https://www.googleapis.com/auth/replicapool" ': ("https://www.googleapis.com/auth/replicapool.readonly" ': ([] :: [Symbol])))))) | |
type Rs PoolsList Source # | |