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 |
Lists all clusters owned by a project in either the specified zone or all zones.
See: Kubernetes Engine API Reference for container.projects.locations.clusters.list
.
Synopsis
- type ProjectsLocationsClustersListResource = "v1" :> (Capture "parent" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "zone" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse))))))))))
- projectsLocationsClustersList :: Text -> ProjectsLocationsClustersList
- data ProjectsLocationsClustersList
- plclParent :: Lens' ProjectsLocationsClustersList Text
- plclXgafv :: Lens' ProjectsLocationsClustersList (Maybe Xgafv)
- plclUploadProtocol :: Lens' ProjectsLocationsClustersList (Maybe Text)
- plclAccessToken :: Lens' ProjectsLocationsClustersList (Maybe Text)
- plclUploadType :: Lens' ProjectsLocationsClustersList (Maybe Text)
- plclZone :: Lens' ProjectsLocationsClustersList (Maybe Text)
- plclProjectId :: Lens' ProjectsLocationsClustersList (Maybe Text)
- plclCallback :: Lens' ProjectsLocationsClustersList (Maybe Text)
REST Resource
type ProjectsLocationsClustersListResource = "v1" :> (Capture "parent" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "zone" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse)))))))))) Source #
A resource alias for container.projects.locations.clusters.list
method which the
ProjectsLocationsClustersList
request conforms to.
Creating a Request
projectsLocationsClustersList Source #
Creates a value of ProjectsLocationsClustersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsClustersList Source #
Lists all clusters owned by a project in either the specified zone or all zones.
See: projectsLocationsClustersList
smart constructor.
Instances
Request Lenses
plclParent :: Lens' ProjectsLocationsClustersList Text Source #
The parent (project and location) where the clusters will be listed. Specified in the format 'projects/*/locations/*'. Location "-" matches all zones and all regions.
plclUploadProtocol :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plclAccessToken :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
OAuth access token.
plclUploadType :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plclZone :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.
plclProjectId :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
plclCallback :: Lens' ProjectsLocationsClustersList (Maybe Text) Source #
JSONP