ScaleProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ScaleProfile
- com.
Implements
public final class ScaleProfile
implements JsonSerializable<ScaleProfile>
Specifications on how to scale a VirtualMachines agent pool.
Constructor Summary
| Constructor | Description |
|---|---|
| ScaleProfile() |
Creates an instance of Scale |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Auto |
autoscale()
Get the autoscale property: Specifications on how to auto-scale the Virtual |
|
static
Scale |
fromJson(JsonReader jsonReader)
Reads an instance of Scale |
|
List<Manual |
manual()
Get the manual property: Specifications on how to scale the Virtual |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scale |
withAutoscale(List<AutoScaleProfile> autoscale)
Set the autoscale property: Specifications on how to auto-scale the Virtual |
|
Scale |
withManual(List<ManualScaleProfile> manual)
Set the manual property: Specifications on how to scale the Virtual |
Methods inherited from java.lang.Object
Constructor Details
ScaleProfile
public ScaleProfile()
Creates an instance of ScaleProfile class.
Method Details
autoscale
public List<AutoScaleProfile> autoscale()
Get the autoscale property: 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:
fromJson
public static ScaleProfile fromJson(JsonReader jsonReader)
Reads an instance of ScaleProfile from the JsonReader.
Parameters:
Returns:
Throws:
manual
public List<ManualScaleProfile> manual()
Get the manual property: Specifications on how to scale the VirtualMachines agent pool to a fixed size.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutoscale
public ScaleProfile withAutoscale(List<AutoScaleProfile> autoscale)
Set the autoscale property: 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`.
Parameters:
Returns:
withManual
public ScaleProfile withManual(List<ManualScaleProfile> manual)
Set the manual property: Specifications on how to scale the VirtualMachines agent pool to a fixed size.
Parameters:
Returns: