public final class ScaleInPolicy extends Object
Constructor and Description |
---|
ScaleInPolicy() |
Modifier and Type | Method and Description |
---|---|
List<VirtualMachineScaleSetScaleInRules> |
rules()
Get the rules property: The rules to be followed when scaling-in a virtual machine scale set.
|
void |
validate()
Validates the instance.
|
ScaleInPolicy |
withRules(List<VirtualMachineScaleSetScaleInRules> rules)
Set the rules property: The rules to be followed when scaling-in a virtual machine scale set.
|
public List<VirtualMachineScaleSetScaleInRules> rules()
public ScaleInPolicy withRules(List<VirtualMachineScaleSetScaleInRules> rules)
rules
- the rules value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.