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 monitoring service for a specific cluster.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.setMonitoring
.
Synopsis
- type ProjectsLocationsClustersSetMonitoringResource = "v1" :> (CaptureMode "name" "setMonitoring" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMonitoringServiceRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersSetMonitoring :: SetMonitoringServiceRequest -> Text -> ProjectsLocationsClustersSetMonitoring
- data ProjectsLocationsClustersSetMonitoring
- plcsmXgafv :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Xgafv)
- plcsmUploadProtocol :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text)
- plcsmAccessToken :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text)
- plcsmUploadType :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text)
- plcsmPayload :: Lens' ProjectsLocationsClustersSetMonitoring SetMonitoringServiceRequest
- plcsmName :: Lens' ProjectsLocationsClustersSetMonitoring Text
- plcsmCallback :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetMonitoringResource = "v1" :> (CaptureMode "name" "setMonitoring" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMonitoringServiceRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.setMonitoring
method which the
ProjectsLocationsClustersSetMonitoring
request conforms to.
Creating a Request
projectsLocationsClustersSetMonitoring Source #
Creates a value of ProjectsLocationsClustersSetMonitoring
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetMonitoring Source #
Sets the monitoring service for a specific cluster.
See: projectsLocationsClustersSetMonitoring
smart constructor.
Instances
Request Lenses
plcsmXgafv :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Xgafv) Source #
V1 error format.
plcsmUploadProtocol :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcsmAccessToken :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text) Source #
OAuth access token.
plcsmUploadType :: Lens' ProjectsLocationsClustersSetMonitoring (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcsmPayload :: Lens' ProjectsLocationsClustersSetMonitoring SetMonitoringServiceRequest Source #
Multipart request metadata.