Dela via


AutoHealRules Class

Definition

Rules that can be defined for auto-heal.

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

Constructors

AutoHealRules()

Initializes a new instance of AutoHealRules.

Properties

Actions

Actions to be executed when a rule is triggered.

Triggers

Conditions that describe when to execute the auto-heal actions.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutoHealRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoHealRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoHealRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoHealRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoHealRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to