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 |
Update the template used by the pool.
See: Replica Pool API Reference for replicapool.pools.updatetemplate
.
Synopsis
- type PoolsUpdatetemplateResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("updateTemplate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Post '[JSON] ()))))))))))
- poolsUpdatetemplate :: Text -> Text -> Template -> Text -> PoolsUpdatetemplate
- data PoolsUpdatetemplate
- puPoolName :: Lens' PoolsUpdatetemplate Text
- puZone :: Lens' PoolsUpdatetemplate Text
- puPayload :: Lens' PoolsUpdatetemplate Template
- puProjectName :: Lens' PoolsUpdatetemplate Text
REST Resource
type PoolsUpdatetemplateResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("updateTemplate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Post '[JSON] ())))))))))) Source #
A resource alias for replicapool.pools.updatetemplate
method which the
PoolsUpdatetemplate
request conforms to.
Creating a Request
Creates a value of PoolsUpdatetemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PoolsUpdatetemplate Source #
Update the template used by the pool.
See: poolsUpdatetemplate
smart constructor.
Instances
Request Lenses
puPoolName :: Lens' PoolsUpdatetemplate Text Source #
The name of the replica pool for this request.
puProjectName :: Lens' PoolsUpdatetemplate Text Source #
The project ID for this replica pool.