Class StepEventMetadata

java.lang.Object
com.pulumi.automation.events.StepEventMetadata

public class StepEventMetadata extends Object
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 Details

  • Method Details

    • op

      public OperationType op()
      Gets the operation being performed.
      Returns:
      the operation type
    • urn

      public String urn()
    • type

      public String type()
    • old

      @Nullable public StepEventStateMetadata old()
      Gets the state of the resource before performing the step.
      Returns:
      the old state metadata, may be null
    • new_

      @Nullable public StepEventStateMetadata new_()
      Gets the state of the resource after performing the step.
      Returns:
      the new state metadata, may be null
    • keys

      public List<String> keys()
      Gets the keys causing a replacement (only applicable for "create" and "replace" Ops).
      Returns:
      an unmodifiable list of keys, may be null
    • diffs

      public List<String> diffs()
      Gets the keys that changed with this step.
      Returns:
      an unmodifiable list of changed keys, may be null
    • detailedDiff

      public Map<String,PropertyDiff> 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

      @Nullable public Boolean logical()
      Gets whether the step is a logical operation in the program.
      Returns:
      true if the step is logical, may be null
    • provider

      public String provider()
      Gets the provider actually performing the step.
      Returns:
      the provider