PbmCapabilitySubProfileConstraints

PbmCapabilitySubProfileConstraints
PbmCapabilitySubProfileConstraints

The PbmCapabilitySubProfileConstraints data object defines a group of storage subprofiles.

Subprofile usage depends on the type of profile (PbmCapabilityProfile.profileCategory).

  • For a REQUIREMENTS profile, each subprofile defines storage requirements. A Storage Policy API requirements subprofile corresponds to a vSphere Web Client rule set.
  • For a RESOURCE profile, each subprofile defines storage capabilities. Storage capabilities are read-only.

This structure may be used only with operations rendered under /pbm.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "subProfiles": [
        {
            "_typeName": "string",
            "name": "string",
            "capability": [
                {
                    "_typeName": "string",
                    "id": {
                        "_typeName": "string",
                        "namespace": "string",
                        "id": "string"
                    },
                    "constraint": [
                        {
                            "_typeName": "string",
                            "propertyInstance": [
                                {
                                    "_typeName": "string",
                                    "id": "string",
                                    "operator": "string",
                                    "value": {
                                        "_typeName": "string"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ],
            "forceProvision": false
        }
    ]
}
subProfiles
Required

Aggregation of one or more subprofiles.

The relationship among all subprofiles is "OR". When you perform compliance checking on a profile that contains more than one subprofile, a non-compliant result for any one of the subprofiles will produce a non-compliant result for the operation.