Hi all.
I'm struggling to find a reliable way to identify an event of adding or removing virtual hardware.
I would expect I would see PropertyChange.op assigned to PropertyChangeOp.add or PropertyChangeOp.remove/indirectRemove in such situation, but it does not happen.
And I suppose I cannot use ObjectUpdate.kind as a virtual device is not a managed object.
Reacting to VmReconfiguredEvent will probably be my next solution, I'm wondering if there is something a little bit simpler.
Would anybody have any suggestions please?
Thank you in advance.
P.S. I use C# VI SDK to communicate with VC and ESX, my service is written with .NET 3.5, but I don't believe it is relevant.
I'm struggling to find a reliable way to identify an event of adding or removing virtual hardware.
I would expect I would see PropertyChange.op assigned to PropertyChangeOp.add or PropertyChangeOp.remove/indirectRemove in such situation, but it does not happen.
And I suppose I cannot use ObjectUpdate.kind as a virtual device is not a managed object.
Reacting to VmReconfiguredEvent will probably be my next solution, I'm wondering if there is something a little bit simpler.
Would anybody have any suggestions please?
Thank you in advance.
P.S. I use C# VI SDK to communicate with VC and ESX, my service is written with .NET 3.5, but I don't believe it is relevant.