MonitorEntityOrigin(String, MonitorEntityType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.