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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsage.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property baseKeyUsage Describes high-level ways in which a key may be used.
 * @property extendedKeyUsage Detailed scenarios in which a key may be used.
 * @property unknownExtendedKeyUsages Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
 */
public data class CertificateTemplatePredefinedValuesKeyUsage(
    public val baseKeyUsage: CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage? = null,
    public val extendedKeyUsage: CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage? = null,
    public val unknownExtendedKeyUsages: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateTemplatePredefinedValuesKeyUsage): CertificateTemplatePredefinedValuesKeyUsage = CertificateTemplatePredefinedValuesKeyUsage(
            baseKeyUsage = javaType.baseKeyUsage().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage.Companion.toKotlin(args0)
                })
            }).orElse(null),
            extendedKeyUsage = javaType.extendedKeyUsage().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage.Companion.toKotlin(args0)
                })
            }).orElse(null),
            unknownExtendedKeyUsages = javaType.unknownExtendedKeyUsages().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsageUnknownExtendedKeyUsage.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy