Hi,
I want to start a task from a client to attach and detach a scsi lun from esxi host. I found this method:
HostStorageSystem.AttachScsiLun
How can I use this method from the client?
There is a method VimPortType.createTask(_this, obj, taskTypeId, initiatedBy, cancelable, parentTaskKey) in the given Java API (based on vim 2.5 and vSphere API 4.0)
Is it possible to start the task with this call? What means obj and taskTypeId?
Do you have any code samples or hints how to create and start a task from the client.
Thx in advance
Regards,
Sven