ApplicationGatewayBackendHttpSettings Class

public final class ApplicationGatewayBackendHttpSettings
extends SubResource

Backend address pool settings of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayBackendHttpSettings()

Creates an instance of ApplicationGatewayBackendHttpSettings class.

Method Summary

Modifier and Type Method and Description
String affinityCookieName()

Get the affinityCookieName property: Cookie name to use for the affinity cookie.

List<SubResource> authenticationCertificates()

Get the authenticationCertificates property: Array of references to application gateway authentication certificates.

ApplicationGatewayConnectionDraining connectionDraining()

Get the connectionDraining property: Connection draining of the backend http settings resource.

ApplicationGatewayCookieBasedAffinity cookieBasedAffinity()

Get the cookieBasedAffinity property: Cookie based affinity.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

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 pickHostnameFromBackendAddress property: Whether to pick host header should be picked from the host name of the backend server.

Integer port()

Get the port property: The destination port on the backend.

SubResource probe()

Get the probe property: Probe resource of an application gateway.

Boolean probeEnabled()

Get the probeEnabled property: Whether the probe is enabled.

ApplicationGatewayProtocol protocol()

Get the protocol property: The protocol used to communicate with the backend.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend HTTP settings resource.

Integer requestTimeout()

Get the requestTimeout property: Request timeout in seconds.

List<SubResource> trustedRootCertificates()

Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayBackendHttpSettings withAffinityCookieName(String affinityCookieName)

Set the affinityCookieName property: Cookie name to use for the affinity cookie.

ApplicationGatewayBackendHttpSettings withAuthenticationCertificates(List<SubResource> authenticationCertificates)

Set the authenticationCertificates property: Array of references to application gateway authentication certificates.

ApplicationGatewayBackendHttpSettings withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining)

Set the connectionDraining property: Connection draining of the backend http settings resource.

ApplicationGatewayBackendHttpSettings withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity)

Set the cookieBasedAffinity property: Cookie based affinity.

ApplicationGatewayBackendHttpSettings withHostname(String hostname)

Set the hostname property: Host header to be sent to the backend servers.

ApplicationGatewayBackendHttpSettings withId(String id)
ApplicationGatewayBackendHttpSettings withName(String name)

Set the name property: Name of the backend http settings that is unique within an Application Gateway.

ApplicationGatewayBackendHttpSettings withPath(String path)

Set the path property: Path which should be used as a prefix for all HTTP requests.

ApplicationGatewayBackendHttpSettings withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress)

Set the pickHostnameFromBackendAddress property: Whether to pick host header should be picked from the host name of the backend server.

ApplicationGatewayBackendHttpSettings withPort(Integer port)

Set the port property: The destination port on the backend.

ApplicationGatewayBackendHttpSettings withProbe(SubResource probe)

Set the probe property: Probe resource of an application gateway.

ApplicationGatewayBackendHttpSettings withProbeEnabled(Boolean probeEnabled)

Set the probeEnabled property: Whether the probe is enabled.

ApplicationGatewayBackendHttpSettings withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: The protocol used to communicate with the backend.

ApplicationGatewayBackendHttpSettings withRequestTimeout(Integer requestTimeout)

Set the requestTimeout property: Request timeout in seconds.

ApplicationGatewayBackendHttpSettings withTrustedRootCertificates(List<SubResource> trustedRootCertificates)

Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

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:

the affinityCookieName value.

authenticationCertificates

public List authenticationCertificates()

Get the authenticationCertificates property: Array of references to application gateway authentication certificates.

Returns:

the authenticationCertificates value.

connectionDraining

public ApplicationGatewayConnectionDraining connectionDraining()

Get the connectionDraining property: Connection draining of the backend http settings resource.

Returns:

the connectionDraining value.

cookieBasedAffinity

public ApplicationGatewayCookieBasedAffinity cookieBasedAffinity()

Get the cookieBasedAffinity property: Cookie based affinity.

Returns:

the cookieBasedAffinity value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

hostname

public String hostname()

Get the hostname property: Host header to be sent to the backend servers.

Returns:

the hostname value.

name

public String name()

Get the name property: Name of the backend http settings that is unique within an Application Gateway.

Returns:

the name value.

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:

the path value.

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:

the pickHostnameFromBackendAddress value.

port

public Integer port()

Get the port property: The destination port on the backend.

Returns:

the port value.

probe

public SubResource probe()

Get the probe property: Probe resource of an application gateway.

Returns:

the probe value.

probeEnabled

public Boolean probeEnabled()

Get the probeEnabled property: Whether the probe is enabled. Default value is false.

Returns:

the probeEnabled value.

protocol

public ApplicationGatewayProtocol protocol()

Get the protocol property: The protocol used to communicate with the backend.

Returns:

the protocol value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend HTTP settings resource.

Returns:

the provisioningState value.

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:

the requestTimeout value.

trustedRootCertificates

public List trustedRootCertificates()

Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

Returns:

the trustedRootCertificates value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

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:

affinityCookieName - the affinityCookieName value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withAuthenticationCertificates

public ApplicationGatewayBackendHttpSettings withAuthenticationCertificates(List authenticationCertificates)

Set the authenticationCertificates property: Array of references to application gateway authentication certificates.

Parameters:

authenticationCertificates - the authenticationCertificates value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withConnectionDraining

public ApplicationGatewayBackendHttpSettings withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining)

Set the connectionDraining property: Connection draining of the backend http settings resource.

Parameters:

connectionDraining - the connectionDraining value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withCookieBasedAffinity

public ApplicationGatewayBackendHttpSettings withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity)

Set the cookieBasedAffinity property: Cookie based affinity.

Parameters:

cookieBasedAffinity - the cookieBasedAffinity value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withHostname

public ApplicationGatewayBackendHttpSettings withHostname(String hostname)

Set the hostname property: Host header to be sent to the backend servers.

Parameters:

hostname - the hostname value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withId

public ApplicationGatewayBackendHttpSettings withId(String id)

Overrides:

ApplicationGatewayBackendHttpSettings.withId(String id)

Parameters:

id

withName

public ApplicationGatewayBackendHttpSettings withName(String name)

Set the name property: Name of the backend http settings that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

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:

path - the path value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

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:

pickHostnameFromBackendAddress - the pickHostnameFromBackendAddress value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withPort

public ApplicationGatewayBackendHttpSettings withPort(Integer port)

Set the port property: The destination port on the backend.

Parameters:

port - the port value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withProbe

public ApplicationGatewayBackendHttpSettings withProbe(SubResource probe)

Set the probe property: Probe resource of an application gateway.

Parameters:

probe - the probe value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withProbeEnabled

public ApplicationGatewayBackendHttpSettings withProbeEnabled(Boolean probeEnabled)

Set the probeEnabled property: Whether the probe is enabled. Default value is false.

Parameters:

probeEnabled - the probeEnabled value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withProtocol

public ApplicationGatewayBackendHttpSettings withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: The protocol used to communicate with the backend.

Parameters:

protocol - the protocol value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

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:

requestTimeout - the requestTimeout value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

withTrustedRootCertificates

public ApplicationGatewayBackendHttpSettings withTrustedRootCertificates(List trustedRootCertificates)

Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.

Parameters:

trustedRootCertificates - the trustedRootCertificates value to set.

Returns:

the ApplicationGatewayBackendHttpSettings object itself.

Applies to