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

Contents

Description

Creates a node pool for a cluster.

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

Synopsis

REST Resource

type ProjectsLocationsClustersNodePoolsCreateResource = "v1" :> (Capture "parent" 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.locations.clusters.nodePools.create method which the ProjectsLocationsClustersNodePoolsCreate request conforms to.

Creating a Request

data ProjectsLocationsClustersNodePoolsCreate Source #

Creates a node pool for a cluster.

See: projectsLocationsClustersNodePoolsCreate smart constructor.

Instances
Eq ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

Data ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsClustersNodePoolsCreate -> Constr #

dataTypeOf :: ProjectsLocationsClustersNodePoolsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

Generic ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

GoogleRequest ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

type Rep ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

type Rep ProjectsLocationsClustersNodePoolsCreate = D1 (MetaData "ProjectsLocationsClustersNodePoolsCreate" "Network.Google.Resource.Container.Projects.Locations.Clusters.NodePools.Create" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsLocationsClustersNodePoolsCreate'" PrefixI True) ((S1 (MetaSel (Just "_plcnpcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_plcnpcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plcnpcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plcnpcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcnpcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plcnpcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateNodePoolRequest) :*: S1 (MetaSel (Just "_plcnpcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsClustersNodePoolsCreate Source # 
Instance details

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

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

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

Request Lenses

plcnpcParent :: Lens' ProjectsLocationsClustersNodePoolsCreate Text Source #

The parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/*/locations/*/clusters/*'.

plcnpcUploadProtocol :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text) Source #

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

plcnpcUploadType :: Lens' ProjectsLocationsClustersNodePoolsCreate (Maybe Text) Source #

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