public PSStackEdgeAlert(Alert alert)
        {
            this.Alert = alert ?? throw new ArgumentNullException("alert");
            this.Id    = alert.Id;
            var dataBoxResourceIdentifier = new StackEdgeResourceIdentifier(this.Id);

            this.Name                = dataBoxResourceIdentifier.Name;
            this.DeviceName          = dataBoxResourceIdentifier.DeviceName;
            this.ResourceGroupName   = dataBoxResourceIdentifier.ResourceGroupName;
            this.DetailedInformation = alert.DetailedInformation;
            this.AppearedDateTime    = alert.AppearedAtDateTime;
            this.Severity            = alert.Severity;
        }
 public PSStackEdgeAlert()
 {
     Alert = new Alert();
 }
示例#3
0
 public PSDataBoxEdgeAlert()
 {
     Alert = new Alert();
 }