pulumi/tests/testdata/codegen/simple-yaml-schema/dotnet/Outputs/Object.cs

48 lines
1.4 KiB
C#

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Example.Outputs
{
[OutputType]
public sealed class Object
{
public readonly string? Bar;
public readonly ImmutableArray<Outputs.ConfigMap> Configs;
public readonly Pulumi.Example.Resource? Foo;
/// <summary>
/// List of lists of other objects
/// </summary>
public readonly ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> Others;
/// <summary>
/// Mapping from string to list of some other object
/// </summary>
public readonly ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? StillOthers;
[OutputConstructor]
private Object(
string? bar,
ImmutableArray<Outputs.ConfigMap> configs,
Pulumi.Example.Resource? foo,
ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> others,
ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? stillOthers)
{
Bar = bar;
Configs = configs;
Foo = foo;
Others = others;
StillOthers = stillOthers;
}
}
}