![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.ScaleSetExtension.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property autoUpgradeMinorVersion Specifies whether or not to use the latest minor version available.
* @property name Specifies the name of the extension.
* @property protectedSettings The protected_settings passed to the extension, like settings, these are specified as a JSON object in a string.
* @property provisionAfterExtensions Specifies a dependency array of extensions required to be executed before, the array stores the name of each extension.
* @property publisher The publisher of the extension, available publishers can be found by using the Azure CLI.
* @property settings The settings passed to the extension, these are specified as a JSON object in a string.
* @property type The type of extension, available types for a publisher can be found using the Azure CLI.
* @property typeHandlerVersion Specifies the version of the extension to use, available versions can be found using the Azure CLI.
*/
public data class ScaleSetExtension(
public val autoUpgradeMinorVersion: Boolean? = null,
public val name: String,
public val protectedSettings: String? = null,
public val provisionAfterExtensions: List? = null,
public val publisher: String,
public val settings: String? = null,
public val type: String,
public val typeHandlerVersion: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.ScaleSetExtension): ScaleSetExtension = ScaleSetExtension(
autoUpgradeMinorVersion = javaType.autoUpgradeMinorVersion().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
protectedSettings = javaType.protectedSettings().map({ args0 -> args0 }).orElse(null),
provisionAfterExtensions = javaType.provisionAfterExtensions().map({ args0 -> args0 }),
publisher = javaType.publisher(),
settings = javaType.settings().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
typeHandlerVersion = javaType.typeHandlerVersion(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy