设置云主机usb重定向开关(SetVmUsbRedirect)
用户可以使用SetVmUsbRedirect设置云主机usb重定向开关。
例如:
SetVmUsbRedirect uuid=8c14cf1dd17642c19622c924d065bb00 enable=true
参数(Parameters)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
uuid | 资源的UUID,唯一标示该资源 | 2.1 | ||
enable | 设置为true代表开关开启,设置为false代表开关关闭 |
|
2.1 | |
userTags | 用户标签,请参见 创建用户标签(CreateUserTag) | 是 | 2.1 | |
systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag) | 是 | 2.1 | |
timeout | 是 |