Udostępnij za pośrednictwem


HealthCheckStepAttributes Class

Definition

The attributes for the health check step. Please note HealthCheckStepAttributes is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RestHealthCheckStepAttributes.

public abstract class HealthCheckStepAttributes
type HealthCheckStepAttributes = class
Public MustInherit Class HealthCheckStepAttributes
Inheritance
HealthCheckStepAttributes
Derived

Constructors

HealthCheckStepAttributes(TimeSpan)

Initializes a new instance of HealthCheckStepAttributes.

Properties

HealthyStateDuration

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.

MaxElasticDuration

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.

WaitDuration

The duration in ISO 8601 format for which health check waits idly without any checks.

Applies to