pulumi/tests/testdata/codegen/other-owned/dotnet/Outputs/Object.cs

49 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;
using Pulumi;
namespace Other.Example.Outputs
{
[OutputType]
public sealed class Object
{
public readonly string? Bar;
public readonly ImmutableArray<Outputs.ConfigMap> Configs;
public readonly Other.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,
Other.Example.Resource? foo,
ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> others,
ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? stillOthers)
{
Bar = bar;
Configs = configs;
Foo = foo;
Others = others;
StillOthers = stillOthers;
}
}
}