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 |
Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.
See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.diagnose
.
Synopsis
- type ProjectsRegionsClustersDiagnoseResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (CaptureMode "clusterName" "diagnose" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DiagnoseClusterRequest :> Post '[JSON] Operation)))))))))))))
- projectsRegionsClustersDiagnose :: DiagnoseClusterRequest -> Text -> Text -> Text -> ProjectsRegionsClustersDiagnose
- data ProjectsRegionsClustersDiagnose
- pXgafv :: Lens' ProjectsRegionsClustersDiagnose (Maybe Xgafv)
- pUploadProtocol :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)
- pAccessToken :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)
- pUploadType :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)
- pPayload :: Lens' ProjectsRegionsClustersDiagnose DiagnoseClusterRequest
- pClusterName :: Lens' ProjectsRegionsClustersDiagnose Text
- pRegion :: Lens' ProjectsRegionsClustersDiagnose Text
- pProjectId :: Lens' ProjectsRegionsClustersDiagnose Text
- pCallback :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)
REST Resource
type ProjectsRegionsClustersDiagnoseResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (CaptureMode "clusterName" "diagnose" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DiagnoseClusterRequest :> Post '[JSON] Operation))))))))))))) Source #
A resource alias for dataproc.projects.regions.clusters.diagnose
method which the
ProjectsRegionsClustersDiagnose
request conforms to.
Creating a Request
projectsRegionsClustersDiagnose Source #
Creates a value of ProjectsRegionsClustersDiagnose
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsClustersDiagnose Source #
Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.
See: projectsRegionsClustersDiagnose
smart constructor.
Instances
Request Lenses
pUploadProtocol :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pAccessToken :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pPayload :: Lens' ProjectsRegionsClustersDiagnose DiagnoseClusterRequest Source #
Multipart request metadata.
pClusterName :: Lens' ProjectsRegionsClustersDiagnose Text Source #
Required. The cluster name.
pRegion :: Lens' ProjectsRegionsClustersDiagnose Text Source #
Required. The Cloud Dataproc region in which to handle the request.
pProjectId :: Lens' ProjectsRegionsClustersDiagnose Text Source #
Required. The ID of the Google Cloud Platform project that the cluster belongs to.