github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/other-owned/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  using Pulumi;
    10  
    11  namespace Other.Example.Outputs
    12  {
    13  
    14      [OutputType]
    15      public sealed class Object
    16      {
    17          public readonly string? Bar;
    18          public readonly ImmutableArray<Outputs.ConfigMap> Configs;
    19          public readonly Other.Example.Resource? Foo;
    20          /// <summary>
    21          /// List of lists of other objects
    22          /// </summary>
    23          public readonly ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> Others;
    24          /// <summary>
    25          /// Mapping from string to list of some other object
    26          /// </summary>
    27          public readonly ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? StillOthers;
    28  
    29          [OutputConstructor]
    30          private Object(
    31              string? bar,
    32  
    33              ImmutableArray<Outputs.ConfigMap> configs,
    34  
    35              Other.Example.Resource? foo,
    36  
    37              ImmutableArray<ImmutableArray<Outputs.SomeOtherObject>> others,
    38  
    39              ImmutableDictionary<string, ImmutableArray<Outputs.SomeOtherObject>>? stillOthers)
    40          {
    41              Bar = bar;
    42              Configs = configs;
    43              Foo = foo;
    44              Others = others;
    45              StillOthers = stillOthers;
    46          }
    47      }
    48  }