AutoScaleProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AutoScaleProfile
- com.
Implements
public final class AutoScaleProfile
implements JsonSerializable<AutoScaleProfile>
Specifications on auto-scaling.
Constructor Summary
| Constructor | Description |
|---|---|
| AutoScaleProfile() |
Creates an instance of Auto |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
| Integer |
maxCount()
Get the max |
| Integer |
minCount()
Get the min |
| String |
size()
Get the size property: VM size that AKS will use when creating and scaling e. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Auto |
withMaxCount(Integer maxCount)
Set the max |
|
Auto |
withMinCount(Integer minCount)
Set the min |
|
Auto |
withSize(String size)
Set the size property: VM size that AKS will use when creating and scaling e. |
Methods inherited from java.lang.Object
Constructor Details
AutoScaleProfile
public AutoScaleProfile()
Creates an instance of AutoScaleProfile class.
Method Details
fromJson
public static AutoScaleProfile fromJson(JsonReader jsonReader)
Reads an instance of AutoScaleProfile from the JsonReader.
Parameters:
Returns:
Throws:
maxCount
public Integer maxCount()
Get the maxCount property: The maximum number of nodes of the specified sizes.
Returns:
minCount
public Integer minCount()
Get the minCount property: The minimum number of nodes of the specified sizes.
Returns:
size
public String size()
Get the size property: VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMaxCount
public AutoScaleProfile withMaxCount(Integer maxCount)
Set the maxCount property: The maximum number of nodes of the specified sizes.
Parameters:
Returns:
withMinCount
public AutoScaleProfile withMinCount(Integer minCount)
Set the minCount property: The minimum number of nodes of the specified sizes.
Parameters:
Returns:
withSize
public AutoScaleProfile withSize(String size)
Set the size property: VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
Parameters:
Returns: