gcloud app versions stop - stop serving specified versions
gcloud app versions stop VERSIONS [VERSIONS ...] [--service=SERVICE, -s SERVICE] [GCLOUD_WIDE_FLAG ...]
This command stops serving the specified versions. It may only be used if the scaling module for your service has been set to manual.
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).
- VERSIONS [VERSIONS ...]
The versions to stop (optionally filtered by the --service flag).
- --service=SERVICE, -s SERVICE
If specified, only stop versions from the given service.
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.
This variant is also available:
$ gcloud beta app versions stop