Condividi tramite


RestHealthCheckStepAttributes Class

Definition

Defines the REST health check step properties.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("REST")]
public class RestHealthCheckStepAttributes : Microsoft.Azure.Management.DeploymentManager.Models.HealthCheckStepAttributes
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("REST")>]
type RestHealthCheckStepAttributes = class
    inherit HealthCheckStepAttributes
Public Class RestHealthCheckStepAttributes
Inherits HealthCheckStepAttributes
Inheritance
RestHealthCheckStepAttributes
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

RestHealthCheckStepAttributes()

Initializes a new instance of the RestHealthCheckStepAttributes class.

RestHealthCheckStepAttributes(String, IList<RestHealthCheck>, String, String)

Initializes a new instance of the RestHealthCheckStepAttributes class.

Properties

HealthChecks

Gets or sets the list of checks that form the health check step.

HealthyStateDuration

Gets or sets 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.

(Inherited from HealthCheckStepAttributes)
MaxElasticDuration

Gets or sets 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.

(Inherited from HealthCheckStepAttributes)
WaitDuration

Gets or sets the duration in ISO 8601 format for which health check waits idly without any checks.

(Inherited from HealthCheckStepAttributes)

Methods

Validate()

Validate the object.

Applies to