wb app create gcp
Categories:
Name
wb-app-create-gcp - Create a new Google Cloud Compute Engine app.
Synopsis
wb app create gcp --config=<appConfigName> [--description=<description>] [--format=<format>] [--idle-timeout-seconds=<idleTimeoutSeconds>] [--instance-id=<instanceId>] [--location=<location>] [--machine-type=<machineType>] [--workspace=<id>] [-M=<String=String>[,<String=String>...]]... (--id=<id>) [[--accelerator-type=<type>] [--accelerator-core-count=<coreCount>]] [[--data-disk-size=<sizeGb>] [--data-disk-type=<type>]]
Description
Create a new Google Cloud Compute Engine app.
Options
-
--config, --app-config=<appConfigName>
App config to be used for the app instance. -
--description=<description>
Description of the resource. -
--format=<format>
Set the format for printing command output: JSON, TEXT. Defaults to the config format property.Default: null
-
--id=<id>
ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores. -
--id=<id>
ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores. -
--idle-timeout-seconds=<idleTimeoutSeconds>
The idle timeout in seconds for the instance. If the instance is idle for this duration, it will be automatically stopped. Defaults to 4 hours. -
--instance-id=<instanceId>
The unique name to give to the Compute Engine cloud instance. Cannot be changed later. The name must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash. If not specified, a value will be auto-generated for you. -
--location=<location>
The Compute Engine location of the instance (https://cloud.google.com/compute/docs/regions-zones#available). -
-M, --metadata=<String=String>[,<String=String>...]
Custom metadata to apply to this app instance. Specify multiple metadata in the format of --metadata=key1=value1,key2=value2. -
--machine-type=<machineType>
The Compute Engine machine type of the instance (https://cloud.google.com/compute/docs/general-purpose-machines). -
--workspace=<id>
Workspace id to use for this command only.
The hardware accelerator used on this instance.
- --accelerator-core-count=<coreCount>
Count of cores of this accelerator. - --accelerator-type=<type>
Type of this accelerator.
Data disk configurations.
- --data-disk-size=<sizeGb>
The size of the disk in GB attached to this instance. - --data-disk-type=<type>
The type of disk attached to this instance, defaults to the standard persistent disk.
Last Modified: 13 December 2024