| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/infra_manager/deployments/ |
Upload File : |
- release_tracks: [GA]
help_text:
brief: Delete deployments
description: Delete a deployment
examples: |-
To delete the deployment `example-deployment` at location `us-central1`, run:
$ {command} projects/example-project/locations/us-central1/deployments/example-deployment
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.infra_manager.resources:deployment
help_text: deployments TBD
params:
- arg_name: delete-policy
api_field: deletePolicy
help_text: |-
Policy on how resources actuated by the deployment should be deleted. The accepted values are DELETE, ABANDON.
DELETE = Delete resources actuated by the deployment.
ABANDON = Abandon resources and only delete deployment metadata.
request:
collection: config.projects.locations.deployments
modify_request_hooks:
- googlecloudsdk.command_lib.infra_manager.deploy_util:UpdateDeploymentDeleteRequestWithForce
response:
modify_response_hooks:
- googlecloudsdk.command_lib.infra_manager.deploy_util:DeleteCleanupStagedObjects
async:
collection: config.projects.locations.operations