你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IVirtualMachinePlacementHint Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.VirtualMachinePlacementHintTypeConverter))]
public interface IVirtualMachinePlacementHint : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.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) |