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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionSubjectDescriptionSubjectAltName.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 customSans (Output)
 * Contains additional subject alternative name values.
 * Structure is documented below.
 * @property dnsNames Contains only valid, fully-qualified host names.
 * @property emailAddresses Contains only valid RFC 2822 E-mail addresses.
 * @property ipAddresses Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
 * @property uris Contains only valid RFC 3986 URIs.
 */
public data class CertificateCertificateDescriptionSubjectDescriptionSubjectAltName(
    public val customSans: List? = null,
    public val dnsNames: List? = null,
    public val emailAddresses: List? = null,
    public val ipAddresses: List? = null,
    public val uris: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionSubjectDescriptionSubjectAltName): CertificateCertificateDescriptionSubjectDescriptionSubjectAltName =
            CertificateCertificateDescriptionSubjectDescriptionSubjectAltName(
                customSans = javaType.customSans().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionSubjectDescriptionSubjectAltNameCustomSan.Companion.toKotlin(args0)
                    })
                }),
                dnsNames = javaType.dnsNames().map({ args0 -> args0 }),
                emailAddresses = javaType.emailAddresses().map({ args0 -> args0 }),
                ipAddresses = javaType.ipAddresses().map({ args0 -> args0 }),
                uris = javaType.uris().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy