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 |
Sets the NodeManagement options for a node pool.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.nodePools.setManagement
.
Synopsis
- type ProjectsLocationsClustersNodePoolsSetManagementResource = "v1" :> (CaptureMode "name" "setManagement" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetNodePoolManagementRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersNodePoolsSetManagement :: SetNodePoolManagementRequest -> Text -> ProjectsLocationsClustersNodePoolsSetManagement
- data ProjectsLocationsClustersNodePoolsSetManagement
- plcnpsmXgafv :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Xgafv)
- plcnpsmUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text)
- plcnpsmAccessToken :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text)
- plcnpsmUploadType :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text)
- plcnpsmPayload :: Lens' ProjectsLocationsClustersNodePoolsSetManagement SetNodePoolManagementRequest
- plcnpsmName :: Lens' ProjectsLocationsClustersNodePoolsSetManagement Text
- plcnpsmCallback :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text)
REST Resource
type ProjectsLocationsClustersNodePoolsSetManagementResource = "v1" :> (CaptureMode "name" "setManagement" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetNodePoolManagementRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.nodePools.setManagement
method which the
ProjectsLocationsClustersNodePoolsSetManagement
request conforms to.
Creating a Request
projectsLocationsClustersNodePoolsSetManagement Source #
Creates a value of ProjectsLocationsClustersNodePoolsSetManagement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersNodePoolsSetManagement Source #
Sets the NodeManagement options for a node pool.
See: projectsLocationsClustersNodePoolsSetManagement
smart constructor.
Instances
Request Lenses
plcnpsmXgafv :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Xgafv) Source #
V1 error format.
plcnpsmUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcnpsmAccessToken :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text) Source #
OAuth access token.
plcnpsmUploadType :: Lens' ProjectsLocationsClustersNodePoolsSetManagement (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcnpsmPayload :: Lens' ProjectsLocationsClustersNodePoolsSetManagement SetNodePoolManagementRequest Source #
Multipart request metadata.
plcnpsmName :: Lens' ProjectsLocationsClustersNodePoolsSetManagement Text Source #
The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.