@Sample(name="task-list",
description="This sample prints out a list of tasks if any are running")
public class TaskList
extends ConnectedVimServiceBase
TaskList This sample prints out a list of tasks if any are running The sample display the tasks in the following format: Operation: Name: Type: State: Error: Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication Command Line: run.bat com.vmware.general.TaskList --url [webserviceurl] --username [username] --password [password]
ConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
TaskList() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.vmware.vim25.ObjectContent> |
list() |
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection