@Sample(name="deleteprofile",
description="Deletes a specified storage profile.")
public class DeleteProfile
extends ConnectedServiceBase
DeleteProfile 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 and Description |
|---|
DeleteProfile() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProfile() |
void |
setProfileName(java.lang.String profileName) |
setConnection, start, stop@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
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.pbm.InvalidArgumentFaultMsgcom.vmware.pbm.PbmDuplicateNameFaultMsgcom.vmware.pbm.PbmFaultProfileStorageFaultFaultMsg@Option(name="profilename",
description="Name of the storage profile",
required=true)
public void setProfileName(java.lang.String profileName)