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

com.pulumi.kubernetes.autoscaling.v2beta2.kotlin.outputs.CrossVersionObjectReferencePatch.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.autoscaling.v2beta2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * CrossVersionObjectReference contains enough information to let you identify the referred resource.
 * @property apiVersion API version of the referent
 * @property kind Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
 * @property name Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
 */
public data class CrossVersionObjectReferencePatch(
    public val apiVersion: String? = null,
    public val kind: String? = null,
    public val name: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.autoscaling.v2beta2.outputs.CrossVersionObjectReferencePatch): CrossVersionObjectReferencePatch = CrossVersionObjectReferencePatch(
            apiVersion = javaType.apiVersion().map({ args0 -> args0 }).orElse(null),
            kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy