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: Google Container Engine API Reference for container.projects.zones.clusters.list
.
- type ProjectsZonesClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (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 :> Get '[JSON] ListClustersResponse)))))))))))))
- projectsZonesClustersList :: Text -> Text -> ProjectsZonesClustersList
- data ProjectsZonesClustersList
- pzclXgafv :: Lens' ProjectsZonesClustersList (Maybe Text)
- pzclUploadProtocol :: Lens' ProjectsZonesClustersList (Maybe Text)
- pzclPp :: Lens' ProjectsZonesClustersList Bool
- pzclAccessToken :: Lens' ProjectsZonesClustersList (Maybe Text)
- pzclUploadType :: Lens' ProjectsZonesClustersList (Maybe Text)
- pzclZone :: Lens' ProjectsZonesClustersList Text
- pzclBearerToken :: Lens' ProjectsZonesClustersList (Maybe Text)
- pzclProjectId :: Lens' ProjectsZonesClustersList Text
- pzclCallback :: Lens' ProjectsZonesClustersList (Maybe Text)
REST Resource
type ProjectsZonesClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("zones" :> (Capture "zone" Text :> ("clusters" :> (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 :> 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.
Request Lenses
pzclUploadProtocol :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pzclAccessToken :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
OAuth access token.
pzclUploadType :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pzclZone :: Lens' ProjectsZonesClustersList Text Source #
The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones.
pzclBearerToken :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
OAuth bearer token.
pzclProjectId :: Lens' ProjectsZonesClustersList Text Source #
The Google Developers Console project ID or project number.
pzclCallback :: Lens' ProjectsZonesClustersList (Maybe Text) Source #
JSONP