IWithVMPriority.WithLowPriorityVirtualMachine Method
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.
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
Eviction policy for the virtual machines in the scale set.
Returns
Applies to
Azure SDK for .NET