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

com.pulumi.azurenative.sql.kotlin.outputs.GetServerTrustCertificateResult.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Server trust certificate imported from box to enable connection between box and Sql Managed Instance.
 * @property certificateName The certificate name
 * @property id Resource ID.
 * @property name Resource name.
 * @property publicBlob The certificate public blob
 * @property thumbprint The certificate thumbprint
 * @property type Resource type.
 */
public data class GetServerTrustCertificateResult(
    public val certificateName: String,
    public val id: String,
    public val name: String,
    public val publicBlob: String? = null,
    public val thumbprint: String,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.sql.outputs.GetServerTrustCertificateResult): GetServerTrustCertificateResult = GetServerTrustCertificateResult(
            certificateName = javaType.certificateName(),
            id = javaType.id(),
            name = javaType.name(),
            publicBlob = javaType.publicBlob().map({ args0 -> args0 }).orElse(null),
            thumbprint = javaType.thumbprint(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy