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 |
Updates the master for a specific cluster.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.updateMaster
.
Synopsis
- type ProjectsLocationsClustersUpdateMasterResource = "v1" :> (CaptureMode "name" "updateMaster" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateMasterRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersUpdateMaster :: UpdateMasterRequest -> Text -> ProjectsLocationsClustersUpdateMaster
- data ProjectsLocationsClustersUpdateMaster
- plcumXgafv :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Xgafv)
- plcumUploadProtocol :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text)
- plcumAccessToken :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text)
- plcumUploadType :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text)
- plcumPayload :: Lens' ProjectsLocationsClustersUpdateMaster UpdateMasterRequest
- plcumName :: Lens' ProjectsLocationsClustersUpdateMaster Text
- plcumCallback :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text)
REST Resource
type ProjectsLocationsClustersUpdateMasterResource = "v1" :> (CaptureMode "name" "updateMaster" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateMasterRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.updateMaster
method which the
ProjectsLocationsClustersUpdateMaster
request conforms to.
Creating a Request
projectsLocationsClustersUpdateMaster Source #
Creates a value of ProjectsLocationsClustersUpdateMaster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersUpdateMaster Source #
Updates the master for a specific cluster.
See: projectsLocationsClustersUpdateMaster
smart constructor.
Instances
Request Lenses
plcumXgafv :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Xgafv) Source #
V1 error format.
plcumUploadProtocol :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcumAccessToken :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text) Source #
OAuth access token.
plcumUploadType :: Lens' ProjectsLocationsClustersUpdateMaster (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcumPayload :: Lens' ProjectsLocationsClustersUpdateMaster UpdateMasterRequest Source #
Multipart request metadata.