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 |
Roll back the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.nodePools.rollback
.
Synopsis
- type ProjectsLocationsClustersNodePoolsRollbackResource = "v1" :> (CaptureMode "name" "rollback" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollbackNodePoolUpgradeRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersNodePoolsRollback :: RollbackNodePoolUpgradeRequest -> Text -> ProjectsLocationsClustersNodePoolsRollback
- data ProjectsLocationsClustersNodePoolsRollback
- plcnprXgafv :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Xgafv)
- plcnprUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text)
- plcnprAccessToken :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text)
- plcnprUploadType :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text)
- plcnprPayload :: Lens' ProjectsLocationsClustersNodePoolsRollback RollbackNodePoolUpgradeRequest
- plcnprName :: Lens' ProjectsLocationsClustersNodePoolsRollback Text
- plcnprCallback :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text)
REST Resource
type ProjectsLocationsClustersNodePoolsRollbackResource = "v1" :> (CaptureMode "name" "rollback" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RollbackNodePoolUpgradeRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.nodePools.rollback
method which the
ProjectsLocationsClustersNodePoolsRollback
request conforms to.
Creating a Request
projectsLocationsClustersNodePoolsRollback Source #
Creates a value of ProjectsLocationsClustersNodePoolsRollback
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersNodePoolsRollback Source #
Roll back the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
See: projectsLocationsClustersNodePoolsRollback
smart constructor.
Instances
Request Lenses
plcnprXgafv :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Xgafv) Source #
V1 error format.
plcnprUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcnprAccessToken :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text) Source #
OAuth access token.
plcnprUploadType :: Lens' ProjectsLocationsClustersNodePoolsRollback (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcnprPayload :: Lens' ProjectsLocationsClustersNodePoolsRollback RollbackNodePoolUpgradeRequest Source #
Multipart request metadata.
plcnprName :: Lens' ProjectsLocationsClustersNodePoolsRollback Text Source #
The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.