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 |
Gets information about a specific replica.
See: Replica Pool API Reference for replicapool.replicas.get
.
Synopsis
- type ReplicasGetResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Replica))))))))))
- replicasGet :: Text -> Text -> Text -> Text -> ReplicasGet
- data ReplicasGet
- rgPoolName :: Lens' ReplicasGet Text
- rgZone :: Lens' ReplicasGet Text
- rgReplicaName :: Lens' ReplicasGet Text
- rgProjectName :: Lens' ReplicasGet Text
REST Resource
type ReplicasGetResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Replica)))))))))) Source #
A resource alias for replicapool.replicas.get
method which the
ReplicasGet
request conforms to.
Creating a Request
Creates a value of ReplicasGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplicasGet Source #
Gets information about a specific replica.
See: replicasGet
smart constructor.
Instances
Request Lenses
rgPoolName :: Lens' ReplicasGet Text Source #
The replica pool name for this request.
rgReplicaName :: Lens' ReplicasGet Text Source #
The name of the replica for this request.
rgProjectName :: Lens' ReplicasGet Text Source #
The project ID for this request.