github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-yaml-schema/dotnet/Outputs/Object.cs (about)

     1  // *** WARNING: this file was generated by test. ***
     2  // *** Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  using System;
     5  using System.Collections.Generic;
     6  using System.Collections.Immutable;
     7  using System.Threading.Tasks;
     8  using Pulumi.Serialization;
     9  
    10  namespace Pulumi.Example.Outputs
    11  {
    12  
    13      [OutputType]
    14      public sealed class Object
    15      {
    16          public readonly string? Bar;
    17          public readonly ImmutableArray<Outputs.ConfigMap> Configs;
    18          public readonly Pulumi.Example.Resource? Foo;
    19          /// <summary>
    20          /// List of lists of other objects
    21          /// </summary>
    22          public readonly ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> Others;
    23          /// <summary>
    24          /// Mapping from string to list of some other object
    25          /// </summary>
    26          public readonly ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? StillOthers;
    27  
    28          [OutputConstructor]
    29          private Object(
    30              string? bar,
    31  
    32              ImmutableArray<Outputs.ConfigMap> configs,
    33  
    34              Pulumi.Example.Resource? foo,
    35  
    36              ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> others,
    37  
    38              ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? stillOthers)
    39          {
    40              Bar = bar;
    41              Configs = configs;
    42              Foo = foo;
    43              Others = others;
    44              StillOthers = stillOthers;
    45          }
    46      }
    47  }