public final class ApplicationGatewayOnDemandProbe extends Object
| Constructor and Description |
|---|
ApplicationGatewayOnDemandProbe() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.SubResource |
backendAddressPool()
Get the backendAddressPool property: Reference to backend pool of application gateway to which probe request will
be sent.
|
com.azure.core.management.SubResource |
backendHttpSettings()
Get the backendHttpSettings property: Reference to backend http setting of application gateway to be used for
test probe.
|
String |
host()
Get the host property: Host name to send the probe to.
|
ApplicationGatewayProbeHealthResponseMatch |
match()
Get the match property: Criterion for classifying a healthy probe response.
|
String |
path()
Get the path property: Relative path of probe.
|
Boolean |
pickHostnameFromBackendHttpSettings()
Get the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend
http settings.
|
ApplicationGatewayProtocol |
protocol()
Get the protocol property: The protocol used for the probe.
|
Integer |
timeout()
Get the timeout property: The probe timeout in seconds.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayOnDemandProbe |
withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
Set the backendAddressPool property: Reference to backend pool of application gateway to which probe request will
be sent.
|
ApplicationGatewayOnDemandProbe |
withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)
Set the backendHttpSettings property: Reference to backend http setting of application gateway to be used for
test probe.
|
ApplicationGatewayOnDemandProbe |
withHost(String host)
Set the host property: Host name to send the probe to.
|
ApplicationGatewayOnDemandProbe |
withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set the match property: Criterion for classifying a healthy probe response.
|
ApplicationGatewayOnDemandProbe |
withPath(String path)
Set the path property: Relative path of probe.
|
ApplicationGatewayOnDemandProbe |
withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
Set the pickHostnameFromBackendHttpSettings property: Whether the host header should be picked from the backend
http settings.
|
ApplicationGatewayOnDemandProbe |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: The protocol used for the probe.
|
ApplicationGatewayOnDemandProbe |
withTimeout(Integer timeout)
Set the timeout property: The probe timeout in seconds.
|
public ApplicationGatewayProtocol protocol()
public ApplicationGatewayOnDemandProbe withProtocol(ApplicationGatewayProtocol protocol)
protocol - the protocol value to set.public String host()
public ApplicationGatewayOnDemandProbe withHost(String host)
host - the host value to set.public String path()
public ApplicationGatewayOnDemandProbe withPath(String path)
path - the path value to set.public Integer timeout()
public ApplicationGatewayOnDemandProbe withTimeout(Integer timeout)
timeout - the timeout value to set.public Boolean pickHostnameFromBackendHttpSettings()
public ApplicationGatewayOnDemandProbe withPickHostnameFromBackendHttpSettings(Boolean pickHostnameFromBackendHttpSettings)
pickHostnameFromBackendHttpSettings - the pickHostnameFromBackendHttpSettings value to set.public ApplicationGatewayProbeHealthResponseMatch match()
public ApplicationGatewayOnDemandProbe withMatch(ApplicationGatewayProbeHealthResponseMatch match)
match - the match value to set.public com.azure.core.management.SubResource backendAddressPool()
public ApplicationGatewayOnDemandProbe withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
backendAddressPool - the backendAddressPool value to set.public com.azure.core.management.SubResource backendHttpSettings()
public ApplicationGatewayOnDemandProbe withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)
backendHttpSettings - the backendHttpSettings value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.