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.zones.clusters.nodePools.rollback
.
Synopsis
- type ProjectsZonesClustersNodePoolsRollbackResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("nodePools" :> (CaptureMode "nodePoolId" "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)))))))))))))))
- projectsZonesClustersNodePoolsRollback :: Text -> RollbackNodePoolUpgradeRequest -> Text -> Text -> Text -> ProjectsZonesClustersNodePoolsRollback
- data ProjectsZonesClustersNodePoolsRollback
- pzcnprXgafv :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Xgafv)
- pzcnprUploadProtocol :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text)
- pzcnprAccessToken :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text)
- pzcnprUploadType :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text)
- pzcnprZone :: Lens' ProjectsZonesClustersNodePoolsRollback Text
- pzcnprPayload :: Lens' ProjectsZonesClustersNodePoolsRollback RollbackNodePoolUpgradeRequest
- pzcnprNodePoolId :: Lens' ProjectsZonesClustersNodePoolsRollback Text
- pzcnprClusterId :: Lens' ProjectsZonesClustersNodePoolsRollback Text
- pzcnprProjectId :: Lens' ProjectsZonesClustersNodePoolsRollback Text
- pzcnprCallback :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text)
REST Resource
type ProjectsZonesClustersNodePoolsRollbackResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("nodePools" :> (CaptureMode "nodePoolId" "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.zones.clusters.nodePools.rollback
method which the
ProjectsZonesClustersNodePoolsRollback
request conforms to.
Creating a Request
projectsZonesClustersNodePoolsRollback Source #
:: Text | |
-> RollbackNodePoolUpgradeRequest | |
-> Text | |
-> Text | |
-> Text | |
-> ProjectsZonesClustersNodePoolsRollback |
Creates a value of ProjectsZonesClustersNodePoolsRollback
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersNodePoolsRollback Source #
Roll back the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
See: projectsZonesClustersNodePoolsRollback
smart constructor.
Instances
Request Lenses
pzcnprXgafv :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Xgafv) Source #
V1 error format.
pzcnprUploadProtocol :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcnprAccessToken :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text) Source #
OAuth access token.
pzcnprUploadType :: Lens' ProjectsZonesClustersNodePoolsRollback (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcnprZone :: Lens' ProjectsZonesClustersNodePoolsRollback Text Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
pzcnprPayload :: Lens' ProjectsZonesClustersNodePoolsRollback RollbackNodePoolUpgradeRequest Source #
Multipart request metadata.
pzcnprNodePoolId :: Lens' ProjectsZonesClustersNodePoolsRollback Text Source #
Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.
pzcnprClusterId :: Lens' ProjectsZonesClustersNodePoolsRollback Text Source #
Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
pzcnprProjectId :: Lens' ProjectsZonesClustersNodePoolsRollback Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.