![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.maintenance.kotlin.outputs.ConfigurationInstallPatches.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.maintenance.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property linuxes A `linux` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
* @property reboot Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed. Possible values are `Always`, `IfRequired` and `Never`. This property only applies when `scope` is set to `InGuestPatch`.
* @property windows A `windows` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
*/
public data class ConfigurationInstallPatches(
public val linuxes: List? = null,
public val reboot: String? = null,
public val windows: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.maintenance.outputs.ConfigurationInstallPatches): ConfigurationInstallPatches = ConfigurationInstallPatches(
linuxes = javaType.linuxes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.maintenance.kotlin.outputs.ConfigurationInstallPatchesLinux.Companion.toKotlin(args0)
})
}),
reboot = javaType.reboot().map({ args0 -> args0 }).orElse(null),
windows = javaType.windows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.maintenance.kotlin.outputs.ConfigurationInstallPatchesWindow.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy