PbmCapabilityPropertyMetadata

PbmCapabilityPropertyMetadata
PbmCapabilityPropertyMetadata

The PbmCapabilityPropertyMetadata data object describes storage capability.

An instance of property metadata may apply to many property instances (PbmCapabilityPropertyInstance).

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "id": "string",
    "summary": {
        "_typeName": "string",
        "label": "string",
        "summary": "string",
        "key": "string",
        "messageCatalogKeyPrefix": "string",
        "messageArg": [
            {
                "_typeName": "string",
                "key": "string",
                "value": {
                    "_typeName": "string"
                }
            }
        ]
    },
    "mandatory": false,
    "type": {
        "_typeName": "string",
        "typeName": "string"
    },
    "defaultValue": {
        "_typeName": "string"
    },
    "allowedValue": {
        "_typeName": "string"
    },
    "requirementsTypeHint": "string"
}
string
id
Required

Property identifier.

Should be unique within the definition of the capability. Property instances refer to this identifier (PbmCapabilityPropertyInstance.id).

summary
Required

Property name and description.

boolean
mandatory
Required

Indicates whether incorporating given capability is mandatory during creation of profile.

type
Optional

Type information for the capability.

The type of a property value (PbmCapabilityPropertyInstance.value) is specified as a builtin datatype and may also specify the interpretation of a collection of values of that datatype.

defaultValue
Optional

Default value, if any, that the property will assume when not constrained by requirements.

This object must be of the type defined for the property.

allowedValue
Optional

All legal values that the property may take on, across all implementations of the property.

This definition of legal values is not determined by any particular resource configuration; rather it is inherent to the definition of the property. If undefined, then any value of the correct type is legal. This object must be a generic container for the type defined for the property; see PbmBuiltinGenericTypeEnum for the supported generic container types.

string
requirementsTypeHint
Optional

A hint for data-driven systems that assist in authoring requirements constraints.

Acceptable values defined by PbmBuiltinGenericTypeEnum. A property will typically only have constraints of a given type in requirement profiles, even if it is likely to use constraints of different types across capability profiles. This value, if specified, specifies the expected kind of constraint used in requirement profiles. Considerations for using this information:

  • This is only a hint; any properly formed constraint (see value) is still valid for a requirement profile.
  • If VMW_SET is hinted, then a single value matching the property metadata type is also an expected form of constraint, as the latter is an allowed convenience for expressing a single-member set.
  • If this hint is not specified, then the authoring system may default to a form of constraint determined by its own criteria.