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.
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.inputs
import com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetExtensionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property autoUpgradeMinorVersionEnabled Should the latest version of the Extension be used at Deployment Time, if one is available? This won't auto-update the extension on existing installation. Defaults to `true`.
* @property extensionsToProvisionAfterVmCreations An ordered list of Extension names which Virtual Machine Scale Set should provision after VM creation.
* @property failureSuppressionEnabled Should failures from the extension be suppressed? Possible values are `true` or `false`.
* > **Note:** Operational failures such as not connecting to the VM will not be suppressed regardless of the `failure_suppression_enabled` value.
* @property forceExtensionExecutionOnChange A value which, when different to the previous value can be used to force-run the Extension even if the Extension Configuration hasn't changed.
* @property name The name for the Virtual Machine Scale Set Extension.
* @property protectedSettings A JSON String which specifies Sensitive Settings (such as Passwords) for the Extension.
* > **Note:** Keys within the `protected_settings` block are notoriously case-sensitive, where the casing required (e.g. `TitleCase` vs `snakeCase`) depends on the Extension being used. Please refer to the documentation for the specific Virtual Machine Extension you're looking to use for more information.
* @property protectedSettingsFromKeyVault A `protected_settings_from_key_vault` block as defined below.
* > **Note:** `protected_settings_from_key_vault` cannot be used with `protected_settings`
* @property publisher Specifies the Publisher of the Extension.
* @property settings A JSON String which specifies Settings for the Extension.
* @property type Specifies the Type of the Extension.
* @property typeHandlerVersion Specifies the version of the extension to use, available versions can be found using the Azure CLI.
*/
public data class OrchestratedVirtualMachineScaleSetExtensionArgs(
public val autoUpgradeMinorVersionEnabled: Output? = null,
public val extensionsToProvisionAfterVmCreations: Output>? = null,
public val failureSuppressionEnabled: Output? = null,
public val forceExtensionExecutionOnChange: Output? = null,
public val name: Output,
public val protectedSettings: Output? = null,
public val protectedSettingsFromKeyVault: Output? = null,
public val publisher: Output,
public val settings: Output? = null,
public val type: Output,
public val typeHandlerVersion: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetExtensionArgs =
com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetExtensionArgs.builder()
.autoUpgradeMinorVersionEnabled(autoUpgradeMinorVersionEnabled?.applyValue({ args0 -> args0 }))
.extensionsToProvisionAfterVmCreations(
extensionsToProvisionAfterVmCreations?.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
)
.failureSuppressionEnabled(failureSuppressionEnabled?.applyValue({ args0 -> args0 }))
.forceExtensionExecutionOnChange(forceExtensionExecutionOnChange?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.protectedSettings(protectedSettings?.applyValue({ args0 -> args0 }))
.protectedSettingsFromKeyVault(
protectedSettingsFromKeyVault?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.publisher(publisher.applyValue({ args0 -> args0 }))
.settings(settings?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.typeHandlerVersion(typeHandlerVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OrchestratedVirtualMachineScaleSetExtensionArgs].
*/
@PulumiTagMarker
public class OrchestratedVirtualMachineScaleSetExtensionArgsBuilder internal constructor() {
private var autoUpgradeMinorVersionEnabled: Output? = null
private var extensionsToProvisionAfterVmCreations: Output>? = null
private var failureSuppressionEnabled: Output? = null
private var forceExtensionExecutionOnChange: Output? = null
private var name: Output? = null
private var protectedSettings: Output? = null
private var protectedSettingsFromKeyVault:
Output? = null
private var publisher: Output? = null
private var settings: Output? = null
private var type: Output? = null
private var typeHandlerVersion: Output? = null
/**
* @param value Should the latest version of the Extension be used at Deployment Time, if one is available? This won't auto-update the extension on existing installation. Defaults to `true`.
*/
@JvmName("fsgguwrhkiuaeljr")
public suspend fun autoUpgradeMinorVersionEnabled(`value`: Output) {
this.autoUpgradeMinorVersionEnabled = value
}
/**
* @param value An ordered list of Extension names which Virtual Machine Scale Set should provision after VM creation.
*/
@JvmName("nggsekllcoobqdlo")
public suspend fun extensionsToProvisionAfterVmCreations(`value`: Output>) {
this.extensionsToProvisionAfterVmCreations = value
}
@JvmName("efcnqvejcnepibev")
public suspend fun extensionsToProvisionAfterVmCreations(vararg values: Output) {
this.extensionsToProvisionAfterVmCreations = Output.all(values.asList())
}
/**
* @param values An ordered list of Extension names which Virtual Machine Scale Set should provision after VM creation.
*/
@JvmName("bkmvtbvuykiwybxv")
public suspend fun extensionsToProvisionAfterVmCreations(values: List