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 size for a specific node pool.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.nodePools.setSize
.
Synopsis
- type ProjectsLocationsClustersNodePoolsSetSizeResource = "v1" :> (CaptureMode "name" "setSize" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetNodePoolSizeRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersNodePoolsSetSize :: SetNodePoolSizeRequest -> Text -> ProjectsLocationsClustersNodePoolsSetSize
- data ProjectsLocationsClustersNodePoolsSetSize
- plcnpssXgafv :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Xgafv)
- plcnpssUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text)
- plcnpssAccessToken :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text)
- plcnpssUploadType :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text)
- plcnpssPayload :: Lens' ProjectsLocationsClustersNodePoolsSetSize SetNodePoolSizeRequest
- plcnpssName :: Lens' ProjectsLocationsClustersNodePoolsSetSize Text
- plcnpssCallback :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text)
REST Resource
type ProjectsLocationsClustersNodePoolsSetSizeResource = "v1" :> (CaptureMode "name" "setSize" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetNodePoolSizeRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.nodePools.setSize
method which the
ProjectsLocationsClustersNodePoolsSetSize
request conforms to.
Creating a Request
projectsLocationsClustersNodePoolsSetSize Source #
Creates a value of ProjectsLocationsClustersNodePoolsSetSize
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersNodePoolsSetSize Source #
Sets the size for a specific node pool.
See: projectsLocationsClustersNodePoolsSetSize
smart constructor.
Instances
Request Lenses
plcnpssXgafv :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Xgafv) Source #
V1 error format.
plcnpssUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcnpssAccessToken :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text) Source #
OAuth access token.
plcnpssUploadType :: Lens' ProjectsLocationsClustersNodePoolsSetSize (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcnpssPayload :: Lens' ProjectsLocationsClustersNodePoolsSetSize SetNodePoolSizeRequest Source #
Multipart request metadata.
plcnpssName :: Lens' ProjectsLocationsClustersNodePoolsSetSize Text Source #
The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.