VirtualMachinePlacementHintArgs

data class VirtualMachinePlacementHintArgs(val hintType: Output<Either<String, VirtualMachinePlacementHintType>>, val resourceId: Output<String>, val schedulingExecution: Output<Either<String, VirtualMachineSchedulingExecution>>, val scope: Output<Either<String, VirtualMachinePlacementHintPodAffinityScope>>) : ConvertibleToJava<VirtualMachinePlacementHintArgs>

Constructors

Link copied to clipboard
constructor(hintType: Output<Either<String, VirtualMachinePlacementHintType>>, resourceId: Output<String>, schedulingExecution: Output<Either<String, VirtualMachineSchedulingExecution>>, scope: Output<Either<String, VirtualMachinePlacementHintPodAffinityScope>>)

Properties

Link copied to clipboard

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

Link copied to clipboard
val resourceId: Output<String>

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.

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun toJava(): VirtualMachinePlacementHintArgs