Package com.pulumi.automation
Class RefreshOptions
java.lang.Object
com.pulumi.automation.UpdateOptions
com.pulumi.automation.RefreshOptions
Options controlling the behavior of a
WorkspaceStack.refresh()
operation.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RefreshOptions.Builderbuilder()Returns a new builder forRefreshOptions.booleanRemoves any pending create operations from the stackbooleanReturn an error if any changes are proposed by this preview.Values to import into the stackbooleanOnly show a preview of the refresh, but don't perform the refresh itself.booleanShow config secrets when they appear.booleanIgnores any pending create operationsMethods 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 forRefreshOptions.- Returns:
- the builder
-
expectNoChanges
public boolean expectNoChanges()Return an error if any changes are proposed by this preview.- Returns:
- true if the preview should fail if any changes are proposed
-
previewOnly
public boolean previewOnly()Only show a preview of the refresh, but don't perform the refresh itself.- Returns:
- true if we should only show the preview
-
showSecrets
public boolean showSecrets()Show config secrets when they appear.- Returns:
- whether to show secrets
-
skipPendingCreates
public boolean skipPendingCreates()Ignores any pending create operations- Returns:
- whether to skip pending creates
-
clearPendingCreates
public boolean clearPendingCreates()Removes any pending create operations from the stack- Returns:
- whether to clear pending creates
-
importPendingCreates
Values to import into the stack- Returns:
- the list of pending create values
-