Class SCSILunName


  • @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]
     
    • Constructor Detail

      • SCSILunName

        public SCSILunName()
    • Method Detail

      • setHostname

        @Option(name="hostname",
                description="host for which SCSI details will be displayed")
        public void setHostname​(java.lang.String hostname)
      • printLunInfo

        public void printLunInfo​(com.vmware.vim25.ManagedObjectReference host)
                          throws com.vmware.vim25.RuntimeFaultFaultMsg,
                                 com.vmware.vim25.InvalidPropertyFaultMsg
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.vim25.InvalidPropertyFaultMsg
      • run

        @Action
        public void run()
                 throws com.vmware.vim25.RuntimeFaultFaultMsg,
                        com.vmware.vim25.InvalidPropertyFaultMsg
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.vim25.InvalidPropertyFaultMsg