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