mirror of https://github.com/pulumi/pulumi.git
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
// Copyright 2016-2021, Pulumi Corporation
|
|
|
|
using System.Collections.Generic;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Pulumi.Automation
|
|
{
|
|
/// <summary>
|
|
/// Options controlling the behavior of an <see cref="WorkspaceStack.PreviewAsync(PreviewOptions, System.Threading.CancellationToken)"/> operation.
|
|
/// </summary>
|
|
public sealed class PreviewOptions : UpdateOptions
|
|
{
|
|
public bool? ExpectNoChanges { get; set; }
|
|
|
|
public bool? Diff { get; set; }
|
|
|
|
public List<string>? Replace { get; set; }
|
|
|
|
public bool? TargetDependents { get; set; }
|
|
|
|
public PulumiFn? Program { get; set; }
|
|
|
|
/// <summary>
|
|
/// Plan specifies the path where the update plan should be saved.
|
|
/// </summary>
|
|
public string? Plan {get; set; }
|
|
|
|
/// <summary>
|
|
/// A custom logger instance that will be used for the action. Note that it will only be used
|
|
/// if <see cref="Program"/> is also provided.
|
|
/// </summary>
|
|
public ILogger? Logger { get; set; }
|
|
}
|
|
}
|