Class UpdateOptions

java.lang.Object
com.pulumi.automation.UpdateOptions
Direct Known Subclasses:
DestroyOptions, PreviewOptions, RefreshOptions, UpOptions

public abstract class UpdateOptions extends Object
Common options controlling the behavior of update actions taken against an instance of WorkspaceStack.
  • Constructor Details

  • Method Details

    • parallel

      @Nullable public Integer parallel()
      Allow resource operations to run in parallel at once. Specify 1 for no parallelism.
      Returns:
      the number of resource operations to run in parallel
    • Message

      @Nullable public String Message()
      Optional message to associate with the operation.
      Returns:
      the message
    • excludes

      public List<String> excludes()
      A list of resource URNs to exclude during the operation. Wildcards (*, **) are also supported.
      Returns:
      the list of excluded resource URNs
    • targets

      public List<String> targets()
      A list of resource URNs to target during the operation. Wildcards (*, **) are also supported.
      Returns:
      the list of target resource URNs
    • policyPacks

      public List<String> policyPacks()
      A list of paths to policy packs to run during the operation.
      Returns:
      the list of paths to policy packs
    • policyPackConfigs

      public List<String> policyPackConfigs()
      A list of paths to policy pack JSON configuration files to use during the operation.
      Returns:
      the list of paths to policy pack JSON configuration files
    • onStandardOutput

      @Nullable public Consumer<String> onStandardOutput()
      Optional callback which is invoked whenever StandardOutput is written into.
      Returns:
      the callback
    • onStandardError

      @Nullable public Consumer<String> onStandardError()
      Optional callback which is invoked whenever StandardError is written into.
      Returns:
      the callback
    • onEvent

      @Nullable public Consumer<EngineEvent> onEvent()
      Optional callback which is invoked with the engine events.
      Returns:
      the callback
    • color

      @Nullable public String color()
      Colorize output. Choices are: always, never, raw, auto (default "auto")
      Returns:
      the colorize output setting
    • logFlow

      public boolean logFlow()
      Flow log settings to child processes (like plugins)
      Returns:
      the flow log settings
    • logVerbosity

      @Nullable public Integer logVerbosity()
      Enable verbose logging (e.g., v=3); anything >3 is very verbose
      Returns:
      the log verbosity
    • logToStdErr

      public boolean logToStdErr()
      Log to stderr instead of to files
      Returns:
      the log to stderr setting
    • tracing

      @Nullable public String tracing()
      Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file
      Returns:
      the tracing endpoint
    • debug

      public boolean debug()
      Print detailed debugging output during resource operations
      Returns:
      the debug setting
    • json

      public boolean json()
      Format standard output as JSON not text.
      Returns:
      the JSON output setting