mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Dec 11 10:18:23 UTC 2024
This commit is contained in:
parent
ad2752c6c9
commit
ec6dc40f99
493 changed files with 17655 additions and 1753 deletions
|
|
@ -1,111 +0,0 @@
|
|||
NAME
|
||||
gcloud beta colab runtimes assign - assign a notebook runtime
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta colab runtimes assign --display-name=DISPLAY_NAME
|
||||
--runtime-template=RUNTIME_TEMPLATE [--async]
|
||||
[--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
||||
[--region=REGION] [--runtime-id=RUNTIME_ID]
|
||||
[--runtime-user=RUNTIME_USER] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) (DEPRECATED) This command is deprecated. Please use gcloud beta
|
||||
colab runtimes create instead.
|
||||
|
||||
Assign a notebook runtime to run code from your notebook (IPYNB file).
|
||||
|
||||
EXAMPLES
|
||||
To create a runtime in region 'us-central1' with the display name
|
||||
'my-runtime' and template with id 'my-template', run:
|
||||
|
||||
$ gcloud beta colab runtimes assign --region=us-central1 \
|
||||
--display-name=my-runtime --runtime-template=my-template
|
||||
|
||||
To create a runtime for user 'USER@DOMAIN.COM', run:
|
||||
|
||||
$ gcloud beta colab runtimes assign --runtime-user=USER@DOMAIN.COM \
|
||||
--region=us-central1 --display-name=my-runtime \
|
||||
--runtime-template=my-template
|
||||
|
||||
REQUIRED FLAGS
|
||||
--display-name=DISPLAY_NAME
|
||||
The display name of the runtime to create.
|
||||
|
||||
Runtime template resource - Unique name of the runtime template to
|
||||
configure the runtime with. This was optionally provided by setting
|
||||
--runtime-template-id in the create runtime-template command, or was
|
||||
system-generated if unspecified. This represents a Cloud resource. (NOTE)
|
||||
Some attributes are not given arguments in this group but can be set in
|
||||
other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --runtime-template on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
To set the region attribute:
|
||||
◆ provide the argument --runtime-template on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --region on the command line;
|
||||
◆ set the property colab/region.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--runtime-template=RUNTIME_TEMPLATE
|
||||
ID of the runtime template or fully qualified identifier for the
|
||||
runtime template.
|
||||
|
||||
To set the name attribute:
|
||||
▸ provide the argument --runtime-template on the command line.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--description=DESCRIPTION
|
||||
The description
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
Add labels to identify and group the runtime template.
|
||||
|
||||
Region resource - Cloud region to create runtime. Please see
|
||||
https://cloud.google.com/colab/docs/locations for a list of supported
|
||||
regions. This represents a Cloud resource. (NOTE) Some attributes are not
|
||||
given arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --region on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property colab/region with a fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
--region=REGION
|
||||
ID of the region or fully qualified identifier for the region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property colab/region.
|
||||
|
||||
--runtime-id=RUNTIME_ID
|
||||
The id of the runtime to create. If not specified, a random id will be
|
||||
generated.
|
||||
|
||||
--runtime-user=RUNTIME_USER
|
||||
User email for the runtime owner. Runtimes can only be used by the
|
||||
owner. If a user is not provided, the gcloud user will be assumed to be
|
||||
the owner. The user cannot be a service account.
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -16,9 +16,6 @@ GCLOUD WIDE FLAGS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
assign
|
||||
(BETA) (DEPRECATED) Assign a notebook runtime.
|
||||
|
||||
create
|
||||
(BETA) Create a notebook runtime.
|
||||
|
||||
|
|
@ -34,6 +31,9 @@ COMMANDS
|
|||
start
|
||||
(BETA) Start a stopped runtime.
|
||||
|
||||
stop
|
||||
(BETA) Stop a runtime.
|
||||
|
||||
upgrade
|
||||
(BETA) Upgrade a runtime.
|
||||
|
||||
|
|
|
|||
67
gcloud/beta/colab/runtimes/stop
Normal file
67
gcloud/beta/colab/runtimes/stop
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
NAME
|
||||
gcloud beta colab runtimes stop - stop a runtime
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta colab runtimes stop (RUNTIME : --region=REGION) [--async]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Stop a Colab Enterprise notebook runtime.
|
||||
|
||||
EXAMPLES
|
||||
To stop a runtime with id my-runtime in region us-central1, run:
|
||||
|
||||
$ gcloud beta colab runtimes stop my-runtime --region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Runtime resource - Unique name of the runtime to stop. This was optionally
|
||||
provided by setting --runtime-id in the create runtime command, or was
|
||||
system-generated if unspecified. The arguments in this group can be used
|
||||
to specify the attributes of this resource. (NOTE) Some attributes are not
|
||||
given arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument runtime on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
RUNTIME
|
||||
ID of the runtime or fully qualified identifier for the runtime.
|
||||
|
||||
To set the name attribute:
|
||||
▸ provide the argument runtime on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
Cloud region for the runtime.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument runtime on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property colab/region.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
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 colab runtimes stop
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue