Data Object - VsanPropertyConstraint(vim.VsanPropertyConstraint)

Extends
VsanResourceConstraint
See also
KeyAnyValue
Since
vSAN API 6.6

Data Object Description

Defines a criteria for matching resources based on conditions on their resource model properties. For example, it could be used to match all VirtualMachine resources which are powered on, etc.

Properties

Name Type Description
comparableValue*KeyAnyValue

The value to be compared against the specified resource model property. Could be * an array if the comparison operator works on a range of values.
comparator*xsd:string

Defines the possible operators to use for comparison of the resource model properties.
See VsanPropertyConstraintComparatorEnum

propertyName*xsd:string

The name of the resource model property to be evaluated by this constraint.

For example: runtime.host.

If a value is not specified, i.e., null the constraint will evaluate all properties of the kind implied by the interpretation context, e.g., if used in a PropertyConstraint with the operator VsanPropertyConstraintComparatorEnum#TEXTUALLY_MATCHES, it'd imply all textual properties.


Properties inherited from VsanResourceConstraint
targetType
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition