/// <summary>
 /// Initializes a new instance of the AnalysisData class.
 /// </summary>
 /// <param name="source">Name of the Detector</param>
 /// <param name="detectorDefinition">Detector Definition</param>
 /// <param name="metrics">Source Metrics</param>
 /// <param name="data">Additional Source Data</param>
 /// <param name="detectorMetaData">Detector Meta Data</param>
 public AnalysisData(string source = default(string), DetectorDefinition detectorDefinition = default(DetectorDefinition), IList<DiagnosticMetricSet> metrics = default(IList<DiagnosticMetricSet>), IList<IList<NameValuePair>> data = default(IList<IList<NameValuePair>>), ResponseMetaData detectorMetaData = default(ResponseMetaData))
 {
     Source = source;
     DetectorDefinition = detectorDefinition;
     Metrics = metrics;
     Data = data;
     DetectorMetaData = detectorMetaData;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the DiagnosticDetectorResponse class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="startTime">Start time of the period</param>
 /// <param name="endTime">End time of the period</param>
 /// <param name="issueDetected">Flag representing Issue was
 /// detected.</param>
 /// <param name="detectorDefinition">Detector's definition</param>
 /// <param name="metrics">Metrics provided by the detector</param>
 /// <param name="abnormalTimePeriods">List of Correlated events found
 /// by the detector</param>
 /// <param name="data">Additional Data that detector wants to
 /// send.</param>
 /// <param name="responseMetaData">Meta Data</param>
 public DiagnosticDetectorResponse(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), bool?issueDetected = default(bool?), DetectorDefinition detectorDefinition = default(DetectorDefinition), IList <DiagnosticMetricSet> metrics = default(IList <DiagnosticMetricSet>), IList <DetectorAbnormalTimePeriod> abnormalTimePeriods = default(IList <DetectorAbnormalTimePeriod>), IList <IList <NameValuePair> > data = default(IList <IList <NameValuePair> >), ResponseMetaData responseMetaData = default(ResponseMetaData))
     : base(id, name, kind, type)
 {
     StartTime           = startTime;
     EndTime             = endTime;
     IssueDetected       = issueDetected;
     DetectorDefinition  = detectorDefinition;
     Metrics             = metrics;
     AbnormalTimePeriods = abnormalTimePeriods;
     Data             = data;
     ResponseMetaData = responseMetaData;
     CustomInit();
 }