Share via


IVirtualMachinePlacementHint Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.VirtualMachinePlacementHintTypeConverter))]
public interface IVirtualMachinePlacementHint : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.VirtualMachinePlacementHintTypeConverter))>]
type IVirtualMachinePlacementHint = interface
    interface IJsonSerializable
Public Interface IVirtualMachinePlacementHint
Implements IJsonSerializable
Derived
Attributes
Implements

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to