VMware

Floppy Namespace

The Floppy namespace provides commands for configuring the virtual floppy drives of a virtual machine.

List of commands:



List Command

dcli com vmware vcenter vm hardware floppy list

Description

Returns commonly used information about the virtual floppy drives belonging to the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.

Example

dcli com vmware vcenter vm hardware floppy list --vm testId


Get Command

dcli com vmware vcenter vm hardware floppy get

Description

Returns information about a virtual floppy drive.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
floppy string Yes Virtual floppy drive identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy.

Example

dcli com vmware vcenter vm hardware floppy get --vm testId --floppy testId


Create Command

dcli com vmware vcenter vm hardware floppy create

Description

Adds a virtual floppy drive to the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
backing‑type string No Backing type for the virtual floppy drive. Valid values are: {IMAGE_FILE, HOST_DEVICE, CLIENT_DEVICE}
backing‑image‑file string No Path of the image file that should be used as the virtual floppy drive backing. This option is optional and it is only relevant when the value of type is IMAGE_FILE.
backing‑host‑device string No Name of the device that should be used as the virtual floppy drive backing. If unset, the virtual floppy drive will be configured to automatically detect a suitable host device.
start‑connected bool No Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Defaults to false if unset.
allow‑guest‑control bool No Flag indicating whether the guest can connect and disconnect the device. Defaults to false if unset.

Example

dcli com vmware vcenter vm hardware floppy create --vm testId


Update Command

dcli com vmware vcenter vm hardware floppy update

Description

Updates the configuration of a virtual floppy drive.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
floppy string Yes Virtual floppy drive identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy.
backing‑type string No Backing type for the virtual floppy drive. Valid values are: {IMAGE_FILE, HOST_DEVICE, CLIENT_DEVICE}
backing‑image‑file string No Path of the image file that should be used as the virtual floppy drive backing. This option is optional and it is only relevant when the value of type is IMAGE_FILE.
backing‑host‑device string No Name of the device that should be used as the virtual floppy drive backing. If unset, the virtual floppy drive will be configured to automatically detect a suitable host device.
start‑connected bool No Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. If unset, the value is unchanged.
allow‑guest‑control bool No Flag indicating whether the guest can connect and disconnect the device. If unset, the value is unchanged.

Example

dcli com vmware vcenter vm hardware floppy update --vm testId --floppy testId


Delete Command

dcli com vmware vcenter vm hardware floppy delete

Description

Removes a virtual floppy drive from the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
floppy string Yes Virtual floppy drive identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy.

Example

dcli com vmware vcenter vm hardware floppy delete --vm testId --floppy testId


Connect Command

dcli com vmware vcenter vm hardware floppy connect

Description

Connects a virtual floppy drive of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system. For a powered-off virtual machine, the Floppy.update command may be used to configure the virtual floppy drive to start in the connected state when the virtual machine is powered on.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
floppy string Yes Virtual floppy drive identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy.

Example

dcli com vmware vcenter vm hardware floppy connect --vm testId --floppy testId


Disconnect Command

dcli com vmware vcenter vm hardware floppy disconnect

Description

Disconnects a virtual floppy drive of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the floppy drive is not connected to its backing resource. For a powered-off virtual machine, the Floppy.update command may be used to configure the virtual floppy floppy to start in the disconnected state when the virtual machine is powered on.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
floppy string Yes Virtual floppy drive identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy.

Example

dcli com vmware vcenter vm hardware floppy disconnect --vm testId --floppy testId