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 |
Lists all replicas in a pool.
See: Replica Pool API Reference for replicapool.replicas.list
.
Synopsis
- type ReplicasListResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ReplicasListResponse)))))))))))
- replicasList :: Text -> Text -> Text -> ReplicasList
- data ReplicasList
- rlPoolName :: Lens' ReplicasList Text
- rlZone :: Lens' ReplicasList Text
- rlProjectName :: Lens' ReplicasList Text
- rlPageToken :: Lens' ReplicasList (Maybe Text)
- rlMaxResults :: Lens' ReplicasList Int32
REST Resource
type ReplicasListResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ReplicasListResponse))))))))))) Source #
A resource alias for replicapool.replicas.list
method which the
ReplicasList
request conforms to.
Creating a Request
Creates a value of ReplicasList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplicasList Source #
Lists all replicas in a pool.
See: replicasList
smart constructor.
Instances
Request Lenses
rlPoolName :: Lens' ReplicasList Text Source #
The replica pool name for this request.
rlProjectName :: Lens' ReplicasList Text Source #
The project ID for this request.
rlPageToken :: Lens' ReplicasList (Maybe Text) Source #
Set this to the nextPageToken value returned by a previous list request to obtain the next page of results from the previous list request.
rlMaxResults :: Lens' ReplicasList Int32 Source #
Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)