pulumi/sdk/dotnet/Pulumi.Automation/Events/ResourcePreEvent.cs

22 lines
647 B
C#

// Copyright 2016-2021, Pulumi Corporation
// NOTE: The class in this file are intended to align with the serialized
// JSON types defined and versioned in sdk/go/common/apitype/events.go
namespace Pulumi.Automation.Events
{
/// <summary>
/// <see cref="ResourcePreEvent"/> is emitted before a resource is modified.
/// </summary>
public class ResourcePreEvent
{
public StepEventMetadata Metadata { get; }
public bool? Planning { get; }
internal ResourcePreEvent(StepEventMetadata metadata, bool? planning)
{
Metadata = metadata;
Planning = planning;
}
}
}