github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithConstInput.cs (about) 1 // *** WARNING: this file was generated by test. *** 2 // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 4 using System; 5 using System.Collections.Generic; 6 using System.Collections.Immutable; 7 using System.Threading.Tasks; 8 using Pulumi.Serialization; 9 10 namespace Pulumi.Mypkg 11 { 12 public static class FuncWithConstInput 13 { 14 /// <summary> 15 /// Codegen demo with const inputs 16 /// </summary> 17 public static Task InvokeAsync(FuncWithConstInputArgs? args = null, InvokeOptions? options = null) 18 => global::Pulumi.Deployment.Instance.InvokeAsync("mypkg::funcWithConstInput", args ?? new FuncWithConstInputArgs(), options.WithDefaults()); 19 } 20 21 22 public sealed class FuncWithConstInputArgs : global::Pulumi.InvokeArgs 23 { 24 [Input("plainInput")] 25 public string? PlainInput { get; set; } 26 27 public FuncWithConstInputArgs() 28 { 29 } 30 public static new FuncWithConstInputArgs Empty => new FuncWithConstInputArgs(); 31 } 32 }