Package com.vmware.spbm.samples
Class ListProfiles
- java.lang.Object
-
- com.vmware.spbm.connection.ConnectedServiceBase
-
- com.vmware.spbm.samples.ListProfiles
-
@Sample(name="listprofiles", description="Lists the storage profiles and their basic information") public class ListProfiles extends ConnectedServiceBaseListProfiles 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 Summary
Constructors Constructor Description ListProfiles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlistProfiles()Method retrieves the storage profiles created in the system.-
Methods inherited from class com.vmware.spbm.connection.ConnectedServiceBase
setConnection, start, stop
-
-
-
-
Method Detail
-
listProfiles
@Action public void listProfiles() throws com.vmware.vim25.RuntimeFaultFaultMsg, com.vmware.pbm.RuntimeFaultFaultMsg, com.vmware.pbm.InvalidArgumentFaultMsgMethod retrieves the storage profiles created in the system.- Throws:
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.pbm.RuntimeFaultFaultMsgcom.vmware.pbm.InvalidArgumentFaultMsg
-
-