mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
56 lines
1.9 KiB
Text
56 lines
1.9 KiB
Text
NAME
|
|
gcloud beta app instances disable-debug - disable debug mode for an
|
|
instance
|
|
|
|
SYNOPSIS
|
|
gcloud beta app instances disable-debug [INSTANCE]
|
|
[--service=SERVICE, -s SERVICE] [--version=VERSION, -v VERSION]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) When not in debug mode, SSH will be disabled on the VMs. They will
|
|
be included in the health checking pools.
|
|
|
|
Note that any local changes to an instance will be lost if debug mode is
|
|
disabled on the instance. New instance(s) may spawn depending on the app's
|
|
scaling settings.
|
|
|
|
EXAMPLES
|
|
To disable debug mode for a particular instance, run:
|
|
|
|
$ gcloud beta app instances disable-debug --service=s1 \
|
|
--version=v1 i1
|
|
|
|
To disable debug mode for an instance chosen interactively, run:
|
|
|
|
$ gcloud beta app instances disable-debug
|
|
|
|
POSITIONAL ARGUMENTS
|
|
[INSTANCE]
|
|
The instance ID to disable debug mode on. If not specified, select
|
|
instance interactively. Must uniquely specify (with other flags)
|
|
exactly one instance
|
|
|
|
FLAGS
|
|
--service=SERVICE, -s SERVICE
|
|
If specified, only match instances belonging to the given service. This
|
|
affects both interactive and non-interactive selection.
|
|
|
|
--version=VERSION, -v VERSION
|
|
If specified, only match instances belonging to the given version. This
|
|
affects both interactive and non-interactive selection.
|
|
|
|
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 beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud app instances disable-debug
|
|
|