gogol-container-0.5.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.Create

Contents

Description

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

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

Synopsis

REST Resource

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

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

Creating a Request

data ProjectsZonesClustersCreate Source #

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

See: projectsZonesClustersCreate smart constructor.

Instances
Eq ProjectsZonesClustersCreate Source # 
Instance details

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

Data ProjectsZonesClustersCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsZonesClustersCreate -> Constr #

dataTypeOf :: ProjectsZonesClustersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsZonesClustersCreate Source # 
Instance details

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

Generic ProjectsZonesClustersCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsZonesClustersCreate :: Type -> Type #

GoogleRequest ProjectsZonesClustersCreate Source # 
Instance details

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

type Rep ProjectsZonesClustersCreate Source # 
Instance details

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

type Rep ProjectsZonesClustersCreate = D1 (MetaData "ProjectsZonesClustersCreate" "Network.Google.Resource.Container.Projects.Zones.Clusters.Create" "gogol-container-0.5.0-Coblrag9DEC7lvFAHkhlvh" False) (C1 (MetaCons "ProjectsZonesClustersCreate'" PrefixI True) (((S1 (MetaSel (Just "_pzccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pzccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pzccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pzccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pzccZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateClusterRequest)) :*: (S1 (MetaSel (Just "_pzccProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pzccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsZonesClustersCreate Source # 
Instance details

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

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

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

Request Lenses

pzccUploadProtocol :: Lens' ProjectsZonesClustersCreate (Maybe Text) Source #

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

pzccUploadType :: Lens' ProjectsZonesClustersCreate (Maybe Text) Source #

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

pzccZone :: Lens' ProjectsZonesClustersCreate 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.

pzccProjectId :: Lens' ProjectsZonesClustersCreate Text Source #

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