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 |
Cancels and removes the preview currently associated with the deployment.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.cancelPreview
.
Synopsis
- type DeploymentsCancelPreviewResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("cancelPreview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentsCancelPreviewRequest :> Post '[JSON] Operation)))))))))
- deploymentsCancelPreview :: Text -> DeploymentsCancelPreviewRequest -> Text -> DeploymentsCancelPreview
- data DeploymentsCancelPreview
- dcpProject :: Lens' DeploymentsCancelPreview Text
- dcpPayload :: Lens' DeploymentsCancelPreview DeploymentsCancelPreviewRequest
- dcpDeployment :: Lens' DeploymentsCancelPreview Text
REST Resource
type DeploymentsCancelPreviewResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("cancelPreview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentsCancelPreviewRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for deploymentmanager.deployments.cancelPreview
method which the
DeploymentsCancelPreview
request conforms to.
Creating a Request
deploymentsCancelPreview Source #
Creates a value of DeploymentsCancelPreview
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeploymentsCancelPreview Source #
Cancels and removes the preview currently associated with the deployment.
See: deploymentsCancelPreview
smart constructor.
Instances
Request Lenses
dcpProject :: Lens' DeploymentsCancelPreview Text Source #
The project ID for this request.
dcpPayload :: Lens' DeploymentsCancelPreview DeploymentsCancelPreviewRequest Source #
Multipart request metadata.
dcpDeployment :: Lens' DeploymentsCancelPreview Text Source #
The name of the deployment for this request.