RegisterVMRequestType
RegisterVMRequestType
The parameters of RegisterVM_Task.
JSON Example
{
"path": "string",
"name": "string",
"asTemplate": false,
"pool": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
string
path
Required
A datastore path to the virtual machine.
string
name
Optional
The name to be assigned to the virtual machine. If this parameter is not set, the displayName configuration parameter of the virtual machine is used. An entity name must be a non-empty string of less than 80 characters. The slash (/), backslash (\) and percent (%) will be escaped using the URL syntax. For example, %2F.
boolean
asTemplate
Required
Flag to specify whether or not the virtual machine should be marked as a template.