Class ListProfiles


  • @Sample(name="listprofiles",
            description="Lists the storage profiles and their basic information")
    public class ListProfiles
    extends ConnectedServiceBase
     ListProfiles
    
     This sample lists the storage profiles and their basic information
    
     Parameters:
     url              [required] : url of the web service
     username         [required] : username for the authentication
     password         [required] : password for the authentication
     profilename      [required] : Name of the storage profile
    
     Command Line:
     run.bat com.vmware.spbm.samples.ListProfiles --url [webserviceurl]
     --username [username] --password [password]
     --profilename [Storage Profile Name]
     
    • Constructor Detail

      • ListProfiles

        public ListProfiles()
    • Method Detail

      • listProfiles

        @Action
        public void listProfiles()
                          throws com.vmware.vim25.RuntimeFaultFaultMsg,
                                 com.vmware.pbm.RuntimeFaultFaultMsg,
                                 com.vmware.pbm.InvalidArgumentFaultMsg
        Method retrieves the storage profiles created in the system.
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.pbm.RuntimeFaultFaultMsg
        com.vmware.pbm.InvalidArgumentFaultMsg