InvalidDeviceOperation

InvalidDeviceOperation
InvalidDeviceOperation

An InvalidDeviceOperation exception is thrown if virtual machine creation or configuration fails because an invalid operation is attempted on the given device.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ],
    "property": "string",
    "deviceIndex": 0,
    "badOp": "string",
    "badFileOp": "string"
}
badOp
Optional

The type of operation being performed on the specified virtual device.

Valid values are:

Possible values:

  • add: Specifies the addition of a virtual device to the configuration.
  • remove: Specifies the removal of a virtual device.
  • edit: Specifies changes to the virtual device specification.
Possible values are : add, remove, edit,
badFileOp
Optional

The type of operation being performed on the backing of a virtual device.

Valid values are:

Possible values:

  • 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.
Possible values are : create, destroy, replace,