Package com.vmware.spbm.samples
Class DeleteProfile
- java.lang.Object
-
- com.vmware.spbm.connection.ConnectedServiceBase
-
- com.vmware.spbm.samples.DeleteProfile
-
@Sample(name="deleteprofile", description="Deletes a specified storage profile.") public class DeleteProfile extends ConnectedServiceBaseDeleteProfile This sample deletes a Storage Profile. 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.DeleteProfile --url [webserviceurl] --username [username] --password [password] --profilename [Storage Profile Name]
-
-
Constructor Summary
Constructors Constructor Description DeleteProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteProfile()voidsetProfileName(java.lang.String profileName)-
Methods inherited from class com.vmware.spbm.connection.ConnectedServiceBase
setConnection, start, stop
-
-
-
-
Method Detail
-
deleteProfile
@Action public void deleteProfile() throws com.vmware.vim25.RuntimeFaultFaultMsg, com.vmware.pbm.RuntimeFaultFaultMsg, com.vmware.pbm.InvalidArgumentFaultMsg, com.vmware.pbm.PbmDuplicateNameFaultMsg, com.vmware.pbm.PbmFaultProfileStorageFaultFaultMsg- Throws:
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.pbm.InvalidArgumentFaultMsgcom.vmware.pbm.PbmDuplicateNameFaultMsgcom.vmware.pbm.PbmFaultProfileStorageFaultFaultMsg
-
setProfileName
@Option(name="profilename", description="Name of the storage profile", required=true) public void setProfileName(java.lang.String profileName)
-
-