USB Redirection
Overview
ZStack Cloud allows you to redirect a USB device to a VM instance. For example, when you need to use the VDI feature, you can redirect the USB device from the VDI client to the VDI VM instance.
Operations
GetVmUsbRedirect
Obtains the USB redirection switch status of a VM instance. For example,
GetVmUsbRedirect uuid=bb5fd18e914f4bfd88032edd0ee7b975
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The resource UUID. | 2.1 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 2.1 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 2.1 | |
| timeout | Yes |
SetVmUsbRedirect
Sets the USB redirection switch status of a VM instance. For example,
SetVmUsbRedirect uuid=8c14cf1dd17642c19622c924d065bb00 enable=true
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The resource UUID. | 2.1 | ||
| enable | If true, the USB redirection switch is enabled, or vice versa. |
|
2.1 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 2.1 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 2.1 | |
| timeout | Yes |
