mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 27 12:05:40 UTC 2023
This commit is contained in:
parent
54eca12593
commit
6c60d7f07f
256 changed files with 8313 additions and 442 deletions
77
gcloud/infra-manager/deployments/delete
Normal file
77
gcloud/infra-manager/deployments/delete
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
NAME
|
||||
gcloud infra-manager deployments delete - delete deployments
|
||||
|
||||
SYNOPSIS
|
||||
gcloud infra-manager deployments delete (DEPLOYMENT : --location=LOCATION)
|
||||
[--async] [--delete-policy=DELETE_POLICY] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a deployment
|
||||
|
||||
EXAMPLES
|
||||
To delete the deployment example-deployment at location us-central1, run:
|
||||
|
||||
$ gcloud infra-manager deployments delete \
|
||||
projects/example-project/locations/us-central1/deployments/\
|
||||
example-deployment
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Deployment resource - deployments TBD The arguments in this group can be
|
||||
used to specify the attributes of this resource. (NOTE) Some attributes
|
||||
are not given arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument deployment on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
DEPLOYMENT
|
||||
ID of the deployment or fully qualified identifier for the
|
||||
deployment.
|
||||
|
||||
To set the deployment attribute:
|
||||
▸ provide the argument deployment on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
locations TBD
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument deployment on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--delete-policy=DELETE_POLICY
|
||||
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. DELETE_POLICY must be one of: abandon, delete,
|
||||
delete-policy-unspecified.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the config/v1 API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha infra-manager deployments delete
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue