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