gogol-container-0.0.1: Google Container Engine SDK.

Copyright(c) 2015 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, plus a Kubernetes master endpoint. 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, plus a Kubernetes master endpoint. 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.

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.