github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithEmptyOutputs.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.Mypkg
    11  {
    12      public static class FuncWithEmptyOutputs
    13      {
    14          /// <summary>
    15          /// n/a
    16          /// </summary>
    17          public static Task<FuncWithEmptyOutputsResult> InvokeAsync(FuncWithEmptyOutputsArgs args, InvokeOptions? options = null)
    18              => global::Pulumi.Deployment.Instance.InvokeAsync<FuncWithEmptyOutputsResult>("mypkg::funcWithEmptyOutputs", args ?? new FuncWithEmptyOutputsArgs(), options.WithDefaults());
    19  
    20          /// <summary>
    21          /// n/a
    22          /// </summary>
    23          public static Output<FuncWithEmptyOutputsResult> Invoke(FuncWithEmptyOutputsInvokeArgs args, InvokeOptions? options = null)
    24              => global::Pulumi.Deployment.Instance.Invoke<FuncWithEmptyOutputsResult>("mypkg::funcWithEmptyOutputs", args ?? new FuncWithEmptyOutputsInvokeArgs(), options.WithDefaults());
    25      }
    26  
    27  
    28      public sealed class FuncWithEmptyOutputsArgs : global::Pulumi.InvokeArgs
    29      {
    30          /// <summary>
    31          /// The Name of the FeatureGroup.
    32          /// </summary>
    33          [Input("name", required: true)]
    34          public string Name { get; set; } = null!;
    35  
    36          public FuncWithEmptyOutputsArgs()
    37          {
    38          }
    39          public static new FuncWithEmptyOutputsArgs Empty => new FuncWithEmptyOutputsArgs();
    40      }
    41  
    42      public sealed class FuncWithEmptyOutputsInvokeArgs : global::Pulumi.InvokeArgs
    43      {
    44          /// <summary>
    45          /// The Name of the FeatureGroup.
    46          /// </summary>
    47          [Input("name", required: true)]
    48          public Input<string> Name { get; set; } = null!;
    49  
    50          public FuncWithEmptyOutputsInvokeArgs()
    51          {
    52          }
    53          public static new FuncWithEmptyOutputsInvokeArgs Empty => new FuncWithEmptyOutputsInvokeArgs();
    54      }
    55  
    56  
    57      [OutputType]
    58      public sealed class FuncWithEmptyOutputsResult
    59      {
    60          [OutputConstructor]
    61          private FuncWithEmptyOutputsResult()
    62          {
    63          }
    64      }
    65  }