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 |
Enables or disables the ABAC authorization mechanism on a cluster.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.setLegacyAbac
.
Synopsis
- type ProjectsLocationsClustersSetLegacyAbacResource = "v1" :> (CaptureMode "name" "setLegacyAbac" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLegacyAbacRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersSetLegacyAbac :: SetLegacyAbacRequest -> Text -> ProjectsLocationsClustersSetLegacyAbac
- data ProjectsLocationsClustersSetLegacyAbac
- plcslaXgafv :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Xgafv)
- plcslaUploadProtocol :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text)
- plcslaAccessToken :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text)
- plcslaUploadType :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text)
- plcslaPayload :: Lens' ProjectsLocationsClustersSetLegacyAbac SetLegacyAbacRequest
- plcslaName :: Lens' ProjectsLocationsClustersSetLegacyAbac Text
- plcslaCallback :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetLegacyAbacResource = "v1" :> (CaptureMode "name" "setLegacyAbac" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetLegacyAbacRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.setLegacyAbac
method which the
ProjectsLocationsClustersSetLegacyAbac
request conforms to.
Creating a Request
projectsLocationsClustersSetLegacyAbac Source #
Creates a value of ProjectsLocationsClustersSetLegacyAbac
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetLegacyAbac Source #
Enables or disables the ABAC authorization mechanism on a cluster.
See: projectsLocationsClustersSetLegacyAbac
smart constructor.
Instances
Request Lenses
plcslaXgafv :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Xgafv) Source #
V1 error format.
plcslaUploadProtocol :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcslaAccessToken :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text) Source #
OAuth access token.
plcslaUploadType :: Lens' ProjectsLocationsClustersSetLegacyAbac (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcslaPayload :: Lens' ProjectsLocationsClustersSetLegacyAbac SetLegacyAbacRequest Source #
Multipart request metadata.
plcslaName :: Lens' ProjectsLocationsClustersSetLegacyAbac Text Source #
The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects/*/locations/*/clusters/*'.