Class ResourceOperationFailedEvent

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

public class ResourceOperationFailedEvent extends Object
ResourceOperationFailedEvent is emitted when a resource operation fails. Typically a DiagnosticEvent is emitted before this event, indicating what the root cause of the error.
  • Constructor Details

    • ResourceOperationFailedEvent

      public ResourceOperationFailedEvent(StepEventMetadata metadata, int status, int steps)
  • Method Details

    • metadata

      public StepEventMetadata metadata()
      The step event metadata.
      Returns:
      the step event metadata
    • status

      public int status()
      The status code of the failure.
      Returns:
      the status code
    • steps

      public int steps()
      The number of steps.
      Returns:
      the number of steps