gcloud compute networks switch-mode

NAME
gcloud compute networks switch-mode - switch the mode of a Google Compute Engine network
SYNOPSIS
gcloud compute networks switch-mode NAME --mode=MODE [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(DEPRECATED) switch-mode is deprecated. Please use --switch-to-custom-subnet-mode with gcloud compute networks update instead.

gcloud compute networks switch-mode is used to change the mode of a network. Currently, only changing from auto to custom mode is supported.

POSITIONAL ARGUMENTS
NAME
The name of the network for which to switch mode.
REQUIRED FLAGS
--mode=MODE
The target mode of the network. Only support "custom" now.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To switch NETWORK to custom subnet mode, run:
  $ gcloud compute networks switch-mode NETWORK --mode custom
NOTES
These variants are also available:
  $ gcloud alpha compute networks switch-mode
  $ gcloud beta compute networks switch-mode
Was this page helpful? Let us know how we did:

Send feedback about...