AutoHealTriggers Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AutoHealTriggers() |
Initializes a new instance of the AutoHealTriggers class. |
AutoHealTriggers(RequestsBasedTrigger, Nullable<Int32>, IList<StatusCodesBasedTrigger>, SlowRequestsBasedTrigger, IList<SlowRequestsBasedTrigger>, IList<StatusCodesRangeBasedTrigger>) |
Initializes a new instance of the AutoHealTriggers class. |
AutoHealTriggers()
Initializes a new instance of the AutoHealTriggers class.
public AutoHealTriggers ();
Public Sub New ()
Applies to
AutoHealTriggers(RequestsBasedTrigger, Nullable<Int32>, IList<StatusCodesBasedTrigger>, SlowRequestsBasedTrigger, IList<SlowRequestsBasedTrigger>, IList<StatusCodesRangeBasedTrigger>)
Initializes a new instance of the AutoHealTriggers class.
public AutoHealTriggers (Microsoft.Azure.Management.WebSites.Models.RequestsBasedTrigger requests = default, int? privateBytesInKB = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StatusCodesBasedTrigger> statusCodes = default, Microsoft.Azure.Management.WebSites.Models.SlowRequestsBasedTrigger slowRequests = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.SlowRequestsBasedTrigger> slowRequestsWithPath = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StatusCodesRangeBasedTrigger> statusCodesRange = default);
new Microsoft.Azure.Management.WebSites.Models.AutoHealTriggers : Microsoft.Azure.Management.WebSites.Models.RequestsBasedTrigger * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StatusCodesBasedTrigger> * Microsoft.Azure.Management.WebSites.Models.SlowRequestsBasedTrigger * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.SlowRequestsBasedTrigger> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StatusCodesRangeBasedTrigger> -> Microsoft.Azure.Management.WebSites.Models.AutoHealTriggers
Public Sub New (Optional requests As RequestsBasedTrigger = Nothing, Optional privateBytesInKB As Nullable(Of Integer) = Nothing, Optional statusCodes As IList(Of StatusCodesBasedTrigger) = Nothing, Optional slowRequests As SlowRequestsBasedTrigger = Nothing, Optional slowRequestsWithPath As IList(Of SlowRequestsBasedTrigger) = Nothing, Optional statusCodesRange As IList(Of StatusCodesRangeBasedTrigger) = Nothing)
Parameters
- requests
- RequestsBasedTrigger
A rule based on total requests.
- statusCodes
- IList<StatusCodesBasedTrigger>
A rule based on status codes.
- slowRequests
- SlowRequestsBasedTrigger
A rule based on request execution time.
- slowRequestsWithPath
- IList<SlowRequestsBasedTrigger>
A rule based on multiple Slow Requests Rule with path
- statusCodesRange
- IList<StatusCodesRangeBasedTrigger>
A rule based on status codes ranges.
Applies to
Azure SDK for .NET