Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
See: Kubernetes Engine API Reference for container.projects.zones.clusters.delete
.
Synopsis
- type ProjectsZonesClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "name" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))))))
- projectsZonesClustersDelete :: Text -> Text -> Text -> ProjectsZonesClustersDelete
- data ProjectsZonesClustersDelete
- pzcdXgafv :: Lens' ProjectsZonesClustersDelete (Maybe Xgafv)
- pzcdUploadProtocol :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdAccessToken :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdUploadType :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdZone :: Lens' ProjectsZonesClustersDelete Text
- pzcdName :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdClusterId :: Lens' ProjectsZonesClustersDelete Text
- pzcdProjectId :: Lens' ProjectsZonesClustersDelete Text
- pzcdCallback :: Lens' ProjectsZonesClustersDelete (Maybe Text)
REST Resource
type ProjectsZonesClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "name" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))))))) Source #
A resource alias for container.projects.zones.clusters.delete
method which the
ProjectsZonesClustersDelete
request conforms to.
Creating a Request
projectsZonesClustersDelete Source #
Creates a value of ProjectsZonesClustersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersDelete 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, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
See: projectsZonesClustersDelete
smart constructor.
Instances
Request Lenses
pzcdUploadProtocol :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzcdAccessToken :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
OAuth access token.
pzcdUploadType :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzcdZone :: Lens' ProjectsZonesClustersDelete 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.
pzcdName :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
The name (project, location, cluster) of the cluster to delete. Specified in the format 'projects/*/locations/*/clusters/*'.
pzcdClusterId :: Lens' ProjectsZonesClustersDelete Text Source #
Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.
pzcdProjectId :: Lens' ProjectsZonesClustersDelete Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
pzcdCallback :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
JSONP