mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
52 lines
1.5 KiB
Text
52 lines
1.5 KiB
Text
NAME
|
|
gcloud app versions stop - stop serving specified versions
|
|
|
|
SYNOPSIS
|
|
gcloud app versions stop VERSIONS [VERSIONS ...]
|
|
[--service=SERVICE, -s SERVICE] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
This command stops serving the specified versions. It may only be used if
|
|
the scaling module for your service has been set to manual.
|
|
|
|
EXAMPLES
|
|
To stop a specific version across all services, run:
|
|
|
|
$ gcloud app versions stop v1
|
|
|
|
To stop multiple named versions across all services, run:
|
|
|
|
$ gcloud app versions stop v1 v2
|
|
|
|
To stop a single version on a single service, run:
|
|
|
|
$ gcloud app versions stop --service=servicename v1
|
|
|
|
To stop multiple versions in a single service, run:
|
|
|
|
$ gcloud app versions stop --service=servicename v1 v2
|
|
|
|
Note that that last example may be more simply written using the services
|
|
stop command (see its documentation for details).
|
|
|
|
POSITIONAL ARGUMENTS
|
|
VERSIONS [VERSIONS ...]
|
|
The versions to stop (optionally filtered by the --service flag).
|
|
|
|
FLAGS
|
|
--service=SERVICE, -s SERVICE
|
|
If specified, only stop versions from the given service.
|
|
|
|
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 variant is also available:
|
|
|
|
$ gcloud beta app versions stop
|
|
|