다음을 통해 공유


Ingress Constructors

Definition

Overloads

Ingress()

Initializes a new instance of the Ingress class.

Ingress(String, Nullable<Boolean>, Nullable<Int32>, String, IList<TrafficWeight>, Nullable<Boolean>)

Initializes a new instance of the Ingress class.

Ingress()

Initializes a new instance of the Ingress class.

public Ingress ();
Public Sub New ()

Applies to

Ingress(String, Nullable<Boolean>, Nullable<Int32>, String, IList<TrafficWeight>, Nullable<Boolean>)

Initializes a new instance of the Ingress class.

public Ingress (string fqdn = default, bool? external = default, int? targetPort = default, string transport = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.TrafficWeight> traffic = default, bool? allowInsecure = default);
new Microsoft.Azure.Management.WebSites.Models.Ingress : string * Nullable<bool> * Nullable<int> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.TrafficWeight> * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.Ingress
Public Sub New (Optional fqdn As String = Nothing, Optional external As Nullable(Of Boolean) = Nothing, Optional targetPort As Nullable(Of Integer) = Nothing, Optional transport As String = Nothing, Optional traffic As IList(Of TrafficWeight) = Nothing, Optional allowInsecure As Nullable(Of Boolean) = Nothing)

Parameters

fqdn
String

Hostname.

external
Nullable<Boolean>

Bool indicating if app exposes an external http endpoint

targetPort
Nullable<Int32>

Target Port in containers for traffic from ingress

transport
String

Ingress transport protocol. Possible values include: 'auto', 'http', 'http2'

traffic
IList<TrafficWeight>
allowInsecure
Nullable<Boolean>

Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections

Applies to