ApplicationGatewayBackendHttpSettings Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayBackendHttpSettings
- com.
- com.
public final class ApplicationGatewayBackendHttpSettings
extends SubResource
Backend address pool settings of an application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayBackendHttpSettings() |
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 |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
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 |
name()
Get the name property: Name of the backend http settings that is unique within an Application Gateway. |
| 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 |
| String |
type()
Get the type property: Type of the resource. |
| 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 |
withId(String id) |
|
Application |
withName(String name)
Set the name property: Name of the backend http settings that is unique within an Application Gateway. |
|
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 SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayBackendHttpSettings
public ApplicationGatewayBackendHttpSettings()
Creates an instance of ApplicationGatewayBackendHttpSettings 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:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayBackendHttpSettings fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayBackendHttpSettings from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: Host header to be sent to the backend servers.
Returns:
name
public String name()
Get the name property: Name of the backend http settings that is unique within an Application Gateway.
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayBackendHttpSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trustedRootCertificates
public List<SubResource> trustedRootCertificates()
Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Returns:
type
public String type()
Get the type property: Type of the resource.
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 ApplicationGatewayBackendHttpSettings withAffinityCookieName(String affinityCookieName)
Set the affinityCookieName property: Cookie name to use for the affinity cookie.
Parameters:
Returns:
withAuthenticationCertificates
public ApplicationGatewayBackendHttpSettings withAuthenticationCertificates(List<SubResource> authenticationCertificates)
Set the authenticationCertificates property: Array of references to application gateway authentication certificates.
Parameters:
Returns:
withConnectionDraining
public ApplicationGatewayBackendHttpSettings withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining)
Set the connectionDraining property: Connection draining of the backend http settings resource.
Parameters:
Returns:
withCookieBasedAffinity
public ApplicationGatewayBackendHttpSettings withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity)
Set the cookieBasedAffinity property: Cookie based affinity.
Parameters:
Returns:
withDedicatedBackendConnection
public ApplicationGatewayBackendHttpSettings withDedicatedBackendConnection(Boolean dedicatedBackendConnection)
Set the dedicatedBackendConnection property: Enable or disable dedicated connection per backend server. Default is set to false.
Parameters:
Returns:
withHostname
public ApplicationGatewayBackendHttpSettings withHostname(String hostname)
Set the hostname property: Host header to be sent to the backend servers.
Parameters:
Returns:
withId
public ApplicationGatewayBackendHttpSettings withId(String id)
Overrides:
ApplicationGatewayBackendHttpSettings.withId(String id)Parameters:
withName
public ApplicationGatewayBackendHttpSettings withName(String name)
Set the name property: Name of the backend http settings that is unique within an Application Gateway.
Parameters:
Returns:
withPath
public ApplicationGatewayBackendHttpSettings 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 ApplicationGatewayBackendHttpSettings 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 ApplicationGatewayBackendHttpSettings withPort(Integer port)
Set the port property: The destination port on the backend.
Parameters:
Returns:
withProbe
public ApplicationGatewayBackendHttpSettings withProbe(SubResource probe)
Set the probe property: Probe resource of an application gateway.
Parameters:
Returns:
withProbeEnabled
public ApplicationGatewayBackendHttpSettings withProbeEnabled(Boolean probeEnabled)
Set the probeEnabled property: Whether the probe is enabled. Default value is false.
Parameters:
Returns:
withProtocol
public ApplicationGatewayBackendHttpSettings withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used to communicate with the backend.
Parameters:
Returns:
withRequestTimeout
public ApplicationGatewayBackendHttpSettings 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 ApplicationGatewayBackendHttpSettings 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 ApplicationGatewayBackendHttpSettings withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Parameters:
Returns:
withValidateCertChainAndExpiry
public ApplicationGatewayBackendHttpSettings 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 ApplicationGatewayBackendHttpSettings 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: