Global InfraGlobal Infra Cloud
file-storage

storagevm

CLI reference for storagevm (file-storage).

gi file-storage storagevm

Subcommands

CommandDescription
gi file-storage storagevm listList storagevms.
gi file-storage storagevm createCreate a new storagevm.
gi file-storage storagevm update <id>Update a storagevm.
gi file-storage storagevm delete <id>Delete a storagevm.

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 file-storage storagevm list

# Filter by attribute
gi file-storage storagevm list -f attributes.name=my-value

# Create from file
gi file-storage storagevm create --file asset.yaml

# Update
gi file-storage storagevm update <id> --file asset.yaml

# Delete
gi file-storage storagevm delete <id>

Usage Notes

On this page