MutationPatchArgs

data class MutationPatchArgs(val applyConfiguration: Output<ApplyConfigurationPatchArgs>? = null, val jsonPatch: Output<JSONPatchPatchArgs>? = null, val patchType: Output<String>? = null) : ConvertibleToJava<MutationPatchArgs>

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

Constructors

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

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<JSONPatchPatchArgs>? = 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>? = null

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

Functions

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