| Class | Description |
|---|---|
| AboutInfo |
AboutInfo
This sample prints the basic information about the spbm end-point.
|
| CheckCompliance |
CheckCompliance
This sample checks the compliance of the VM's associated with a storage profile.
|
| CreateProfile |
CreateProfile
This sample creates a new Tag-Based Storage Profile with one rule-set.
|
| CreateVSANProfile |
CreateVSANProfile
This sample creates a new Storage Profile with one rule-set based on vSAN Capabilities.
|
| DeleteProfile |
DeleteProfile
This sample deletes a Storage Profile.
|
| EditProfile |
EditProfile
This sample updates a Tag-Based Storage Profile.
|
| FcdAssociateProfile |
FcdAssociateProfile
This sample attaches a virtual storage object to given virtual machine and
associates a given storage profile to the virtual storage object.
|
| ListProfiles |
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]
|
| ViewProfile |
ViewProfile
This sample prints the contents of a storage Profile.
|
| VMClone |
VMClone
This sample makes a clone of an existing VM to a new VM and
associates it with the specified storage profile.
|
| VMCreate |
VMCreate
This sample creates a VM with a storage policy based management profile.
|
| VMRelocate |
VMRelocate
Used to relocate a virtual machine's virtual disks to a datastore compliant with the given storage policy
based management profile.
|