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.zones.clusters.addons
.
Synopsis
- type ProjectsZonesClustersAddonsResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("addons" :> (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))))))))))))))
- projectsZonesClustersAddons :: Text -> SetAddonsConfigRequest -> Text -> Text -> ProjectsZonesClustersAddons
- data ProjectsZonesClustersAddons
- pzcaXgafv :: Lens' ProjectsZonesClustersAddons (Maybe Xgafv)
- pzcaUploadProtocol :: Lens' ProjectsZonesClustersAddons (Maybe Text)
- pzcaAccessToken :: Lens' ProjectsZonesClustersAddons (Maybe Text)
- pzcaUploadType :: Lens' ProjectsZonesClustersAddons (Maybe Text)
- pzcaZone :: Lens' ProjectsZonesClustersAddons Text
- pzcaPayload :: Lens' ProjectsZonesClustersAddons SetAddonsConfigRequest
- pzcaClusterId :: Lens' ProjectsZonesClustersAddons Text
- pzcaProjectId :: Lens' ProjectsZonesClustersAddons Text
- pzcaCallback :: Lens' ProjectsZonesClustersAddons (Maybe Text)
REST Resource
type ProjectsZonesClustersAddonsResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> ("addons" :> (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.zones.clusters.addons
method which the
ProjectsZonesClustersAddons
request conforms to.
Creating a Request
projectsZonesClustersAddons Source #
Creates a value of ProjectsZonesClustersAddons
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersAddons Source #
Sets the addons for a specific cluster.
See: projectsZonesClustersAddons
smart constructor.
Instances
Request Lenses
pzcaUploadProtocol :: Lens' ProjectsZonesClustersAddons (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcaAccessToken :: Lens' ProjectsZonesClustersAddons (Maybe Text) Source #
OAuth access token.
pzcaUploadType :: Lens' ProjectsZonesClustersAddons (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcaZone :: Lens' ProjectsZonesClustersAddons 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.
pzcaPayload :: Lens' ProjectsZonesClustersAddons SetAddonsConfigRequest Source #
Multipart request metadata.
pzcaClusterId :: Lens' ProjectsZonesClustersAddons Text Source #
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
pzcaProjectId :: Lens' ProjectsZonesClustersAddons Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
pzcaCallback :: Lens' ProjectsZonesClustersAddons (Maybe Text) Source #
JSONP