mirror of https://github.com/pulumi/pulumi.git
30 lines
912 B
C#
30 lines
912 B
C#
// Copyright 2016-2022, Pulumi Corporation
|
|
|
|
using System;
|
|
using Pulumi.Automation.Events;
|
|
|
|
namespace Pulumi.Automation
|
|
{
|
|
/// <summary>
|
|
/// Common options controlling the behavior of update actions taken
|
|
/// against an instance of <see cref="RemoteWorkspaceStack"/>.
|
|
/// </summary>
|
|
public class RemoteUpdateOptions
|
|
{
|
|
/// <summary>
|
|
/// Optional callback which is invoked whenever StandardOutput is written into
|
|
/// </summary>
|
|
public Action<string>? OnStandardOutput { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional callback which is invoked whenever StandardError is written into
|
|
/// </summary>
|
|
public Action<string>? OnStandardError { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional callback which is invoked with the engine events
|
|
/// </summary>
|
|
public Action<EngineEvent>? OnEvent { get; set; }
|
|
}
|
|
}
|