ApplicationGatewayProbeInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayProbeInner
- com.
- com.
public final class ApplicationGatewayProbeInner
extends SubResource
Probe of the application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayProbeInner() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
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 |
host()
Get the host property: Host name to send the probe to. |
Integer |
interval()
Get the interval property: The probing interval in seconds. |
Application |
match()
Get the match property: Criterion for classifying a healthy probe response. |
Integer |
minServers()
Get the min |
String |
name()
Get the name property: Name of the probe that is unique within an Application Gateway. |
String |
path()
Get the path property: Relative path of probe. |
Boolean |
pickHostnameFromBackendHttpSettings()
Get the pick |
Boolean |
pickHostnameFromBackendSettings()
Get the pick |
Integer |
port()
Get the port property: Custom port which will be used for probing the backend servers. |
Application |
protocol()
Get the protocol property: The protocol used for the probe. |
Provisioning |
provisioningState()
Get the provisioning |
Integer |
timeout()
Get the timeout property: The probe timeout in seconds. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
Integer |
unhealthyThreshold()
Get the unhealthy |
void |
validate()
Validates the instance. |
Application |
withHost(String host)
Set the host property: Host name to send the probe to. |
Application |
withId(String id) |
Application |
withInterval(Integer interval)
Set the interval property: The probing interval in seconds. |
Application |
withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set the match property: Criterion for classifying a healthy probe response. |
Application |
withMinServers(Integer minServers)
Set the min |
Application |
withName(String name)
Set the name property: Name of the probe that is unique within an Application Gateway. |
Application |
withPath(String path)
Set the path property: Relative path of probe. |
Application |
withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
Set the pick |
Application |
withPickHostnameFromBackendSettings(Boolean pickHostnameFromBackendSettings)
Set the pick |
Application |
withPort(Integer port)
Set the port property: Custom port which will be used for probing the backend servers. |
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used for the probe. |
Application |
withTimeout(Integer timeout)
Set the timeout property: The probe timeout in seconds. |
Application |
withUnhealthyThreshold(Integer unhealthyThreshold)
Set the unhealthy |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayProbeInner
public ApplicationGatewayProbeInner()
Creates an instance of ApplicationGatewayProbeInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayProbeInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayProbeInner from the JsonReader.
Parameters:
Returns:
Throws:
host
public String host()
Get the host property: Host name to send the probe to.
Returns:
interval
public Integer interval()
Get the interval property: The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.
Returns:
match
public ApplicationGatewayProbeHealthResponseMatch match()
Get the match property: Criterion for classifying a healthy probe response.
Returns:
minServers
public Integer minServers()
Get the minServers property: Minimum number of servers that are always marked healthy. Default value is 0.
Returns:
name
public String name()
Get the name property: Name of the probe that is unique within an Application Gateway.
Returns:
path
public String path()
Get the path property: Relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
Returns:
pickHostnameFromBackendHttpSettings
public Boolean pickHostnameFromBackendHttpSettings()
Get the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend http settings. Default value is false.
Returns:
pickHostnameFromBackendSettings
public Boolean pickHostnameFromBackendSettings()
Get the pickHostnameFromBackendSettings property: Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false.
Returns:
port
public Integer port()
Get the port property: Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get the protocol property: The protocol used for the probe.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the probe resource.
Returns:
timeout
public Integer timeout()
Get the timeout property: 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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayProbeInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
unhealthyThreshold
public Integer unhealthyThreshold()
Get the unhealthyThreshold property: The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.
Returns:
validate
public void validate()
Validates the instance.
withHost
public ApplicationGatewayProbeInner withHost(String host)
Set the host property: Host name to send the probe to.
Parameters:
Returns:
withId
public ApplicationGatewayProbeInner withId(String id)
Overrides:
ApplicationGatewayProbeInner.withId(String id)Parameters:
withInterval
public ApplicationGatewayProbeInner withInterval(Integer interval)
Set the interval property: The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.
Parameters:
Returns:
withMatch
public ApplicationGatewayProbeInner withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set the match property: Criterion for classifying a healthy probe response.
Parameters:
Returns:
withMinServers
public ApplicationGatewayProbeInner withMinServers(Integer minServers)
Set the minServers property: Minimum number of servers that are always marked healthy. Default value is 0.
Parameters:
Returns:
withName
public ApplicationGatewayProbeInner withName(String name)
Set the name property: Name of the probe that is unique within an Application Gateway.
Parameters:
Returns:
withPath
public ApplicationGatewayProbeInner withPath(String path)
Set the path property: Relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
Parameters:
Returns:
withPickHostnameFromBackendHttpSettings
public ApplicationGatewayProbeInner withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
Set the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend http settings. Default value is false.
Parameters:
Returns:
withPickHostnameFromBackendSettings
public ApplicationGatewayProbeInner withPickHostnameFromBackendSettings(Boolean pickHostnameFromBackendSettings)
Set the pickHostnameFromBackendSettings property: Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false.
Parameters:
Returns:
withPort
public ApplicationGatewayProbeInner withPort(Integer port)
Set the port property: Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only.
Parameters:
Returns:
withProtocol
public ApplicationGatewayProbeInner withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used for the probe.
Parameters:
Returns:
withTimeout
public ApplicationGatewayProbeInner withTimeout(Integer timeout)
Set the timeout property: 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:
withUnhealthyThreshold
public ApplicationGatewayProbeInner withUnhealthyThreshold(Integer unhealthyThreshold)
Set the unhealthyThreshold property: The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.
Parameters:
Returns:
Applies to
Azure SDK for Java