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 master for a specific cluster.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.master
.
Synopsis
- type ProjectsZonesClustersMasterResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("master" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateMasterRequest :> Post '[JSON] Operation))))))))))))))
- projectsZonesClustersMaster :: Text -> UpdateMasterRequest -> Text -> Text -> ProjectsZonesClustersMaster
- data ProjectsZonesClustersMaster
- pzcmXgafv :: Lens' ProjectsZonesClustersMaster (Maybe Xgafv)
- pzcmUploadProtocol :: Lens' ProjectsZonesClustersMaster (Maybe Text)
- pzcmAccessToken :: Lens' ProjectsZonesClustersMaster (Maybe Text)
- pzcmUploadType :: Lens' ProjectsZonesClustersMaster (Maybe Text)
- pzcmZone :: Lens' ProjectsZonesClustersMaster Text
- pzcmPayload :: Lens' ProjectsZonesClustersMaster UpdateMasterRequest
- pzcmClusterId :: Lens' ProjectsZonesClustersMaster Text
- pzcmProjectId :: Lens' ProjectsZonesClustersMaster Text
- pzcmCallback :: Lens' ProjectsZonesClustersMaster (Maybe Text)
REST Resource
type ProjectsZonesClustersMasterResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("master" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateMasterRequest :> Post '[JSON] Operation)))))))))))))) Source #
A resource alias for container.projects.zones.clusters.master
method which the
ProjectsZonesClustersMaster
request conforms to.
Creating a Request
projectsZonesClustersMaster Source #
:: Text | |
-> UpdateMasterRequest | |
-> Text | |
-> Text | |
-> ProjectsZonesClustersMaster |
Creates a value of ProjectsZonesClustersMaster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersMaster Source #
Updates the master for a specific cluster.
See: projectsZonesClustersMaster
smart constructor.
Instances
Request Lenses
pzcmUploadProtocol :: Lens' ProjectsZonesClustersMaster (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcmAccessToken :: Lens' ProjectsZonesClustersMaster (Maybe Text) Source #
OAuth access token.
pzcmUploadType :: Lens' ProjectsZonesClustersMaster (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcmZone :: Lens' ProjectsZonesClustersMaster 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.
pzcmPayload :: Lens' ProjectsZonesClustersMaster UpdateMasterRequest Source #
Multipart request metadata.
pzcmClusterId :: Lens' ProjectsZonesClustersMaster Text Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
pzcmProjectId :: Lens' ProjectsZonesClustersMaster Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
pzcmCallback :: Lens' ProjectsZonesClustersMaster (Maybe Text) Source #
JSONP