Class LoadBalancingSettingsProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.LoadBalancingSettingsProperties
The JSON object that contains the properties required to create load balancing settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LoadBalancingSettingsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceState property: Resource status of the Front Door or Front Door SubResource.void
validate()
Validates the instance.withAdditionalLatencyMilliseconds
(Integer additionalLatencyMilliseconds) Set the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.withSampleSize
(Integer sampleSize) Set the sampleSize property: The number of samples to consider for load balancing decisions.withSuccessfulSamplesRequired
(Integer successfulSamplesRequired) Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.Methods inherited from class com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsUpdateParameters
additionalLatencyMilliseconds, sampleSize, successfulSamplesRequired
-
Constructor Details
-
LoadBalancingSettingsProperties
public LoadBalancingSettingsProperties()Creates an instance of LoadBalancingSettingsProperties class.
-
-
Method Details
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
withSampleSize
Set the sampleSize property: The number of samples to consider for load balancing decisions.- Overrides:
withSampleSize
in classLoadBalancingSettingsUpdateParameters
- Parameters:
sampleSize
- the sampleSize value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
withSuccessfulSamplesRequired
public LoadBalancingSettingsProperties withSuccessfulSamplesRequired(Integer successfulSamplesRequired) Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.- Overrides:
withSuccessfulSamplesRequired
in classLoadBalancingSettingsUpdateParameters
- Parameters:
successfulSamplesRequired
- the successfulSamplesRequired value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
withAdditionalLatencyMilliseconds
public LoadBalancingSettingsProperties withAdditionalLatencyMilliseconds(Integer additionalLatencyMilliseconds) Set the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.- Overrides:
withAdditionalLatencyMilliseconds
in classLoadBalancingSettingsUpdateParameters
- Parameters:
additionalLatencyMilliseconds
- the additionalLatencyMilliseconds value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classLoadBalancingSettingsUpdateParameters
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-