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 |
Used to set master auth materials. Currently supports :- Changing the admin password for a specific cluster. This can be either via password generation or explicitly set the password.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.setMasterAuth
.
Synopsis
- type ProjectsZonesClustersSetMasterAuthResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (CaptureMode "clusterId" "setMasterAuth" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMasterAuthRequest :> Post '[JSON] Operation)))))))))))))
- projectsZonesClustersSetMasterAuth :: Text -> SetMasterAuthRequest -> Text -> Text -> ProjectsZonesClustersSetMasterAuth
- data ProjectsZonesClustersSetMasterAuth
- pzcsmaXgafv :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Xgafv)
- pzcsmaUploadProtocol :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text)
- pzcsmaAccessToken :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text)
- pzcsmaUploadType :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text)
- pzcsmaZone :: Lens' ProjectsZonesClustersSetMasterAuth Text
- pzcsmaPayload :: Lens' ProjectsZonesClustersSetMasterAuth SetMasterAuthRequest
- pzcsmaClusterId :: Lens' ProjectsZonesClustersSetMasterAuth Text
- pzcsmaProjectId :: Lens' ProjectsZonesClustersSetMasterAuth Text
- pzcsmaCallback :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text)
REST Resource
type ProjectsZonesClustersSetMasterAuthResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (CaptureMode "clusterId" "setMasterAuth" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMasterAuthRequest :> Post '[JSON] Operation))))))))))))) Source #
A resource alias for container.projects.zones.clusters.setMasterAuth
method which the
ProjectsZonesClustersSetMasterAuth
request conforms to.
Creating a Request
projectsZonesClustersSetMasterAuth Source #
Creates a value of ProjectsZonesClustersSetMasterAuth
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersSetMasterAuth Source #
Used to set master auth materials. Currently supports :- Changing the admin password for a specific cluster. This can be either via password generation or explicitly set the password.
See: projectsZonesClustersSetMasterAuth
smart constructor.
Instances
Request Lenses
pzcsmaXgafv :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Xgafv) Source #
V1 error format.
pzcsmaUploadProtocol :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcsmaAccessToken :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text) Source #
OAuth access token.
pzcsmaUploadType :: Lens' ProjectsZonesClustersSetMasterAuth (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcsmaZone :: Lens' ProjectsZonesClustersSetMasterAuth 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.
pzcsmaPayload :: Lens' ProjectsZonesClustersSetMasterAuth SetMasterAuthRequest Source #
Multipart request metadata.
pzcsmaClusterId :: Lens' ProjectsZonesClustersSetMasterAuth Text Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
pzcsmaProjectId :: Lens' ProjectsZonesClustersSetMasterAuth Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.