/// <summary> /// Initializes a new instance of the AutoHealTriggers class. /// </summary> public AutoHealTriggers(RequestsBasedTrigger requests = default(RequestsBasedTrigger), int?privateBytesInKB = default(int?), IList <StatusCodesBasedTrigger> statusCodes = default(IList <StatusCodesBasedTrigger>), SlowRequestsBasedTrigger slowRequests = default(SlowRequestsBasedTrigger)) { Requests = requests; PrivateBytesInKB = privateBytesInKB; StatusCodes = statusCodes; SlowRequests = slowRequests; }
/// <summary> /// Initializes a new instance of the AutoHealTriggers class. /// </summary> /// <param name="requests">A rule based on total requests.</param> /// <param name="privateBytesInKB">A rule based on private /// bytes.</param> /// <param name="statusCodes">A rule based on status codes.</param> /// <param name="slowRequests">A rule based on request execution /// time.</param> /// <param name="slowRequestsWithPath">A rule based on multiple Slow /// Requests Rule with path</param> /// <param name="statusCodesRange">A rule based on status codes /// ranges.</param> public AutoHealTriggers(RequestsBasedTrigger requests = default(RequestsBasedTrigger), int?privateBytesInKB = default(int?), IList <StatusCodesBasedTrigger> statusCodes = default(IList <StatusCodesBasedTrigger>), SlowRequestsBasedTrigger slowRequests = default(SlowRequestsBasedTrigger), IList <SlowRequestsBasedTrigger> slowRequestsWithPath = default(IList <SlowRequestsBasedTrigger>), IList <StatusCodesRangeBasedTrigger> statusCodesRange = default(IList <StatusCodesRangeBasedTrigger>)) { Requests = requests; PrivateBytesInKB = privateBytesInKB; StatusCodes = statusCodes; SlowRequests = slowRequests; SlowRequestsWithPath = slowRequestsWithPath; StatusCodesRange = statusCodesRange; CustomInit(); }