Delete Deployment

deployment_manager.delete_deployment
ActionGoogle Cloudconnection required

Calls deploymentmanager v2 DELETE /deploymentmanager/v2/projects/{project}/global/deployments/{deployment}.

Deletes a deployment and all of the resources in the deployment.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Deployment Manager V2
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
deployment
Deployment name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
clientOperationId
string—
creationTimestamp
string—
description
string—
endTime
string—
error
object—
firewallPolicyRuleOperationMetadata
object—
getVersionOperationMetadata
object—
httpErrorMessage
string—
httpErrorStatusCode
integer—
id
string—
insertTime
string—
instancesBulkInsertOperationMetadata
object—
kind
string—
name
string—
operationGroupId
string—
operationType
string—
progress
integer—
region
string—
selfLink
string—
selfLinkWithId
string—
setAutoscalerLinkOperationMetadata
object—
setCommonInstanceMetadataOperationMetadata
object—
startTime
string—
status
string—
statusMessage
string—
targetId
string—
targetLink
string—
user
string—
warnings
array—
zone
string—
{
  "clientOperationId": "",
  "creationTimestamp": "",
  "description": "",
  "endTime": "",
  "error": {},
  "firewallPolicyRuleOperationMetadata": {},
  "getVersionOperationMetadata": {},
  "httpErrorMessage": "",
  "httpErrorStatusCode": 0,
  "id": "",
  "insertTime": "",
  "instancesBulkInsertOperationMetadata": {},
  "kind": "",
  "name": "",
  "operationGroupId": "",
  "operationType": "",
  "progress": 0,
  "region": "",
  "selfLink": "",
  "selfLinkWithId": "",
  "setAutoscalerLinkOperationMetadata": {},
  "setCommonInstanceMetadataOperationMetadata": {},
  "startTime": "",
  "status": "",
  "statusMessage": "",
  "targetId": "",
  "targetLink": "",
  "user": "",
  "warnings": [],
  "zone": ""
}

See Delete Deployment run in a workflow.

In a technical demo we add the Google Cloud Deployment Manager V2 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.