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.Delete

Contents

Description

Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster (e.g. load balancer resources) will not be deleted if they weren't present at the initial create time.

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

Synopsis

REST Resource

type ProjectsLocationsClustersDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "zone" Text :> (QueryParam "clusterId" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))) Source #

A resource alias for container.projects.locations.clusters.delete method which the ProjectsLocationsClustersDelete request conforms to.

Creating a Request

projectsLocationsClustersDelete Source #

Creates a value of ProjectsLocationsClustersDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsLocationsClustersDelete Source #

Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster (e.g. load balancer resources) will not be deleted if they weren't present at the initial create time.

See: projectsLocationsClustersDelete smart constructor.

Instances
Eq ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

Data ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

Methods

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

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

toConstr :: ProjectsLocationsClustersDelete -> Constr #

dataTypeOf :: ProjectsLocationsClustersDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

Generic ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

Associated Types

type Rep ProjectsLocationsClustersDelete :: Type -> Type #

GoogleRequest ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

type Rep ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

type Rep ProjectsLocationsClustersDelete = D1 (MetaData "ProjectsLocationsClustersDelete" "Network.Google.Resource.Container.Projects.Locations.Clusters.Delete" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsLocationsClustersDelete'" PrefixI True) (((S1 (MetaSel (Just "_plcdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plcdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plcdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plcdZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_plcdClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plcdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plcdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsLocationsClustersDelete Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

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

Defined in Network.Google.Resource.Container.Projects.Locations.Clusters.Delete

Request Lenses

plcdUploadProtocol :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #

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

plcdUploadType :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #

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

plcdZone :: Lens' ProjectsLocationsClustersDelete (Maybe 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 name field.

plcdName :: Lens' ProjectsLocationsClustersDelete Text Source #

The name (project, location, cluster) of the cluster to delete. Specified in the format 'projects/*/locations/*/clusters/*'.

plcdClusterId :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #

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

plcdProjectId :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #

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