...
The following table includes global vss-cli
options related to account
and ` username and password, API endpoint and MFA TOTP token.
Name | Option | Environment Variable | Description |
---|---|---|---|
Username |
|
| User to interact with the VSS API. |
Password |
|
| User password. |
MFA TOTP Token |
|
| If MFA enabled, will be prompted. |
Configuration Path |
|
| Alternative configuration path. |
Request Timeout |
|
| Request timeout in seconds. |
API endpoint |
|
| ITS Private Cloud endpoint instance. |
...
Action | Description | Command | ||
---|---|---|---|---|
CPU | Update VM CPU count. |
| ||
CPU hot-add | Update VM cpu hot-add settings. |
| ||
Memory | Update VM memory size. |
| ||
Memory hot-add | Update VM memory hot-add settings. |
| ||
Disk New (basic) | Create single or multiple disks. |
| ||
Power State: | Turn off, on, reset. Shutdown and reboot (VMware Tools required) |
| ||
Disk New (adv.) | Create single or multiple disks using specific SCSI controller |
| ||
Disk Copy (adv.) | Copy and attach disks to VM from |
| ||
Disk Update | Update VM disk |
| ||
Disk Update (adv.) | Update VM disk |
| ||
Disk Delete | Delete VM disk(s). Confirmation will be prompted. |
| ||
NIC New | Create new network interface specifying Network name. |
| ||
NIC new (adv.) | Create new network interface specifying Network name and Type. |
| ||
NIC Update Network: | Update network interface network. |
| ||
NIC Update State | Update network interface state to either |
| ||
NIC Update Type | Update network interface adapter type. defaults to |
| ||
NIC Delete | Delete network interface adapter(s) |
| ||
CD/ISO Create | Create CD drive with attached ISO image from Content Library or client. |
| ||
CD/ISO Update | Update CD drive to connect to a different ISO or disconnect. |
| ||
Floppy Drive Create | Create virtual floppy drive with given image or client. |
| ||
Floppy Drive Update | Update virtual floppy backing with a different image or client. |
| ||
Floppy Drive Remove | Remove virtual floppy |
| ||
Storage Type | Update VM storage type to either |
| ||
Domain | Update VM compute domain. This action will perform vMotion and storage vMotion. |
| ||
Operating System | Update VM operating system settings. This setting is responsible to present the right virtual hardware to the guest OS. |
| ||
Add vTPM | Add virtual Trusted Platform Module to VM. Virtualization Based Security, EFI and secure boot will be also en |
| ||
Add vGPU | Add GPU to VM based on given profile. |
| ||
Enable|Disable VBS | Enable or disable Virtualization Based Security. |
| ||
Enable|Disable Secure Boot | Enable or Disable secure boot. |
| ||
FIrmware | Update VM firmware to bios or EFI. |
| ||
Convert to|from template | Mark VM as template or template as VM. |
| ||
Administrator | Update VM admin metadata. |
| ||
Informational Contacts | Add Informational Contacts in VM metadata. |
|
Virtual Machine (
...
deployment)
Restore Deploy virtual machine from ZFS snapshots. More information about Restore Requests available here: How-to Request Virtual Machine Restore
...
machines from content library, clone, template, shell, file specification and more.
Type | Description | Command |
---|
Get Restore Points
Content Library | Deploy a virtual machine from an OVA image with pre-installed operating system from our Content Library. |
|
|
|
|
Submit Restore
Submit a restore request.
|
|
Virtual Machine (deployment)
Deploy virtual machine
Create virtual machine snapshot now
Code Block |
---|
vss-cli compute vm set {id-or-name} snapshot mk \
--description {description} --lifetime {n<72} --memory |
Type | Description | Command | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Content Library | Deploy a virtual machine from an OVA image with pre-installed operating system from our Content Library.
Note. | ||||||||||||||||||
Shell VM | Deploy an empty virtual machine to be manually installed by the mounted iso. |
| |||||||||||||||||
Clone Virtual Machine or Deploy from Template | Clone virtual machine from another VM, template. |
| Clone Virtual machine from snapshot | Clone virtual machine from another VM snapshot id||||||||||||||||
Deploy multiple Virtual Machine in batch | Deploy multiple virtual machines in a single command. |
| clone
|
--snapshot {snapId} \
|
|
| custom
| spec vm-clone-spec.yaml \
| power-on CLI Spec (existing) | Deploy a virtual machine from existing vss-cli specification
| |||||||||
Clone Virtual machine from snapshot | Clone virtual machine from another VM snapshot id. |
| file {cli-spec}.{json|yaml}|||||||||||||||||
CLI Spec (new) | Deploy a virtual machine from new |
| From Image | Note: Upload
|
Retirement requests can be added to shell
, from-clone
, from-template
, from-clib
as follows: --retire-type {timedelta|datetime}
: Retirement request type. --retire-warning {n}
: Days before retirement date to notify. --retire-value {hours},{days},{months}
: Value for given retirement type.
Virtual Machine Snapshot
Virtual Machine Snapshot management:
| ||||
CLI Spec (existing) | Deploy a virtual machine from existing |
| ||
CLI Spec (new) | Deploy a virtual machine from new |
| ||
From Image | Note: Upload
|
Retirement requests can be added to shell
, from-clone
, from-template
, from-clib
as follows: --retire-type {timedelta|datetime}
: Retirement request type. --retire-warning {n}
: Days before retirement date to notify. --retire-value {hours},{days},{months}
: Value for given retirement type.
Virtual Machine Snapshot
Virtual Machine Snapshot management:
Create virtual machine snapshot now | ||
| ||
Create virtual machine snapshot later | ||
| ||
List existing virtual machine snapshots | ||
| ||
Revert to existing virtual machine snapshots | ||
| ||
Remove existing virtual machine snapshot | ||
| ||
Extend virtual machine snapshot lifetime | ||
|
...
Create Folder | ||||
| ||||
Rename Folder | ||||
| Move Folder with its contents
| |||
Move Folder with its contents | ||||
|
Virtual Machine Inventory
Generate virtual machine inventory files.
Create Inventory File |
| ||
Download Inventory File |
|
You can download with the"Create" command by adding --wait
to the global vss-cli
i.e. vss-cli --wait compute inventory mk --fmt csv --all
Virtual Machine (restore)
Restore virtual machine from ZFS snapshots. More information about Restore Requests available here: How-to Request Virtual Machine Restore
Action | Description | Command | ||
---|---|---|---|---|
Get Restore Points | List available restore points filtered by timestamp. |
|
|
|
Virtual Machine Inventory
Generate virtual machine inventory files.
Create Inventory File
Code Block |
---|
vss-cli compute inventory mk --fmt {json|csv} --all |
| ||||
Submit Restore | Submit a restore request. |
|
|
|
...
|
Virtual Machine query
Action | Description | Command | ||
---|---|---|---|---|
List | List all virtual machines |
| ||
Search | Search for vm by attribute |
| ||
Attributes | Get additional info for specific attribute |
|
...