github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/plain-object-disable-defaults/dotnet/Inputs/KubeClientSettingsArgs.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      /// Options for tuning the Kubernetes client used by a Provider.
    15      /// </summary>
    16      public sealed class KubeClientSettingsArgs : global::Pulumi.ResourceArgs
    17      {
    18          /// <summary>
    19          /// Maximum burst for throttle. Default value is 10.
    20          /// </summary>
    21          [Input("burst")]
    22          public Input<int>? Burst { get; set; }
    23  
    24          /// <summary>
    25          /// Maximum queries per second (QPS) to the API server from this client. Default value is 5.
    26          /// </summary>
    27          [Input("qps")]
    28          public Input<double>? Qps { get; set; }
    29  
    30          [Input("recTest")]
    31          public Input<Inputs.KubeClientSettingsArgs>? RecTest { get; set; }
    32  
    33          public KubeClientSettingsArgs()
    34          {
    35              Burst = Utilities.GetEnvInt32("PULUMI_K8S_CLIENT_BURST");
    36              Qps = Utilities.GetEnvDouble("PULUMI_K8S_CLIENT_QPS");
    37          }
    38          public static new KubeClientSettingsArgs Empty => new KubeClientSettingsArgs();
    39      }
    40  }