Package com.pulumi.automation
Class UpdateOptions
java.lang.Object
com.pulumi.automation.UpdateOptions
- Direct Known Subclasses:
DestroyOptions,PreviewOptions,RefreshOptions,UpOptions
Common options controlling the behavior of update actions taken
against an instance of
WorkspaceStack.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUpdateOptions.Builder<B extends UpdateOptions.Builder<B>>Base builder for all update options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolor()Colorize output.booleandebug()Print detailed debugging output during resource operationsexcludes()A list of resource URNs to exclude during the operation.booleanjson()Format standard output as JSON not text.booleanlogFlow()Flow log settings to child processes (like plugins)booleanLog to stderr instead of to filesEnable verbose logging (e.g., v=3); anything >3 is very verboseMessage()Optional message to associate with the operation.onEvent()Optional callback which is invoked with the engine events.Optional callback which is invoked whenever StandardError is written into.Optional callback which is invoked whenever StandardOutput is written into.parallel()Allow resource operations to run in parallel at once.A list of paths to policy pack JSON configuration files to use during the operation.A list of paths to policy packs to run during the operation.targets()A list of resource URNs to target during the operation.tracing()Emit tracing to the specified endpoint.
-
Constructor Details
-
UpdateOptions
-
-
Method Details
-
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
Optional message to associate with the operation.- Returns:
- the message
-
excludes
A list of resource URNs to exclude during the operation. Wildcards (*, **) are also supported.- Returns:
- the list of excluded resource URNs
-
targets
A list of resource URNs to target during the operation. Wildcards (*, **) are also supported.- Returns:
- the list of target resource URNs
-
policyPacks
A list of paths to policy packs to run during the operation.- Returns:
- the list of paths to policy packs
-
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
Optional callback which is invoked whenever StandardOutput is written into.- Returns:
- the callback
-
onStandardError
Optional callback which is invoked whenever StandardError is written into.- Returns:
- the callback
-
onEvent
Optional callback which is invoked with the engine events.- Returns:
- the callback
-
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
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
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
-