![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.WindowsVirtualMachineGalleryApplication.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property automaticUpgradeEnabled Specifies whether the version will be automatically updated for the VM when a new Gallery Application version is available in PIR/SIG. Defaults to `false`.
* @property configurationBlobUri Specifies the URI to an Azure Blob that will replace the default configuration for the package if provided.
* @property order Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`.
* @property tag Specifies a passthrough value for more generic context. This field can be any valid `string` value.
* @property treatFailureAsDeploymentFailureEnabled Specifies whether any failure for any operation in the VmApplication will fail the deployment of the VM. Defaults to `false`.
* @property versionId Specifies the Gallery Application Version resource ID.
*/
public data class WindowsVirtualMachineGalleryApplication(
public val automaticUpgradeEnabled: Boolean? = null,
public val configurationBlobUri: String? = null,
public val order: Int? = null,
public val tag: String? = null,
public val treatFailureAsDeploymentFailureEnabled: Boolean? = null,
public val versionId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.WindowsVirtualMachineGalleryApplication): WindowsVirtualMachineGalleryApplication = WindowsVirtualMachineGalleryApplication(
automaticUpgradeEnabled = javaType.automaticUpgradeEnabled().map({ args0 -> args0 }).orElse(null),
configurationBlobUri = javaType.configurationBlobUri().map({ args0 -> args0 }).orElse(null),
order = javaType.order().map({ args0 -> args0 }).orElse(null),
tag = javaType.tag().map({ args0 -> args0 }).orElse(null),
treatFailureAsDeploymentFailureEnabled = javaType.treatFailureAsDeploymentFailureEnabled().map({ args0 ->
args0
}).orElse(null),
versionId = javaType.versionId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy