Options for the stop command

This page describes the datalab stop command.


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

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



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.


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