Example #1
0
 /// <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), DetectorDefinitionInner detectorDefinition = default(DetectorDefinitionInner), 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();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the DiagnosticDetectorResponseInner
 /// class.
 /// </summary>
 /// <param name="kind">Kind of resource.</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 DiagnosticDetectorResponseInner(string id = default(string), string name = default(string), string type = default(string), string kind = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), bool?issueDetected = default(bool?), DetectorDefinitionInner detectorDefinition = default(DetectorDefinitionInner), 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, type, kind)
 {
     StartTime           = startTime;
     EndTime             = endTime;
     IssueDetected       = issueDetected;
     DetectorDefinition  = detectorDefinition;
     Metrics             = metrics;
     AbnormalTimePeriods = abnormalTimePeriods;
     Data             = data;
     ResponseMetaData = responseMetaData;
     CustomInit();
 }