com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileWindowsConfigWinrm.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificateUrl The ID of the Key Vault Secret which contains the encrypted Certificate which should be installed on the Virtual Machine. This certificate must also be specified in the `vault_certificates` block within the `os_profile_secrets` block.
* > **NOTE:** This can be sourced from the `secret_id` field on the `azure.keyvault.Certificate` resource.
* @property protocol Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
*/
public data class VirtualMachineOsProfileWindowsConfigWinrm(
public val certificateUrl: String? = null,
public val protocol: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineOsProfileWindowsConfigWinrm): VirtualMachineOsProfileWindowsConfigWinrm = VirtualMachineOsProfileWindowsConfigWinrm(
certificateUrl = javaType.certificateUrl().map({ args0 -> args0 }).orElse(null),
protocol = javaType.protocol(),
)
}
}