mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 21:20:07 +00:00
gcloud: Tue Mar 1 04:29:52 UTC 2022
This commit is contained in:
parent
aab53307a8
commit
1456dab6c7
9791 changed files with 814712 additions and 0 deletions
64
gcloud/deployment-manager/deployments/cancel-preview
Normal file
64
gcloud/deployment-manager/deployments/cancel-preview
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
NAME
|
||||
gcloud deployment-manager deployments cancel-preview - cancel a pending or
|
||||
running deployment preview
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deployment-manager deployments cancel-preview DEPLOYMENT_NAME
|
||||
[--async] [--fingerprint=FINGERPRINT] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command will cancel a currently running or pending preview operation
|
||||
on a deployment.
|
||||
|
||||
EXAMPLES
|
||||
To cancel a running operation on a deployment, run:
|
||||
|
||||
$ gcloud deployment-manager deployments cancel-preview my-deployment
|
||||
|
||||
To issue a cancel preview command without waiting for the operation to
|
||||
complete, run:
|
||||
|
||||
$ gcloud deployment-manager deployments cancel-preview \
|
||||
my-deployment --async
|
||||
|
||||
To cancel a preview command providing a fingerprint:
|
||||
|
||||
$ gcloud deployment-manager deployments cancel-preview \
|
||||
my-deployment --fingerprint=deployment-fingerprint
|
||||
|
||||
When a deployment preview is cancelled, the deployment itself is not
|
||||
deleted.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
DEPLOYMENT_NAME
|
||||
Deployment name.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--fingerprint=FINGERPRINT
|
||||
The fingerprint to use in requests to modify a deployment. If not
|
||||
specified, a get deployment request will be made to fetch the latest
|
||||
fingerprint. A fingerprint is a randomly generated value that is part
|
||||
of the update, stop, and cancel-preview request to perform optimistic
|
||||
locking. It is initially generated by Deployment Manager and changes
|
||||
after every request to modify data. The latest fingerprint is printed
|
||||
when deployment data is modified.
|
||||
|
||||
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.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha deployment-manager deployments cancel-preview
|
||||
|
||||
$ gcloud beta deployment-manager deployments cancel-preview
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue