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: Google Container Engine API Reference for container.projects.zones.clusters.delete
.
- type ProjectsZonesClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (Capture "clusterId" Text :> (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 :> Delete '[JSON] Operation))))))))))))))
- projectsZonesClustersDelete :: Text -> Text -> Text -> ProjectsZonesClustersDelete
- data ProjectsZonesClustersDelete
- pzcdXgafv :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdUploadProtocol :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdPp :: Lens' ProjectsZonesClustersDelete Bool
- pzcdAccessToken :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdUploadType :: Lens' ProjectsZonesClustersDelete (Maybe Text)
- pzcdZone :: Lens' ProjectsZonesClustersDelete Text
- pzcdBearerToken :: 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" 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 :> 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 (e.g. load balancer resources) will not be deleted if they weren't present at the initial create time.
See: projectsZonesClustersDelete
smart constructor.
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 #
The name of the Google Compute Engine zone in which the cluster resides.
pzcdBearerToken :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
OAuth bearer token.
pzcdClusterId :: Lens' ProjectsZonesClustersDelete Text Source #
The name of the cluster to delete.
pzcdProjectId :: Lens' ProjectsZonesClustersDelete Text Source #
The Google Developers Console project ID or project number.
pzcdCallback :: Lens' ProjectsZonesClustersDelete (Maybe Text) Source #
JSONP