Class SummaryEvent

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

public class SummaryEvent extends Object
SummaryEvent is emitted at the end of an update, with a summary of the changes made.
  • Constructor Details

  • Method Details

    • isMaybeCorrupt

      public boolean isMaybeCorrupt()
      Gets whether one or more of the resources is in an invalid state.
      Returns:
      true if one or more resources is in an invalid state, false otherwise
    • durationSeconds

      public int durationSeconds()
      Gets the number of seconds the update was executing.
      Returns:
      duration in seconds
    • resourceChanges

      public Map<OperationType,Integer> resourceChanges()
      Gets the count for resource change by type.
      Returns:
      an unmodifiable map of resource changes by operation type
    • policyPacks

      public Map<String,String> policyPacks()
      Gets the policy packs run during update. Maps PolicyPackName to version.
      Returns:
      an unmodifiable map of policy pack names to versions