# Enum - VirtualDeviceConfigSpecOperation(vim.vm.device.VirtualDeviceSpec.Operation)

Property of
  InvalidDeviceOperation, VirtualDeviceConfigSpec
Since
  2.0

## Enum Description

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

Enum Constants

Name | Description
--- | ---
add | Specifies the addition of a virtual device to the configuration.
edit | Specifies changes to the virtual device specification.
remove | Specifies the removal of a virtual device.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VirtualDeviceConfigSpecOperation"> <restriction base="xsd:string"> <enumeration value="add"/> <enumeration value="remove"/> <enumeration value="edit"/> </restriction> </simpleType>