Class PbmUtil
- java.lang.Object
-
- com.vmware.spbm.connection.helpers.PbmUtil
-
public class PbmUtil extends java.lang.ObjectUtility class for PBM Samples
-
-
Constructor Summary
Constructors Constructor Description PbmUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.vmware.pbm.PbmCapabilityMetadatagetCapabilityMeta(java.lang.String capabilityName, java.util.List<com.vmware.pbm.PbmCapabilityMetadataPerCategory> schema)Returns the Capability Metadata for the specified capability namestatic com.vmware.pbm.PbmCapabilityProfilegetPbmProfile(Connection connection, java.lang.String name)This method returns the Profile Spec for the given Storage Profile namestatic com.vmware.pbm.PbmProfileResourceTypegetStorageResourceType()Returns the Storage Resource Type Objectstatic com.vmware.pbm.PbmCapabilityMetadatagetTagCategoryMeta(java.lang.String tagCategoryName, java.util.List<com.vmware.pbm.PbmCapabilityMetadataPerCategory> schema)Returns the Capability Metadata associated to a Tag Category
-
-
-
Method Detail
-
getCapabilityMeta
public static com.vmware.pbm.PbmCapabilityMetadata getCapabilityMeta(java.lang.String capabilityName, java.util.List<com.vmware.pbm.PbmCapabilityMetadataPerCategory> schema)Returns the Capability Metadata for the specified capability name- Parameters:
capabilityName-schema-- Returns:
-
getPbmProfile
public static com.vmware.pbm.PbmCapabilityProfile getPbmProfile(Connection connection, java.lang.String name) throws com.vmware.pbm.InvalidArgumentFaultMsg, com.vmware.pbm.RuntimeFaultFaultMsg, com.vmware.pbm.RuntimeFaultFaultMsg
This method returns the Profile Spec for the given Storage Profile name- Returns:
- Throws:
com.vmware.pbm.InvalidArgumentFaultMsgcom.vmware.pbm.RuntimeFaultFaultMsgcom.vmware.pbm.RuntimeFaultFaultMsg
-
getStorageResourceType
public static com.vmware.pbm.PbmProfileResourceType getStorageResourceType()
Returns the Storage Resource Type Object- Returns:
-
getTagCategoryMeta
public static com.vmware.pbm.PbmCapabilityMetadata getTagCategoryMeta(java.lang.String tagCategoryName, java.util.List<com.vmware.pbm.PbmCapabilityMetadataPerCategory> schema)Returns the Capability Metadata associated to a Tag Category- Parameters:
tagCategoryName-schema-- Returns:
-
-