VirtualMachinePlacementHint interface

VirtualMachinePlacementHint represents a single scheduling hint of the virtual machine.

Properties

hintType

The specification of whether this hint supports affinity or anti-affinity with the referenced resources.

resourceId

The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.

schedulingExecution

The indicator of whether the hint is a hard or soft requirement during scheduling.

scope

The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.

Property Details

hintType

The specification of whether this hint supports affinity or anti-affinity with the referenced resources.

hintType: string

Property Value

string

resourceId

The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.

resourceId: string

Property Value

string

schedulingExecution

The indicator of whether the hint is a hard or soft requirement during scheduling.

schedulingExecution: string

Property Value

string

scope

The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.

scope: string

Property Value

string