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

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

package com.pulumi.gcp.certificatemanager.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property description A human-readable description of the resource.
 * @property effectiveLabels
 * @property labels Set of label tags associated with the Certificate resource.
 * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
 * Please refer to the field 'effective_labels' for all of the labels present on the resource.
 * @property location The Certificate Manager location. If not specified, "global" is used.
 * @property manageds Configuration and state of a Managed Certificate.
 * Certificate Manager provisions and renews Managed Certificates
 * automatically, for as long as it's authorized to do so.
 * @property name A user-defined name of the certificate. Certificate names must be unique
 * The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
 * and all following characters must be a dash, underscore, letter or digit.
 * @property project The ID of the project in which the resource belongs. If it
 * is not provided, the provider project is used.
 * @property pulumiLabels The combination of labels configured directly on the resource
 *  and default labels configured on the provider.
 * @property sanDnsnames The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)
 * @property scope The scope of the certificate.
 * DEFAULT: Certificates with default scope are served from core Google data centers.
 * If unsure, choose this option.
 * EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
 * See https://cloud.google.com/vpc/docs/edge-locations.
 * ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
 * See https://cloud.google.com/compute/docs/regions-zones
 */
public data class GetCertificatesCertificate(
    public val description: String,
    public val effectiveLabels: Map,
    public val labels: Map,
    public val location: String,
    public val manageds: List,
    public val name: String,
    public val project: String,
    public val pulumiLabels: Map,
    public val sanDnsnames: List,
    public val scope: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificatemanager.outputs.GetCertificatesCertificate): GetCertificatesCertificate = GetCertificatesCertificate(
            description = javaType.description(),
            effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            location = javaType.location(),
            manageds = javaType.manageds().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificatemanager.kotlin.outputs.GetCertificatesCertificateManaged.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            project = javaType.project(),
            pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            sanDnsnames = javaType.sanDnsnames().map({ args0 -> args0 }),
            scope = javaType.scope(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy