Package com.pulumi.automation.events
Class SummaryEvent
- java.lang.Object
-
- com.pulumi.automation.events.SummaryEvent
-
public class SummaryEvent extends java.lang.Object
SummaryEvent
is emitted at the end of an update, with a summary of the changes made.
-
-
Constructor Summary
Constructors Constructor Description SummaryEvent(boolean maybeCorrupt, int durationSeconds, java.util.Map<OperationType,java.lang.Integer> resourceChanges, java.util.Map<java.lang.String,java.lang.String> policyPacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
durationSeconds()
Gets the number of seconds the update was executing.boolean
isMaybeCorrupt()
Gets whether one or more of the resources is in an invalid state.java.util.Map<java.lang.String,java.lang.String>
policyPacks()
Gets the policy packs run during update.java.util.Map<OperationType,java.lang.Integer>
resourceChanges()
Gets the count for resource change by type.
-
-
-
Constructor Detail
-
SummaryEvent
public SummaryEvent(boolean maybeCorrupt, int durationSeconds, java.util.Map<OperationType,java.lang.Integer> resourceChanges, java.util.Map<java.lang.String,java.lang.String> policyPacks)
-
-
Method Detail
-
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 java.util.Map<OperationType,java.lang.Integer> resourceChanges()
Gets the count for resource change by type.- Returns:
- an unmodifiable map of resource changes by operation type
-
policyPacks
public java.util.Map<java.lang.String,java.lang.String> policyPacks()
Gets the policy packs run during update. Maps PolicyPackName to version.- Returns:
- an unmodifiable map of policy pack names to versions
-
-