
com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileLinuxConfig.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.Suppress
import kotlin.collections.List
/**
*
* @property disablePasswordAuthentication Specifies whether password authentication should be disabled. If set to `false`, an `admin_password` must be specified.
* @property sshKeys One or more `ssh_keys` blocks as defined below. This field is required if `disable_password_authentication` is set to `true`.
*/
public data class VirtualMachineOsProfileLinuxConfig(
public val disablePasswordAuthentication: Boolean,
public val sshKeys: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineOsProfileLinuxConfig): VirtualMachineOsProfileLinuxConfig = VirtualMachineOsProfileLinuxConfig(
disablePasswordAuthentication = javaType.disablePasswordAuthentication(),
sshKeys = javaType.sshKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileLinuxConfigSshKey.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy