PbmCapabilityProfileCreateSpec

PbmCapabilityProfileCreateSpec
PbmCapabilityProfileCreateSpec

The PbmCapabilityProfileCreateSpec describes storage requirements.

Use this data object to create a PbmCapabilityProfile.

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "name": "string",
    "description": "string",
    "category": "string",
    "resourceType": {
        "_typeName": "string",
        "resourceType": "string"
    },
    "constraints": {
        "_typeName": "string"
    }
}
string
name
Required

Name of the capability based profile to be created.

The maximum length of the name is 80 characters.

string
description
Optional

Text description associated with the profile.

string
category
Optional

Category specifies the type of policy to be created.

This can be REQUIREMENT from PbmProfileCategoryEnumEnum or null when creating a storage policy. And it can be DATA_SERVICE_POLICY from PbmProfileCategoryEnumEnum when creating a data service policy. RESOURCE from PbmProfileCategoryEnumEnum is not allowed as resource profile is created by the system.

resourceType
Required

The PbmProfileResourceType data object defines the vSphere resource type that is supported for profile management.

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

constraints
Required

The PbmCapabilityConstraints data object is the base object for capability subprofile constraints.

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