com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.ResourceClaimConsumerReferencePatch.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.resource.v1alpha2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
* @property apiGroup APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
* @property name Name is the name of resource being referenced.
* @property resource Resource is the type of resource being referenced, for example "pods".
* @property uid UID identifies exactly one incarnation of the resource.
*/
public data class ResourceClaimConsumerReferencePatch(
public val apiGroup: String? = null,
public val name: String? = null,
public val resource: String? = null,
public val uid: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha2.outputs.ResourceClaimConsumerReferencePatch): ResourceClaimConsumerReferencePatch = ResourceClaimConsumerReferencePatch(
apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
resource = javaType.resource().map({ args0 -> args0 }).orElse(null),
uid = javaType.uid().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy