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 |
Deletes a replica from the pool.
See: Replica Pool API Reference for replicapool.replicas.delete
.
Synopsis
- type ReplicasDeleteResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReplicasDeleteRequest :> Post '[JSON] Replica)))))))))))
- replicasDelete :: Text -> Text -> ReplicasDeleteRequest -> Text -> Text -> ReplicasDelete
- data ReplicasDelete
- rdPoolName :: Lens' ReplicasDelete Text
- rdZone :: Lens' ReplicasDelete Text
- rdPayload :: Lens' ReplicasDelete ReplicasDeleteRequest
- rdReplicaName :: Lens' ReplicasDelete Text
- rdProjectName :: Lens' ReplicasDelete Text
REST Resource
type ReplicasDeleteResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReplicasDeleteRequest :> Post '[JSON] Replica))))))))))) Source #
A resource alias for replicapool.replicas.delete
method which the
ReplicasDelete
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> ReplicasDeleteRequest | |
-> Text | |
-> Text | |
-> ReplicasDelete |
Creates a value of ReplicasDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplicasDelete Source #
Deletes a replica from the pool.
See: replicasDelete
smart constructor.
Instances
Request Lenses
rdPoolName :: Lens' ReplicasDelete Text Source #
The replica pool name for this request.
rdPayload :: Lens' ReplicasDelete ReplicasDeleteRequest Source #
Multipart request metadata.
rdReplicaName :: Lens' ReplicasDelete Text Source #
The name of the replica for this request.
rdProjectName :: Lens' ReplicasDelete Text Source #
The project ID for this request.