Class SDRSRecommendation


  • @Sample(name="sdrs-recommendation",
            description="This sample demonstrates how to Run the Storage DRS on a given SDRS cluster and show\nthe list of recommendations generated by SDRS.\n")
    public class SDRSRecommendation
    extends ConnectedVimServiceBase
     This sample demonstrates how to Run the Storage DRS on a given SDRS cluster and show
     the list of recommendations generated by SDRS.
     Parameters
    
     url             [required]: url of the web service.
     userName        [required]: username for the authentication.
     password        [required]: password for the authentication.
     podame          [required]: StoragePod name.
    
     Sample Usage:
     run.bat com.vmware.storage.SDRSRecommendation --url [URLString] --username [User]
     --password [Password] --podname [podname]
     
    • Constructor Detail

      • SDRSRecommendation

        public SDRSRecommendation()
    • Method Detail

      • setPodName

        @Option(name="podname",
                description="StoragePod name.")
        public void setPodName​(java.lang.String name)
      • run

        @Action
        public void run()
                 throws com.vmware.vim25.RuntimeFaultFaultMsg,
                        java.lang.reflect.InvocationTargetException,
                        com.vmware.vim25.InvalidPropertyFaultMsg,
                        java.lang.NoSuchMethodException,
                        java.lang.IllegalAccessException
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        java.lang.reflect.InvocationTargetException
        com.vmware.vim25.InvalidPropertyFaultMsg
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException