ArmContainerServiceModelFactory.AgentPoolScaleProfile 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.
public static Azure.ResourceManager.ContainerService.Models.AgentPoolScaleProfile AgentPoolScaleProfile(System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManualScaleProfile> manual = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.AgentPoolAutoScaleProfile> autoscale = default);
static member AgentPoolScaleProfile : seq<Azure.ResourceManager.ContainerService.Models.ManualScaleProfile> * seq<Azure.ResourceManager.ContainerService.Models.AgentPoolAutoScaleProfile> -> Azure.ResourceManager.ContainerService.Models.AgentPoolScaleProfile
Public Shared Function AgentPoolScaleProfile (Optional manual As IEnumerable(Of ManualScaleProfile) = Nothing, Optional autoscale As IEnumerable(Of AgentPoolAutoScaleProfile) = Nothing) As AgentPoolScaleProfile
Parameters
- manual
- IEnumerable<ManualScaleProfile>
Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- autoscale
- IEnumerable<AgentPoolAutoScaleProfile>
Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range.
Each profile targets a specific VM SKU and is evaluated independently.
Scaling decisions across profiles are governed by the cluster autoscaler expander,
configurable via ManagedCluster.properties.autoScalerProfile.expander.
Returns
A new AgentPoolScaleProfile instance for mocking.