ArmComputeFleetModelFactory.RegularPriorityProfile Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile RegularPriorityProfile(int? capacity = default, int? minCapacity = default, Azure.ResourceManager.ComputeFleet.Models.RegularPriorityAllocationStrategy? allocationStrategy = default);
static member RegularPriorityProfile : Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ComputeFleet.Models.RegularPriorityAllocationStrategy> -> Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile
Public Shared Function RegularPriorityProfile (Optional capacity As Nullable(Of Integer) = Nothing, Optional minCapacity As Nullable(Of Integer) = Nothing, Optional allocationStrategy As Nullable(Of RegularPriorityAllocationStrategy) = Nothing) As RegularPriorityProfile

Parameters

capacity
Nullable<Int32>

Total capacity to achieve. It is currently in terms of number of VMs.

minCapacity
Nullable<Int32>

Minimum capacity to achieve which cannot be updated. If we will not be able to "guarantee" minimum capacity, we will reject the request in the sync path itself.

allocationStrategy
Nullable<RegularPriorityAllocationStrategy>

Allocation strategy to follow when determining the VM sizes distribution for Regular VMs.

Returns

A new RegularPriorityProfile instance for mocking.

Applies to