Ingress Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Ingress
- com.
Implements
public final class Ingress
implements JsonSerializable<Ingress>
Container App Ingress configuration.
Constructor Summary
Constructor | Description |
---|---|
Ingress() |
Creates an instance of Ingress class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowInsecure()
Get the allow |
Boolean |
external()
Get the external property: Bool indicating if app exposes an external http endpoint. |
String |
fqdn()
Get the fqdn property: Hostname. |
static Ingress |
fromJson(JsonReader jsonReader)
Reads an instance of Ingress from the Json |
Integer |
targetPort()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
List<Traffic |
traffic()
Get the traffic property: The traffic property. |
Ingress |
transport()
Get the transport property: Ingress transport protocol. |
void |
validate()
Validates the instance. |
Ingress |
withAllowInsecure(Boolean allowInsecure)
Set the allow |
Ingress |
withExternal(Boolean external)
Set the external property: Bool indicating if app exposes an external http endpoint. |
Ingress |
withTargetPort(Integer targetPort)
Set the target |
Ingress |
withTraffic(List<TrafficWeight> traffic)
Set the traffic property: The traffic property. |
Ingress |
withTransport(IngressTransportMethod transport)
Set the transport property: Ingress transport protocol. |
Methods inherited from java.lang.Object
Constructor Details
Ingress
public Ingress()
Creates an instance of Ingress class.
Method Details
allowInsecure
public Boolean allowInsecure()
Get the allowInsecure property: Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections.
Returns:
external
public Boolean external()
Get the external property: Bool indicating if app exposes an external http endpoint.
Returns:
fqdn
public String fqdn()
Get the fqdn property: Hostname.
Returns:
fromJson
public static Ingress fromJson(JsonReader jsonReader)
Reads an instance of Ingress from the JsonReader.
Parameters:
Returns:
Throws:
targetPort
public Integer targetPort()
Get the targetPort property: Target Port in containers for traffic from ingress.
Returns:
toJson
traffic
public List
Get the traffic property: The traffic property.
Returns:
transport
public IngressTransportMethod transport()
Get the transport property: Ingress transport protocol.
Returns:
validate
public void validate()
Validates the instance.
withAllowInsecure
public Ingress withAllowInsecure(Boolean allowInsecure)
Set the allowInsecure property: Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections.
Parameters:
Returns:
withExternal
public Ingress withExternal(Boolean external)
Set the external property: Bool indicating if app exposes an external http endpoint.
Parameters:
Returns:
withTargetPort
public Ingress withTargetPort(Integer targetPort)
Set the targetPort property: Target Port in containers for traffic from ingress.
Parameters:
Returns:
withTraffic
public Ingress withTraffic(List
Set the traffic property: The traffic property.
Parameters:
Returns:
withTransport
public Ingress withTransport(IngressTransportMethod transport)
Set the transport property: Ingress transport protocol.
Parameters:
Returns:
Applies to
Azure SDK for Java