MonitorEntityOrigin(String, MonitorEntityType) Constructor

Definition

Initializes a new instance of MonitorEntityOrigin.

public MonitorEntityOrigin(string addedBy, Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityType addedByType);
new Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityOrigin : string * Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityType -> Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityOrigin
Public Sub New (addedBy As String, addedByType As MonitorEntityType)

Parameters

addedBy
String

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.

addedByType
MonitorEntityType

The source of the origin - Manual or Automatic.

Exceptions

addedBy is null.

Applies to