RelatedAlert Class

Definition

Properties of an alert which is related to the issue

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.RelatedAlertTypeConverter))]
public class RelatedAlert : Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.IRelatedAlert
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.RelatedAlertTypeConverter))>]
type RelatedAlert = class
    interface IRelatedAlert
    interface IJsonSerializable
Public Class RelatedAlert
Implements IRelatedAlert
Inheritance
RelatedAlert
Attributes
Implements

Constructors

Name Description
RelatedAlert()

Creates an new RelatedAlert instance.

Properties

Name Description
AddedAt

The time this relation was added to the issue (in UTC)

Id

The alert ID

LastModifiedAt

The last update time of this relation (in UTC)

OriginAddedBy

The ID of the origin - for example, in case of 'Manual', the user ID/app ID, and in case of 'Automatic', the name of the automatic system

OriginAddedByType

The source of the origin - Manual or Automatic

Relevance

The alerts's relevance status

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RelatedAlert.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RelatedAlert.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.IRelatedAlert.

FromJsonString(String)

Creates a new instance of RelatedAlert, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RelatedAlert into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to