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.zones.clusters.list
.
Synopsis
- type ProjectsZonesClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse))))))))))))
- projectsZonesClustersList :: Text -> Text -> ProjectsZonesClustersList
- data ProjectsZonesClustersList
- proParent :: Lens' ProjectsZonesClustersList (Maybe Text)
- proXgafv :: Lens' ProjectsZonesClustersList (Maybe Xgafv)
- proUploadProtocol :: Lens' ProjectsZonesClustersList (Maybe Text)
- proAccessToken :: Lens' ProjectsZonesClustersList (Maybe Text)
- proUploadType :: Lens' ProjectsZonesClustersList (Maybe Text)
- proZone :: Lens' ProjectsZonesClustersList Text
- proProjectId :: Lens' ProjectsZonesClustersList Text
- proCallback :: Lens' ProjectsZonesClustersList (Maybe Text)
REST Resource
type ProjectsZonesClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse)))))))))))) Source #
A resource alias for container.projects.zones.clusters.list
method which the
ProjectsZonesClustersList
request conforms to.
Creating a Request
projectsZonesClustersList Source #
Creates a value of ProjectsZonesClustersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsZonesClustersList Source #
Lists all clusters owned by a project in either the specified zone or all zones.
See: projectsZonesClustersList
smart constructor.
Instances
Request Lenses
proParent :: Lens' ProjectsZonesClustersList (Maybe 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.
proUploadProtocol :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
proAccessToken :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
OAuth access token.
proUploadType :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
proZone :: Lens' ProjectsZonesClustersList 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.
proProjectId :: Lens' ProjectsZonesClustersList Text Source #
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
proCallback :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
JSONP