Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

HowTo create and start task from client?

$
0
0

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


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>