Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MetricMetadata" /> class.
 /// </summary>
 /// <param name="Alerts">Alerts.</param>
 /// <param name="Category">Category.</param>
 /// <param name="DataType">DataType.</param>
 /// <param name="Description">Description.</param>
 /// <param name="Destination">Destination.</param>
 /// <param name="Info">Info.</param>
 /// <param name="Notify">Notify.</param>
 /// <param name="Period">Period.</param>
 /// <param name="PrettyName">PrettyName.</param>
 /// <param name="Priority">Priority.</param>
 /// <param name="SampleWindowMs">SampleWindowMs.</param>
 /// <param name="TransientAggregation">TransientAggregation.</param>
 /// <param name="Type">Type.</param>
 /// <param name="Units">Units.</param>
 public MetricMetadata(List <MetricMetadataAlert> Alerts = default(List <MetricMetadataAlert>), string Category = default(string), MetricDataType DataType = default(MetricDataType), string Description = default(string), string Destination = default(string), string Info = default(string), MetricMetadataNotify Notify = default(MetricMetadataNotify), int?Period = default(int?), string PrettyName = default(string), MetricPriority Priority = default(MetricPriority), int?SampleWindowMs = default(int?), AggregationType TransientAggregation = default(AggregationType), MetricType Type = default(MetricType), string Units = default(string))
 {
     this.Alerts               = Alerts;
     this.Category             = Category;
     this.DataType             = DataType;
     this.Description          = Description;
     this.Destination          = Destination;
     this.Info                 = Info;
     this.Notify               = Notify;
     this.Period               = Period;
     this.PrettyName           = PrettyName;
     this.Priority             = Priority;
     this.SampleWindowMs       = SampleWindowMs;
     this.TransientAggregation = TransientAggregation;
     this.Type                 = Type;
     this.Units                = Units;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MetricMetadataAlert" /> class.
 /// </summary>
 /// <param name="Description">Description.</param>
 /// <param name="Info">Info.</param>
 /// <param name="Level">Level.</param>
 /// <param name="Max">Max.</param>
 /// <param name="Min">Min.</param>
 /// <param name="Notify">Notify.</param>
 /// <param name="PrettyName">PrettyName.</param>
 public MetricMetadataAlert(string Description = default(string), string Info = default(string), string Level = default(string), double?Max = default(double?), double?Min = default(double?), MetricMetadataNotify Notify = default(MetricMetadataNotify), string PrettyName = default(string))
 {
     this.Description = Description;
     this.Info        = Info;
     this.Level       = Level;
     this.Max         = Max;
     this.Min         = Min;
     this.Notify      = Notify;
     this.PrettyName  = PrettyName;
 }