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