HealthCheckStepAttributes Class
- java.
lang. Object - com.
azure. resourcemanager. deploymentmanager. models. HealthCheckStepAttributes
- com.
public class HealthCheckStepAttributes
The attributes for the health check step.
Constructor Summary
Constructor | Description |
---|---|
HealthCheckStepAttributes() |
Creates an instance of Health |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
healthyStateDuration()
Get the healthy |
String |
maxElasticDuration()
Get the max |
void |
validate()
Validates the instance. |
String |
waitDuration()
Get the wait |
Health |
withHealthyStateDuration(String healthyStateDuration)
Set the healthy |
Health |
withMaxElasticDuration(String maxElasticDuration)
Set the max |
Health |
withWaitDuration(String waitDuration)
Set the wait |
Methods inherited from java.lang.Object
Constructor Details
HealthCheckStepAttributes
public HealthCheckStepAttributes()
Creates an instance of HealthCheckStepAttributes class.
Method Details
healthyStateDuration
public String healthyStateDuration()
Get the healthyStateDuration property: The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
Returns:
maxElasticDuration
public String maxElasticDuration()
Get the maxElasticDuration property: The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
Returns:
validate
public void validate()
Validates the instance.
waitDuration
public String waitDuration()
Get the waitDuration property: The duration in ISO 8601 format for which health check waits idly without any checks.
Returns:
withHealthyStateDuration
public HealthCheckStepAttributes withHealthyStateDuration(String healthyStateDuration)
Set the healthyStateDuration property: The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
Parameters:
Returns:
withMaxElasticDuration
public HealthCheckStepAttributes withMaxElasticDuration(String maxElasticDuration)
Set the maxElasticDuration property: The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
Parameters:
Returns:
withWaitDuration
public HealthCheckStepAttributes withWaitDuration(String waitDuration)
Set the waitDuration property: The duration in ISO 8601 format for which health check waits idly without any checks.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for