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 |
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.stop
.
Synopsis
- type DeploymentsStopResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("stop" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentsStopRequest :> Post '[JSON] Operation)))))))))
- deploymentsStop :: Text -> DeploymentsStopRequest -> Text -> DeploymentsStop
- data DeploymentsStop
- dsProject :: Lens' DeploymentsStop Text
- dsPayload :: Lens' DeploymentsStop DeploymentsStopRequest
- dsDeployment :: Lens' DeploymentsStop Text
REST Resource
type DeploymentsStopResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("stop" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentsStopRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for deploymentmanager.deployments.stop
method which the
DeploymentsStop
request conforms to.
Creating a Request
Creates a value of DeploymentsStop
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeploymentsStop Source #
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
See: deploymentsStop
smart constructor.
Instances
Request Lenses
dsPayload :: Lens' DeploymentsStop DeploymentsStopRequest Source #
Multipart request metadata.
dsDeployment :: Lens' DeploymentsStop Text Source #
The name of the deployment for this request.