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 maintenance policy for a cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.setMaintenancePolicy
.
Synopsis
- type ProjectsZonesClustersSetMaintenancePolicyResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (CaptureMode "clusterId" "setMaintenancePolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMaintenancePolicyRequest :> Post '[JSON] Operation)))))))))))))
- projectsZonesClustersSetMaintenancePolicy :: Text -> SetMaintenancePolicyRequest -> Text -> Text -> ProjectsZonesClustersSetMaintenancePolicy
- data ProjectsZonesClustersSetMaintenancePolicy
- pzcsmpXgafv :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Xgafv)
- pzcsmpUploadProtocol :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text)
- pzcsmpAccessToken :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text)
- pzcsmpUploadType :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text)
- pzcsmpZone :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text
- pzcsmpPayload :: Lens' ProjectsZonesClustersSetMaintenancePolicy SetMaintenancePolicyRequest
- pzcsmpClusterId :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text
- pzcsmpProjectId :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text
- pzcsmpCallback :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text)
REST Resource
type ProjectsZonesClustersSetMaintenancePolicyResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (CaptureMode "clusterId" "setMaintenancePolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMaintenancePolicyRequest :> Post '[JSON] Operation))))))))))))) Source #
A resource alias for container.projects.zones.clusters.setMaintenancePolicy
method which the
ProjectsZonesClustersSetMaintenancePolicy
request conforms to.
Creating a Request
projectsZonesClustersSetMaintenancePolicy Source #
Creates a value of ProjectsZonesClustersSetMaintenancePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersSetMaintenancePolicy Source #
Sets the maintenance policy for a cluster.
See: projectsZonesClustersSetMaintenancePolicy
smart constructor.
Instances
Request Lenses
pzcsmpXgafv :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Xgafv) Source #
V1 error format.
pzcsmpUploadProtocol :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcsmpAccessToken :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text) Source #
OAuth access token.
pzcsmpUploadType :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcsmpZone :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text Source #
The name of the Google Compute Engine zone in which the cluster resides.
pzcsmpPayload :: Lens' ProjectsZonesClustersSetMaintenancePolicy SetMaintenancePolicyRequest Source #
Multipart request metadata.
pzcsmpClusterId :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text Source #
The name of the cluster to update.
pzcsmpProjectId :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text Source #
The Google Developers Console project ID or project number.