ConfigurationSettingArgs

data class ConfigurationSettingArgs(val actionAfterReboot: Output<Either<String, ActionAfterReboot>>? = null, val allowModuleOverwrite: Output<Boolean>? = null, val configurationMode: Output<Either<String, ConfigurationMode>>? = null, val configurationModeFrequencyMins: Output<Double>? = null, val rebootIfNeeded: Output<Boolean>? = null, val refreshFrequencyMins: Output<Double>? = null) : ConvertibleToJava<ConfigurationSettingArgs>

Configuration setting of LCM (Local Configuration Manager).

Constructors

Link copied to clipboard
constructor(actionAfterReboot: Output<Either<String, ActionAfterReboot>>? = null, allowModuleOverwrite: Output<Boolean>? = null, configurationMode: Output<Either<String, ConfigurationMode>>? = null, configurationModeFrequencyMins: Output<Double>? = null, rebootIfNeeded: Output<Boolean>? = null, refreshFrequencyMins: Output<Double>? = null)

Properties

Link copied to clipboard
val actionAfterReboot: Output<Either<String, ActionAfterReboot>>? = null

Specifies what happens after a reboot during the application of a configuration. The possible values are ContinueConfiguration and StopConfiguration

Link copied to clipboard
val allowModuleOverwrite: Output<Boolean>? = null

If true - new configurations downloaded from the pull service are allowed to overwrite the old ones on the target node. Otherwise, false

Link copied to clipboard
val configurationMode: Output<Either<String, ConfigurationMode>>? = null

Specifies how the LCM(Local Configuration Manager) actually applies the configuration to the target nodes. Possible values are ApplyOnly, ApplyAndMonitor, and ApplyAndAutoCorrect.

Link copied to clipboard

How often, in minutes, the current configuration is checked and applied. This property is ignored if the ConfigurationMode property is set to ApplyOnly. The default value is 15.

Link copied to clipboard
val rebootIfNeeded: Output<Boolean>? = null

Set this to true to automatically reboot the node after a configuration that requires reboot is applied. Otherwise, you will have to manually reboot the node for any configuration that requires it. The default value is false. To use this setting when a reboot condition is enacted by something other than DSC (such as Windows Installer), combine this setting with the xPendingReboot module.

Link copied to clipboard
val refreshFrequencyMins: Output<Double>? = null

The time interval, in minutes, at which the LCM checks a pull service to get updated configurations. This value is ignored if the LCM is not configured in pull mode. The default value is 30.

Functions

Link copied to clipboard
open override fun toJava(): ConfigurationSettingArgs