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.locations.clusters.setMasterAuth
.
Synopsis
- type ProjectsLocationsClustersSetMasterAuthResource = "v1" :> (CaptureMode "name" "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))))))))
- projectsLocationsClustersSetMasterAuth :: SetMasterAuthRequest -> Text -> ProjectsLocationsClustersSetMasterAuth
- data ProjectsLocationsClustersSetMasterAuth
- plcsmaXgafv :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Xgafv)
- plcsmaUploadProtocol :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text)
- plcsmaAccessToken :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text)
- plcsmaUploadType :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text)
- plcsmaPayload :: Lens' ProjectsLocationsClustersSetMasterAuth SetMasterAuthRequest
- plcsmaName :: Lens' ProjectsLocationsClustersSetMasterAuth Text
- plcsmaCallback :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetMasterAuthResource = "v1" :> (CaptureMode "name" "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.locations.clusters.setMasterAuth
method which the
ProjectsLocationsClustersSetMasterAuth
request conforms to.
Creating a Request
projectsLocationsClustersSetMasterAuth Source #
Creates a value of ProjectsLocationsClustersSetMasterAuth
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetMasterAuth 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: projectsLocationsClustersSetMasterAuth
smart constructor.
Instances
Request Lenses
plcsmaXgafv :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Xgafv) Source #
V1 error format.
plcsmaUploadProtocol :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcsmaAccessToken :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text) Source #
OAuth access token.
plcsmaUploadType :: Lens' ProjectsLocationsClustersSetMasterAuth (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcsmaPayload :: Lens' ProjectsLocationsClustersSetMasterAuth SetMasterAuthRequest Source #
Multipart request metadata.
plcsmaName :: Lens' ProjectsLocationsClustersSetMasterAuth Text Source #
The name (project, location, cluster) of the cluster to set auth. Specified in the format 'projects/*/locations/*/clusters/*'.