Dela via


AutoHealRules Class

Definition

Rules that can be defined for auto-heal.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AutoHealRulesTypeConverter))]
public class AutoHealRules : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAutoHealRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AutoHealRulesTypeConverter))>]
type AutoHealRules = class
    interface IAutoHealRules
    interface IJsonSerializable
Public Class AutoHealRules
Implements IAutoHealRules
Inheritance
AutoHealRules
Attributes
Implements

Constructors

AutoHealRules()

Creates an new AutoHealRules instance.

Properties

ActionMinProcessExecutionTime

Minimum time the process must execute before taking the action

ActionType

Predefined action to be taken.

CustomActionExe

Executable to be run.

CustomActionParameter

Parameters for the executable.

RequestCount

Request Count.

RequestTimeInterval

Time interval.

SlowRequestCount

Request Count.

SlowRequestTimeInterval

Time interval.

SlowRequestTimeTaken

Time taken.

TriggerPrivateBytesInKb

A rule based on private bytes.

TriggerStatusCode

A rule based on status codes.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoHealRules.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoHealRules.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAutoHealRules.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoHealRules into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to