Class EngineEvent

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

public class EngineEvent extends Object
EngineEvent describes a Pulumi engine event, such as a change to a resource or diagnostic message. EngineEvent is a discriminated union of all possible event types, and exactly one field will be non-null.
  • Constructor Details

  • Method Details

    • sequence

      public int sequence()
      Gets the sequence number, a unique, and monotonically increasing number for each engine event sent to the Pulumi Service. Since events may be sent concurrently, and/or delayed via network routing, the sequence number is to ensure events can be placed into a total ordering.
      • No two events can have the same sequence number.
      • Events with a lower sequence number must have been emitted before those with a higher sequence number.
      Returns:
      the sequence number
    • timestamp

      public int timestamp()
      Gets the timestamp, a Unix timestamp (seconds) of when the event was emitted.
      Returns:
      the timestamp
    • cancelEvent

      @Nullable public CancelEvent cancelEvent()
    • standardOutputEvent

      @Nullable public StandardOutputEvent standardOutputEvent()
    • diagnosticEvent

      @Nullable public DiagnosticEvent diagnosticEvent()
    • preludeEvent

      @Nullable public PreludeEvent preludeEvent()
    • summaryEvent

      @Nullable public SummaryEvent summaryEvent()
    • resourcePreEvent

      @Nullable public ResourcePreEvent resourcePreEvent()
    • resourceOutputsEvent

      @Nullable public ResourceOutputsEvent resourceOutputsEvent()
    • resourceOperationFailedEvent

      @Nullable public ResourceOperationFailedEvent resourceOperationFailedEvent()
    • policyEvent

      @Nullable public PolicyEvent policyEvent()