Package com.pulumi.automation.events
Class StepEventMetadata
java.lang.Object
com.pulumi.automation.events.StepEventMetadata
StepEventMetadata describes a "step" within the Pulumi engine, which
is any concrete action to migrate a set of cloud resources from one state to
another.-
Constructor Summary
ConstructorsConstructorDescriptionStepEventMetadata(OperationType op, String urn, String type, StepEventStateMetadata old, StepEventStateMetadata newState, List<String> keys, List<String> diffs, Map<String, PropertyDiff> detailedDiff, Boolean logical, String provider) -
Method Summary
Modifier and TypeMethodDescriptionGets the diff for this step as a list of property paths and difference types.diffs()Gets the keys that changed with this step.keys()Gets the keys causing a replacement (only applicable for "create" and "replace" Ops).logical()Gets whether the step is a logical operation in the program.new_()Gets the state of the resource after performing the step.old()Gets the state of the resource before performing the step.op()Gets the operation being performed.provider()Gets the provider actually performing the step.type()urn()
-
Constructor Details
-
StepEventMetadata
public StepEventMetadata(OperationType op, String urn, String type, StepEventStateMetadata old, StepEventStateMetadata newState, List<String> keys, List<String> diffs, Map<String, PropertyDiff> detailedDiff, Boolean logical, String provider)
-
-
Method Details
-
op
Gets the operation being performed.- Returns:
- the operation type
-
urn
-
type
-
old
Gets the state of the resource before performing the step.- Returns:
- the old state metadata, may be null
-
new_
Gets the state of the resource after performing the step.- Returns:
- the new state metadata, may be null
-
keys
Gets the keys causing a replacement (only applicable for "create" and "replace" Ops).- Returns:
- an unmodifiable list of keys, may be null
-
diffs
Gets the keys that changed with this step.- Returns:
- an unmodifiable list of changed keys, may be null
-
detailedDiff
Gets the diff for this step as a list of property paths and difference types.- Returns:
- an unmodifiable map of detailed differences, may be null
-
logical
Gets whether the step is a logical operation in the program.- Returns:
- true if the step is logical, may be null
-
provider
Gets the provider actually performing the step.- Returns:
- the provider
-