Files
pulumi-docker-build/examples/dotnet/Program.cs
2024-03-07 11:17:15 -08:00

22 lines
392 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Xyz = Pulumi.Xyz;
return await Deployment.RunAsync(() =>
{
var myRandomResource = new Xyz.Random("myRandomResource", new()
{
Length = 24,
});
return new Dictionary<string, object?>
{
["output"] =
{
{ "value", myRandomResource.Result },
},
};
});