NamedResourcesRequestArgs

data class NamedResourcesRequestArgs(val selector: Output<String>) : ConvertibleToJava<NamedResourcesRequestArgs>

NamedResourcesRequest is used in ResourceRequestModel.

Constructors

Link copied to clipboard
constructor(selector: Output<String>)

Properties

Link copied to clipboard
val selector: Output<String>

Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity"a".isGreaterThan(quantity("0")) && attributes.stringslice"b".isSorted()

Functions

Link copied to clipboard
open override fun toJava(): NamedResourcesRequestArgs