ArmMonitorWorkspacesModelFactory.MonitorEntityOrigin Method
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.
public static Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityOrigin MonitorEntityOrigin(string addedBy = default, Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityType addedByType = default);
static member MonitorEntityOrigin : string * Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityType -> Azure.ResourceManager.Monitor.Workspaces.Models.MonitorEntityOrigin
Public Shared Function MonitorEntityOrigin (Optional addedBy As String = Nothing, Optional addedByType As MonitorEntityType = Nothing) As MonitorEntityOrigin
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.
Returns
A new MonitorEntityOrigin instance for mocking.