-
Notifications
You must be signed in to change notification settings - Fork 16
/
UpdateOptions.cs
75 lines (59 loc) · 2.27 KB
/
UpdateOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Copyright 2016-2021, Pulumi Corporation
using System;
using System.Collections.Generic;
using Pulumi.Automation.Events;
namespace Pulumi.Automation
{
/// <summary>
/// Common options controlling the behavior of update actions taken
/// against an instance of <see cref="WorkspaceStack"/>.
/// </summary>
public class UpdateOptions
{
public int? Parallel { get; set; }
public string? Message { get; set; }
public List<string>? Target { get; set; }
public List<string>? PolicyPacks { get; set; }
public List<string>? PolicyPackConfigs { get; set; }
/// <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; }
/// <summary>
/// Colorize output. Choices are: always, never, raw, auto (default "auto")
/// </summary>
public string? Color { get; set; }
/// <summary>
/// Flow log settings to child processes (like plugins)
/// </summary>
public bool? LogFlow { get; set; }
/// <summary>
/// Enable verbose logging (e.g., v=3); anything >3 is very verbose
/// </summary>
public int? LogVerbosity { get; set; }
/// <summary>
/// Log to stderr instead of to files
/// </summary>
public bool? LogToStdErr { get; set; }
/// <summary>
/// Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file
/// </summary>
public string? Tracing { get; set; }
/// <summary>
/// Print detailed debugging output during resource operations
/// </summary>
public bool? Debug { get; set; }
/// <summary>
/// Format standard output as JSON not text.
/// </summary>
public bool? Json { get; set; }
}
}