Package com.pulumi.automation
Class RefreshOptions
- java.lang.Object
-
- com.pulumi.automation.UpdateOptions
-
- com.pulumi.automation.RefreshOptions
-
public final class RefreshOptions extends UpdateOptions
Options controlling the behavior of aWorkspaceStack.refresh()
operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefreshOptions.Builder
Builder forRefreshOptions
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshOptions.Builder
builder()
Returns a new builder forRefreshOptions
.boolean
clearPendingCreates()
Removes any pending create operations from the stackboolean
expectNoChanges()
Return an error if any changes are proposed by this preview.java.util.List<PendingCreateValue>
importPendingCreates()
Values to import into the stackboolean
showSecrets()
Show config secrets when they appear.boolean
skipPendingCreates()
Ignores any pending create operations-
Methods inherited from class com.pulumi.automation.UpdateOptions
color, debug, json, logFlow, logToStdErr, logVerbosity, Message, onEvent, onStandardError, onStandardOutput, parallel, policyPackConfigs, policyPacks, targets, tracing
-
-
-
-
Method Detail
-
builder
public static RefreshOptions.Builder 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
-
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
public java.util.List<PendingCreateValue> importPendingCreates()
Values to import into the stack- Returns:
- the list of pending create values
-
-