@Sample(name="scsi-lun",
description="This sample displays the CanonicalName,Vendor,Model,Data,Namespace and NamespaceId of the host SCSI LUN name")
public class SCSILunName
extends ConnectedVimServiceBase
SCSILunName This sample displays the CanonicalName,Vendor,Model,Data,Namespace and NamespaceId of the host SCSI LUN name Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication hostname [required] : host for which SCSI details will be displayed Command Line: run.bat com.vmware.scsilun.SCSILunName --url [webserviceurl] --username [username] --password [password] --hostname [host name]
ConnectedVimServiceBase.ConnectionExceptionPROP_ME_NAME, SVC_INST_NAME| Constructor and Description |
|---|
SCSILunName() |
| Modifier and Type | Method and Description |
|---|---|
void |
printLunInfo(com.vmware.vim25.ManagedObjectReference host) |
void |
run() |
void |
setHostname(java.lang.String hostname) |
basicConnectionFromConnection, connect, disconnect, getServiceInstanceReference, setConnection, setHostConnection@Option(name="hostname",
description="host for which SCSI details will be displayed")
public void setHostname(java.lang.String hostname)
public void printLunInfo(com.vmware.vim25.ManagedObjectReference host)
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.vim25.InvalidPropertyFaultMsg@Action
public void run()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.vim25.InvalidPropertyFaultMsg