Options for the stop command

This page describes the datalab stop command. When you are ready to start using Cloud Datalab again, run the datalab connect command to restart the instance.

Usage

datalab stop [-h] [--project PROJECT] [--quiet]
             [--verbosity {debug,info,warning,error,critical,none}]
             [--zone ZONE]
             NAME

datalab stop stops the given Datalab instance's Google Compute Engine VM.

Options

-h/--help

Show a help message and exit

--project PROJECT

The Google Cloud Platform project name to use for this invocation.

If omitted then the current project is assumed.

--quiet

Do not issue any interactive prompts

--verbosity {debug,info,warning,error,critical,none}

Override the default output verbosity for this command.

--zone ZONE

The zone containing the instance. If not specified, you may be prompted to select a zone.

To avoid prompting when this flag is omitted, you can set the compute/zone property:

$ gcloud config set compute/zone ZONE

A list of zones can be fetched by running:

$ gcloud compute zones list

To unset the property, run:

$ gcloud config unset compute/zone

Alternatively, the zone can be stored in the environment variable CLOUDSDK_COMPUTE_ZONE.

Send feedback about...

Google Cloud Datalab Documentation