@Sample(name="viewprofile",
description="Display the contents of a storage profile.")
public class ViewProfile
extends ConnectedServiceBase
ViewProfile This sample prints the contents of 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.ViewProfile --url [webserviceurl] --username [username] --password [password] --profilename [Storage Profile Name]
| Constructor and Description |
|---|
ViewProfile() |
| Modifier and Type | Method and Description |
|---|---|
void |
setProfileName(java.lang.String profileName) |
void |
viewProfile() |
setConnection, start, stop@Option(name="profilename",
description="Name of the storage profile",
required=true)
public void setProfileName(java.lang.String profileName)
@Action
public void viewProfile()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.pbm.RuntimeFaultFaultMsg,
com.vmware.pbm.InvalidArgumentFaultMsg,
com.vmware.pbm.PbmDuplicateNameFaultMsg,
com.vmware.pbm.PbmFaultProfileStorageFaultFaultMsg,
com.vmware.pbm.PbmFaultFaultMsg,
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.pbm.InvalidArgumentFaultMsgcom.vmware.pbm.PbmDuplicateNameFaultMsgcom.vmware.pbm.PbmFaultProfileStorageFaultFaultMsgcom.vmware.pbm.PbmFaultFaultMsgcom.vmware.vim25.InvalidPropertyFaultMsg