Freigeben über


AutoHealRules Class

Definition

Rules that can be defined for auto-heal.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.AutoHealRulesTypeConverter))]
public class AutoHealRules : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IAutoHealRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.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.

SlowRequestPath

Request Path.

SlowRequestTimeInterval

Time interval.

SlowRequestTimeTaken

Time taken.

TriggerPrivateBytesInKb

A rule based on private bytes.

TriggerSlowRequestsWithPath

A rule based on multiple Slow Requests Rule with path

TriggerStatusCode

A rule based on status codes.

TriggerStatusCodesRange

A rule based on status codes ranges.

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.Websites.Models.Api20210201.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.

ToString()

Applies to