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 |
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 |
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. |
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 |
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 |
withTrustedRootCertificates(List<SubResource> trustedRootCertificates)
Set the trusted |
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
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:
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayBackendHttpSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trustedRootCertificates
public List
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.
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
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:
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:
withTrustedRootCertificates
public ApplicationGatewayBackendHttpSettings withTrustedRootCertificates(List
Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.
Parameters:
Returns:
Applies to
Azure SDK for Java