vRO Classes

Storage Class Create a new Instance

Methods addSCSIAdapter Creates a device config spec to add a SCSI adapter to a Virtual Machine use: storage.addSCSIAdapter(type, counter) String type allowed values SAS, LSI, PARA Number counter return Number counter example:

addDisk Creates a device config spec to add a Disk to a Virtual Machine use:…

Add item to Array if not exists

This function add an element to an array if it not exists