![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.BootDiagnosticsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
* @property enabled Whether boot diagnostics should be enabled on the Virtual Machine.
* @property storageUri Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*/
public data class BootDiagnosticsArgs(
public val enabled: Output? = null,
public val storageUri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs =
com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.storageUri(storageUri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BootDiagnosticsArgs].
*/
@PulumiTagMarker
public class BootDiagnosticsArgsBuilder internal constructor() {
private var enabled: Output? = null
private var storageUri: Output? = null
/**
* @param value Whether boot diagnostics should be enabled on the Virtual Machine.
*/
@JvmName("jsqrmjfhlvtrcqox")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*/
@JvmName("kaeowcrsapqdlnup")
public suspend fun storageUri(`value`: Output) {
this.storageUri = value
}
/**
* @param value Whether boot diagnostics should be enabled on the Virtual Machine.
*/
@JvmName("dyctvbhssnrqmxch")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*/
@JvmName("dwyeuayumusqoxxq")
public suspend fun storageUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageUri = mapped
}
internal fun build(): BootDiagnosticsArgs = BootDiagnosticsArgs(
enabled = enabled,
storageUri = storageUri,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy