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 |
Creates a node pool for a cluster.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.nodePools.create
.
Synopsis
- type ProjectsLocationsClustersNodePoolsCreateResource = "v1" :> (Capture "parent" Text :> ("nodePools" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateNodePoolRequest :> Post '[JSON] Operation)))))))))
- projectsLocationsClustersNodePoolsCreate :: Text -> CreateNodePoolRequest -> ProjectsLocationsClustersNodePoolsCreate
- data ProjectsLocationsClustersNodePoolsCreate
- plcnpcParent :: Lens' ProjectsLocationsClustersNodePoolsCreate Text
- plcnpcXgafv :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Xgafv)
- plcnpcUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text)
- plcnpcAccessToken :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text)
- plcnpcUploadType :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text)
- plcnpcPayload :: Lens' ProjectsLocationsClustersNodePoolsCreate CreateNodePoolRequest
- plcnpcCallback :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text)
REST Resource
type ProjectsLocationsClustersNodePoolsCreateResource = "v1" :> (Capture "parent" Text :> ("nodePools" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateNodePoolRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for container.projects.locations.clusters.nodePools.create
method which the
ProjectsLocationsClustersNodePoolsCreate
request conforms to.
Creating a Request
projectsLocationsClustersNodePoolsCreate Source #
Creates a value of ProjectsLocationsClustersNodePoolsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersNodePoolsCreate Source #
Creates a node pool for a cluster.
See: projectsLocationsClustersNodePoolsCreate
smart constructor.
Instances
Request Lenses
plcnpcParent :: Lens' ProjectsLocationsClustersNodePoolsCreate Text Source #
The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/*/locations/*/clusters/*'.
plcnpcXgafv :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Xgafv) Source #
V1 error format.
plcnpcUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcnpcAccessToken :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text) Source #
OAuth access token.
plcnpcUploadType :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcnpcPayload :: Lens' ProjectsLocationsClustersNodePoolsCreate CreateNodePoolRequest Source #
Multipart request metadata.