com.pulumi.azure.compute.kotlin.inputs.VirtualMachineOsProfileWindowsConfigWinrmArgs.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.inputs
import com.pulumi.azure.compute.inputs.VirtualMachineOsProfileWindowsConfigWinrmArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 VirtualMachineOsProfileWindowsConfigWinrmArgs(
public val certificateUrl: Output? = null,
public val protocol: Output,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.compute.inputs.VirtualMachineOsProfileWindowsConfigWinrmArgs =
com.pulumi.azure.compute.inputs.VirtualMachineOsProfileWindowsConfigWinrmArgs.builder()
.certificateUrl(certificateUrl?.applyValue({ args0 -> args0 }))
.protocol(protocol.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualMachineOsProfileWindowsConfigWinrmArgs].
*/
@PulumiTagMarker
public class VirtualMachineOsProfileWindowsConfigWinrmArgsBuilder internal constructor() {
private var certificateUrl: Output? = null
private var protocol: Output? = null
/**
* @param value 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.
*/
@JvmName("mjdulprjjhjryebp")
public suspend fun certificateUrl(`value`: Output) {
this.certificateUrl = value
}
/**
* @param value Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
*/
@JvmName("tddvvhrhajmuvtne")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value 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.
*/
@JvmName("dtqculaoorhcmfrp")
public suspend fun certificateUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateUrl = mapped
}
/**
* @param value Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
*/
@JvmName("qkepintqeiorrkou")
public suspend fun protocol(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.protocol = mapped
}
internal fun build(): VirtualMachineOsProfileWindowsConfigWinrmArgs =
VirtualMachineOsProfileWindowsConfigWinrmArgs(
certificateUrl = certificateUrl,
protocol = protocol ?: throw PulumiNullFieldException("protocol"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy