com.pulumi.kubernetes.apiextensions.v1.kotlin.outputs.SelectableField.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.apiextensions.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* SelectableField specifies the JSON path of a field that may be used with field selectors.
* @property jsonPath jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.
*/
public data class SelectableField(
public val jsonPath: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.apiextensions.v1.outputs.SelectableField): SelectableField = SelectableField(
jsonPath = javaType.jsonPath(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy