Register VM operation
The Register VM operation adds an existing virtual machine (VM) to a folder.
The following table describes the elements for this request:
Adapter request elements for the Register VM operation
Element | Definition | Required |
---|---|---|
<operation-type> | Defines the type of the operation: Basic_VM | Yes |
<operation-name> | Defines the name of the operation: Register_VM | Yes |
<soap-url> | Specifies the URL for the remote SOAP service running on the VMware VirtualCenter | No |
<transport> | Specifies the transport protocol for the message | No |
<user-name> | Specifies the user name that is used for HTTP basic authentication on the VMware Virtual Center | No |
<password> | Specifies the password corresponding to <user-name> | Conditional; required if <user-name> is specified |
<parameters> | Contains the elements required to execute the operation | Yes |
<folder> | Specifies the folder in which the VM is to be registered | Yes |
<path> | Specifies the datastore path to the VM | Yes |
<name> | Specifies the name to be assigned to the VM | No |
<as-template> | Specifies whether to mark the VM as a template | No |
<resource-pool> | Specifies the resource pool to which the VM is to be attached | Conditional; not required if the VM is imported as a template |
<host-system> | Specifies the target host on which the VM runs | Conditional; required if the VM is imported as a template |
The [expand] macro is a standalone macro and it cannot be used inline.