Udostępnij za pośrednictwem


AutoHealActions Class

Definition

Actions which to take by the auto-heal module when a rule is triggered.

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

Constructors

AutoHealActions()

Initializes a new instance of AutoHealActions.

Properties

ActionType

Predefined action to be taken.

CustomAction

Custom action to be taken.

MinProcessExecutionTime

Minimum time the process must execute before taking the action

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutoHealActions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoHealActions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoHealActions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoHealActions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoHealActions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to