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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsage.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 baseKeyUsage Describes high-level ways in which a key may be used.
 * Structure is documented below.
 * @property extendedKeyUsage 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 CaPoolIssuancePolicyBaselineValuesKeyUsage(
    public val baseKeyUsage: CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage,
    public val extendedKeyUsage: CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage,
    public val unknownExtendedKeyUsages: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsage): CaPoolIssuancePolicyBaselineValuesKeyUsage = CaPoolIssuancePolicyBaselineValuesKeyUsage(
            baseKeyUsage = javaType.baseKeyUsage().let({ args0 ->
                com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsageBaseKeyUsage.Companion.toKotlin(args0)
            }),
            extendedKeyUsage = javaType.extendedKeyUsage().let({ args0 ->
                com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage.Companion.toKotlin(args0)
            }),
            unknownExtendedKeyUsages = javaType.unknownExtendedKeyUsages().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsage.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy