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 |
Restarts a replica in a pool.
See: Replica Pool API Reference for replicapool.replicas.restart
.
Synopsis
- type ReplicasRestartResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> ("restart" :> (QueryParam "alt" AltJSON :> Post '[JSON] Replica)))))))))))
- replicasRestart :: Text -> Text -> Text -> Text -> ReplicasRestart
- data ReplicasRestart
- rrPoolName :: Lens' ReplicasRestart Text
- rrZone :: Lens' ReplicasRestart Text
- rrReplicaName :: Lens' ReplicasRestart Text
- rrProjectName :: Lens' ReplicasRestart Text
REST Resource
type ReplicasRestartResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> ("restart" :> (QueryParam "alt" AltJSON :> Post '[JSON] Replica))))))))))) Source #
A resource alias for replicapool.replicas.restart
method which the
ReplicasRestart
request conforms to.
Creating a Request
Creates a value of ReplicasRestart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplicasRestart Source #
Restarts a replica in a pool.
See: replicasRestart
smart constructor.
Instances
Request Lenses
rrPoolName :: Lens' ReplicasRestart Text Source #
The replica pool name for this request.
rrReplicaName :: Lens' ReplicasRestart Text Source #
The name of the replica for this request.
rrProjectName :: Lens' ReplicasRestart Text Source #
The project ID for this request.