ApplicationGatewayBackendHttpSettingsPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayBackendHttpSettingsPropertiesFormat
- com.
Implements
public final class ApplicationGatewayBackendHttpSettingsPropertiesFormat
implements JsonSerializable<ApplicationGatewayBackendHttpSettingsPropertiesFormat>
Properties of Backend address pool settings of an application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayBackendHttpSettingsPropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
affinityCookieName()
Get the affinity |
|
List<Sub |
authenticationCertificates()
Get the authentication |
|
Application |
connectionDraining()
Get the connection |
|
Application |
cookieBasedAffinity()
Get the cookie |
| Boolean |
dedicatedBackendConnection()
Get the dedicated |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
hostname()
Get the hostname property: Host header to be sent to the backend servers. |
| String |
path()
Get the path property: Path which should be used as a prefix for all HTTP requests. |
| 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. |
| Boolean |
probeEnabled()
Get the probe |
|
Application |
protocol()
Get the protocol property: The protocol used to communicate with the backend. |
|
Provisioning |
provisioningState()
Get the provisioning |
| Integer |
requestTimeout()
Get the request |
| String |
sniName()
Get the sni |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Sub |
trustedRootCertificates()
Get the trusted |
| void |
validate()
Validates the instance. |
| Boolean |
validateCertChainAndExpiry()
Get the validate |
| Boolean |
validateSni()
Get the validate |
|
Application |
withAffinityCookieName(String affinityCookieName)
Set the affinity |
|
Application |
withAuthenticationCertificates(List<SubResource> authenticationCertificates)
Set the authentication |
|
Application |
withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining)
Set the connection |
|
Application |
withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity)
Set the cookie |
|
Application |
withDedicatedBackendConnection(Boolean dedicatedBackendConnection)
Set the dedicated |
|
Application |
withHostname(String hostname)
Set the hostname property: Host header to be sent to the backend servers. |
|
Application |
withPath(String path)
Set the path property: Path which should be used as a prefix for all HTTP requests. |
|
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 |
withProbeEnabled(Boolean probeEnabled)
Set the probe |
|
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend. |
|
Application |
withRequestTimeout(Integer requestTimeout)
Set the request |
|
Application |
withSniName(String sniName)
Set the sni |
|
Application |
withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trusted |
|
Application |
withValidateCertChainAndExpiry(Boolean validateCertChainAndExpiry)
Set the validate |
|
Application |
withValidateSni(Boolean validateSni)
Set the validate |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayBackendHttpSettingsPropertiesFormat
public ApplicationGatewayBackendHttpSettingsPropertiesFormat()
Creates an instance of ApplicationGatewayBackendHttpSettingsPropertiesFormat class.
Method Details
affinityCookieName
public String affinityCookieName()
Get the affinityCookieName property: Cookie name to use for the affinity cookie.
Returns:
authenticationCertificates
public List<SubResource> authenticationCertificates()
Get the authenticationCertificates property: Array of references to application gateway authentication certificates.
Returns:
connectionDraining
public ApplicationGatewayConnectionDraining connectionDraining()
Get the connectionDraining property: Connection draining of the backend http settings resource.
Returns:
cookieBasedAffinity
public ApplicationGatewayCookieBasedAffinity cookieBasedAffinity()
Get the cookieBasedAffinity property: Cookie based affinity.
Returns:
dedicatedBackendConnection
public Boolean dedicatedBackendConnection()
Get the dedicatedBackendConnection property: Enable or disable dedicated connection per backend server. Default is set to false.
Returns:
fromJson
public static ApplicationGatewayBackendHttpSettingsPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayBackendHttpSettingsPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: Host header to be sent to the backend servers.
Returns:
path
public String path()
Get the path property: Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null.
Returns:
pickHostnameFromBackendAddress
public Boolean pickHostnameFromBackendAddress()
Get the pickHostnameFromBackendAddress property: Whether to pick host header should be picked from the host name of the backend server. 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:
probeEnabled
public Boolean probeEnabled()
Get the probeEnabled property: Whether the probe is enabled. Default value is false.
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:
requestTimeout
public Integer requestTimeout()
Get the requestTimeout property: Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds.
Returns:
sniName
public String sniName()
Get the sniName property: Specify an SNI value to match the common name of the certificate on the backend. By default, the application gateway uses the incoming request’s host header as the SNI. Default value is null.
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.
validateCertChainAndExpiry
public Boolean validateCertChainAndExpiry()
Get the validateCertChainAndExpiry property: Verify or skip both chain and expiry validations of the certificate on the backend server. Default is set to true.
Returns:
validateSni
public Boolean validateSni()
Get the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the backend server matches the Server Name Indication (SNI) value. Default value is true.
Returns:
withAffinityCookieName
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withAffinityCookieName(String affinityCookieName)
Set the affinityCookieName property: Cookie name to use for the affinity cookie.
Parameters:
Returns:
withAuthenticationCertificates
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withAuthenticationCertificates(List<SubResource> authenticationCertificates)
Set the authenticationCertificates property: Array of references to application gateway authentication certificates.
Parameters:
Returns:
withConnectionDraining
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining)
Set the connectionDraining property: Connection draining of the backend http settings resource.
Parameters:
Returns:
withCookieBasedAffinity
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity)
Set the cookieBasedAffinity property: Cookie based affinity.
Parameters:
Returns:
withDedicatedBackendConnection
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withDedicatedBackendConnection(Boolean dedicatedBackendConnection)
Set the dedicatedBackendConnection property: Enable or disable dedicated connection per backend server. Default is set to false.
Parameters:
Returns:
withHostname
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withHostname(String hostname)
Set the hostname property: Host header to be sent to the backend servers.
Parameters:
Returns:
withPath
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withPath(String path)
Set the path property: Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null.
Parameters:
Returns:
withPickHostnameFromBackendAddress
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)
Set the pickHostnameFromBackendAddress property: Whether to pick host header should be picked from the host name of the backend server. Default value is false.
Parameters:
Returns:
withPort
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withPort(Integer port)
Set the port property: The destination port on the backend.
Parameters:
Returns:
withProbe
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway.
Parameters:
Returns:
withProbeEnabled
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withProbeEnabled(Boolean probeEnabled)
Set the probeEnabled property: Whether the probe is enabled. Default value is false.
Parameters:
Returns:
withProtocol
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend.
Parameters:
Returns:
withRequestTimeout
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withRequestTimeout(Integer requestTimeout)
Set the requestTimeout property: Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds.
Parameters:
Returns:
withSniName
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withSniName(String sniName)
Set the sniName property: Specify an SNI value to match the common name of the certificate on the backend. By default, the application gateway uses the incoming request’s host header as the SNI. Default value is null.
Parameters:
Returns:
withTrustedRootCertificates
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Parameters:
Returns:
withValidateCertChainAndExpiry
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateCertChainAndExpiry(Boolean validateCertChainAndExpiry)
Set the validateCertChainAndExpiry property: Verify or skip both chain and expiry validations of the certificate on the backend server. Default is set to true.
Parameters:
Returns:
withValidateSni
public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateSni(Boolean validateSni)
Set the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the backend server matches the Server Name Indication (SNI) value. Default value is true.
Parameters:
Returns: