mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
63 lines
2.3 KiB
Text
63 lines
2.3 KiB
Text
NAME
|
|
gcloud alpha deployment-manager deployments stop - stop a pending or
|
|
running deployment update or creation
|
|
|
|
SYNOPSIS
|
|
gcloud alpha deployment-manager deployments stop DEPLOYMENT_NAME [--async]
|
|
[--fingerprint=FINGERPRINT] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) This command will stop a currently running or pending operation on
|
|
a deployment.
|
|
|
|
EXAMPLES
|
|
To stop a running operation on a deployment, run:
|
|
|
|
$ gcloud alpha deployment-manager deployments stop my-deployment
|
|
|
|
To issue a stop command without waiting for the operation to complete, run:
|
|
|
|
$ gcloud alpha deployment-manager deployments stop my-deployment \
|
|
--async
|
|
|
|
To stop a running operation on a deployment providing a fingerprint, run:
|
|
|
|
$ gcloud alpha deployment-manager deployments stop my-deployment \
|
|
--fingerprint=deployment-fingerprint
|
|
|
|
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
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud deployment-manager deployments stop
|
|
|
|
$ gcloud beta deployment-manager deployments stop
|
|
|