TransformationRule class

A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to transform) and transformation logic.

Constructors

TransformationRule({Input<String>? description, required Input<List<TransformationRuleAction>> fieldActions, Input<ResourceFilter>? resourceFilter})
Creates a new TransformationRule. description Optional. The description is a user specified string description of the transformation rule. fieldActions A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation. resourceFilter Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
const
TransformationRule.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String>?
Optional. The description is a user specified string description of the transformation rule.
final
fieldActions → Input<List<TransformationRuleAction>>
A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
final
hashCode → int
The hash code for this object.
no setterinherited
resourceFilter → Input<ResourceFilter>?
Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited