public class ScaleInPolicy extends Object
| Constructor and Description |
|---|
ScaleInPolicy() |
| Modifier and Type | Method and Description |
|---|---|
List<VirtualMachineScaleSetScaleInRules> |
rules()
Get the rules to be followed when scaling-in a virtual machine scale set.
|
ScaleInPolicy |
withRules(List<VirtualMachineScaleSetScaleInRules> rules)
Set 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/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/