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

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

package com.pulumi.gcp.networkservices.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id The ID of the public key. The ID must be 1-63 characters long, and comply with RFC1035.
 * 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 managed Set to true to have the CDN automatically manage this public key value.
 * @property value The base64-encoded value of the Ed25519 public key. The base64 encoding can be padded (44 bytes) or unpadded (43 bytes).
 * Representations or encodings of the public key other than this will be rejected with an error.
 * **Note**: This property is sensitive and will not be displayed in the plan.
 */
public data class EdgeCacheKeysetPublicKey(
    public val id: String,
    public val managed: Boolean? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EdgeCacheKeysetPublicKey): EdgeCacheKeysetPublicKey = EdgeCacheKeysetPublicKey(
            id = javaType.id(),
            managed = javaType.managed().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy