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 |
Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.
See: Cloud Data Fusion API Reference for datafusion.projects.locations.instances.restart
.
Synopsis
- type ProjectsLocationsInstancesRestartResource = "v1beta1" :> (CaptureMode "name" "restart" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RestartInstanceRequest :> Post '[JSON] Operation))))))))
- projectsLocationsInstancesRestart :: RestartInstanceRequest -> Text -> ProjectsLocationsInstancesRestart
- data ProjectsLocationsInstancesRestart
- plirXgafv :: Lens' ProjectsLocationsInstancesRestart (Maybe Xgafv)
- plirUploadProtocol :: Lens' ProjectsLocationsInstancesRestart (Maybe Text)
- plirAccessToken :: Lens' ProjectsLocationsInstancesRestart (Maybe Text)
- plirUploadType :: Lens' ProjectsLocationsInstancesRestart (Maybe Text)
- plirPayload :: Lens' ProjectsLocationsInstancesRestart RestartInstanceRequest
- plirName :: Lens' ProjectsLocationsInstancesRestart Text
- plirCallback :: Lens' ProjectsLocationsInstancesRestart (Maybe Text)
REST Resource
type ProjectsLocationsInstancesRestartResource = "v1beta1" :> (CaptureMode "name" "restart" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RestartInstanceRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for datafusion.projects.locations.instances.restart
method which the
ProjectsLocationsInstancesRestart
request conforms to.
Creating a Request
projectsLocationsInstancesRestart Source #
Creates a value of ProjectsLocationsInstancesRestart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsInstancesRestart Source #
Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.
See: projectsLocationsInstancesRestart
smart constructor.
Instances
Request Lenses
plirUploadProtocol :: Lens' ProjectsLocationsInstancesRestart (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plirAccessToken :: Lens' ProjectsLocationsInstancesRestart (Maybe Text) Source #
OAuth access token.
plirUploadType :: Lens' ProjectsLocationsInstancesRestart (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plirPayload :: Lens' ProjectsLocationsInstancesRestart RestartInstanceRequest Source #
Multipart request metadata.