ApplicationGatewayOnDemandProbe Class
- java.
lang. Object - com.
microsoft. azure. management. network. ApplicationGatewayOnDemandProbe
- com.
public class ApplicationGatewayOnDemandProbe
Details of on demand test probe request.
Constructor Summary
Constructor | Description | |
---|---|---|
ApplicationGatewayOnDemandProbe() |
Method Summary
Modifier and Type | Method and Description |
---|---|
com.microsoft.azure.SubResource |
backendAddressPool()
Get reference to backend pool of application gateway to which probe request will be sent. |
com.microsoft.azure.SubResource |
backendHttpSettings()
Get reference to backend http setting of application gateway to be used for test probe. |
java.lang.String |
host()
Get host name to send the probe to. |
Application |
match()
Get criterion for classifying a healthy probe response. |
java.lang.String |
path()
Get relative path of probe. |
java.lang.Boolean |
pickHostNameFromBackendHttpSettings()
Get whether the host header should be picked from the backend http settings. |
Application |
protocol()
Get the protocol used for the probe. |
java.lang.Integer |
timeout()
Get the probe timeout in seconds. |
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set reference to backend pool of application gateway to which probe request will be sent. |
Application |
withBackendHttpSettings(SubResource backendHttpSettings)
Set reference to backend http setting of application gateway to be used for test probe. |
Application |
withHost(String host)
Set host name to send the probe to. |
Application |
withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set criterion for classifying a healthy probe response. |
Application |
withPath(String path)
Set relative path of probe. |
Application |
withPickHostNameFromBackendHttpSettings(Boolean pickHostNameFromBackendHttpSettings)
Set whether the host header should be picked from the backend http settings. |
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol used for the probe. |
Application |
withTimeout(Integer timeout)
Set the probe timeout in seconds. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayOnDemandProbe
public ApplicationGatewayOnDemandProbe()
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get reference to backend pool of application gateway to which probe request will be sent.
Returns:
backendHttpSettings
public SubResource backendHttpSettings()
Get reference to backend http setting of application gateway to be used for test probe.
Returns:
host
public String host()
Get host name to send the probe to.
Returns:
match
public ApplicationGatewayProbeHealthResponseMatch match()
Get criterion for classifying a healthy probe response.
Returns:
path
public String path()
Get relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
Returns:
pickHostNameFromBackendHttpSettings
public Boolean pickHostNameFromBackendHttpSettings()
Get whether the host header should be picked from the backend http settings. Default value is false.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get the protocol used for the probe. Possible values include: 'Http', 'Https'.
Returns:
timeout
public Integer timeout()
Get the probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.
Returns:
withBackendAddressPool
public ApplicationGatewayOnDemandProbe withBackendAddressPool(SubResource backendAddressPool)
Set reference to backend pool of application gateway to which probe request will be sent.
Parameters:
Returns:
withBackendHttpSettings
public ApplicationGatewayOnDemandProbe withBackendHttpSettings(SubResource backendHttpSettings)
Set reference to backend http setting of application gateway to be used for test probe.
Parameters:
Returns:
withHost
public ApplicationGatewayOnDemandProbe withHost(String host)
Set host name to send the probe to.
Parameters:
Returns:
withMatch
public ApplicationGatewayOnDemandProbe withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set criterion for classifying a healthy probe response.
Parameters:
Returns:
withPath
public ApplicationGatewayOnDemandProbe withPath(String path)
Set relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
Parameters:
Returns:
withPickHostNameFromBackendHttpSettings
public ApplicationGatewayOnDemandProbe withPickHostNameFromBackendHttpSettings(Boolean pickHostNameFromBackendHttpSettings)
Set whether the host header should be picked from the backend http settings. Default value is false.
Parameters:
Returns:
withProtocol
public ApplicationGatewayOnDemandProbe withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol used for the probe. Possible values include: 'Http', 'Https'.
Parameters:
Returns:
withTimeout
public ApplicationGatewayOnDemandProbe withTimeout(Integer timeout)
Set the probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for