ApplicationGatewayOnDemandProbe Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ApplicationGatewayOnDemandProbe

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.

ApplicationGatewayProbeHealthResponseMatch 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.

ApplicationGatewayProtocol protocol()

Get the protocol used for the probe.

java.lang.Integer timeout()

Get the probe timeout in seconds.

ApplicationGatewayOnDemandProbe withBackendAddressPool(SubResource backendAddressPool)

Set reference to backend pool of application gateway to which probe request will be sent.

ApplicationGatewayOnDemandProbe withBackendHttpSettings(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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the backendAddressPool value

backendHttpSettings

public SubResource backendHttpSettings()

Get reference to backend http setting of application gateway to be used for test probe.

Returns:

the backendHttpSettings value

host

public String host()

Get host name to send the probe to.

Returns:

the host value

match

public ApplicationGatewayProbeHealthResponseMatch match()

Get criterion for classifying a healthy probe response.

Returns:

the match value

path

public String path()

Get relative path of probe. Valid path starts from '/'. Probe is sent to ://:.

Returns:

the path value

pickHostNameFromBackendHttpSettings

public Boolean pickHostNameFromBackendHttpSettings()

Get whether the host header should be picked from the backend http settings. Default value is false.

Returns:

the pickHostNameFromBackendHttpSettings value

protocol

public ApplicationGatewayProtocol protocol()

Get the protocol used for the probe. Possible values include: 'Http', 'Https'.

Returns:

the protocol value

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:

the timeout value

withBackendAddressPool

public ApplicationGatewayOnDemandProbe withBackendAddressPool(SubResource backendAddressPool)

Set reference to backend pool of application gateway to which probe request will be sent.

Parameters:

backendAddressPool - the backendAddressPool value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withBackendHttpSettings

public ApplicationGatewayOnDemandProbe withBackendHttpSettings(SubResource backendHttpSettings)

Set reference to backend http setting of application gateway to be used for test probe.

Parameters:

backendHttpSettings - the backendHttpSettings value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withHost

public ApplicationGatewayOnDemandProbe withHost(String host)

Set host name to send the probe to.

Parameters:

host - the host value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withMatch

public ApplicationGatewayOnDemandProbe withMatch(ApplicationGatewayProbeHealthResponseMatch match)

Set criterion for classifying a healthy probe response.

Parameters:

match - the match value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withPath

public ApplicationGatewayOnDemandProbe withPath(String path)

Set relative path of probe. Valid path starts from '/'. Probe is sent to ://:.

Parameters:

path - the path value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withPickHostNameFromBackendHttpSettings

public ApplicationGatewayOnDemandProbe withPickHostNameFromBackendHttpSettings(Boolean pickHostNameFromBackendHttpSettings)

Set whether the host header should be picked from the backend http settings. Default value is false.

Parameters:

pickHostNameFromBackendHttpSettings - the pickHostNameFromBackendHttpSettings value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

withProtocol

public ApplicationGatewayOnDemandProbe withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol used for the probe. Possible values include: 'Http', 'Https'.

Parameters:

protocol - the protocol value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

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:

timeout - the timeout value to set

Returns:

the ApplicationGatewayOnDemandProbe object itself.

Applies to