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 |
Updates the settings of a specific cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.update
.
Synopsis
- type ProjectsZonesClustersUpdateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateClusterRequest :> Put '[JSON] Operation)))))))))))))
- projectsZonesClustersUpdate :: Text -> UpdateClusterRequest -> Text -> Text -> ProjectsZonesClustersUpdate
- data ProjectsZonesClustersUpdate
- pzcuXgafv :: Lens' ProjectsZonesClustersUpdate (Maybe Xgafv)
- pzcuUploadProtocol :: Lens' ProjectsZonesClustersUpdate (Maybe Text)
- pzcuAccessToken :: Lens' ProjectsZonesClustersUpdate (Maybe Text)
- pzcuUploadType :: Lens' ProjectsZonesClustersUpdate (Maybe Text)
- pzcuZone :: Lens' ProjectsZonesClustersUpdate Text
- pzcuPayload :: Lens' ProjectsZonesClustersUpdate UpdateClusterRequest
- pzcuClusterId :: Lens' ProjectsZonesClustersUpdate Text
- pzcuProjectId :: Lens' ProjectsZonesClustersUpdate Text
- pzcuCallback :: Lens' ProjectsZonesClustersUpdate (Maybe Text)
REST Resource
type ProjectsZonesClustersUpdateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateClusterRequest :> Put '[JSON] Operation))))))))))))) Source #
A resource alias for container.projects.zones.clusters.update
method which the
ProjectsZonesClustersUpdate
request conforms to.
Creating a Request
projectsZonesClustersUpdate Source #
:: Text | |
-> UpdateClusterRequest | |
-> Text | |
-> Text | |
-> ProjectsZonesClustersUpdate |
Creates a value of ProjectsZonesClustersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersUpdate Source #
Updates the settings of a specific cluster.
See: projectsZonesClustersUpdate
smart constructor.
Instances
Request Lenses
pzcuUploadProtocol :: Lens' ProjectsZonesClustersUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcuAccessToken :: Lens' ProjectsZonesClustersUpdate (Maybe Text) Source #
OAuth access token.
pzcuUploadType :: Lens' ProjectsZonesClustersUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcuZone :: Lens' ProjectsZonesClustersUpdate Text Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
pzcuPayload :: Lens' ProjectsZonesClustersUpdate UpdateClusterRequest Source #
Multipart request metadata.
pzcuClusterId :: Lens' ProjectsZonesClustersUpdate Text Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
pzcuProjectId :: Lens' ProjectsZonesClustersUpdate Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
pzcuCallback :: Lens' ProjectsZonesClustersUpdate (Maybe Text) Source #
JSONP