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 (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
- 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))))))))))
- projectsLocationsClustersDelete :: Text -> ProjectsLocationsClustersDelete
- data ProjectsLocationsClustersDelete
- plcdXgafv :: Lens' ProjectsLocationsClustersDelete (Maybe Xgafv)
- plcdUploadProtocol :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdAccessToken :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdUploadType :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdZone :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdName :: Lens' ProjectsLocationsClustersDelete Text
- plcdClusterId :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdProjectId :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
- plcdCallback :: Lens' ProjectsLocationsClustersDelete (Maybe Text)
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
Request Lenses
plcdUploadProtocol :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plcdAccessToken :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #
OAuth access token.
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.
plcdCallback :: Lens' ProjectsLocationsClustersDelete (Maybe Text) Source #
JSONP