pulumi/tests/testdata/codegen/output-funcs/dotnet/FuncWithConstInput.cs

33 lines
1.0 KiB
C#

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Mypkg
{
public static class FuncWithConstInput
{
/// <summary>
/// Codegen demo with const inputs
/// </summary>
public static Task InvokeAsync(FuncWithConstInputArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("mypkg::funcWithConstInput", args ?? new FuncWithConstInputArgs(), options.WithDefaults());
}
public sealed class FuncWithConstInputArgs : global::Pulumi.InvokeArgs
{
[Input("plainInput")]
public string? PlainInput { get; set; }
public FuncWithConstInputArgs()
{
}
public static new FuncWithConstInputArgs Empty => new FuncWithConstInputArgs();
}
}