Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.17 KB

File metadata and controls

30 lines (23 loc) · 1.17 KB

V1Mutation

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

Properties

Name Type Description Notes
apply_configuration V1ApplyConfiguration [optional]
json_patch V1JSONPatch [optional]
patch_type str patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.

Example

from kubernetes.client.models.v1_mutation import V1Mutation

# TODO update the JSON string below
json = "{}"
# create an instance of V1Mutation from a JSON string
v1_mutation_instance = V1Mutation.from_json(json)
# print the JSON string representation of the object
print(V1Mutation.to_json())

# convert the object into a dict
v1_mutation_dict = v1_mutation_instance.to_dict()
# create an instance of V1Mutation from a dict
v1_mutation_from_dict = V1Mutation.from_dict(v1_mutation_dict)

[Back to Model list] [Back to API list] [Back to README]