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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsage.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.10.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 baseKeyUsages Describes high-level ways in which a key may be used.
 * Structure is documented below.
 * @property extendedKeyUsages Describes high-level ways in which a key may be used.
 * Structure is documented below.
 * @property unknownExtendedKeyUsages An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
 * Structure is documented below.
 */
public data class CertificateCertificateDescriptionX509DescriptionKeyUsage(
    public val baseKeyUsages: List? = null,
    public val extendedKeyUsages: List? = null,
    public val unknownExtendedKeyUsages: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsage): CertificateCertificateDescriptionX509DescriptionKeyUsage =
            CertificateCertificateDescriptionX509DescriptionKeyUsage(
                baseKeyUsages = javaType.baseKeyUsages().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsageBaseKeyUsage.Companion.toKotlin(args0)
                    })
                }),
                extendedKeyUsages = javaType.extendedKeyUsages().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsageExtendedKeyUsage.Companion.toKotlin(args0)
                    })
                }),
                unknownExtendedKeyUsages = javaType.unknownExtendedKeyUsages().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsageUnknownExtendedKeyUsage.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy