2017-10-19 19:53:02 +00:00
|
|
|
// <auto-generated>
|
|
|
|
|
// Code generated by Microsoft (R) AutoRest Code Generator.
|
2017-06-06 23:02:14 -07:00
|
|
|
// Changes may cause incorrect behavior and will be lost if the code is
|
|
|
|
|
// regenerated.
|
2017-10-19 19:53:02 +00:00
|
|
|
// </auto-generated>
|
2017-06-06 23:02:14 -07:00
|
|
|
|
|
|
|
|
namespace k8s.Models
|
|
|
|
|
{
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// IngressTLS describes the transport layer security associated with an
|
|
|
|
|
/// Ingress.
|
|
|
|
|
/// </summary>
|
2019-03-28 11:51:58 -07:00
|
|
|
public partial class Extensionsv1beta1IngressTLS
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-03-28 11:51:58 -07:00
|
|
|
/// Initializes a new instance of the Extensionsv1beta1IngressTLS
|
|
|
|
|
/// class.
|
2017-06-06 23:02:14 -07:00
|
|
|
/// </summary>
|
2019-03-28 11:51:58 -07:00
|
|
|
public Extensionsv1beta1IngressTLS()
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
2017-10-19 19:53:02 +00:00
|
|
|
CustomInit();
|
2017-06-06 23:02:14 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-03-28 11:51:58 -07:00
|
|
|
/// Initializes a new instance of the Extensionsv1beta1IngressTLS
|
|
|
|
|
/// class.
|
2017-06-06 23:02:14 -07:00
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="hosts">Hosts are a list of hosts included in the TLS
|
|
|
|
|
/// certificate. The values in this list must match the name/s used in
|
|
|
|
|
/// the tlsSecret. Defaults to the wildcard host setting for the
|
|
|
|
|
/// loadbalancer controller fulfilling this Ingress, if left
|
|
|
|
|
/// unspecified.</param>
|
|
|
|
|
/// <param name="secretName">SecretName is the name of the secret used
|
|
|
|
|
/// to terminate SSL traffic on 443. Field is left optional to allow
|
|
|
|
|
/// SSL routing based on SNI hostname alone. If the SNI host in a
|
|
|
|
|
/// listener conflicts with the "Host" header field used by an
|
|
|
|
|
/// IngressRule, the SNI host is used for termination and value of the
|
|
|
|
|
/// Host header is used for routing.</param>
|
2019-03-28 11:51:58 -07:00
|
|
|
public Extensionsv1beta1IngressTLS(IList<string> hosts = default(IList<string>), string secretName = default(string))
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
|
|
|
|
Hosts = hosts;
|
|
|
|
|
SecretName = secretName;
|
|
|
|
|
CustomInit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An initialization method that performs custom operations like setting defaults
|
|
|
|
|
/// </summary>
|
|
|
|
|
partial void CustomInit();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets hosts are a list of hosts included in the TLS
|
|
|
|
|
/// certificate. The values in this list must match the name/s used in
|
|
|
|
|
/// the tlsSecret. Defaults to the wildcard host setting for the
|
|
|
|
|
/// loadbalancer controller fulfilling this Ingress, if left
|
|
|
|
|
/// unspecified.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "hosts")]
|
|
|
|
|
public IList<string> Hosts { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets secretName is the name of the secret used to terminate
|
|
|
|
|
/// SSL traffic on 443. Field is left optional to allow SSL routing
|
|
|
|
|
/// based on SNI hostname alone. If the SNI host in a listener
|
|
|
|
|
/// conflicts with the "Host" header field used by an IngressRule, the
|
|
|
|
|
/// SNI host is used for termination and value of the Host header is
|
|
|
|
|
/// used for routing.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "secretName")]
|
|
|
|
|
public string SecretName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|