pulumi/tests/testdata/codegen/csharp-invoke-options-pp/dotnet/csharp-invoke-options.cs

25 lines
524 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var explicitProvider = new Aws.Provider("explicitProvider", new()
{
Region = "us-west-2",
});
var zone = Aws.GetAvailabilityZones.Invoke(new()
{
AllAvailabilityZones = true,
}, new() {
Provider = explicitProvider,
Parent = explicitProvider,
Version = "1.2.3",
PluginDownloadURL = "https://example.com",
});
});