gogol-container-0.3.0: Google Container 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 cluster 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 is being used by the cluster.

See: Google Container 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" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 cluster 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 is being used by the cluster.

See: projectsZonesClustersCreate smart constructor.

Instances

Eq ProjectsZonesClustersCreate Source # 
Data ProjectsZonesClustersCreate Source # 

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 # 
Generic ProjectsZonesClustersCreate Source # 
GoogleRequest ProjectsZonesClustersCreate Source # 
type Rep ProjectsZonesClustersCreate Source # 
type Scopes ProjectsZonesClustersCreate Source # 
type Scopes ProjectsZonesClustersCreate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsZonesClustersCreate Source # 

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 #

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