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.NodePools.Create

Contents

Description

Creates a node pool for a cluster.

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

Synopsis

REST Resource

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

A resource alias for container.projects.zones.clusters.nodePools.create method which the ProjectsZonesClustersNodePoolsCreate request conforms to.

Creating a Request

data ProjectsZonesClustersNodePoolsCreate Source #

Creates a node pool for a cluster.

See: projectsZonesClustersNodePoolsCreate smart constructor.

Instances
Eq ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

Data ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

Methods

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

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

toConstr :: ProjectsZonesClustersNodePoolsCreate -> Constr #

dataTypeOf :: ProjectsZonesClustersNodePoolsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

Generic ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

GoogleRequest ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

type Rep ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

type Rep ProjectsZonesClustersNodePoolsCreate = D1 (MetaData "ProjectsZonesClustersNodePoolsCreate" "Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsZonesClustersNodePoolsCreate'" PrefixI True) (((S1 (MetaSel (Just "_pzcnpcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pzcnpcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pzcnpcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pzcnpcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pzcnpcZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcnpcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateNodePoolRequest)) :*: (S1 (MetaSel (Just "_pzcnpcClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pzcnpcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzcnpcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsZonesClustersNodePoolsCreate Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

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

Defined in Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create

Request Lenses

pzcnpcUploadProtocol :: Lens' ProjectsZonesClustersNodePoolsCreate (Maybe Text) Source #

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

pzcnpcUploadType :: Lens' ProjectsZonesClustersNodePoolsCreate (Maybe Text) Source #

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

pzcnpcZone :: Lens' ProjectsZonesClustersNodePoolsCreate 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 parent field.

pzcnpcClusterId :: Lens' ProjectsZonesClustersNodePoolsCreate Text Source #

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

pzcnpcProjectId :: Lens' ProjectsZonesClustersNodePoolsCreate Text Source #

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.