# Enum - VirtualDeviceConfigSpecFileOperation(vim.vm.device.VirtualDeviceSpec.FileOperation)

Property of
  InvalidDeviceOperation, VirtualDeviceConfigSpec
Since
  2.0

## Enum Description

The type of operation being performed on the backing of a virtual device. Valid values are:

Enum Constants

Name | Description
--- | ---
create | Specifies the creation of the device backing; for example, the creation of a virtual disk or floppy image file.
destroy | Specifies the destruction of a device backing.
replace | Specifies the deletion of the existing backing for a virtual device and the creation of a new backing.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDeviceConfigSpecFileOperation"> <restriction base="xsd:string"> <enumeration value="create"/> <enumeration value="destroy"/> <enumeration value="replace"/> </restriction> </simpleType>