Skip to main content

AlertData class

This data object contains basic information about an alert.

Namespace: Lenovo.XClarityOrchestrator.PowerShell.Data.Alerts

Assembly: Lenovo.XClarityOrchestrator.PowerShell.Data

Properties

public string Message { get; set; }
Message string for the alert.
public string ID { get; set; }
Alert ID that is generated by the resource manager.
public DateTime? RaisedTimestamp { get; set; }
Timestamp when the alert was generated.
public string ResourceName { get; set; }
Name of the resource on which the alert occurred.
public string ResourceType { get; set; }
Resource type.This can be one of the following values.
  • Chassis
  • Server
  • LXCA. XClarity Administrator
  • LXCO. XClarity Orchestrator
  • Storage
  • Switch
public string Service { get; set; }
Service that generated the alert.
public string Severity { get; set; }
Severity; this can be one of the following values.
  • Informational. Information only. No action is necessary.
  • Warning. User can decide if action is needed.
  • Critical. Action is needed immediately, and the scope is broad (perhaps an imminent outage to a critical resource will result).
public string SourceType { get; set; }
Alert source. This can be one of the following values.
  • Analytics
  • Device
  • Management
  • System

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)