Class HealthProbeSettingsUpdateParameters
java.lang.Object
com.azure.resourcemanager.frontdoor.models.HealthProbeSettingsUpdateParameters
- Direct Known Subclasses:
HealthProbeSettingsProperties
L7 health probe settings for a backend pool.
-
Constructor Summary
ConstructorDescriptionCreates an instance of HealthProbeSettingsUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the enabledState property: Whether to enable health probes to be made against backends defined under backendPools.Get the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.Get the intervalInSeconds property: The number of seconds between health probes.path()
Get the path property: The path to use for the health probe.protocol()
Get the protocol property: Protocol scheme to use for this probe.void
validate()
Validates the instance.withEnabledState
(HealthProbeEnabled enabledState) Set the enabledState property: Whether to enable health probes to be made against backends defined under backendPools.withHealthProbeMethod
(FrontDoorHealthProbeMethod healthProbeMethod) Set the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.withIntervalInSeconds
(Integer intervalInSeconds) Set the intervalInSeconds property: The number of seconds between health probes.Set the path property: The path to use for the health probe.withProtocol
(FrontDoorProtocol protocol) Set the protocol property: Protocol scheme to use for this probe.
-
Constructor Details
-
HealthProbeSettingsUpdateParameters
public HealthProbeSettingsUpdateParameters()Creates an instance of HealthProbeSettingsUpdateParameters class.
-
-
Method Details
-
path
Get the path property: The path to use for the health probe. Default is /.- Returns:
- the path value.
-
withPath
Set the path property: The path to use for the health probe. Default is /.- Parameters:
path
- the path value to set.- Returns:
- the HealthProbeSettingsUpdateParameters object itself.
-
protocol
Get the protocol property: Protocol scheme to use for this probe.- Returns:
- the protocol value.
-
withProtocol
Set the protocol property: Protocol scheme to use for this probe.- Parameters:
protocol
- the protocol value to set.- Returns:
- the HealthProbeSettingsUpdateParameters object itself.
-
intervalInSeconds
Get the intervalInSeconds property: The number of seconds between health probes.- Returns:
- the intervalInSeconds value.
-
withIntervalInSeconds
Set the intervalInSeconds property: The number of seconds between health probes.- Parameters:
intervalInSeconds
- the intervalInSeconds value to set.- Returns:
- the HealthProbeSettingsUpdateParameters object itself.
-
healthProbeMethod
Get the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.- Returns:
- the healthProbeMethod value.
-
withHealthProbeMethod
public HealthProbeSettingsUpdateParameters withHealthProbeMethod(FrontDoorHealthProbeMethod healthProbeMethod) Set the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.- Parameters:
healthProbeMethod
- the healthProbeMethod value to set.- Returns:
- the HealthProbeSettingsUpdateParameters object itself.
-
enabledState
Get the enabledState property: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.- Returns:
- the enabledState value.
-
withEnabledState
Set the enabledState property: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.- Parameters:
enabledState
- the enabledState value to set.- Returns:
- the HealthProbeSettingsUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-