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

22 lines
419 B
C#

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