Disk.isAttachedToVirtualMachine 方法

定义

public boolean isAttachedToVirtualMachine()

返回

boolean

true if the disk is attached to a virtual machine, otherwise false

适用于