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 |
Deletes a deployment and all of the resources in the deployment.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.delete
.
Synopsis
- type DeploymentsDeleteResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> (QueryParam "deletePolicy" DeploymentsDeleteDeletePolicy :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))
- deploymentsDelete :: Text -> Text -> DeploymentsDelete
- data DeploymentsDelete
- ddProject :: Lens' DeploymentsDelete Text
- ddDeletePolicy :: Lens' DeploymentsDelete DeploymentsDeleteDeletePolicy
- ddDeployment :: Lens' DeploymentsDelete Text
REST Resource
type DeploymentsDeleteResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> (QueryParam "deletePolicy" DeploymentsDeleteDeletePolicy :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))) Source #
A resource alias for deploymentmanager.deployments.delete
method which the
DeploymentsDelete
request conforms to.
Creating a Request
Creates a value of DeploymentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeploymentsDelete Source #
Deletes a deployment and all of the resources in the deployment.
See: deploymentsDelete
smart constructor.
Instances
Request Lenses
ddDeletePolicy :: Lens' DeploymentsDelete DeploymentsDeleteDeletePolicy Source #
Sets the policy to use for deleting resources.
ddDeployment :: Lens' DeploymentsDelete Text Source #
The name of the deployment for this request.