To use this function add it to the class library file named PluginVCVirtualMachineService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginVCVirtualMachineService.ts
Function: GetAllVcVirtualDevices
privateGetAllVcVirtualDevices(objVcVirtualMachine:VcVirtualMachine):VcVirtualDevice[]{
letobjVcVirtualMachineConfigInfo:VcVirtualMachineConfigInfo=objVcVirtualMachine.config;
letobjVcVirtualHardware:VcVirtualHardware=objVcVirtualMachineConfigInfo.hardware;
letarrVcVirtualDevice:VcVirtualDevice[]=objVcVirtualHardware.device;
returnarrVcVirtualDevice;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
