MutationArgs

data class MutationArgs(val applyConfiguration: Output<ApplyConfigurationArgs>? = null, val jsonPatch: Output<JSONPatchArgs>? = null, val patchType: Output<String>) : ConvertibleToJava<MutationArgs>

Mutation specifies the CEL expression which is used to apply the Mutation.

Constructors

Link copied to clipboard
constructor(applyConfiguration: Output<ApplyConfigurationArgs>? = null, jsonPatch: Output<JSONPatchArgs>? = null, patchType: Output<String>)

Properties

Link copied to clipboard

applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using structured merge diff. A CEL expression is used to create apply configuration.

Link copied to clipboard
val jsonPatch: Output<JSONPatchArgs>? = null

jsonPatch defines a JSON patch operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.

Link copied to clipboard
val patchType: Output<String>

patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.

Functions

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