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

com.pulumi.gcp.compute.kotlin.outputs.GetSSLPolicyResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

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

/**
 * A collection of values returned by getSSLPolicy.
 * @property creationTimestamp
 * @property customFeatures If the `profile` is `CUSTOM`, these are the custom encryption
 * ciphers supported by the profile. If the `profile` is *not* `CUSTOM`, this
 * attribute will be empty.
 * @property description Description of this SSL Policy.
 * @property enabledFeatures The set of enabled encryption ciphers as a result of the policy config
 * @property fingerprint Fingerprint of this resource.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property minTlsVersion The minimum supported TLS version of this policy.
 * @property name
 * @property profile The Google-curated or custom profile used by this policy.
 * @property project
 * @property selfLink The URI of the created resource.
 */
public data class GetSSLPolicyResult(
    public val creationTimestamp: String,
    public val customFeatures: List,
    public val description: String,
    public val enabledFeatures: List,
    public val fingerprint: String,
    public val id: String,
    public val minTlsVersion: String,
    public val name: String,
    public val profile: String,
    public val project: String? = null,
    public val selfLink: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetSSLPolicyResult): GetSSLPolicyResult = GetSSLPolicyResult(
            creationTimestamp = javaType.creationTimestamp(),
            customFeatures = javaType.customFeatures().map({ args0 -> args0 }),
            description = javaType.description(),
            enabledFeatures = javaType.enabledFeatures().map({ args0 -> args0 }),
            fingerprint = javaType.fingerprint(),
            id = javaType.id(),
            minTlsVersion = javaType.minTlsVersion(),
            name = javaType.name(),
            profile = javaType.profile(),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
            selfLink = javaType.selfLink(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy