■ The subprofile capability instance identifier (PbmCapabilityInstance.id) is set to the storage policy tag metadata identifier (PbmCapabilityMetadata.id).
■ The capability property instance (PbmCapabilityPropertyInstance) specifies both an identifier and a value. Both properties are set to the tag metadata id and allowedValue properties.The following example shows a code fragment that retrieves metadata for a tag category. Given the list of metadata obtained from the Storage Policy Server, the function traverses the list and returns the metadata associated with the specified category. This function is defined in the PbmUtil package in the Storage Policy SDK.Example: getTagCategoryMeta (PbmUtil Package)The following example is based on the Storage Policy SDK sample file CreateProfile.java.Example: Tag-Based Storage Profile Creation