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 |
Inserts and starts a new update.
See: Google Compute Engine Instance Group Updater API Reference for replicapoolupdater.rollingUpdates.insert
.
Synopsis
- type RollingUpdatesInsertResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollingUpdate :> Post '[JSON] Operation))))))))
- rollingUpdatesInsert :: Text -> Text -> RollingUpdate -> RollingUpdatesInsert
- data RollingUpdatesInsert
- ruiProject :: Lens' RollingUpdatesInsert Text
- ruiZone :: Lens' RollingUpdatesInsert Text
- ruiPayload :: Lens' RollingUpdatesInsert RollingUpdate
REST Resource
type RollingUpdatesInsertResource = "replicapoolupdater" :> ("v1beta1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("rollingUpdates" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollingUpdate :> Post '[JSON] Operation)))))))) Source #
A resource alias for replicapoolupdater.rollingUpdates.insert
method which the
RollingUpdatesInsert
request conforms to.
Creating a Request
Creates a value of RollingUpdatesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RollingUpdatesInsert Source #
Inserts and starts a new update.
See: rollingUpdatesInsert
smart constructor.
Instances
Request Lenses
ruiProject :: Lens' RollingUpdatesInsert Text Source #
The Google Developers Console project name.
ruiZone :: Lens' RollingUpdatesInsert Text Source #
The name of the zone in which the update's target resides.
ruiPayload :: Lens' RollingUpdatesInsert RollingUpdate Source #
Multipart request metadata.