Dela via


IWithVMPriority.WithLowPriorityVirtualMachine Method

Definition

Overloads

WithLowPriorityVirtualMachine()

Specify that virtual machines in the scale set should be low priority VMs.

WithLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes)

Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.

WithLowPriorityVirtualMachine()

Specify that virtual machines in the scale set should be low priority VMs.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate WithLowPriorityVirtualMachine ();
abstract member WithLowPriorityVirtualMachine : unit -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate
Public Function WithLowPriorityVirtualMachine () As IWithCreate

Returns

Applies to

WithLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes)

Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate WithLowPriorityVirtualMachine (Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes policy);
abstract member WithLowPriorityVirtualMachine : Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate
Public Function WithLowPriorityVirtualMachine (policy As VirtualMachineEvictionPolicyTypes) As IWithCreate

Parameters

policy
VirtualMachineEvictionPolicyTypes

Eviction policy for the virtual machines in the scale set.

Returns

Applies to