Share via


DaprAppHealth Class

Definition

Dapr application health check configuration.

public class DaprAppHealth : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppContainers.Models.DaprAppHealth>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppContainers.Models.DaprAppHealth>
type DaprAppHealth = class
    interface IJsonModel<DaprAppHealth>
    interface IPersistableModel<DaprAppHealth>
Public Class DaprAppHealth
Implements IJsonModel(Of DaprAppHealth), IPersistableModel(Of DaprAppHealth)
Inheritance
DaprAppHealth
Implements

Constructors

DaprAppHealth()

Initializes a new instance of DaprAppHealth.

Properties

IsEnabled

Boolean indicating if the health probe is enabled.

Path

Path for the health probe.

ProbeIntervalSeconds

Interval for the health probe in seconds.

ProbeTimeoutMilliseconds

Timeout for the health probe in milliseconds.

Threshold

Threshold for the health probe.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DaprAppHealth>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DaprAppHealth>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DaprAppHealth>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DaprAppHealth>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DaprAppHealth>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to