All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description AboutInfo AboutInfo This sample prints the basic information about the spbm end-point.BasicConnection This is the basic connection implementation that establishes an authenticated session with the STS Service, VC Service, and SPBM service in that order SPBM utilizes the per-authenticated http session cookie from the vCenter server for its authentication.CheckCompliance CheckCompliance This sample checks the compliance of the VM's associated with a storage profile.ConnectedServiceBase An abstract base class, extend this class if your common needs to open a connection to the virtual center server before it can do anything useful.Connection This simple object shows how to set up a SPBM connection.ConnectionException ConnectionException is the base exception thrown by connection classes, making this a runtime exception means that catching it is optional preventing clutter, basing all connection related exceptions on this class means that you may decide to catch ConnectionException to deal with any issues underneath the connection infrastructure.ConnectionMalformedUrlException 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.KeepAlive This is a keep-alive utility class.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]ObjectSpecBuilder PbmUtil Utility class for PBM SamplesPropertyFilterSpecBuilder PropertySpecBuilder a simple builder that creates a property specVcSessionHandler Handler class to add the vcSessionCookie element inside the soap headerVCUtil 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.