pulumi/tests/testdata/codegen/unknown-invoke-pp/dotnet/unknown-invoke.cs

21 lines
382 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Unknown = Pulumi.Unknown;
return await Deployment.RunAsync(() =>
{
var data = Unknown.Index.GetData.Invoke(new()
{
Input = "hello",
});
var values = Unknown.Eks.ModuleValues.Invoke();
return new Dictionary<string, object?>
{
["content"] = data.Content,
};
});