2021-07-06 22:40:53 +00:00
|
|
|
// *** 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 ArgFunction
|
|
|
|
{
|
|
|
|
public static Task<ArgFunctionResult> InvokeAsync(ArgFunctionArgs? args = null, InvokeOptions? options = null)
|
2022-09-14 23:19:32 +00:00
|
|
|
=> global::Pulumi.Deployment.Instance.InvokeAsync<ArgFunctionResult>("example::argFunction", args ?? new ArgFunctionArgs(), options.WithDefaults());
|
2021-10-18 22:18:15 +00:00
|
|
|
|
|
|
|
public static Output<ArgFunctionResult> Invoke(ArgFunctionInvokeArgs? args = null, InvokeOptions? options = null)
|
2022-09-14 23:19:32 +00:00
|
|
|
=> global::Pulumi.Deployment.Instance.Invoke<ArgFunctionResult>("example::argFunction", args ?? new ArgFunctionInvokeArgs(), options.WithDefaults());
|
2021-07-06 22:40:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-07-27 09:24:21 +00:00
|
|
|
public sealed class ArgFunctionArgs : global::Pulumi.InvokeArgs
|
2021-07-06 22:40:53 +00:00
|
|
|
{
|
|
|
|
[Input("arg1")]
|
|
|
|
public Pulumi.Example.Resource? Arg1 { get; set; }
|
|
|
|
|
|
|
|
public ArgFunctionArgs()
|
|
|
|
{
|
|
|
|
}
|
2022-07-27 09:23:34 +00:00
|
|
|
public static new ArgFunctionArgs Empty => new ArgFunctionArgs();
|
2021-07-06 22:40:53 +00:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:24:21 +00:00
|
|
|
public sealed class ArgFunctionInvokeArgs : global::Pulumi.InvokeArgs
|
2021-10-18 22:18:15 +00:00
|
|
|
{
|
|
|
|
[Input("arg1")]
|
|
|
|
public Input<Pulumi.Example.Resource>? Arg1 { get; set; }
|
|
|
|
|
|
|
|
public ArgFunctionInvokeArgs()
|
|
|
|
{
|
|
|
|
}
|
2022-07-27 09:23:34 +00:00
|
|
|
public static new ArgFunctionInvokeArgs Empty => new ArgFunctionInvokeArgs();
|
2021-10-18 22:18:15 +00:00
|
|
|
}
|
|
|
|
|
2021-07-06 22:40:53 +00:00
|
|
|
|
|
|
|
[OutputType]
|
|
|
|
public sealed class ArgFunctionResult
|
|
|
|
{
|
|
|
|
public readonly Pulumi.Example.Resource? Result;
|
|
|
|
|
|
|
|
[OutputConstructor]
|
|
|
|
private ArgFunctionResult(Pulumi.Example.Resource? result)
|
|
|
|
{
|
|
|
|
Result = result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|