com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineScaleSetSecretCertificateArgs.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.WindowsVirtualMachineScaleSetSecretCertificateArgs.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 store The certificate store on the Virtual Machine where the certificate should be added.
* @property url The Secret URL of a Key Vault Certificate.
* > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
*/
public data class WindowsVirtualMachineScaleSetSecretCertificateArgs(
public val store: Output,
public val url: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetSecretCertificateArgs =
com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetSecretCertificateArgs.builder()
.store(store.applyValue({ args0 -> args0 }))
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsVirtualMachineScaleSetSecretCertificateArgs].
*/
@PulumiTagMarker
public class WindowsVirtualMachineScaleSetSecretCertificateArgsBuilder internal constructor() {
private var store: Output? = null
private var url: Output? = null
/**
* @param value The certificate store on the Virtual Machine where the certificate should be added.
*/
@JvmName("xflauymcxumdetsq")
public suspend fun store(`value`: Output) {
this.store = value
}
/**
* @param value The Secret URL of a Key Vault Certificate.
* > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
*/
@JvmName("dynytgkjmesdwbca")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value The certificate store on the Virtual Machine where the certificate should be added.
*/
@JvmName("iorvjcpdxreyafep")
public suspend fun store(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.store = mapped
}
/**
* @param value The Secret URL of a Key Vault Certificate.
* > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
*/
@JvmName("fhtwixwdnqyoirly")
public suspend fun url(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): WindowsVirtualMachineScaleSetSecretCertificateArgs =
WindowsVirtualMachineScaleSetSecretCertificateArgs(
store = store ?: throw PulumiNullFieldException("store"),
url = url ?: throw PulumiNullFieldException("url"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy