All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.inputs.ScaleSetOsProfileSecretVaultCertificateArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.ScaleSetOsProfileSecretVaultCertificateArgs.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 certificateStore (Required, on windows machines) Specifies the certificate store on the Virtual Machine where the certificate should be added to.
 * @property certificateUrl It is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be `data`, `dataType` and `password`.
 */
public data class ScaleSetOsProfileSecretVaultCertificateArgs(
    public val certificateStore: Output? = null,
    public val certificateUrl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.compute.inputs.ScaleSetOsProfileSecretVaultCertificateArgs = com.pulumi.azure.compute.inputs.ScaleSetOsProfileSecretVaultCertificateArgs.builder()
        .certificateStore(certificateStore?.applyValue({ args0 -> args0 }))
        .certificateUrl(certificateUrl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ScaleSetOsProfileSecretVaultCertificateArgs].
 */
@PulumiTagMarker
public class ScaleSetOsProfileSecretVaultCertificateArgsBuilder internal constructor() {
    private var certificateStore: Output? = null

    private var certificateUrl: Output? = null

    /**
     * @param value (Required, on windows machines) Specifies the certificate store on the Virtual Machine where the certificate should be added to.
     */
    @JvmName("hprscwgkiigxjjiq")
    public suspend fun certificateStore(`value`: Output) {
        this.certificateStore = value
    }

    /**
     * @param value It is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be `data`, `dataType` and `password`.
     */
    @JvmName("xpdbrxrbdfrkkkqg")
    public suspend fun certificateUrl(`value`: Output) {
        this.certificateUrl = value
    }

    /**
     * @param value (Required, on windows machines) Specifies the certificate store on the Virtual Machine where the certificate should be added to.
     */
    @JvmName("rpllmffbajfbnhln")
    public suspend fun certificateStore(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateStore = mapped
    }

    /**
     * @param value It is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be `data`, `dataType` and `password`.
     */
    @JvmName("yyclefkolwtnrwli")
    public suspend fun certificateUrl(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.certificateUrl = mapped
    }

    internal fun build(): ScaleSetOsProfileSecretVaultCertificateArgs =
        ScaleSetOsProfileSecretVaultCertificateArgs(
            certificateStore = certificateStore,
            certificateUrl = certificateUrl ?: throw PulumiNullFieldException("certificateUrl"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy