com.pulumi.kubernetes.autoscaling.v2.kotlin.outputs.CrossVersionObjectReference.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.autoscaling.v2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* CrossVersionObjectReference contains enough information to let you identify the referred resource.
* @property apiVersion apiVersion is the API version of the referent
* @property kind kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @property name name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
public data class CrossVersionObjectReference(
public val apiVersion: String? = null,
public val kind: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.autoscaling.v2.outputs.CrossVersionObjectReference): CrossVersionObjectReference = CrossVersionObjectReference(
apiVersion = javaType.apiVersion().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind(),
name = javaType.name(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy