github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/plain-object-disable-defaults/dotnet/Inputs/HelmReleaseSettings.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.Inputs
    11  {
    12  
    13      /// <summary>
    14      /// BETA FEATURE - Options to configure the Helm Release resource.
    15      /// </summary>
    16      public sealed class HelmReleaseSettings : global::Pulumi.InvokeArgs
    17      {
    18          /// <summary>
    19          /// The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
    20          /// </summary>
    21          [Input("driver")]
    22          public string? Driver { get; set; }
    23  
    24          /// <summary>
    25          /// The path to the helm plugins directory.
    26          /// </summary>
    27          [Input("pluginsPath")]
    28          public string? PluginsPath { get; set; }
    29  
    30          /// <summary>
    31          /// to test required args
    32          /// </summary>
    33          [Input("requiredArg", required: true)]
    34          public string RequiredArg { get; set; } = null!;
    35  
    36          public HelmReleaseSettings()
    37          {
    38              Driver = Utilities.GetEnv("PULUMI_K8S_HELM_DRIVER") ?? "secret";
    39              PluginsPath = Utilities.GetEnv("PULUMI_K8S_HELM_PLUGINS_PATH");
    40          }
    41          public static new HelmReleaseSettings Empty => new HelmReleaseSettings();
    42      }
    43  }