Initial commit
This commit is contained in:
21
examples/dotnet/Program.cs
Normal file
21
examples/dotnet/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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 },
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user