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