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

com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfileSecretVaultCertificate.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property certificateStore (Required, on windows machines) Specifies the certificate store on the Virtual Machine where the certificate should be added to, such as `My`.
 * @property certificateUrl The ID of the Key Vault Secret. Stored secret is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be:
 * ```json
 * {
 * "data":"",
 * "dataType":"pfx",
 * "password":""
 * }
 * ```
 * > **NOTE:** If your certificate is stored in Azure Key Vault - this can be sourced from the `secret_id` property on the `azure.keyvault.Certificate` resource.
 */
public data class VirtualMachineOsProfileSecretVaultCertificate(
    public val certificateStore: String? = null,
    public val certificateUrl: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineOsProfileSecretVaultCertificate): VirtualMachineOsProfileSecretVaultCertificate =
            VirtualMachineOsProfileSecretVaultCertificate(
                certificateStore = javaType.certificateStore().map({ args0 -> args0 }).orElse(null),
                certificateUrl = javaType.certificateUrl(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy