RelatedResource Class

Definition

Properties of a resource which is related to the issue

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

Constructors

Name Description
RelatedResource()

Creates an new RelatedResource instance.

Properties

Name Description
AddedAt

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

Id

The resource 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 resource's relevance status

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RelatedResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RelatedResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RelatedResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to