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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValues.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property additionalExtensions Optional. Describes custom X.509 extensions.
 * @property aiaOcspServers Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
 * @property caOptions Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
 * @property keyUsage Optional. Indicates the intended use for keys that correspond to a certificate.
 * @property policyIds Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
 */
public data class CertificateTemplatePredefinedValues(
    public val additionalExtensions: List? =
        null,
    public val aiaOcspServers: List? = null,
    public val caOptions: CertificateTemplatePredefinedValuesCaOptions? = null,
    public val keyUsage: CertificateTemplatePredefinedValuesKeyUsage? = null,
    public val policyIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateTemplatePredefinedValues): CertificateTemplatePredefinedValues = CertificateTemplatePredefinedValues(
            additionalExtensions = javaType.additionalExtensions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesAdditionalExtension.Companion.toKotlin(args0)
                })
            }),
            aiaOcspServers = javaType.aiaOcspServers().map({ args0 -> args0 }),
            caOptions = javaType.caOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesCaOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            keyUsage = javaType.keyUsage().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsage.Companion.toKotlin(args0)
                })
            }).orElse(null),
            policyIds = javaType.policyIds().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesPolicyId.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy