public class ApplicationGatewayOnDemandProbe extends Object
| Constructor and Description |
|---|
ApplicationGatewayOnDemandProbe() |
| 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.
|
String |
host()
Get host name to send the probe to.
|
ApplicationGatewayProbeHealthResponseMatch |
match()
Get criterion for classifying a healthy probe response.
|
String |
path()
Get relative path of probe.
|
Boolean |
pickHostNameFromBackendHttpSettings()
Get whether the host header should be picked from the backend http settings.
|
ApplicationGatewayProtocol |
protocol()
Get the protocol used for the probe.
|
Integer |
timeout()
Get the probe timeout in seconds.
|
ApplicationGatewayOnDemandProbe |
withBackendAddressPool(com.microsoft.azure.SubResource backendAddressPool)
Set reference to backend pool of application gateway to which probe request will be sent.
|
ApplicationGatewayOnDemandProbe |
withBackendHttpSettings(com.microsoft.azure.SubResource backendHttpSettings)
Set reference to backend http setting of application gateway to be used for test probe.
|
ApplicationGatewayOnDemandProbe |
withHost(String host)
Set host name to send the probe to.
|
ApplicationGatewayOnDemandProbe |
withMatch(ApplicationGatewayProbeHealthResponseMatch match)
Set criterion for classifying a healthy probe response.
|
ApplicationGatewayOnDemandProbe |
withPath(String path)
Set relative path of probe.
|
ApplicationGatewayOnDemandProbe |
withPickHostNameFromBackendHttpSettings(Boolean pickHostNameFromBackendHttpSettings)
Set whether the host header should be picked from the backend http settings.
|
ApplicationGatewayOnDemandProbe |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol used for the probe.
|
ApplicationGatewayOnDemandProbe |
withTimeout(Integer timeout)
Set the probe timeout in seconds.
|
public ApplicationGatewayProtocol protocol()
public ApplicationGatewayOnDemandProbe withProtocol(ApplicationGatewayProtocol protocol)
protocol - the protocol value to setpublic String host()
public ApplicationGatewayOnDemandProbe withHost(String host)
host - the host value to setpublic String path()
public ApplicationGatewayOnDemandProbe withPath(String path)
path - the path value to setpublic Integer timeout()
public ApplicationGatewayOnDemandProbe withTimeout(Integer timeout)
timeout - the timeout value to setpublic Boolean pickHostNameFromBackendHttpSettings()
public ApplicationGatewayOnDemandProbe withPickHostNameFromBackendHttpSettings(Boolean pickHostNameFromBackendHttpSettings)
pickHostNameFromBackendHttpSettings - the pickHostNameFromBackendHttpSettings value to setpublic ApplicationGatewayProbeHealthResponseMatch match()
public ApplicationGatewayOnDemandProbe withMatch(ApplicationGatewayProbeHealthResponseMatch match)
match - the match value to setpublic com.microsoft.azure.SubResource backendAddressPool()
public ApplicationGatewayOnDemandProbe withBackendAddressPool(com.microsoft.azure.SubResource backendAddressPool)
backendAddressPool - the backendAddressPool value to setpublic com.microsoft.azure.SubResource backendHttpSettings()
public ApplicationGatewayOnDemandProbe withBackendHttpSettings(com.microsoft.azure.SubResource backendHttpSettings)
backendHttpSettings - the backendHttpSettings value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/