Condividi tramite


AutoHealCustomAction Class

Definition

Custom action to be executed when an auto heal rule is triggered.

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

Constructors

AutoHealCustomAction()

Initializes a new instance of AutoHealCustomAction.

Properties

Exe

Executable to be run.

Parameters

Parameters for the executable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutoHealCustomAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoHealCustomAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoHealCustomAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoHealCustomAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoHealCustomAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to