Partager via


AutoHealActions Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AutoHealActionsTypeConverter))]
public class AutoHealActions : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAutoHealActions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AutoHealActionsTypeConverter))>]
type AutoHealActions = class
    interface IAutoHealActions
    interface IJsonSerializable
Public Class AutoHealActions
Implements IAutoHealActions
Inheritance
AutoHealActions
Attributes
Implements

Constructors

AutoHealActions()

Creates an new AutoHealActions instance.

Properties

ActionType

Predefined action to be taken.

CustomActionExe

Executable to be run.

CustomActionParameter

Parameters for the executable.

MinProcessExecutionTime

Minimum time the process must execute before taking the action

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoHealActions.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoHealActions.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAutoHealActions.

FromJsonString(String)

Creates a new instance of AutoHealActions, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoHealActions into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to