mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-06 23:01:56 +08:00
This uses a shared route for all 6 objects, as well as shared cli and sdk code. Unfortunately, there is not a way to share such code in openapi.yml, so that part ends up quite verbose. Eventually, we should add a web interface for this, but it's best to wait until we refactor the web interfaces for the objects to consistently use the current postgres web interface.
11 lines
633 B
Text
11 lines
633 B
Text
ubi vm command [...]
|
|
ubi vm (location/vm-name | vm-id) [post-options] post-command [...]
|
|
ubi vm list [options]
|
|
ubi vm location/vm-name create [options] public_key
|
|
ubi vm (location/vm-name | vm-id) destroy [options]
|
|
ubi vm (location/vm-name | vm-id) rename new-name
|
|
ubi vm (location/vm-name | vm-id) restart
|
|
ubi vm (location/vm-name | vm-id) [options] scp [scp-options] (local-path :remote-path | :remote-path local-path)
|
|
ubi vm (location/vm-name | vm-id) [options] sftp [sftp-options]
|
|
ubi vm (location/vm-name | vm-id) show [options]
|
|
ubi vm (location/vm-name | vm-id) [options] ssh [ssh-options --] [remote-cmd [remote-cmd-arg ...]]
|