
com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs.ResourceClaimParametersReference.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be 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 kind Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example "ConfigMap".
* @property name Name is the name of resource being referenced.
*/
public data class ResourceClaimParametersReference(
public val apiGroup: String? = null,
public val kind: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha1.outputs.ResourceClaimParametersReference): ResourceClaimParametersReference = ResourceClaimParametersReference(
apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy