Class ApplicationGatewayBackendHttpSettings
java.lang.Object
com.microsoft.azure.SubResource
com.microsoft.azure.management.network.ApplicationGatewayBackendHttpSettings
public class ApplicationGatewayBackendHttpSettings
extends com.microsoft.azure.SubResource
Backend address pool settings of an application gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet cookie name to use for the affinity cookie.List<com.microsoft.azure.SubResource>
Get array of references to application gateway authentication certificates.Get connection draining of the backend http settings resource.Get cookie based affinity.etag()
Get a unique read-only string that changes whenever the resource is updated.hostName()
Get host header to be sent to the backend servers.name()
Get name of the backend http settings that is unique within an Application Gateway.path()
Get path which should be used as a prefix for all HTTP requests.Get whether to pick host header should be picked from the host name of the backend server.port()
Get the destination port on the backend.com.microsoft.azure.SubResource
probe()
Get probe resource of an application gateway.Get whether the probe is enabled.protocol()
Get the protocol used to communicate with the backend.Get the provisioning state of the backend HTTP settings resource.Get request timeout in seconds.List<com.microsoft.azure.SubResource>
Get array of references to application gateway trusted root certificates.type()
Get type of the resource.withAffinityCookieName
(String affinityCookieName) Set cookie name to use for the affinity cookie.withAuthenticationCertificates
(List<com.microsoft.azure.SubResource> authenticationCertificates) Set array of references to application gateway authentication certificates.withConnectionDraining
(ApplicationGatewayConnectionDraining connectionDraining) Set connection draining of the backend http settings resource.withCookieBasedAffinity
(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity) Set cookie based affinity.withHostName
(String hostName) Set host header to be sent to the backend servers.Set name of the backend http settings that is unique within an Application Gateway.Set path which should be used as a prefix for all HTTP requests.withPickHostNameFromBackendAddress
(Boolean pickHostNameFromBackendAddress) Set whether to pick host header should be picked from the host name of the backend server.Set the destination port on the backend.withProbe
(com.microsoft.azure.SubResource probe) Set probe resource of an application gateway.withProbeEnabled
(Boolean probeEnabled) Set whether the probe is enabled.withProtocol
(ApplicationGatewayProtocol protocol) Set the protocol used to communicate with the backend.withRequestTimeout
(Integer requestTimeout) Set request timeout in seconds.withTrustedRootCertificates
(List<com.microsoft.azure.SubResource> trustedRootCertificates) Set array of references to application gateway trusted root certificates.Methods inherited from class com.microsoft.azure.SubResource
id, withId
-
Constructor Details
-
ApplicationGatewayBackendHttpSettings
public ApplicationGatewayBackendHttpSettings()
-
-
Method Details
-
port
Get the destination port on the backend.- Returns:
- the port value
-
withPort
Set the destination port on the backend.- Parameters:
port
- the port value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
protocol
Get the protocol used to communicate with the backend. Possible values include: 'Http', 'Https'.- Returns:
- the protocol value
-
withProtocol
Set the protocol used to communicate with the backend. Possible values include: 'Http', 'Https'.- Parameters:
protocol
- the protocol value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
cookieBasedAffinity
Get cookie based affinity. Possible values include: 'Enabled', 'Disabled'.- Returns:
- the cookieBasedAffinity value
-
withCookieBasedAffinity
public ApplicationGatewayBackendHttpSettings withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity cookieBasedAffinity) Set cookie based affinity. Possible values include: 'Enabled', 'Disabled'.- Parameters:
cookieBasedAffinity
- the cookieBasedAffinity value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
requestTimeout
Get 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
-
withRequestTimeout
Set 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.
-
probe
public com.microsoft.azure.SubResource probe()Get probe resource of an application gateway.- Returns:
- the probe value
-
withProbe
Set probe resource of an application gateway.- Parameters:
probe
- the probe value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
authenticationCertificates
Get array of references to application gateway authentication certificates.- Returns:
- the authenticationCertificates value
-
withAuthenticationCertificates
public ApplicationGatewayBackendHttpSettings withAuthenticationCertificates(List<com.microsoft.azure.SubResource> authenticationCertificates) Set array of references to application gateway authentication certificates.- Parameters:
authenticationCertificates
- the authenticationCertificates value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
trustedRootCertificates
Get array of references to application gateway trusted root certificates.- Returns:
- the trustedRootCertificates value
-
withTrustedRootCertificates
public ApplicationGatewayBackendHttpSettings withTrustedRootCertificates(List<com.microsoft.azure.SubResource> trustedRootCertificates) Set array of references to application gateway trusted root certificates.- Parameters:
trustedRootCertificates
- the trustedRootCertificates value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
connectionDraining
Get connection draining of the backend http settings resource.- Returns:
- the connectionDraining value
-
withConnectionDraining
public ApplicationGatewayBackendHttpSettings withConnectionDraining(ApplicationGatewayConnectionDraining connectionDraining) Set connection draining of the backend http settings resource.- Parameters:
connectionDraining
- the connectionDraining value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
hostName
Get host header to be sent to the backend servers.- Returns:
- the hostName value
-
withHostName
Set host header to be sent to the backend servers.- Parameters:
hostName
- the hostName value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
pickHostNameFromBackendAddress
Get whether to pick host header should be picked from the host name of the backend server. Default value is false.- Returns:
- the pickHostNameFromBackendAddress value
-
withPickHostNameFromBackendAddress
public ApplicationGatewayBackendHttpSettings withPickHostNameFromBackendAddress(Boolean pickHostNameFromBackendAddress) Set 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.
-
affinityCookieName
Get cookie name to use for the affinity cookie.- Returns:
- the affinityCookieName value
-
withAffinityCookieName
Set cookie name to use for the affinity cookie.- Parameters:
affinityCookieName
- the affinityCookieName value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
probeEnabled
Get whether the probe is enabled. Default value is false.- Returns:
- the probeEnabled value
-
withProbeEnabled
Set whether the probe is enabled. Default value is false.- Parameters:
probeEnabled
- the probeEnabled value to set- Returns:
- the ApplicationGatewayBackendHttpSettings object itself.
-
path
Get 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
-
withPath
Set 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.
-
provisioningState
Get the provisioning state of the backend HTTP settings resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.- Returns:
- the provisioningState value
-
name
Get name of the backend http settings that is unique within an Application Gateway.- Returns:
- the name value
-
withName
Set 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.
-
etag
Get a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value
-
type
Get type of the resource.- Returns:
- the type value
-