Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolExtensionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property autoUpgradeMinorVersion Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
* @property automaticUpgradeEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are `true` and `false`.
* > **NOTE:** When `automatic_upgrade_enabled` is set to `true`, the `type_handler_version` is automatically updated by the Azure platform when a new version is available and any change in `type_handler_version` should be manually ignored by user.
* @property name The name of the virtual machine extension.
* @property protectedSettings JSON formatted protected settings for the extension, the value should be encoded with `jsonencode` function. The extension can contain either `protected_settings` or `provision_after_extensions` or no protected settings at all.
* @property provisionAfterExtensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
* @property publisher The name of the extension handler publisher.The name of the extension handler publisher.
* @property settingsJson JSON formatted public settings for the extension, the value should be encoded with `jsonencode` function.
* @property type The type of the extensions.
* @property typeHandlerVersion The version of script handler.
*/
public data class PoolExtensionArgs(
public val autoUpgradeMinorVersion: Output? = null,
public val automaticUpgradeEnabled: Output? = null,
public val name: Output,
public val protectedSettings: Output? = null,
public val provisionAfterExtensions: Output>? = null,
public val publisher: Output,
public val settingsJson: Output? = null,
public val type: Output,
public val typeHandlerVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolExtensionArgs =
com.pulumi.azure.batch.inputs.PoolExtensionArgs.builder()
.autoUpgradeMinorVersion(autoUpgradeMinorVersion?.applyValue({ args0 -> args0 }))
.automaticUpgradeEnabled(automaticUpgradeEnabled?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.protectedSettings(protectedSettings?.applyValue({ args0 -> args0 }))
.provisionAfterExtensions(
provisionAfterExtensions?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.publisher(publisher.applyValue({ args0 -> args0 }))
.settingsJson(settingsJson?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.typeHandlerVersion(typeHandlerVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PoolExtensionArgs].
*/
@PulumiTagMarker
public class PoolExtensionArgsBuilder internal constructor() {
private var autoUpgradeMinorVersion: Output? = null
private var automaticUpgradeEnabled: Output? = null
private var name: Output? = null
private var protectedSettings: Output? = null
private var provisionAfterExtensions: Output>? = null
private var publisher: Output? = null
private var settingsJson: Output? = null
private var type: Output? = null
private var typeHandlerVersion: Output? = null
/**
* @param value Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
*/
@JvmName("jgbattahhronkful")
public suspend fun autoUpgradeMinorVersion(`value`: Output) {
this.autoUpgradeMinorVersion = value
}
/**
* @param value Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are `true` and `false`.
* > **NOTE:** When `automatic_upgrade_enabled` is set to `true`, the `type_handler_version` is automatically updated by the Azure platform when a new version is available and any change in `type_handler_version` should be manually ignored by user.
*/
@JvmName("huwoxrshoqwxotyp")
public suspend fun automaticUpgradeEnabled(`value`: Output) {
this.automaticUpgradeEnabled = value
}
/**
* @param value The name of the virtual machine extension.
*/
@JvmName("bwlbjdsskmixlcmh")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value JSON formatted protected settings for the extension, the value should be encoded with `jsonencode` function. The extension can contain either `protected_settings` or `provision_after_extensions` or no protected settings at all.
*/
@JvmName("gepxkahgnmspwkol")
public suspend fun protectedSettings(`value`: Output) {
this.protectedSettings = value
}
/**
* @param value The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
*/
@JvmName("viufmnhmrgevbmgd")
public suspend fun provisionAfterExtensions(`value`: Output>) {
this.provisionAfterExtensions = value
}
@JvmName("hqyumgoailpbwsfi")
public suspend fun provisionAfterExtensions(vararg values: Output) {
this.provisionAfterExtensions = Output.all(values.asList())
}
/**
* @param values The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
*/
@JvmName("abgdltegewhhwytg")
public suspend fun provisionAfterExtensions(values: List