com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetSecret.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property certificates One or more `certificate` blocks as defined above.
* @property keyVaultId The ID of the Key Vault from which all Secrets should be sourced.
*/
public data class LinuxVirtualMachineScaleSetSecret(
public val certificates: List,
public val keyVaultId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetSecret): LinuxVirtualMachineScaleSetSecret = LinuxVirtualMachineScaleSetSecret(
certificates = javaType.certificates().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetSecretCertificate.Companion.toKotlin(args0)
})
}),
keyVaultId = javaType.keyVaultId(),
)
}
}