VmAlreadyExistsInDatacenter

VmAlreadyExistsInDatacenter
VmAlreadyExistsInDatacenter

Fault thrown when moving a standalone host between datacenters, and one or more of the virtual machines registered on the host are already registered to hosts in the target datacenter.

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"
        }
    ],
    "target": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "host": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "hostname": "string",
    "vm": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
host
Required

Reference to an instance of the HostSystem managed object.

string
hostname
Required

Name of the target host.

vm
Required

Virtual machines in the target datacenter which have the same registration information as those belonging to the target host.