// Copyright 2016-2019, Pulumi Corporation. All rights reserved. using System.Collections.Generic; using System.Threading.Tasks; using Pulumi; using Pulumi.Serialization; class MyStack : Stack { [Output("abc")] public Output Abc { get; private set; } [Output] public Output Foo { get; private set; } // This should NOT be exported as stack output due to the missing attribute public Output Bar { get; private set; } public MyStack() { this.Abc = Output.Create("ABC"); this.Foo = Output.Create(42); this.Bar = Output.Create("this should not come to output"); } } class Program { static Task Main(string[] args) => Deployment.RunAsync(); }