// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// /// IngressTLS describes the transport layer security associated with an /// Ingress. /// public partial class Extensionsv1beta1IngressTLS { /// /// Initializes a new instance of the Extensionsv1beta1IngressTLS /// class. /// public Extensionsv1beta1IngressTLS() { CustomInit(); } /// /// Initializes a new instance of the Extensionsv1beta1IngressTLS /// class. /// /// 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. /// 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. public Extensionsv1beta1IngressTLS(IList hosts = default(IList), string secretName = default(string)) { Hosts = hosts; SecretName = secretName; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// 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. /// [JsonProperty(PropertyName = "hosts")] public IList Hosts { get; set; } /// /// 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. /// [JsonProperty(PropertyName = "secretName")] public string SecretName { get; set; } } }