IModelAction
Index
Properties
Methods
Properties
readonlyACTION_NAME
The name of the action. It can be used to easily identify an action and its purpose.
Methods
collectInput
This function contains the list of inputs to ask before processing the diff. A missing input key will not be populated in the inputs provided to the action.
Parameters
diff: Diff
Returns string[]
filter
This function determines if the handle is applicable to the diff.
Parameters
diff: Diff
Returns boolean
handle
This function contains the logic to apply the diff(s) to the underlying infrastructure.
Parameters
diff: Diff
actionInputs: ActionInputs
actionOutputs: ActionOutputs
Returns Promise<ActionOutputs>
Model Actions are translation functions between Diff and underlying resources. These actions can translate a specific type of Diff into individual resources.