| Modifier and Type | Method and Description |
|---|---|
AutomaticRepairsPolicy |
VirtualMachineScaleSetUpdate.automaticRepairsPolicy()
Get policy for automatic repairs.
|
AutomaticRepairsPolicy |
AutomaticRepairsPolicy.withEnabled(Boolean enabled)
Set specifies whether automatic repairs should be enabled on the virtual machine scale set.
|
AutomaticRepairsPolicy |
AutomaticRepairsPolicy.withGracePeriod(String gracePeriod)
Set the amount of time for which automatic repairs are suspended due to a state change on VM.
|
AutomaticRepairsPolicy |
AutomaticRepairsPolicy.withMaxInstanceRepairsPercent(Integer maxInstanceRepairsPercent)
Set the percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineScaleSetUpdate |
VirtualMachineScaleSetUpdate.withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy)
Set policy for automatic repairs.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/