VMware Storage Policy API


Data Object - PbmCapabilityProfileCreateSpec(pbm.profile.CapabilityBasedProfileCreateSpec)

Parameter to
PbmCheckCompatibilityWithSpec, PbmCreate, PbmQueryMatchingHubWithSpec
Extends
DynamicData
See also
PbmCapabilityConstraints, PbmProfileResourceType
Since
1.0

Data Object Description

The PbmCapabilityProfileCreateSpec describes storage requirements. Use this data object to create a PbmCapabilityProfile.

Properties

Name Type Description
category*xsd:string

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

Since 6.5
constraintsPbmCapabilityConstraints

Set of subprofiles that define the storage requirements. A subprofile corresponds to a rule set in the vSphere Web Client.
description*xsd:string

Text description associated with the profile.
k8sCompliantName*xsd:string

Indicates compliant name to be used as K8s {@code StorageClass} name when this policy is used for K8s workloads. If compliant name is specified, and it's not RFC 1123 compliant, then policy creation would fail. Duplicating the compliant name across storage profiles in a vCenter is not allowed. If either there is already a K8s {@code StorageClass} with this name or WaitForForFirstConsumer {@code StorageClass} with the name 'k8sCompliantName-latebinding', then the policy creation would fail. Compliant name will automatically be generated and populated based on policy name if it's not provided.

Since 9.1.0.0
namexsd:string

Name of the capability based profile to be created. The maximum length of the name is 80 characters.
resourceTypePbmProfileResourceType

Deprecated. as of vSphere API 6.5

Specifies the type of resource to which the profile applies. The only legal value is STORAGE - deprecated.
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition