gogol-container-0.4.0: Google Kubernetes Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

Contents

Description

Sets the maintenance policy for a cluster.

See: Kubernetes Engine API Reference for container.projects.zones.clusters.setMaintenancePolicy.

Synopsis

REST Resource

type ProjectsZonesClustersSetMaintenancePolicyResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (CaptureMode "clusterId" "setMaintenancePolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetMaintenancePolicyRequest :> Post '[JSON] Operation))))))))))))) Source #

A resource alias for container.projects.zones.clusters.setMaintenancePolicy method which the ProjectsZonesClustersSetMaintenancePolicy request conforms to.

Creating a Request

data ProjectsZonesClustersSetMaintenancePolicy Source #

Sets the maintenance policy for a cluster.

See: projectsZonesClustersSetMaintenancePolicy smart constructor.

Instances
Eq ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

Data ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsZonesClustersSetMaintenancePolicy -> c ProjectsZonesClustersSetMaintenancePolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsZonesClustersSetMaintenancePolicy #

toConstr :: ProjectsZonesClustersSetMaintenancePolicy -> Constr #

dataTypeOf :: ProjectsZonesClustersSetMaintenancePolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsZonesClustersSetMaintenancePolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsZonesClustersSetMaintenancePolicy) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsZonesClustersSetMaintenancePolicy -> ProjectsZonesClustersSetMaintenancePolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsZonesClustersSetMaintenancePolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsZonesClustersSetMaintenancePolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsZonesClustersSetMaintenancePolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsZonesClustersSetMaintenancePolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsZonesClustersSetMaintenancePolicy -> m ProjectsZonesClustersSetMaintenancePolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsZonesClustersSetMaintenancePolicy -> m ProjectsZonesClustersSetMaintenancePolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsZonesClustersSetMaintenancePolicy -> m ProjectsZonesClustersSetMaintenancePolicy #

Show ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

Generic ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

GoogleRequest ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

type Rep ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

type Rep ProjectsZonesClustersSetMaintenancePolicy = D1 (MetaData "ProjectsZonesClustersSetMaintenancePolicy" "Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsZonesClustersSetMaintenancePolicy'" PrefixI True) (((S1 (MetaSel (Just "_pzcsmpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pzcsmpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pzcsmpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pzcsmpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pzcsmpZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcsmpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetMaintenancePolicyRequest)) :*: (S1 (MetaSel (Just "_pzcsmpClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pzcsmpProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcsmpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

type Scopes ProjectsZonesClustersSetMaintenancePolicy = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsZonesClustersSetMaintenancePolicy Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.SetMaintenancePolicy

Request Lenses

pzcsmpUploadProtocol :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pzcsmpUploadType :: Lens' ProjectsZonesClustersSetMaintenancePolicy (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pzcsmpZone :: Lens' ProjectsZonesClustersSetMaintenancePolicy Text Source #

The name of the Google Compute Engine zone in which the cluster resides.