Global InfraGlobal Infra Cloud
user-access

workspace

CLI reference for workspace (user-access).

gi user-access workspace

Subcommands

CommandDescription
gi user-access workspace listList workspaces.
gi user-access workspace createCreate a new workspace.
gi user-access workspace update <id>Update a workspace.
gi user-access workspace delete <id>Delete a workspace.
gi user-access workspace reboot <id>This action reboots the workspace.
gi user-access workspace rebuild <id>This action rebuilds the workspace.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

create flags

FlagAliasDescription
--file—Path to a YAML or JSON file describing the asset

update flags

FlagAliasDescription
--file—Path to a YAML or JSON file with updated attributes

Examples

# List all
gi user-access workspace list

# Filter by attribute
gi user-access workspace list -f attributes.directory=my-value

# Create from file
gi user-access workspace create --file asset.yaml

# Update
gi user-access workspace update <id> --file asset.yaml

# Delete
gi user-access workspace delete <id>

# Reboot
gi user-access workspace reboot <id>

# Rebuild
gi user-access workspace rebuild <id>

Usage Notes

On this page