Name: VirtualMachineAffinityRule

Affinity rule of a virtual machine.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineAffinityRule",
   "ruleType": 'NEVER' | 'EXCLUDE_DATASTORES',
   "vmstoreTintriUuids": <String>,
}

Attributes
NameTypeDescription
ruleTypeNEVER | EXCLUDE_DATASTORESThe virtual machine affinity rule type. Must be null (omitted) in order to remove an affinity rule.
NEVERNever select this VM in a recommendation.
EXCLUDE_DATASTORESNever migrate this VM to one of the specified VMstores.
vmstoreTintriUuidsxsd:list[xsd:string]A list of VMstore Tintri UUIDs to avoid, for type EXCLUDE_DATASTORES. This list must be empty if the type is NEVER. It must be nonempty if the type is EXCLUDE_DATASTORES.