ApplicationGatewayBackendSettingsPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayBackendSettingsPropertiesFormat
- com.
Implements
public final class ApplicationGatewayBackendSettingsPropertiesFormat
implements JsonSerializable<ApplicationGatewayBackendSettingsPropertiesFormat>
Properties of Backend address pool settings of an application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayBackendSettingsPropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enableL4ClientIpPreservation()
Get the enableL4Client |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
hostname()
Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol. |
| Boolean |
pickHostnameFromBackendAddress()
Get the pick |
| Integer |
port()
Get the port property: The destination port on the backend. |
|
Sub |
probe()
Get the probe property: Probe resource of an application gateway. |
|
Application |
protocol()
Get the protocol property: The protocol used to communicate with the backend. |
|
Provisioning |
provisioningState()
Get the provisioning |
| Integer |
timeout()
Get the timeout property: Connection timeout in seconds. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Sub |
trustedRootCertificates()
Get the trusted |
| void |
validate()
Validates the instance. |
|
Application |
withEnableL4ClientIpPreservation(Boolean enableL4ClientIpPreservation)
Set the enableL4Client |
|
Application |
withHostname(String hostname)
Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol. |
|
Application |
withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)
Set the pick |
|
Application |
withPort(Integer port)
Set the port property: The destination port on the backend. |
|
Application |
withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway. |
|
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend. |
|
Application |
withTimeout(Integer timeout)
Set the timeout property: Connection timeout in seconds. |
|
Application |
withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trusted |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayBackendSettingsPropertiesFormat
public ApplicationGatewayBackendSettingsPropertiesFormat()
Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class.
Method Details
enableL4ClientIpPreservation
public Boolean enableL4ClientIpPreservation()
Get the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.
Returns:
fromJson
public static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayBackendSettingsPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.
Returns:
pickHostnameFromBackendAddress
public Boolean pickHostnameFromBackendAddress()
Get the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.
Returns:
port
public Integer port()
Get the port property: The destination port on the backend.
Returns:
probe
public SubResource probe()
Get the probe property: Probe resource of an application gateway.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get the protocol property: The protocol used to communicate with the backend.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the backend HTTP settings resource.
Returns:
timeout
public Integer timeout()
Get the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.
Returns:
toJson
trustedRootCertificates
public List<SubResource> trustedRootCertificates()
Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Returns:
validate
public void validate()
Validates the instance.
withEnableL4ClientIpPreservation
public ApplicationGatewayBackendSettingsPropertiesFormat withEnableL4ClientIpPreservation(Boolean enableL4ClientIpPreservation)
Set the enableL4ClientIpPreservation property: Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.
Parameters:
Returns:
withHostname
public ApplicationGatewayBackendSettingsPropertiesFormat withHostname(String hostname)
Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.
Parameters:
Returns:
withPickHostnameFromBackendAddress
public ApplicationGatewayBackendSettingsPropertiesFormat withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)
Set the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.
Parameters:
Returns:
withPort
public ApplicationGatewayBackendSettingsPropertiesFormat withPort(Integer port)
Set the port property: The destination port on the backend.
Parameters:
Returns:
withProbe
public ApplicationGatewayBackendSettingsPropertiesFormat withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway.
Parameters:
Returns:
withProtocol
public ApplicationGatewayBackendSettingsPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend.
Parameters:
Returns:
withTimeout
public ApplicationGatewayBackendSettingsPropertiesFormat withTimeout(Integer timeout)
Set the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.
Parameters:
Returns:
withTrustedRootCertificates
public ApplicationGatewayBackendSettingsPropertiesFormat withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Parameters:
Returns: