public class ApplicationGatewayOnDemandProbe extends Object
| Constructor and Description |
|---|
ApplicationGatewayOnDemandProbe() |
| Modifier and Type | Method and Description |
|---|---|
String |
backendHttpSettingName()
Get name of backend http setting of application gateway to be used for test probe.
|
String |
backendPoolName()
Get name of backend pool of application gateway to which probe request will be sent.
|
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 |
withBackendHttpSettingName(String backendHttpSettingName)
Set name of backend http setting of application gateway to be used for test probe.
|
ApplicationGatewayOnDemandProbe |
withBackendPoolName(String backendPoolName)
Set name of backend pool of application gateway to which probe request will be sent.
|
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 String backendPoolName()
public ApplicationGatewayOnDemandProbe withBackendPoolName(String backendPoolName)
backendPoolName - the backendPoolName value to setpublic String backendHttpSettingName()
public ApplicationGatewayOnDemandProbe withBackendHttpSettingName(String backendHttpSettingName)
backendHttpSettingName - the backendHttpSettingName 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.
*/