location
The location of resources that the newly cloned virtual machine uses.
The following table contains the definition for the child elements of location.
Child elements -location
Element | Definition | Required |
---|---|---|
<resource-pool> | Specifies the resource pool to which the virtual machine should be attached | Conditional |
<cluster-compute-resource> | Specifies the cluster compute resource used to make the method call | Conditional |
<host-system> | Specifies the DNS name of the target host for the virtual machine
| Conditional |
<datastore> | Specifies the data store where the virtual machine should be located | No |
<transform> | Specifies the transformation to perform on the disks | No |
<disk-list> | Specifies the optional list that allows specifying the datastore location for each virtual disk <disk-list> <disk> <datastore></datastore> <disk-name></disk-name> </disk> <disk> <datastore></datastore> <disk-name></disk-name> </disk> ...... </disk-list> | No |
The following figure shows the sample for location.
XML Sample for location
<resource-pool>Resources</resource-pool>
<cluster-compute-resource>TestCluster</cluster-compute-resource>
<host-system>xyz.bmc.com</host-system>
<datastore>storage1</datastore>
<transform>flat</transform>
<disk-list>
<disk>
<disk-name>Hard Disk 1</disk-name>
<datastore>storage1</datastore>
</disk>
</disk-list>
</location>