Class Ingress
java.lang.Object
com.azure.resourcemanager.appservice.models.Ingress
Container App Ingress configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowInsecure property: Bool indicating if HTTP connections to is allowed.external()
Get the external property: Bool indicating if app exposes an external http endpoint.fqdn()
Get the fqdn property: Hostname.Get the targetPort property: Target Port in containers for traffic from ingress.traffic()
Get the traffic property: The traffic property.Get the transport property: Ingress transport protocol.void
validate()
Validates the instance.withAllowInsecure
(Boolean allowInsecure) Set the allowInsecure property: Bool indicating if HTTP connections to is allowed.withExternal
(Boolean external) Set the external property: Bool indicating if app exposes an external http endpoint.withTargetPort
(Integer targetPort) Set the targetPort property: Target Port in containers for traffic from ingress.withTraffic
(List<TrafficWeight> traffic) Set the traffic property: The traffic property.withTransport
(IngressTransportMethod transport) Set the transport property: Ingress transport protocol.
-
Constructor Details
-
Ingress
public Ingress()
-
-
Method Details
-
fqdn
Get the fqdn property: Hostname.- Returns:
- the fqdn value.
-
external
Get the external property: Bool indicating if app exposes an external http endpoint.- Returns:
- the external value.
-
withExternal
Set the external property: Bool indicating if app exposes an external http endpoint.- Parameters:
external
- the external value to set.- Returns:
- the Ingress object itself.
-
targetPort
Get the targetPort property: Target Port in containers for traffic from ingress.- Returns:
- the targetPort value.
-
withTargetPort
Set the targetPort property: Target Port in containers for traffic from ingress.- Parameters:
targetPort
- the targetPort value to set.- Returns:
- the Ingress object itself.
-
transport
Get the transport property: Ingress transport protocol.- Returns:
- the transport value.
-
withTransport
Set the transport property: Ingress transport protocol.- Parameters:
transport
- the transport value to set.- Returns:
- the Ingress object itself.
-
traffic
Get the traffic property: The traffic property.- Returns:
- the traffic value.
-
withTraffic
Set the traffic property: The traffic property.- Parameters:
traffic
- the traffic value to set.- Returns:
- the Ingress object itself.
-
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:
- the allowInsecure value.
-
withAllowInsecure
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:
allowInsecure
- the allowInsecure value to set.- Returns:
- the Ingress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-