@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 and Description |
|---|
ListProfiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
listProfiles()
Method retrieves the storage profiles created in the system.
|
setConnection, start, stop@Action
public void listProfiles()
throws com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.pbm.RuntimeFaultFaultMsg,
com.vmware.pbm.InvalidArgumentFaultMsg
com.vmware.vim25.RuntimeFaultFaultMsgcom.vmware.pbm.RuntimeFaultFaultMsgcom.vmware.pbm.InvalidArgumentFaultMsg