Package com.pulumi.automation
Class DestroyOptions
java.lang.Object
com.pulumi.automation.UpdateOptions
com.pulumi.automation.DestroyOptions
Options controlling the behavior of a
WorkspaceStack.destroy()
operation.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DestroyOptions.Builderbuilder()Returns a new builder forDestroyOptions.booleanContinue to perform the update operation despite the occurrence of errors.booleanAllows exclusion of dependent targets discovered but not specifiedUpdateOptions.excludes()booleanShow config secrets when they appear.booleanAllows updating of dependent targets discovered but not specifiedUpdateOptions.targets()booleanOnly show a preview of the destroy, but don't perform the destroy itself.Methods inherited from class com.pulumi.automation.UpdateOptions
color, debug, excludes, json, logFlow, logToStdErr, logVerbosity, Message, onEvent, onStandardError, onStandardOutput, parallel, policyPackConfigs, policyPacks, targets, tracing
-
Method Details
-
builder
Returns a new builder forDestroyOptions.- Returns:
- the builder
-
isExcludeDependents
public boolean isExcludeDependents()Allows exclusion of dependent targets discovered but not specifiedUpdateOptions.excludes()- Returns:
- true if dependent targets should be excluded
-
isTargetDependents
public boolean isTargetDependents()Allows updating of dependent targets discovered but not specifiedUpdateOptions.targets()- Returns:
- true if dependent targets should be updated
-
isShowSecrets
public boolean isShowSecrets()Show config secrets when they appear.- Returns:
- whether to show secrets
-
isContinueOnError
public boolean isContinueOnError()Continue to perform the update operation despite the occurrence of errors.- Returns:
- whether to continue on error
-
previewOnly
public boolean previewOnly()Only show a preview of the destroy, but don't perform the destroy itself.- Returns:
- whether this is just a preview
-