pulumi/tests/testdata/codegen/simple-plain-schema/dotnet/DoFoo.cs

30 lines
844 B
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.Example
{
public static class DoFoo
{
public static Task InvokeAsync(DoFooArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("example::doFoo", args ?? new DoFooArgs(), options.WithDefaults());
}
public sealed class DoFooArgs : global::Pulumi.InvokeArgs
{
[Input("foo", required: true)]
public Inputs.Foo Foo { get; set; } = null!;
public DoFooArgs()
{
}
public static new DoFooArgs Empty => new DoFooArgs();
}
}