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 |
Sets the addons for a specific cluster.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.setAddons
.
Synopsis
- type ProjectsLocationsClustersSetAddonsResource = "v1" :> (CaptureMode "name" "setAddons" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetAddonsConfigRequest :> Post '[JSON] Operation))))))))
- projectsLocationsClustersSetAddons :: SetAddonsConfigRequest -> Text -> ProjectsLocationsClustersSetAddons
- data ProjectsLocationsClustersSetAddons
- plcsaXgafv :: Lens' ProjectsLocationsClustersSetAddons (Maybe Xgafv)
- plcsaUploadProtocol :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text)
- plcsaAccessToken :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text)
- plcsaUploadType :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text)
- plcsaPayload :: Lens' ProjectsLocationsClustersSetAddons SetAddonsConfigRequest
- plcsaName :: Lens' ProjectsLocationsClustersSetAddons Text
- plcsaCallback :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text)
REST Resource
type ProjectsLocationsClustersSetAddonsResource = "v1" :> (CaptureMode "name" "setAddons" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetAddonsConfigRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for container.projects.locations.clusters.setAddons
method which the
ProjectsLocationsClustersSetAddons
request conforms to.
Creating a Request
projectsLocationsClustersSetAddons Source #
Creates a value of ProjectsLocationsClustersSetAddons
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersSetAddons Source #
Sets the addons for a specific cluster.
See: projectsLocationsClustersSetAddons
smart constructor.
Instances
Request Lenses
plcsaXgafv :: Lens' ProjectsLocationsClustersSetAddons (Maybe Xgafv) Source #
V1 error format.
plcsaUploadProtocol :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcsaAccessToken :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text) Source #
OAuth access token.
plcsaUploadType :: Lens' ProjectsLocationsClustersSetAddons (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plcsaPayload :: Lens' ProjectsLocationsClustersSetAddons SetAddonsConfigRequest Source #
Multipart request metadata.