/// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Probe class.
 /// </summary>
 public Iok8sapicorev1Probe(Iok8sapicorev1ExecAction exec = default(Iok8sapicorev1ExecAction), int?failureThreshold = default(int?), Iok8sapicorev1HTTPGetAction httpGet = default(Iok8sapicorev1HTTPGetAction), int?initialDelaySeconds = default(int?), int?periodSeconds = default(int?), int?successThreshold = default(int?), Iok8sapicorev1TCPSocketAction tcpSocket = default(Iok8sapicorev1TCPSocketAction), int?timeoutSeconds = default(int?))
 {
     Exec                = exec;
     FailureThreshold    = failureThreshold;
     HttpGet             = httpGet;
     InitialDelaySeconds = initialDelaySeconds;
     PeriodSeconds       = periodSeconds;
     SuccessThreshold    = successThreshold;
     TcpSocket           = tcpSocket;
     TimeoutSeconds      = timeoutSeconds;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Handler class.
 /// </summary>
 public Iok8sapicorev1Handler(Iok8sapicorev1ExecAction exec = default(Iok8sapicorev1ExecAction), Iok8sapicorev1HTTPGetAction httpGet = default(Iok8sapicorev1HTTPGetAction), Iok8sapicorev1TCPSocketAction tcpSocket = default(Iok8sapicorev1TCPSocketAction))
 {
     Exec      = exec;
     HttpGet   = httpGet;
     TcpSocket = tcpSocket;
 }